@charset "utf-8";

/*
  Base
-----------------------------------------------------*/

:root {
  --main-color: #182ab2;
  --btn-color: #ffffff;
  --bg-color: #e2f6ff;
  --bg-gradient-color: linear-gradient(206deg, #b6f0fb 0.75%, #3692ed 99.25%);
  --text-black: #333333;
  --font-wght-bold: 500;
  --lang-ja: "Noto Sans JP", sans-serif;
  --lang-en: "Jost", sans-serif;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: var(--lang-ja);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 2;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  color: var(--text-black);

  @media (width >= 1024px) {
    font-size: 18px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

p,
li {
  letter-spacing: 0.06em;
}

a {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

iframe {
  max-width: 100%;
}

/*ドロワータップ時の背景固定*/

.is-fixed {
  overflow: hidden;
  width: 100%;
  height: 100svh;
}

/*
  Container
-----------------------------------------------------*/

.container {
  position: relative;
  width: calc(100% - 128px);
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible;

  @media (width < 1200px) {
    width: calc(100% - 128px);
  }

  @media (width < 1024px) {
    width: calc(100% - 64px);
  }
}

.container.narrow {
  max-width: 850px;
}

/*
  Flex
-----------------------------------------------------*/

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/*
  Button
-----------------------------------------------------*/

/*
Button
*/

.button {
  position: relative;
  display: block;
  max-width: 240px;
  padding: 0.3em 1.5em;
  border-radius: 100px;
  background: #fff;
  color: #0673df;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;

  @media (width < 768px) {
    font-size: 16px;
  }
}

.main {
  padding-top: 80px;

  @media screen and (width < 1200px) {
    padding-top: 72px;
  }

  @media screen and (width < 768px) {
    padding-top: 64px;
  }
}

/*
  SectionWrapper
-----------------------------------------------------*/

.sectionWrapper {
  padding: 10rem 0;

  &.bottom0 {
    padding-bottom: 0;
  }

  @media (width < 1024px) {
    padding: 5rem 0;
  }

  @media (width < 768px) {
    padding: 5rem 0;
  }
}

/*
  Title English
-----------------------------------------------------*/

.title_en {
  color: #fff;
  font-family: var(--lang-en);
  font-size: 180px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  z-index: 0;

  @media (max-width: 1200px) {
    font-size: 160px;
  }
  @media (max-width: 1023px) {
    font-size: 120px;
  }
  @media (max-width: 767px) {
    font-size: 96px;
  }
}

/*
  Utility
-----------------------------------------------------*/

.spOnly {
  @media (min-width: 768px) {
    display: none;
  }
}

.tabOnly {
  @media (min-width: 1200px) {
    display: none;
  }
}

.pcOnly {
  display: none;

  @media (min-width: 1200px) {
    display: block;
  }
}

.bg_gray {
  background-color: var(--bg-gray-color);
}

.bg_light {
  background-color: var(--bg-light-color);
}

.bg_gradient {
  background: var(--bg-gradient-color);
}

.text_block {
  display: inline-block;
}

.text_center {
  text-align: center;
}

.text_right {
  text-align: right;
}

.link {
  cursor: pointer;
  color: var(--sub-color);
  border-bottom: 1px solid var(--sub-color);
}

.caution {
  font-style: normal;
  color: #ed1c24;
}

.pt-1 {
  padding-top: 1em;
}

/*
  Accessibility
-----------------------------------------------------*/

/*
  Visually Hidden
*/

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
}

/*
  Wordpress Admin Bar
-----------------------------------------------------*/

/* HTMLのmargin調整（VSCode Live Server環境用） */

html[style*="--vsc-domain"],
html.admin-bar {
  margin-top: 0 !important;
  margin-bottom: 32px !important;

  /* 管理バーを下に移動 */
  #wpadminbar {
    top: auto !important;
    bottom: 0 !important;
    position: fixed !important;
  }

  header,
  .header {
    margin-top: 0 !important;
  }
}

/* モバイル対応（782px以下） */

@media screen and (max-width: 782px) {
  html[style*="--vsc-domain"],
  html.admin-bar {
    margin-bottom: 32px !important;
  }

  html[style*="--vsc-domain"] body,
  body.admin-bar {
    padding-bottom: 32px !important;
  }
}

/*
  Header
-----------------------------------------------------*/

.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1.5rem 4rem;
  width: 90%;
  margin: 0 auto;
  background-color: #ffffffa4;
  border-radius: 22px;
  z-index: 100;

  @media (width < 768px) {
    padding: 1rem;
    border-radius: 14px;
  }
}

.header_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
}

.header_logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 400px;

  @media (width < 1439px) {
    width: 320px;
  }

  @media (width < 768px) {
    width: 240px;
  }

  img {
    width: 100%;
  }
}

/*
  GlobalNav
-----------------------------------------------------*/

.globalNav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 100%;

  @media (width < 1200px) {
    position: fixed;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 4rem;
    inset: 0;
    height: 100svh;
    padding: 32px 16px 32px;
    background: #00000071;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    visibility: hidden;
    overflow-y: scroll;
    z-index: -1;
    opacity: 0;
  }
}

.globalNav_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;

  @media (width < 1200px) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2rem;
    padding: 80px 0 40px;
    width: 90vw;
    background: #ffffffc9;
    border-radius: 22px;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    -webkit-box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
            box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
  }
}

.globalNav_menuItem {
  a {
    font-size: 18px;
    font-weight: 600;
  }

  &:hover {
    @media (width >= 1200px) {
      color: var(--text-pink);
      -webkit-transition: color 0.3s ease;
      transition: color 0.3s ease;
    }
  }
}

.is-drawerActive .header {
  background: transparent;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.is-drawerActive .globalNav {
  opacity: 1;
  height: 100svh;
  visibility: visible;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

/*
  HamburgerButton
-----------------------------------------------------*/

.hamburgerButton {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0.5rem;
  width: 54px;
  height: 54px;
  margin: auto 0;
  padding: 0;
  outline: 0;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  z-index: 100;

  @media (width >= 1024px) {
    right: 2rem;
  }

  @media (width >= 1200px) {
    display: none;
  }

  .hamburgerButton_line {
    display: block;
    position: absolute;
    width: 28px;
    height: 1.5px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--text-black);
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;

    @media (width >= 1024px) {
      width: 36px;
      height: 2px;
    }
  }

  .hamburgerButton_line:before,
  .hamburgerButton_line:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transition: inherit;
    transition: inherit;
    border-radius: inherit;
    background-color: var(--text-black);
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -webkit-transform-origin: center;
            transform-origin: center;
  }

  .hamburgerButton_line:before {
    top: -10px;
  }

  .hamburgerButton_line:after {
    top: 10px;
  }
}

.is-drawerActive .hamburgerButton {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;

  .hamburgerButton_line {
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    background-color: transparent;

    &:before,
    &:after {
      top: 0;
      -webkit-transition: -webkit-transform 0.2s ease-in-out;
      transition: -webkit-transform 0.2s ease-in-out;
      transition: transform 0.2s ease-in-out;
      transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
      -webkit-transform-origin: center;
              transform-origin: center;
      background-color: var(--text-black);
    }

    &:before {
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg);
    }

    &:after {
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
    }
  }
}

/*
  Footer
-----------------------------------------------------*/

.footer {
  background: var(--main-color);
  color: #fff;
  padding: 80px 0 20px;

  @media screen and (max-width: 767px) {
    padding: 20px 0 10px;
  }
}

.footer_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

  @media screen and (max-width: 767px) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1rem;
  }
}

.footer_logo {
  display: block;
  width: 565px;

  @media screen and (max-width: 767px) {
    width: 320px;
  }
}

.footer_logo h1 {
  font-size: 30px;
  font-weight: bold;

  @media screen and (max-width: 767px) {
    font-size: 22px;
    line-height: 30px;
  }
}

.footer_logo br {
  @media (min-width: 1024px) {
    display: none;
  }
}

.footer_nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;

  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

.footer_menu {
  font-size: 16px;

  @media screen and (max-width: 767px) {
    font-size: 12px;
  }
}

.footer_copylight {
  margin-top: 3rem;
  font-size: 12px;
  text-align: center;

  @media screen and (max-width: 767px) {
    margin-top: 1rem;
    font-size: 10px;
  }
}

/*
  Hero
-----------------------------------------------------*/

.hero {
  position: relative;
  width: 100vw;
  height: 50vw;
  background: url("../images/mv_pc.png") no-repeat center center/cover;
  overflow: clip;

  @media (max-width: 1200px) {
    height: 60vw;
  }

  @media (max-width: 767px) {
    height: 100vh;
    background: url("../images/mv_sp.png") no-repeat center center/cover;
  }
}

.hero_en {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  bottom: -1vw;
  left: 0;
  right: 0;
  color: #fff;
  font-family: var(--lang-en);
  font-size: 6.5vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  -webkit-animation: scrollTextLeft 15s linear infinite;
          animation: scrollTextLeft 15s linear infinite;

  @media (max-width: 1199px) {
    bottom: -2vw;
    font-size: 10vw;
  }

  @media (max-width: 767px) {
    bottom: -3vw;
    font-size: 20vw;
  }

  .loop_text {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 0.25em;
    line-height: 1;
  }

  .loop_text:nth-child(odd) {
    -webkit-animation: loop 50s -25s linear infinite;
            animation: loop 50s -25s linear infinite;
  }

  .loop_text:nth-child(even) {
    -webkit-animation: loop2 50s linear infinite;
            animation: loop2 50s linear infinite;
  }
}

@-webkit-keyframes loop {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@keyframes loop {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@-webkit-keyframes loop2 {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
}

@keyframes loop2 {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
}

.hero_copy {
  position: absolute;
  bottom: 15vw;
  left: 5vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: auto 0;
  color: #fff;
  font-weight: 600;
  text-shadow: 1.217px 2.434px 5.842px rgba(0, 0, 0, 0.25);

  @media (max-width: 1200px) {
    left: 5vw;
    bottom: 10vw;
  }

  @media (max-width: 767px) {
    bottom: 35vw;
    width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .hero_maincopy {
    font-size: 42px;
    line-height: 1.4;
    letter-spacing: 0.15em;

    @media (max-width: 767px) {
      font-size: 32px;
    }
  }

  .hero_subcopy {
    margin-top: 0.5em;
    font-size: 24px;
    line-height: 1.65;
    letter-spacing: 0.1em;

    @media (max-width: 767px) {
      margin-top: 1rem;
      font-size: 18px;
    }
  }
}

/*
  Service
-----------------------------------------------------*/

.service {
  position: relative;
  padding: 80px 0;
  background-color: var(--bg-color);
  overflow: hidden;

  .service_title {
    position: relative;
    color: var(--main-color);
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.1em;
    z-index: 1;

    @media (max-width: 767px) {
      font-size: 24px;
    }
  }

  .title_en {
    position: absolute;
    top: 0.25em;
    left: 0;

    @media screen and (max-width: 767px) {
      top: 0;
      bottom: auto;
      font-size: 96px;
      -webkit-transform-origin: bottom left;
              transform-origin: bottom left;
      -webkit-transform: rotate(90deg) translate(-20%, 10%);
              transform: rotate(90deg) translate(-20%, 10%);
    }
  }

  .service_link {
    display: grid;
    grid-template-columns: 1fr;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 36px;
    width: 90%;
    margin: 2rem auto 0;

    @media (min-width: 768px) {
      grid-template-columns: repeat(3, 1fr);
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      width: 100%;
      margin-top: 3rem;
    }

    .service_card {
      position: relative;
      aspect-ratio: 342/330;
      background: url("../images/service_reform.png") no-repeat center center/cover;

      @media (min-width: 768px) {
        aspect-ratio: 342/498;
      }

      &::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(206deg, #b6f0fb 0.75%, #3692ed 99.25%);
        mix-blend-mode: multiply;
      }

      .service_card_inner {
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        margin: 0 auto;
        z-index: 1;

        @media (min-width: 768px) {
          bottom: 2rem;
        }
      }

      .service_card_title {
        text-align: center;
        line-height: 1.4;
        letter-spacing: 0.15em;
        color: #fff;
        font-weight: 600;
        font-size: 26px;
      }

      .button {
        display: block;
        width: 80%;
        margin: 1rem auto 0;
        padding: 0.3em 1.5em;
        border-radius: 100px;
        background: #fff;
        color: #0673df;
        text-align: center;
        font-size: 19px;
        font-weight: 600;
      }
    }

    .service_card.factory {
      background-image: url("../images/service_factory.png");

      &::before {
        background: linear-gradient(206deg, rgba(230, 226, 255, 0.6) 0.75%, rgba(77, 50, 187, 0.6) 99.25%);
      }

      .button {
        color: #4d32bb;
      }
    }
    .service_card.mortar {
      background-image: url("../images/service_mortar.png");

      &::before {
        background: linear-gradient(206deg, rgba(185, 255, 248, 0.6) 0.75%, rgba(39, 167, 107, 0.6) 99.25%);
      }

      .button {
        color: #27a76b;
      }
    }
  }
}

/*
  Brand
-----------------------------------------------------*/

.brand {
  position: relative;
  margin: 140px 0 0;
  padding: 140px 0 120px;

  @media (max-width: 1199px) {
    margin: 120px 0 0;
    padding: 120px 0 120px;
  }

  @media (max-width: 1023px) {
    margin: 80px 0 0;
    padding: 80px 0 80px;
  }

  @media (max-width: 767px) {
    margin: 96px 0 0;
    padding: 420px 0 80px;
  }

  &::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bg-gradient-color);
    z-index: -1;

    @media (max-width: 767px) {
      width: 92%;
    }
  }

  .container {
    @media (width < 1024px) {
      width: calc(100% - 96px);
    }
  }

  .brand_inner {
    width: 50%;

    @media (max-width: 767px) {
      width: 92%;
    }
  }

  .title_en {
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
    color: #e2f6ff;

    @media screen and (max-width: 767px) {
      left: 0;
      right: auto;
      top: 0;
      bottom: auto;
      width: 20em;
      font-size: 80px;
      -webkit-transform-origin: bottom left;
              transform-origin: bottom left;
      -webkit-transform: rotate(90deg) translate(-4%, 15%);
              transform: rotate(90deg) translate(-4%, 15%);
      letter-spacing: 0.05em;
    }
  }

  .brand_title {
    color: #fdff78;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0.1em;

    @media (max-width: 767px) {
      font-size: 22px;
    }
  }

  .brand_text {
    margin-top: 3rem;
    font-size: 18px;

    p {
      margin-top: 1em;
      color: #fff;
      letter-spacing: 0.08em;
    }
  }

  .brand_img {
    position: absolute;
    right: calc(-1 * (100vw - 1100px) / 2);
    bottom: 0;
    width: calc(40% + (100vw - 1100px) / 2);
    max-height: 100%;
    margin: auto 0;
    overflow: hidden;

    @media (max-width: 1200px) {
      top: 10%;
      bottom: 10%;
      right: -48px;
      margin: auto 0;
      width: 50%;
    }

    @media (max-width: 1023px) {
      top: 10%;
      bottom: 10%;
      right: -48px;
      margin: auto 0;
      width: 50%;
    }

    @media (max-width: 767px) {
      top: -30px;
      left: 0;
      right: auto;
      width: calc(100% + 48px);
      height: 320px;
      margin: 0;
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }

    img {
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover;
      -o-object-position: top center;
         object-position: top center;
    }
  }
}

/*
  Message
-----------------------------------------------------*/

.message {
  position: relative;
  padding: 160px 0 0;

  @media screen and (max-width: 1199px) {
    padding: 120px 0 0;
  }

  @media screen and (max-width: 767px) {
    padding: 80px 0 0;
  }

  .title_en {
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-transform: translateY(20%);
            transform: translateY(20%);
    color: #e2f6ff;
    z-index: -1;

    @media screen and (max-width: 767px) {
      left: 0;
      right: auto;
      top: 0;
      bottom: auto;
      font-size: 96px;
      -webkit-transform-origin: bottom left;
              transform-origin: bottom left;
      -webkit-transform: rotate(90deg) translate(-8%, 15%);
              transform: rotate(90deg) translate(-8%, 15%);
    }
  }

  .message_title {
    color: var(--main-color);
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.2em;

    @media screen and (max-width: 767px) {
      font-size: 24px;
    }
  }

  .message_grid {
    display: grid;
    grid-template-columns: 1fr;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 2rem;
    margin-top: 2rem;

    @media (min-width: 1024px) {
      /* grid-template-columns: 35% 1fr; */
      gap: 3rem;
      margin-top: 3re
      m;
    }
  }

  .message_texts {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }

  .message_img {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;

    @media screen and (max-width: 1023px) {
      width: 70%;
      max-width: 320px;
      margin: 0 auto;
    }

    img {
      @media screen and (max-width: 767px) {
        aspect-ratio: 4 / 5;
        -o-object-fit: cover;
           object-fit: cover;
        -o-object-position: center top;
           object-position: center top;
      }
    }
  }

  .message_text {
    @media screen and (max-width: 767px) {
      font-size: 14px;
    }
  }

  .message_name {
    margin-top: 3rem;
    text-align: right;

    span {
      display: block;

      &:first-child {
        @media screen and (max-width: 767px) {
          font-size: 12px;
        }
      }
    }
  }
}

/*
  Company
-----------------------------------------------------*/

.company {
  position: relative;
  margin: 160px 0 0;
  padding: 72px 0;
  background-color: var(--bg-color);
  overflow: hidden;

  @media screen and (max-width: 767px) {
    margin: 80px 0 0;
    padding: 80px 0;
  }

  .title_en {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateY(-15%);
            transform: translateY(-15%);

    @media screen and (max-width: 767px) {
      font-size: 96px;
      -webkit-transform-origin: bottom left;
              transform-origin: bottom left;
      -webkit-transform: rotate(90deg) translate(-10%, 12%);
              transform: rotate(90deg) translate(-10%, 12%);
    }
  }

  .company_title {
    color: var(--main-color);
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.2em;

    @media screen and (max-width: 767px) {
      font-size: 24px;
    }
  }

  .company_inner {
    max-width: 800px;
    margin: 3rem auto 0;

    @media screen and (max-width: 767px) {
      margin-top: 1rem;
    }

    dl {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      padding: 1em 0;
      border-bottom: 2px solid rgba(120, 188, 255, 0.7);
      font-size: 18px;

      @media screen and (max-width: 767px) {
        padding: 0.5em 0 0.75em;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
      }

      &:last-child {
        border-bottom: none;
      }
    }

    dt {
      width: 10em;
      font-weight: 500;
    }

    dd {
      line-height: 1.5;
    }
  }
}

/*
  Contact
-----------------------------------------------------*/

.contact {
  padding: 80px 0;
  background: linear-gradient(206deg, #b6f0fb 0.75%, #76c1f4 22.06%, #3692ed 99.25%);
  background-blend-mode: multiply;
}

@media screen and (max-width: 767px) {
  .contact {
    padding: 40px 0;
  }
}

.contact .contact_title {
  color: #fdff78;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 767px) {
  .contact .contact_title {
    font-size: 24px;
  }
}

.contact .contact_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .contact .contact_inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.contact .contact_phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 1rem;
  font-family: "jost", "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 767px) {
  .contact .contact_phone {
    margin-right: 0;
    border-bottom: 1px solid #fff;
  }
}

.contact .contact_phone .contact_phone_label {
  display: block;
  margin-right: 1rem;
  padding: 0em 1em;
  border: 1px solid #fff;
  border-radius: 100px;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .contact .contact_phone .contact_phone_label {
    font-size: 18px;
  }
}

.contact .contact_phone .contact_phone_number {
  display: block;
  font-size: 45px;
  letter-spacing: 0.1em;
  color: inherit;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .contact .contact_phone .contact_phone_number {
    font-size: 32px;
    line-height: 1.65;
  }
}

.contact .contact_time {
  padding-left: 1rem;
  border-left: 1px solid #fff;
  font-size: 20px;
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  .contact .contact_time {
    padding-left: 0;
    border-left: none;
    font-size: 16px;
  }
}

.contact .contact_form {
  background: #fff;
  border-radius: 22px;
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1rem 3rem 3rem;
}

@media screen and (max-width: 767px) {
  .contact .contact_form {
    padding: 0.5rem 1.5rem 2rem;
  }
}

.contact .contact_submitBtn {
  width: 200px !important;
  min-height: 48px;
  border: none !important;
  border-radius: 100px !important;
  background-color: var(--main-color) !important;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  transition: opacity 0.3s;
}

.contact .contact_submitBtn:hover {
  opacity: 0.85;
}

/* =====================================================
   Contact Form 7
===================================================== */

.contact .contact_form .wpcf7 {
  width: 100%;
}

.contact .contact_form .wpcf7 form {
  margin: 0;
}

.contact .contact_form .cf7_form {
  color: #222;
}

.contact .contact_form .cf7_row {
  margin-top: 2rem;
}

@media screen and (max-width: 767px) {
  .contact .contact_form .cf7_row {
    margin-top: 1.5rem;
  }
}

.contact .contact_form .cf7_label.is-name {
  margin-bottom: 0;
}

.contact .contact_form .cf7_label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
}

.contact .contact_form .required {
  color: #e53935;
}

.contact .contact_form .cf7_name_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

@media screen and (max-width: 767px) {
  .contact .contact_form .cf7_name_wrap {
    gap: 16px;
  }
}

.contact .contact_form .cf7_col {
  width: 100%;
}

.contact .contact_form .cf7_sub_label {
  font-size: 14px;       /* ← 指定どおり */
  color: #9e9e9e;        /* ← 薄いグレー（画像に近い） */
}

.contact .contact_form .cf7_input,
.contact .contact_form .cf7_textarea,
.contact .contact_form .wpcf7-form-control.wpcf7-text,
.contact .contact_form .wpcf7-form-control.wpcf7-email,
.contact .contact_form .wpcf7-form-control.wpcf7-tel,
.contact .contact_form .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  padding: 0.9rem 1rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-appearance: none;
          appearance: none;
}

.contact .contact_form .cf7_input {
  height: 50px;
}

.contact .contact_form .cf7_textarea,
.contact .contact_form .wpcf7-form-control.wpcf7-textarea {
  min-height: 170px;
  resize: vertical;
}

.contact .contact_form .cf7_note {
  display: block;
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.contact .contact_form .cf7_check_grid .wpcf7-form-control-wrap {
  display: block;
}

.contact .contact_form .cf7_check_grid .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .contact .contact_form .cf7_check_grid .wpcf7-checkbox {
    grid-template-columns: 1fr;
    gap: 14px 20px;
  }
}

.contact .contact_form .cf7_check_grid .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact .contact_form .cf7_check_grid .wpcf7-list-item label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
}

.contact .contact_form .cf7_check_grid input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #3692ed;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.contact .contact_form .cf7_radio_wrap .wpcf7-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 18px;
}

.contact .contact_form .cf7_radio_wrap .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact .contact_form .cf7_radio_wrap .wpcf7-list-item label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
}

.contact .contact_form .cf7_radio_wrap input[type="radio"] {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #3692ed;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.contact .contact_form .cf7_submit_wrap {
  margin-top: 2rem;
  text-align: center;
}

.contact .contact_form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.contact .contact_form .wpcf7-not-valid-tip {
  margin-top: 0.5rem;
  font-size: 14px;
}

.contact .contact_form .wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 14px;
}