html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding: 100px;
}
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: #ff5c5c;
}
.c-green {
  color: #00ada9;
}
.c-blue {
  color: #0093f1;
}
.c-60 {
  font-size: calc(60 / 1920 * 100vw);
}
.c-24 {
  font-size: 24px;
}
.c-72 {
  font-size: min(calc(72 / 1920 * 100vw), 7.2rem);
  color: #00ada9;
  margin-right: 20px;
}
.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;
}
.wrapper {
  background: url(../img/bg.webp) center;
  background-size: cover;
}
.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: fixed;
  width: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
}
.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__link {
  text-align: center;
  position: relative;
  color: #fff;
}
.l-header__link h1 {
  font-size: min(calc(40 / 1920 * 100vw), 4rem);
  white-space: nowrap;
}
.l-header__link p {
  font-size: min(calc(24 / 1920 * 100vw));
}
.l-header__inner.is-fixed {
  background: url(../img/concrete_bg.jpg) no-repeat center center;
  background-size: cover;
}
.l-header__left a {
  width: 316px;
}
.l-header__company {
  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: calc(30 / 1920 * 100vw);
  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__inner {
  padding: 8px 0 0 20px;
  display: block;
}
.l-header__right {
  display: block;
  position: absolute;
  top: 0px;
  width: 100%;
  left: 0px;
  display: none;
}
.menu-btn {
  display: block;
  pointer-events: all;
  position: fixed;
  top: 10px;
  right: 40px;
  width: 46px;
  height: 46px;
  text-align: center;
  cursor: pointer;
  z-index: 1001;
  background-color: unset;
  border: unset;
  padding: 0;
}
.menu-btn p {
  position: absolute;
  left: 6%;
  top: 52px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}
.menu-btn .bar {
  display: block;
  position: absolute;
  width: 56px;
  height: 5px;
  left: 2px;
  background: #fff;
}
.menu-btn .bar:nth-of-type(1) {
  top: 10px;
  transition: 0.3s;
}
.menu-btn .bar:nth-of-type(2) {
  top: 27px;
}
.menu-btn .bar:nth-of-type(3) {
  top: 43px;
  transition: 0.3s;
}
.menu-btn.active .bar:nth-child(1) {
  top: 30px;
  transform: rotate(45deg);
  transition: 0.3s;
}
.menu-btn.active .bar:nth-child(2) {
  top: 30px;
  opacity: 0;
}
.menu-btn.active .bar:nth-child(3) {
  top: 30px;
  transform: rotate(-45deg);
  transition: 0.3s;
}

.l-header__right {
  display: none;
  position: fixed;
}
.l-header__main {
  display: block;
  background-color: #00ada9;
  width: 100%;
  height: 100vh;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#page-top {
  width: 76px;
  height: 76px;
  position: fixed;
  bottom: 40px;
  right: 121px;
}
.l-footer {
  background: url(../img/bg.webp);
}
.l-footer__inner {
  background-color: rgba(167, 233, 255, 0.5);
  padding: calc(100 / 1920 * 100vw) 0;
  display: flex;
  align-items: center;
}
.l-footer_item {
  max-width: 1280px;
  margin: 0 auto;
}
.l-footer_logo {
  max-width: 431px;
  margin: 0 auto;
  width: calc(430 / 1920 * 100vw);
  text-align: center;
}
.l-footer_logo h1 {
  font-size: min(calc(40 / 1920 * 100vw), 4rem);
}
.l-footer_logo p {
  font-size: min(calc(24 / 1920 * 100vw), 2.4rem);
}
.l-footer_time p {
  font-family: "Noto Sans JP", sans-serif;
}
.l-footer_item ul {
  display: flex;
  justify-content: center;
  gap: 62px;
}
.l-footer_item ul li a {
  color: #000;
  font-size: calc(20 / 1920 * 100vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
}
.l-footer_time {
  margin-top: 40px;
}
.l-footer .copy {
  background-color: #00ada9;
  padding: 33px 0;
}

.l-footer .copy p {
  text-align: center;
  color: #fff;
}
@media screen and (max-width: 1000px) {
  .header_pc {
    display: none;
  }
  .header_sp {
    display: block;
  }
}
@media screen and (max-width: 800px) {
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  p {
    font-size: 16px;
    line-height: 1.6;
  }
  .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: 30px;
  }
  .c-24 {
    font-size: 20px;
  }
  .c-72 {
    font-size: 54px;
  }
  .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;
  }
  .l-header {
    height: 50px;
  }
  .l-header__inner {
    padding: 5px 0 0 10px;
  }
  .l-header__left {
    width: calc(252 / 430 * 100vw);
  }
  .l-header__left a {
    width: auto;
    text-align: left;
  }
  .l-header__link h1 {
    font-size: 22px;
  }
  .l-header__main--item a {
    font-size: 20px;
  }
  .l-header__link p {
    font-size: 14px;
  }
  .menu-btn .bar {
    width: 37px;
    height: 3px;
  }
  .menu-btn {
    top: 0;
    right: 10px;
    width: 40px;
  }
  .menu-btn p {
    font-size: 12px;
    top: 32px;
    left: 2px;
    transform: unset;
  }

  .menu-btn .bar:nth-of-type(2) {
    top: 20px;
  }
  .menu-btn .bar:nth-of-type(3) {
    top: 30px;
  }
  .p-top__company {
    padding: 40px 0;
    background: url(/wp-content/themes/motojimashouten-theme/img/top_company_bg_sp.jpg)
      no-repeat center;
    background-size: cover;
  }
  .p-top__company--contents {
    flex-direction: column;
    gap: 80px;
    margin: 40px auto 60px;
  }
  .p-top__company--map {
    height: 380px;
    width: 100%;
  }
  .p-top__company--item ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
    padding: 0 5%;
    justify-content: left;
  }
  .l-footer_item ul li a {
    font-size: 16px;
  }
  .p-top__company--logo {
    width: 300px;
    margin: 0 auto 24px;
  }
  #page-top {
    bottom: 25px;
    right: 18px;
  }
  .l-footer_logo {
    width: auto;
  }
  .l-footer_logo h1 {
    font-size: 30px;
  }
  .l-footer_logo p {
    font-size: 18px;
  }
  .l-footer__inner {
    display: block;
  }
  .l-footer_time {
    margin: 50px 0 0;
  }
  .l-footer_item ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 80px 4% 0;
    gap: 52px;
  }
  .l-footer .copy {
    margin-bottom: 80px;
  }
  .sp_flooting {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex !important;
    grid-template-columns: repeat(3, 1fr) 75px; /* 最後だけ固定幅 */
    background-color: #fff;
    width: 100%;
    padding: 3px;
    gap: 3px;
    z-index: 999;
  }
  .sp_flooting .sp_tel_btn {
    background-color: #0093f1;
    padding: 5px 0;
    width: calc(219/430*100vw);
  }
  .sp_flooting .sp_web {
    background-color: #a7e9ff;
    padding: 5px 0;
  }
  .sp_flooting .sp_web_interview {
    background-color: #2a75f1;
    padding: 5px 0;
  }
  .sp_flooting .sp_tel_btn a,
  .sp_flooting .sp_web a,
  .sp_flooting .sp_web_interview a {
    color: #fff;
    text-align: center;
    display: block;
  }
  .sp_flooting .sp_tel_btn p,
  .sp_flooting .sp_web p,
  .sp_flooting .sp_web_interview p {
    font-size: 18px;
  }
  .sp_flooting .sp_tel_btn img {
    width: 25px;
    margin: 0 auto;
  }

  .sp_flooting .sp_web img,
  .sp_flooting .sp_web_interview img {
    width: 30px;
    margin: 0 auto;
  }
  .page_top {
    width: 78px;
  }
}
