@charset "UTF-8";
/*メインビジュアル*/
/* PC用 */
@media (min-width: 1024px) {
  .mv {
    display: block;
    width: 100%;
    height: auto;
  }
}
/* top mv animation */
.main {
  background-color: #fff;
}

.mv {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}

.mv > picture,
.mv > picture > img {
  display: block;
}

@media (min-width: 1024px) {
  .mv {
    height: clamp(680px, 46vw, 820px);
  }
  .mv > picture {
    height: 100%;
  }
  .mv > picture > img {
    width: 100% !important;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center top;
    transform: none;
  }
}
@media (min-width: 1024px) {
  body.customize-support .mv > picture > img,
  body.admin-bar .mv > picture > img {
    object-position: center -5%;
  }
  body.customize-support .mv-copy,
  body.admin-bar .mv-copy {
    top: 12%;
  }
}
.mv-copy {
  position: absolute;
  top: 7.5%;
  left: 3.2%;
  z-index: 2;
  width: min(78vw, 1320px);
  text-align: center;
  pointer-events: none;
}

.mv-catch {
  display: block;
  width: 100%;
  margin: 0 0 1.7vw;
  color: #07133d;
  font-family: sans-serif;
  font-size: clamp(36px, 4vw, 72px);
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.96);
  text-align: center;
  white-space: nowrap;
}

.mv-title {
  display: block;
  width: 100%;
  margin: 0;
  color: #ffeb22;
  font-family: sans-serif;
  font-size: clamp(94px, 9.6vw, 180px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  -webkit-text-stroke: clamp(5px, 0.66vw, 12px) #0071c8;
  paint-order: stroke fill;
  text-align: center;
  text-shadow: 0 7px 0 #052b7a, 0 12px 14px rgba(0, 36, 110, 0.35);
}

.mv-cards {
  display: flex;
  gap: clamp(20px, 2vw, 38px);
  margin-top: clamp(26px, 2.8vw, 48px);
  width: calc(100% - clamp(64px, 5vw, 80px));
}

.mv-card {
  display: grid;
  grid-template-rows: clamp(62px, 5.8vw, 86px) auto auto;
  place-items: center;
  align-content: center;
  justify-items: center;
  row-gap: clamp(4px, 0.35vw, 7px);
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  min-height: clamp(126px, 11.5vw, 210px);
  padding: clamp(14px, 1.7vw, 28px);
  border: clamp(4px, 0.4vw, 7px) solid #fff;
  border-radius: 7px;
  background: linear-gradient(160deg, #08b4cd, #008ca8);
  color: #fff;
  font-size: clamp(30px, 3vw, 54px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 7px 0 rgba(0, 67, 118, 0.28), 0 11px 15px rgba(0, 50, 90, 0.2);
}
.mv-card__icon {
  display: block;
  align-self: end;
  justify-self: center;
  width: clamp(72px, 5.8vw, 96px);
  height: clamp(60px, 5vw, 82px);
  margin: 0;
  object-fit: contain;
}
.mv-card__icon--aircon {
  width: clamp(88px, 7vw, 118px);
}
.mv-card span {
  align-self: center;
  font-size: clamp(24px, 2.3vw, 42px);
  line-height: 1.2;
  text-align: center;
}

.mv-card:nth-child(2) {
  background: #061f5f;
}

.mv-card strong {
  align-self: center;
  color: #fff026;
  font-size: clamp(28px, 2.6vw, 48px);
  line-height: 1.2;
  text-align: center;
}

.mv-card span,
.mv-card strong {
  max-width: 100%;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .mv-catch,
  .mv-title {
    width: calc(100% - clamp(64px, 5vw, 80px));
  }
  .mv-card {
    grid-template-rows: clamp(96px, 7.5vw, 116px) auto auto;
  }
  .mv-card__icon {
    width: clamp(112px, 8.8vw, 140px);
    height: clamp(92px, 7vw, 112px);
  }
  .mv-card__icon--aircon {
    width: clamp(140px, 10.5vw, 168px);
  }
}
[data-mv-animate] {
  opacity: 0;
  will-change: transform, opacity;
}

[data-mv-animate=slide] {
  transform: translateX(-48px);
}

[data-mv-animate=zoom] {
  transform: scale(0.72);
  transform-origin: 42% 50%;
}

[data-mv-animate=pop] {
  transform: translateY(28px) scale(0.78);
}

[data-mv-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

[data-mv-animate=slide].is-visible {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-mv-animate=zoom].is-visible {
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.18, 1.5, 0.38, 1);
}

[data-mv-animate=pop].is-visible {
  transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.18, 1.55, 0.38, 1);
}

@media (max-width: 767px) {
  .mv-copy {
    display: none;
  }
}
@media (min-width: 1024px) {
  body.customize-support .mv-copy,
  body.admin-bar .mv-copy {
    top: 14%;
  }
  body.customize-support .mv > picture > img,
  body.admin-bar .mv > picture > img {
    object-position: center -5%;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-mv-animate] {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

/*施工実績*/
.section-heading {
  margin-bottom: 50px;
  text-align: left;
}
.section-heading__en {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.section-heading .black-title,
.section-heading .white-title {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 22px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.3;
  text-align: left;
}
.section-heading .black-title::after,
.section-heading .white-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 3px;
  content: "";
}
.section-heading--black {
  color: #414141;
}
.section-heading--black .black-title::after {
  background-color: #414141;
}
.section-heading--white {
  color: #fff;
}
.section-heading--white .white-title::after {
  background-color: #fff;
}

.works {
  padding: 30px; /* スマホ：控えめ */
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .works {
    padding: 100px 50px;
  }
}
.works-list {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 0 10% 12px;
  scroll-behavior: smooth;
  scroll-padding-inline: 10%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.works-list::-webkit-scrollbar {
  display: none;
}
@media screen and (min-width: 1024px) {
  .works-list {
    gap: 40px;
    justify-content: center;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
}
.works-item {
  flex: 0 0 80%;
  min-width: 0;
  scroll-snap-align: start;
}
.works-item > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 150, 203, 0.2);
  border-radius: 11px;
  background-color: #fff;
}
.works-item article {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media screen and (min-width: 1024px) {
  .works-item {
    flex: 1;
    scroll-snap-align: none;
  }
  .works-item > a {
    max-width: 200px;
    margin-inline: auto;
  }
}
.works-text {
  min-height: 76px;
  padding: 16px 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  opacity: 1;
  transition: opacity 0.2s ease;
}
@media screen and (min-width: 1024px) {
  .works-text {
    min-height: 0;
    padding: 20px;
    opacity: 1;
  }
}
.works-list.is-slider-ready .works-item:not(.is-active) .works-text {
  opacity: 0;
}
@media screen and (min-width: 1024px) {
  .works-list.is-slider-ready .works-item:not(.is-active) .works-text {
    opacity: 1;
  }
}
@media screen and (max-width: 1023px) {
  .works-item > a:hover .works-text {
    color: #005574;
  }
  .works-item > a:focus-visible {
    outline: 3px solid #f5d001;
    outline-offset: 4px;
  }
  .works-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    color: #087cad;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
}
.works-slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
@media screen and (min-width: 1024px) {
  .works-slider-controls {
    display: none;
  }
}
.works-slider-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #087cad;
  border-radius: 50%;
  background: #fff;
  color: #087cad;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.works-slider-button:hover, .works-slider-button:focus-visible {
  background: #087cad;
  color: #fff;
}
.works-slider-button:focus-visible {
  outline: 3px solid #f5d001;
  outline-offset: 2px;
}
.works-slider-button:disabled {
  opacity: 0.35;
  cursor: default;
}

figure.works-img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
}
@media screen and (min-width: 1024px) {
  figure.works-img {
    width: 200px;
    height: 200px;
    aspect-ratio: auto;
  }
}

figure.works-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #414141;
  border-radius: 999px;
  color: #414141;
  background-color: #f5d001;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .works-list {
    scroll-behavior: auto;
  }
}
/*ご依頼の流れ*/
.process {
  background-color: #0096cb;
  padding: 100px 50px;
  text-align: center;
}
.process__title {
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
  text-align: left;
}
.process__list {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 25px;
  max-width: 500px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .process__list {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1000px;
  }
}
.process__item {
  background-color: #fff;
  border: 2px solid #0096cb;
  border-radius: 10px;
  padding: 25px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}
.process__item-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}
@media (min-width: 1024px) {
  .process__item {
    width: calc(20% - 20px);
    margin-bottom: 20px;
  }
}
.process__step {
  display: inline-block;
  background-color: #414141;
  color: #fff;
  font-weight: bold;
  border-radius: 20px;
  padding: 2px 15px;
  font-size: 0.8em;
  margin-bottom: 20px;
}
@media screen and (min-width: 1024px) {
  .process__step {
    margin-bottom: 10px;
  }
}
.process__step-number {
  font-size: 1.2em; /* 数字だけ大きくする */
  font-weight: bold;
  color: white; /* 色も変えられる */
}

.title-pc {
  display: inline;
}
@media (min-width: 1240px) {
  .title-pc {
    display: block;
    text-align: center;
    line-height: 0.9;
  }
}

/*会社概要*/
.about {
  padding: 80px 24px;
  text-align: center; /* ボタンを中央に */
}
@media screen and (min-width: 1024px) {
  .about {
    padding: 100px 50px;
  }
}
.about-container {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  align-items: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (min-width: 1024px) {
  .about-container {
    flex-direction: row; /* 横並びに変更 */
    align-items: flex-start;
    gap: 30px;
  }
}
.about-img img {
  border-radius: 10px; /* 柔らかい印象に */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  height: auto;
}
.about-text {
  flex: 1;
  color: #414141;
  line-height: 1.65;
  font-size: 15px;
  text-align: left;
}
@media screen and (min-width: 1024px) {
  .about-text {
    line-height: 1.8;
    font-size: 16px;
  }
}
.about-lead {
  margin-bottom: 12px;
}
.about-lead:nth-child(-n+2) {
  color: #263b46;
  font-weight: 600;
}
@media screen and (min-width: 1024px) {
  .about-lead {
    margin-bottom: 20px;
  }
  .about-lead:nth-child(-n+2) {
    color: inherit;
    font-weight: 400;
  }
}
.about-link {
  display: inline-block;
  margin: 40px auto 0;
  background-color: #414141;
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}
.about-link:hover {
  background-color: #005574;
}

/*こだわりポイント*/
.features {
  padding: 100px 50px;
  background-color: #0096cb; /* 青背景 */
}
.features-list {
  display: grid;
  grid-template-columns: 1fr; /* モバイルは1列 */
  gap: 20px;
  padding: 0;
}
@media (min-width: 1024px) {
  .features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.features-item {
  background-color: #fff; /* 白い箱 */
  color: #333; /* 文字色 */
  padding: 20px;
  border-radius: 8px; /* 角丸 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 軽い影 */
  line-height: 1.5;
  text-align: center;
  font-weight: bold;
}

.features--strength {
  padding: 70px 20px;
}
.features--strength .section-heading,
.features--strength .features-list {
  width: min(100%, 960px);
  margin-inline: auto;
}
.features--strength .section-heading {
  margin-bottom: 38px;
}
.features--strength .features-list {
  gap: 18px;
}
.features--strength .features-item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  min-height: 210px;
  padding: 28px 24px 28px 0;
  border-radius: 10px;
  text-align: left;
}
.features--strength .features-item__icon {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 1px solid #bbb;
  color: #087cad;
  font-size: 54px;
}
.features--strength .features-item__body {
  min-width: 0;
  padding-left: 20px;
}
.features--strength .features-item__title {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1783a8;
  color: #087cad;
  font-size: clamp(13px, 4vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.features--strength .features-item__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .features--strength {
    padding: 90px 40px;
  }
  .features--strength .features-item {
    grid-template-columns: 150px minmax(0, 1fr);
    padding: 36px 30px 36px 0;
  }
  .features--strength .features-item__icon {
    font-size: 68px;
  }
}
@media (max-width: 520px) {
  .features--strength .section-heading .white-title {
    text-align: left;
  }
  .features--strength .features-item {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 0;
    padding: 24px 18px 24px 0;
  }
  .features--strength .features-item__icon {
    font-size: 42px;
  }
  .features--strength .features-item__body {
    padding-left: 16px;
  }
  .features--strength .features-item__text br {
    display: none;
  }
}

/*アクセス*/
.access {
  padding: 70px 24px;
}
.access .section-heading, .access-container {
  width: min(100%, 960px);
  margin-inline: auto;
}
@media screen and (min-width: 1024px) {
  .access {
    padding-inline: 40px;
  }
}
.access-container {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 20px;
}
@media (min-width: 1024px) {
  .access-container {
    flex-direction: row; /* 横並びに変更 */
    justify-content: center; /* ← 全体を中央寄せ！ */
    gap: 20px; /* 間のスペース調整 */
    align-items: start;
  }
}
.access-list {
  position: relative;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 150, 203, 0.22);
  border-top: 5px solid var(--base-blue);
  border-radius: 6px 6px 14px 14px;
  background: #fff;
  box-shadow: 0 3px 3px rgba(0, 85, 116, 0.1);
}
.access-list::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 78px;
  height: 5px;
  background-color: var(--base-yellow);
}
@media screen and (min-width: 1024px) {
  .access-list {
    padding: 24px 28px;
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
  }
}
.access-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 136px);
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 118, 164, 0.18);
}
.access-item:last-child {
  border-bottom: 0;
}
@media screen and (min-width: 1024px) {
  .access-item {
    grid-template-columns: 96px minmax(0, 168px);
    gap: 16px;
  }
}
.access-item dt {
  color: #087cad;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.access-item dd {
  margin: 0;
  color: #263b46;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}
@media screen and (min-width: 1024px) {
  .access-item dd {
    white-space: normal;
  }
}
.access-item p {
  margin: 0;
}
.access-item--address dd {
  white-space: normal;
  overflow-wrap: anywhere;
}
.access-map {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 76, 112, 0.12);
}
@media screen and (min-width: 1024px) {
  .access-map {
    flex: 1 1 500px;
    min-width: 0;
    height: 400px;
  }
}

/* Front-page contact aside. */
.contact-aside {
  max-width: 500px;
  padding: 20px;
  background: #0096cb;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 1024px) {
  .contact-aside {
    position: sticky;
    top: 141px;
    height: calc(100vh - 141px);
    box-sizing: border-box;
    margin-top: 0;
    padding: 20px 45px;
    overflow-y: auto;
  }
}
@media screen and (min-width: 1200px) {
  .contact-aside {
    display: flex;
    flex-direction: column;
    padding-right: 72px;
    padding-bottom: 24px;
  }
  .contact-aside > .wpcf7,
  .contact-aside .wpcf7-form {
    display: flex;
    flex: 0 0 auto;
    min-height: auto;
    flex-direction: column;
  }
}
.contact-title {
  margin-bottom: 20px;
  color: white;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .contact-title {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.3;
  }
}
.contact-form {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 8px;
  background: white;
}
@media screen and (min-width: 1024px) {
  .contact-form {
    padding: 24px 30px 10px;
  }
}
@media screen and (min-width: 1200px) {
  .contact-form {
    flex: 0 0 auto;
    min-height: auto;
    padding-top: 16px;
  }
}

/* Keep the submit control and validation messages inside the white form panel. */
.contact-aside .wpcf7-form {
  position: relative;
  box-sizing: border-box;
  padding-bottom: 16px;
  border-radius: 8px;
  background-color: #fff;
}
.contact-aside .contact-form {
  position: relative;
  padding-bottom: 0;
}
.contact-aside .wpcf7-spinner {
  position: absolute;
  right: 14px;
  bottom: 20px;
  margin: 0;
}

@media screen and (min-width: 1200px) {
  .contact-aside {
    height: calc(100vh - 141px);
    min-height: 0;
    overflow-y: auto;
  }
  .contact-aside .form-group--stack:has(.form-textarea) {
    flex: 0 0 auto;
    min-height: 0;
  }
  .contact-aside .form-group--stack:has(.form-textarea) > .wpcf7-form-control-wrap {
    flex: 0 0 auto;
  }
  .contact-aside .form-group--stack:has(.form-textarea) .form-textarea {
    flex: 0 0 auto;
    height: 120px;
    min-height: 120px;
  }
  body.home-header-layout .fixed-contact {
    right: 8px;
    bottom: 92px;
    width: 56px;
    height: 112px;
    flex-direction: column;
  }
  body.home-header-layout .fixed-contact .contact-btn {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #fff;
  }
  body.home-header-layout .fixed-contact .contact-btn:last-child {
    border-bottom: 0;
  }
  body.home-header-layout .to-top {
    right: 16px;
    bottom: 40px;
  }
}
.form-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 14px;
  align-items: center;
  margin: 0 0 15px;
}
@media screen and (min-width: 1200px) {
  .form-group {
    margin-bottom: 10px;
  }
}
.form-group--stack {
  grid-template-columns: 1fr;
  align-items: start;
}
@media screen and (min-width: 1200px) {
  .form-group--stack:has(.form-textarea) {
    display: flex;
    flex: 1;
    min-height: 150px;
    flex-direction: column;
  }
  .form-group--stack:has(.form-textarea) > .wpcf7-form-control-wrap {
    display: flex;
    flex: 1;
    min-height: 0;
  }
  .form-group--stack:has(.form-textarea) .form-textarea {
    flex: 1;
    height: 100%;
  }
}
.form-group--file {
  row-gap: 6px;
}
.form-group--file > br {
  display: none;
}
.form-group--file > .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}
.form-group--file .form-label {
  margin-bottom: 0;
}
.form-label {
  display: block;
  margin: 0 0 8px;
  color: #555;
  font-size: 16px;
  font-weight: 500;
  white-space: normal;
}
.form-input, .form-textarea {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}
.form-input:focus, .form-textarea:focus {
  border-color: #007bff;
  outline: none;
}
.form-textarea {
  min-height: 80px;
  resize: vertical;
}
@media screen and (min-width: 1200px) {
  .form-textarea {
    height: 120px;
    min-height: 120px;
  }
}
.form-help {
  display: block;
  margin: 0;
  color: #666;
  font-size: 12px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
@media screen and (min-width: 1024px) {
  .form-help {
    white-space: nowrap;
  }
}
.form-file {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}
.form-file::file-selector-button {
  min-height: 40px;
  margin-right: 10px;
  padding: 8px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  background-color: #f7f7f7;
  color: #414141;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-file:hover::file-selector-button {
  border-color: #888;
  background-color: #eee;
}
.form-file:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.35);
  outline-offset: 3px;
}
.form-button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #414141;
  color: white;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.form-button:hover {
  background-color: #005574;
}

@media screen and (max-width: 767px) {
  .contact-aside .form-group {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
    align-items: start;
  }
  .contact-aside .form-label {
    margin: 0;
  }
  .contact-aside .form-group > .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .contact-aside .form-input,
  .contact-aside .form-textarea {
    display: block;
    width: 100%;
  }
}
.privacy-consent {
  margin: 0 0 16px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}
.privacy-consent .wpcf7-list-item {
  margin: 0;
}
.privacy-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.privacy-consent input[type=checkbox] {
  -webkit-appearance: checkbox;
  appearance: auto;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.3em;
  accent-color: #006f9c;
}
.privacy-consent a {
  color: #006f9c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sales-inquiry-notice {
  margin: 4px 0 16px;
  padding: 14px 16px;
  border: 1px solid #c9dce4;
  border-left: 4px solid #006f9c;
  border-radius: 6px;
  background-color: #f7fafb;
  color: #414141;
  font-size: 13px;
  line-height: 1.7;
}
.sales-inquiry-notice p + p {
  margin-top: 8px;
}
.sales-inquiry-notice strong {
  color: #005574;
  font-size: 14px;
}
.sales-inquiry-notice a {
  color: #006f9c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (min-width: 1200px) {
  .contact-aside .wpcf7-form {
    padding-bottom: 20px;
  }
  .contact-aside .contact-form {
    padding: 12px 24px 0;
  }
  .contact-aside .form-group {
    column-gap: 12px;
    margin-bottom: 8px;
  }
  .contact-aside .form-label {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.4;
  }
  .contact-aside .form-input,
  .contact-aside .form-textarea {
    padding: 6px 8px;
    font-size: 14px;
    line-height: 1.35;
  }
  .contact-aside .form-input {
    min-height: 36px;
  }
  .contact-aside .form-group--stack:has(.form-textarea) .form-textarea {
    height: 96px;
    min-height: 96px;
  }
  .contact-aside .form-group--file {
    row-gap: 4px;
  }
  .contact-aside .form-help {
    font-size: 12px;
    line-height: 1.35;
  }
  .contact-aside .form-file {
    font-size: 13px;
    line-height: 1.4;
  }
  .contact-aside .form-file::file-selector-button {
    min-height: 36px;
    padding: 6px 10px;
  }
  .contact-aside .privacy-consent {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
  }
  .contact-aside .form-button {
    min-height: 40px;
    padding: 8px;
    font-size: 15px;
  }
}

/* Tablet layout for the front page only. */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  body {
    padding-top: 82px !important;
    padding-bottom: 0;
  }
  .header-container {
    padding: 8px 28px;
  }
  .header-title img {
    width: 180px;
    height: auto;
  }
  .hamburger-nav {
    width: min(70vw, 420px);
  }
  .black-title,
  .white-title {
    text-align: left;
  }
  .fixed-contact {
    right: 20px;
    bottom: 20px;
    left: auto;
    width: 144px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 61, 88, 0.25);
  }
  .to-top {
    right: 20px;
    bottom: 92px;
  }
  .footer__nav-pc,
  .footer__nav-list {
    display: flex;
  }
  .footer__nav-pc {
    justify-content: center;
    padding: 10px;
    font-size: 15px;
  }
  .footer__nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
  }
  .mv {
    height: auto;
    aspect-ratio: 1672/941;
  }
  .mv > picture {
    height: 100%;
  }
  .mv > picture > img {
    width: 100% !important;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    transform: none;
  }
  .mv-copy {
    top: 8%;
    left: 3%;
    width: min(84vw, 860px);
  }
  .mv-catch {
    margin-bottom: 16px;
    font-size: clamp(26px, 3.8vw, 38px);
  }
  .mv-title {
    width: 100%;
    font-size: clamp(58px, 8vw, 82px);
    -webkit-text-stroke-width: 3px;
  }
  .mv-cards {
    width: 100%;
    gap: 16px;
    margin-top: 28px;
  }
  .mv-card {
    min-height: 118px;
    padding: 14px 10px;
    border-width: 4px;
    font-size: clamp(20px, 3vw, 30px);
  }
  .works {
    padding: 72px 40px;
  }
  .works-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .works-item {
    min-width: 0;
    scroll-snap-align: none;
  }
  .works-list.is-slider-ready .works-item:not(.is-active) .works-text {
    opacity: 1;
  }
  .works-text {
    min-height: 0;
    padding: 18px;
    opacity: 1;
  }
  .works-slider-controls {
    display: none;
  }
  figure.works-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  .process {
    padding: 90px 40px;
  }
  .process__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
  }
  .about {
    padding: 90px 40px;
  }
  .about-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }
  .about-img {
    flex: 0 0 38%;
  }
  .about-text {
    font-size: 16px;
    line-height: 1.75;
  }
  .features-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features--strength .features-item {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 220px;
    padding: 30px 22px 30px 0;
  }
  .features--strength .features-item__icon {
    font-size: 52px;
  }
  .features--strength .features-item__body {
    padding-left: 18px;
  }
  .features--strength .features-item__title {
    font-size: 17px;
    white-space: normal;
  }
  .access {
    padding: 80px 32px;
  }
  .access-container {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
  }
  .access-list {
    display: flex;
    flex: 0 0 310px;
    min-height: 380px;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
  }
  .access-item {
    grid-template-columns: 84px minmax(0, 160px);
  }
  .access-item dd {
    white-space: normal;
  }
  .access-map {
    flex: 1 1 auto;
    min-width: 0;
    height: 380px;
  }
  .contact-aside {
    width: min(100%, 760px);
    max-width: 760px;
    margin-inline: auto;
    padding: 40px;
  }
  .contact-form {
    padding: 24px 18px 18px;
  }
  .form-group {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .form-group--stack {
    grid-template-columns: 1fr;
  }
}
.contact-drawer-trigger,
.contact-drawer-close,
.contact-drawer-overlay {
  display: none;
}

/* Keep the tablet hero copy inside the clear space to the left of the person. */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .mv-copy {
    top: 10%;
    left: 3.2%;
    width: 57.5vw;
  }
  .mv-catch,
  .mv-title {
    width: 100%;
  }
  .mv-catch {
    margin-bottom: 12px;
    font-size: clamp(24px, 3.4vw, 34px);
  }
  .mv-title {
    font-size: clamp(54px, 6.8vw, 70px);
    -webkit-text-stroke-width: 3px;
    text-shadow: 0 4px 0 #052b7a, 0 7px 9px rgba(0, 36, 110, 0.3);
  }
  .mv-cards {
    width: 100%;
    gap: clamp(8px, 1.3vw, 13px);
    margin-top: clamp(20px, 2.3vw, 25px);
  }
  .mv-card {
    grid-template-rows: clamp(60px, 7vw, 72px) auto auto;
    min-height: clamp(124px, 14.8vw, 152px);
    padding: 12px 8px;
    border-width: 4px;
  }
  .mv-card__icon {
    width: clamp(66px, 8vw, 82px);
    height: clamp(58px, 7vw, 72px);
  }
  .mv-card__icon--aircon {
    width: clamp(80px, 9.4vw, 96px);
  }
  .mv-card span {
    font-size: clamp(18px, 2.2vw, 23px);
  }
  .mv-card strong {
    font-size: clamp(22px, 2.6vw, 27px);
  }
}
/* Tablet contact drawer: keep the main content readable at landscape widths. */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .main-wrapper {
    display: block;
  }
  .process__item-title {
    display: flex;
    min-height: 3.3em;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
  }
  .process__item-title .title-pc {
    display: block;
    white-space: nowrap;
  }
  .contact-drawer-trigger {
    position: fixed;
    right: 12px;
    bottom: 196px;
    z-index: 1090;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-height: 144px;
    padding: 12px 0;
    border: 0;
    border-radius: 12px;
    background-color: #0096cb;
    box-shadow: 0 3px 3px rgba(0, 76, 112, 0.18);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    cursor: pointer;
  }
  .contact-drawer-trigger:focus-visible {
    outline: 3px solid #f5d001;
    outline-offset: 3px;
  }
  .fixed-contact {
    right: 12px;
    bottom: 72px;
    width: 56px;
    height: 112px;
    flex-direction: column;
  }
  .fixed-contact .contact-btn {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #fff;
  }
  .fixed-contact .contact-btn:last-child {
    border-bottom: 0;
  }
  .to-top {
    right: 20px;
    bottom: 20px;
  }
  .contact-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    background-color: rgba(7, 19, 61, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .contact-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
  .contact-aside {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    width: min(88vw, 580px);
    max-width: 580px;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 64px 28px 40px;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: -3px 0 3px rgba(0, 61, 88, 0.16);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }
  .contact-aside .form-group {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
    align-items: start;
  }
  .contact-aside .form-label {
    margin: 0;
  }
  .contact-aside .form-group > .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .contact-aside .form-input,
  .contact-aside .form-textarea {
    display: block;
    width: 100%;
  }
  .contact-aside.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .contact-drawer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }
  .contact-drawer-close:focus-visible {
    outline: 3px solid #f5d001;
    outline-offset: 2px;
  }
  .contact-drawer-close > span {
    display: block;
    line-height: 1;
    transform: translateY(-2px);
  }
  body.contact-drawer-open {
    overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-aside,
  .contact-drawer-overlay {
    transition-duration: 0.01ms !important;
  }
}
