html {
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Old Mincho", serif;
}
p {
  font-size: 18px;
  line-height: 2;
}
a {
  text-decoration: none;
  display: block;
  color: #333333;
}
img {
  width: 100%;
  max-width: 100%;
  display: block;
}
li {
  list-style: none;
}
.pc {
  display: block;
}
.sp {
  display: none !important;
}
.header_pc {
  display: block;
}
.header_sp {
  display: none;
}
.c-header__red {
  color: #b00000;
  font-size: 16px;
}
.c-red {
  color: #b00000;
}
.c-blue {
  color: #0075d9;
}
.c-60 {
  font-size: 60px;
}
.c-24 {
  font-size: 24px;
}
.c-ttl {
  width: 160px;
}
.c-ttl h3 {
  font-size: 50px;
  color: #0075d9;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  margin-bottom: 10px;
}
.c-ttl p {
  font-size: 30px;
  text-align: right;
  font-weight: 600;
}
.c-ttl-wh {
  text-align: center;
}
.c-ttl-wh h3 {
  color: #fff;
  font-size: min(2.6vw, 50px);
  margin-bottom: calc(30 / 1920 * 100vw);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
}
.c-ttl-wh p {
  color: #fff;
  font-size: min(calc(30 / 1920 * 100vw), 30px);
  font-weight: 700;
}
.p-mv {
  background: url(/wp-content/themes/motojimashouten-theme/img/all_bg.png) no-repeat right;
  background-size: cover;
  height: 545px;
}

.p-mv h3 {
  font-size: min(2vw, 40px);
  color: #fff;
}
.p-mv h1 {
  font-size: min(5vw, 100px);
  color: #fff;
}
.ttl {
  text-align: center;
  padding: 100px 0;
}
.ttl h2 {
  color: #0075d9;
  font-size: min(2.5vw, 50px);
  margin-bottom: 24px;
}
.ttl h3 {
  font-size: min(2vw, 30px);
}
.ttl p {
  margin-top: 60px;
}

/*---------
 header
 ---------- */
.l-header {
  height: 100px;
  position: absolute;
  width: 100%;
  z-index: 999;
}
.l-header__inner {
  display: flex;
  align-items: center;
  padding: 0 0 0 50px;
  justify-content: space-between;
  transition: background 0.3s ease;
  position: fixed;
  width: 97.5%;
}
.l-header__inner.is-fixed {
  background: url(/wp-content/themes/motojimashouten-theme/img/concrete_bg.jpg) no-repeat center center;
  background-size: cover;
}
.l-header__left a {
  width: 316px;
}
.l-header__contact {
  display: flex;
  align-items: center;
  gap: 37px;
  justify-content: flex-end;
}
.l-header__tel {
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: 0.2rem;
}
.l-header__tel img {
  width: 26px;
}
.l-header__mail a {
  background-color: #0075d9;
  display: flex;
  width: 284px;
  height: 47px;
  outline: 1px solid #10477f;
  outline-offset: -7px;
  justify-content: center;
  align-items: center;
}
.l-header__mail img {
  width: 25px;
  padding-right: 10px;
}
.l-header__tel span {
  font-size: 30px;
  color: #fff;
}
.l-header__mail span {
  font-size: 16px;
  color: #fff;
}

.l-header__main {
  display: flex;
  justify-content: flex-end;
  margin: 16px 20px 0 0;
  gap: 50px;
}
.l-header__main--item a {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  color: #fff;
  align-items: center;
  position: relative;
}
.l-header__main--item a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 3px;
  background: #f1110b;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: -12px;
  transition: 0.2s width ease-in;
}
.l-header__main--item a.checked::after {
  width: 20px;
}

/* ---contact -----*/
.p-top__contact {
  background: url(/wp-content/themes/motojimashouten-theme/img/top_contact_bg.jpg);
  background-size: cover;
}
.p-top__contact--contents {
  display: flex;
  justify-content: center;
  margin: calc(70 / 1920 * 100vw) 0 calc(117 / 1920 * 100vw);
  align-items: center;
}

.p-top__contact--logo {
  width: 445px;
  margin-bottom: 25px;
}
.p-top__contact--time {
  color: #fff;
  margin: 38px 0 28px;
  text-align: center;
  letter-spacing: 0.2rem;
  line-height: 1.6;
}
.p-top__contact--tel {
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  color: #fff;
}
.p-top__contact--tel img {
  width: 30px;
}

.p-top__contact--tel p {
  font-size: 36px;
  color: #fff !important;
  letter-spacing: 0.2rem;
  -webkit-text-fill-color: #fff;
}

.p-top__contact--mail a {
  background-color: #0075d9;
  display: flex;
  width: 341px;
  height: 56px;
  outline: 1px solid #10477f;
  outline-offset: -7px;
  justify-content: center;
  align-items: center;
  color: #fff;
  gap: 20px;
  margin: 0 auto;
}
.p-top__contact--mail p {
  font-size: 20px;
}
.p-top__contact--mail img {
  width: 26px;
}
.p-top__contact {
  padding: calc(100 / 1920 * 100vw) 0;
}
.p-top__contact--info {
  margin-right: 10%;
}
.p-top__contact--info p {
  color: #fff;
  text-align: center;
  letter-spacing: 0.2rem;
}
.p-top__contact--map {
  width: 560px;
  height: 410px;
}
.p-top__contact--item {
  max-width: 1280px;
  margin: 0 auto;
}

.p-top__contact--item ul {
  display: flex;
  justify-content: center;
  gap: 62px;
}
.p-top__contact--item ul li {
}
.p-top__contact--item ul li a {
  color: #fff;
  font-size: 18px;
}
#page-top {
  background-color: #b00000;
  border-radius: 50px;
  width: 54px;
  height: 54px;
  position: fixed;
  bottom: 40px;
  right: 121px;
}
#page-top a {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#page-top img {
  width: 28px;
  height: 16px;
}
.l-footer {
  background-color: #0075d9;
  padding: 33px 0;
}
.l-footer__inner p {
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 1000px) {
  .header_pc {
    display: none;
  }
  .header_sp {
    display: block;
  }
  .l-header__inner {
    padding: 8px 0 0 20px;
    display: block;
  }
  .l-header__right {
    display: block;
    position: absolute;
    top: 0px;
    width: 100%;
    left: 0px;
  }
  .menu-btn {
    display: block;
    pointer-events: all;
    position: fixed;
    top: 10px;
    right: 19px;
    width: 46px;
    height: 46px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    background-color: #0075d9;
    border: unset;
  }
  .menu-btn p {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25px;
    font-size: 10px;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
  }
  .menu-btn .bar {
    display: block;
    position: absolute;
    width: 22px;
    height: 2px;
    left: 12px;
    background: #000;
  }
  .menu-btn .bar:nth-of-type(1) {
    top: 10px;
    transition: 0.3s;
  }
  .menu-btn .bar:nth-of-type(2) {
    top: 16px;
  }
  .menu-btn .bar:nth-of-type(3) {
    top: 23px;
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(2) {
    top: 10px;
    opacity: 0;
  }
  .menu-btn.active .bar:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    transition: 0.3s;
  }

  .l-header__right {
    display: none;
    position: fixed;
  }
  .l-header__left a {
    width: 197px;
  }
  .l-header__main {
    display: block;
    background-color: #0075d9;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
}
@media screen and (max-width: 800px) {
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
  }
  .c-ttl {
    width: auto;
  }
  .c-ttl h3 {
    text-align: center;
    font-size: 36px;
  }
  .c-ttl p {
    text-align: center;
    font-size: 20px;
  }
  .c-60 {
    font-size: 33px;
  }
  .c-24 {
    font-size: 20px;
  }
  .c-ttl-wh h3 {
    text-align: center;
    font-size: 36px;
  }
  .c-ttl-wh p {
    text-align: center;
    font-size: 20px;
  }
  .p-mv {
    background: url(/wp-content/themes/motojimashouten-theme/img/all_bg.png) no-repeat;
    background-size: cover;
    height: 545px;
    background-position-x: -1120px;
  }

  .p-mv h3 {
    font-size: 40px;
    color: #fff;
  }
  .p-mv h1 {
    font-size: 50px;
    color: #fff;
  }

  .ttl {
    padding: 40px 0;
  }
  .ttl h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .ttl h3 {
    font-size: 18px;
    margin: 0;
  }
  .ttl p {
    font-size: 16px;
    margin-top: 30px;
  }
  .p-top__contact {
    padding: 40px 0;
    background: url(/wp-content/themes/motojimashouten-theme/img/top_contact_bg_sp.jpg) no-repeat center;
    background-size: cover;
  }
  .p-top__contact--contents {
    flex-direction: column;
    gap: 80px;
    margin: 40px auto 60px;
  }
  .p-top__contact--map {
    height: 380px;
    width: 100%;
  }
  .p-top__contact--item ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
    padding: 0 5%;
    justify-content: left;
  }
  .p-top__contact--logo {
    width: 300px;
    margin: 0 auto 24px;
  }
  .p-top__contact--info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 0;
  }
  .p-top__contact--info p {
    text-align: left;
    letter-spacing: 0.1rem;
  }
  .p-top__contact--time {
    margin: 16px 0 28px;
  }
  #page-top {
    bottom: 25px;
    right: 18px;
  }
  .l-footer {
    padding: 13px 0;
  }
}
