@charset "UTF-8";
/*
Theme Name: 高松サッシ工業 オリジナルテーマ
Author: 株式会社ウィズスタイル
Description: 128MBメモリ制限環境に完全対応した超軽量スクラッチテーマ
Version: 1.4.0
*/

/* Google Fonts 読み込み */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;1,600&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap");

/* ==========================================
   1. 基本リセット / CSS変数（デザイントークン）
=========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #015c83;
  --color-accent: #f57c00;
  --color-bg-cta: #f7f7f7;
  --color-bg-muted: #e5edf1;
  --color-text: #000000;
  --color-white: #ffffff;
  --color-toggle-menu-bg: #f4f6f8;
  --radius-card: 10px;
  --radius-title: 6px;
  --radius-cta: 7px;
  --font-jp:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    sans-serif;
  --font-en: Inter, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* トップページ限定の背景線設定 */
body.home,
body.front-page {
  background-image: url("images/bg_line.svg");
  background-repeat: repeat-x;
  background-position: top left;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* 共通コンテナ（全ページ共有） */
.l-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================
   2. 共通パーツ / ボタンアニメーション
=========================================== */
/* セクション見出し */
.c-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-primary);
}

.c-section-head__en {
  font-family: var(--font-en);
  font-weight: 100;
  font-size: 23px;
  line-height: 56px;
}

.c-section-head__ja {
  font-weight: 800;
  font-size: 38px;
  line-height: 56px;
}

.c-section-head--light {
  color: var(--color-white);
}

.c-section-head--light .c-section-head__ja {
  line-height: 56px;
}

/* ボタン共通トランジション（0.4秒でスムーズに変化） */
.c-button,
.c-button--orange,
.c-button--blue,
.l-header__cta,
.p-cta__btn,
.c-btn-more {
  transition: all 0.4s ease;
  cursor: pointer;
}

/* ブルー系ボタン（メインカラー） */
.c-button--blue,
.c-btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 30px;
  border-radius: var(--radius-title);
}

.c-button--blue:hover,
.c-btn-more:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ボタン内のアイコンホバーアニメーション */
.c-btn-more__icon {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
  margin-top: 1px;
  transition: border-color 0.4s ease;
}

.c-button--blue:hover .c-btn-more__icon,
.c-btn-more:hover .c-btn-more__icon {
  border-top-color: var(--color-primary);
  border-right-color: var(--color-primary);
}

.c-button--blue:hover img,
.c-button--blue:hover svg,
.c-btn-more:hover img,
.c-btn-more:hover svg {
  filter: invert(21%) sepia(78%) saturate(1420%) hue-rotate(169deg)
    brightness(0.92) contrast(101%);
}

.c-button--blue:hover svg path,
.c-btn-more:hover svg path {
  fill: var(--color-primary);
  stroke: var(--color-primary);
}

/* ==========================================
   3. ヘッダー (l-header)
=========================================== */
.l-header {
  padding: 31px 28px 30px 37px;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1375px;
  margin: 0 auto;
  gap: 24px;
}

.l-header__logo {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.l-header__logo-img {
  width: 51px;
  height: 58px;
  object-fit: contain;
}

.l-header__logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.l-header__logo-corp {
  font-weight: 600;
  font-size: 20px;
  line-height: 36px;
}

.l-header__logo-name {
  font-weight: 800;
  font-size: 27px;
  line-height: 36px;
}

.l-header__check,
.l-header__hamburger {
  display: none;
}

.l-header__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.l-header__item a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
  white-space: nowrap;
}

.l-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 212px;
  height: 32px;
  padding: 4px 15px 6px 17px;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: var(--color-white) !important;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border-radius: var(--radius-cta);
}

.l-header__cta:hover {
  background-color: var(--color-white);
  color: var(--color-accent) !important;
  border-color: var(--color-accent);
}

/* ==========================================
   4. ヒーロー (p-hero)
=========================================== */
.p-hero {
  padding: 28px 132px 27px;
}

.p-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 800px;
}

.p-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  height: 35px;
  padding: 5px 12px 7px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
  font-size: 17px;
  line-height: 23px;
}

.p-hero__title {
  font-weight: 900;
  font-size: 50px;
  line-height: 1.2;
  margin-top: 8px;
}

.p-hero__lead {
  font-weight: 600;
  font-size: 25px;
  line-height: 40px;
}

.p-hero__lead-em {
  font-weight: 800;
  font-size: 30px;
}

/* ==========================================
   5. キービジュアル (p-kv)
=========================================== */
.p-kv {
  position: relative;
  min-height: 617px;
  display: flex;
  align-items: flex-end;
  padding: 377px 83px 75px;
  overflow: hidden;
}

.p-kv__bg {
  position: absolute;
  inset: 0;
}

.p-kv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-kv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.p-kv__inner {
  position: relative;
  z-index: 1;
  padding-left: 26px;
  border-left: 3px solid var(--color-white);
  color: var(--color-white);
}

.p-kv__catch {
  font-weight: 600;
  font-size: 19px;
  line-height: 37px;
  margin-bottom: 4px;
}

.p-kv__title {
  font-weight: 800;
  font-size: 48px;
  line-height: 62px;
}

/* ==========================================
   6. CTAセクション (p-cta)
=========================================== */
.p-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-cta);
  padding: 22px 20px 23px;
}

.p-cta--wide {
  gap: 15px;
  padding: 32px 20px;
}

.p-cta__support {
  font-size: 18px;
  line-height: 37px;
  letter-spacing: 0.03em;
  text-align: center;
}

.p-cta__lead {
  font-weight: 600;
  font-size: 23px;
  line-height: 37px;
  text-align: center;
}

.p-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 419px;
  max-width: 100%;
  height: 87px;
  padding: 14px 48px 13px 49px;
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-cta);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
}

.p-cta__btn-icon {
  width: 36px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.c-button--orange:hover,
.p-cta__btn:hover {
  background-color: var(--color-white);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.c-button--orange:hover img,
.p-cta__btn:hover .p-cta__btn-icon {
  filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1804%)
    hue-rotate(1deg) brightness(1.02);
}

.p-cta__btn-text {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  white-space: nowrap;
}

.p-cta__note {
  font-size: 18px;
  line-height: 37px;
  text-align: center;
}

/* ==========================================
   7. お悩み・問題提起 (p-subject)
=========================================== */
.p-subject {
  padding: 62px 89px 0 120px;
}

.p-subject__inner {
  display: flex;
  align-items: center;
  max-width: 1231px;
  margin: 0 auto;
}

.p-subject__body {
  display: flex;
  flex-direction: column;
  gap: 29px;
  width: 723px;
  max-width: 100%;
  flex-shrink: 1;
}

.p-subject__title {
  font-weight: 800;
  font-size: 38px;
  line-height: 37px;
}

.p-subject__list {
  display: flex;
  flex-direction: column;
}

.p-subject__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 65px;
  font-weight: 500;
  font-size: 26px;
  line-height: 36px;
}

.p-subject__icon {
  width: 36px;
  height: 35px;
  flex-shrink: 0;
  object-fit: contain;
}

.p-subject__catch {
  font-weight: 800;
  font-size: 52px;
  line-height: 67px;
  color: var(--color-primary);
  margin-right: -5em;
}

.p-subject__image {
  width: 508px;
  max-width: 100%;
  flex-shrink: 1;
}

.p-subject__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================
   8. 選ばれる理由 (p-reason)
=========================================== */
.p-reason {
  background: var(--color-primary);
  padding: 64px 118px 96px 122px;
}

.p-reason__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.p-reason__cards {
  display: flex;
  gap: 45px;
  width: 100%;
}

.p-reason__card {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 16px 23px 28px 24px;
  min-height: 257px;
}

.p-reason__card:nth-child(2) {
  padding-top: 25px;
  padding-bottom: 37px;
}

.p-reason__card:nth-child(3) {
  padding-top: 23px;
}

.p-reason__head {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -14px;
  position: relative;
  z-index: 2;
}

.p-reason__num {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: 41px;
  line-height: 56px;
  color: var(--color-primary);
}

.p-reason__icon {
  width: 73px;
  height: 65px;
  object-fit: contain;
}

.p-reason__icon--02 {
  width: 61px;
  height: 49px;
  margin-bottom: 6px;
}

.p-reason__icon--03 {
  width: 52px;
  height: 53px;
  margin-bottom: 4px;
}

.p-reason__title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  margin-bottom: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 20px;
  line-height: 56px;
  text-align: center;
  border-radius: var(--radius-title);
}

.p-reason__text {
  font-size: 16px;
  line-height: 31px;
}

/* ==========================================
   9. サービス (p-service)
=========================================== */
.p-service {
  position: relative;
  padding: 95px 142px 120px;
  overflow: hidden;
}

.p-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/bg-service.png") center / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.p-service__inner {
  position: relative;
  z-index: 1;
  max-width: 1155px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 85px;
}

.p-service__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  width: 100%;
}

.p-service__lead {
  font-size: 18px;
  line-height: 39px;
  letter-spacing: 0.06em;
  text-align: center;
}

.p-service__list {
  display: flex;
  gap: 70px;
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}

.p-service__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-service__item:last-child {
  gap: 21px;
}

.p-service__img {
  width: 238px;
  height: 196px;
  flex-shrink: 0;
  overflow: hidden;
}

.p-service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-service__title {
  font-weight: 700;
  font-size: 23px;
  line-height: 35px;
}

.p-service__text {
  font-size: 16px;
  line-height: 31px;
}

/* ==========================================
   10. 施工実績 (p-case)
=========================================== */
.p-case {
  background: var(--color-bg-muted);
  padding: 46px 0 97px;
}

.p-case__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.p-case__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.p-case__lead {
  padding: 0 20px;
  font-size: 18px;
  line-height: 39px;
  letter-spacing: 0.06em;
  text-align: center;
}

.p-case__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 13px;
}

.p-case__item {
  overflow: hidden;
  aspect-ratio: 480 / 236;
}

.p-case__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   11. 対応エリア (p-area)
=========================================== */
.p-area {
  position: relative;
  padding: 117px 120px 86px;
  background: url("images/bg-area.webp") center / cover no-repeat;
}

.p-area__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-area__content {
  display: flex;
  align-items: center;
  gap: 54px;
  width: 100%;
  margin-top: 12px;
}

.p-area__map {
  width: 500px;
  max-width: 100%;
  flex-shrink: 1;
  opacity: 0.5;
}

.p-area__map img {
  width: 100%;
  height: auto;
}

.p-area__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.p-area__title {
  font-weight: 700;
  font-size: 23px;
  line-height: 56px;
}

.p-area__text {
  font-size: 18px;
  line-height: 39px;
  letter-spacing: 0.06em;
}

/* ==========================================
   12. フッター (l-footer)
=========================================== */
.l-footer__main {
  background: var(--color-bg-muted);
  padding: 92px 119px 92px 110px;
}

.l-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1211px;
  margin: 0 auto;
}

.l-footer__logo {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--color-primary);
}

.l-footer__logo-img {
  width: 42px;
  height: 48px;
  object-fit: contain;
}

.l-footer__logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.l-footer__logo-corp {
  font-weight: 600;
  font-size: 16px;
  line-height: 38px;
}

.l-footer__logo-name {
  font-weight: 800;
  font-size: 23px;
  line-height: 38px;
}

.l-footer__address,
.l-footer__tel {
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 0.04em;
  padding-left: 10px;
}

.l-footer__tel span {
  font-weight: 600;
}

.l-footer__list {
  display: flex;
  gap: 40px;
  padding-top: 21px;
}

.l-footer__item a {
  font-size: 14px;
  color: var(--color-primary);
  white-space: nowrap;
}

.l-footer__copy {
  background: var(--color-primary);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 26px;
  padding: 6px 20px;
}

.l-footer__copyright {
  font-size: 12px;
  color: var(--color-white);
  line-height: 1.2;
}

/* ==========================================
   13. 下層：サービスページ (page-service.php)
=========================================== */
.p-service-intro {
  padding: 50px 0 26px;
}

.p-service-intro__en {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 23px;
  line-height: 34px;
  color: var(--color-primary);
}

.p-service-intro__title {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.44;
  margin-top: 10px;
}

.p-service-intro__lead {
  margin-top: 8px;
  font-weight: 600;
  font-size: 25px;
  line-height: 40px;
}

.p-service-kv {
  background: var(--color-primary);
  padding: 17px 0;
}

.p-service-kv__inner {
  display: grid;
  padding-left: 0;
  padding-right: 0;
}

.p-service-kv__inner img {
  width: 100%;
  height: 452px;
  object-fit: cover;
}

.p-service-message {
  padding: 0px;
}

.p-service-message__inner {
  display: flex;
  align-items: center;
}

.p-service-message__body {
  width: 589px;
  max-width: 100%;
  flex-shrink: 1;
  font-weight: 600;
  font-size: 22px;
  line-height: 37px;
}

.p-service-message__body p + p {
  margin-top: 1em;
}

.p-service-message__em {
  color: var(--color-accent);
}

.p-service-message__image {
  width: 730px;
  max-width: 100%;
  height: 543px;
  flex-shrink: 1;
}

.p-service-message__image img {
  width: 100%;
  height: 100%;
}

.p-work {
  background: var(--color-primary);
  padding: 64px 0;
}

.p-work .c-section-head {
  margin-bottom: 50px;
}

.p-work__sub {
  font-size: 28px;
  font-weight: 800;
}

.p-work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  min-width: 0;
}

.p-work__card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 16px 24px;
  min-width: 0;
}

.p-work__title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 20px;
  line-height: 56px;
  text-align: center;
  border-radius: var(--radius-title);
}

.p-work__img {
  width: 100%;
  max-width: 323px;
  height: 217px;
  margin: 20px auto 0;
  overflow: hidden;
}

.p-work__img img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-work__text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 25px;
}

/* 取扱業務：横幅溢れ防止 */
.p-work,
.p-work__grid,
.p-work__card,
.p-work__title,
.p-work__img,
.p-work__text,
.p-work .c-section-head,
.p-work .c-section-head__ja,
.p-work .c-section-head__en {
  box-sizing: border-box;
  max-width: 100%;
}

.p-work__card,
.p-work__text,
.p-work__title,
.p-work .c-section-head__ja {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.p-advantage {
  padding: 80px 0;
}

.p-advantage .c-section-head {
  margin-bottom: 50px;
}

.p-advantage__sub {
  font-size: 28px;
  font-weight: 800;
}

.p-advantage__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.p-advantage__item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  background: var(--color-bg-muted);
  border-radius: 8px;
  padding: 16px 40px;
}

.p-advantage__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 90px;
  min-height: 145px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 57px;
  line-height: 56px;
  border-radius: var(--radius-title);
}

.p-advantage__body {
  flex: 1;
  min-width: 0;
}

.p-advantage__title {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 23px;
  line-height: 35px;
}

.p-advantage__text {
  margin-top: 9px;
  font-size: 16px;
  line-height: 31px;
}

.p-flow {
  padding: 0 0 80px;
}

.p-flow .c-section-head {
  margin-bottom: 42px;
}

.p-flow__list {
  max-width: 766px;
  margin: 0 auto;
}

.p-flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.p-flow__step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--color-primary);
  line-height: 56px;
}

.p-flow__step-label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 32px;
}

.p-flow__step-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 45px;
}

.p-flow__title {
  font-weight: 800;
  font-size: 23px;
  line-height: 35px;
}

.p-flow__text {
  font-size: 16px;
  line-height: 31px;
}

.p-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  background: var(--color-white);
  border: 1px solid #ebebeb;
  border-radius: 46px;
}

.p-flow__arrow img {
  width: 56px;
  height: 40px;
  object-fit: contain;
}

/* ==========================================
   14. 下層：会社概要ページ (page-company.php)
   ※最新Figmaデザインに準拠
=========================================== */
.p-company-header {
  padding: 50px 0 26px;
  margin: 0;
}

.p-company-header__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 23px;
  line-height: 34px;
  color: var(--color-primary);
  margin-bottom: 0;
}

.p-company-header__ja {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.44;
  color: var(--color-text);
  margin-top: 10px;
  margin-bottom: 0;
}

.p-company-header__catch {
  margin-top: 8px;
  font-weight: 600;
  font-size: 25px;
  line-height: 40px;
  color: var(--color-text);
}

.p-company-intro {
  margin-top: 24px;
  margin-bottom: 60px;
}

.p-company-overview {
  margin-bottom: 80px;
}

.p-company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.p-company-table tr {
  display: flex;
  align-items: stretch;
  gap: 36px;
}

.p-company-table th,
.p-company-table td {
  padding: 16px 0 12px;
  text-align: left;
  vertical-align: top;
  color: var(--color-text);
  background: transparent;
}

.p-company-table th {
  flex: 0 0 180px;
  width: 180px;
  font-weight: 700;
  border-bottom: 3px solid #015c83;
}

.p-company-table td {
  flex: 1;
  min-width: 0;
  line-height: 1.8;
  border-bottom: 1px solid #015c83;
}

.p-company-access {
  margin-bottom: 80px;
}

.p-company-access__title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.p-company-access__map {
  width: 100%;
}

.p-company-access__map iframe {
  display: block;
}

/* ==========================================
   15. レスポンシブ対応 (メディアクエリ)
=========================================== */
/* PCブレイクポイント (1200px) */
@media (max-width: 1200px) {
  .p-hero {
    padding: 28px 40px 27px;
  }

  .p-kv {
    padding: 280px 40px 60px;
    min-height: 480px;
  }

  .p-kv__title {
    font-size: 36px;
    line-height: 1.35;
  }

  .p-subject,
  .p-reason,
  .p-service,
  .p-area {
    padding-left: 40px;
    padding-right: 40px;
  }

  .l-footer__main {
    padding: 64px 40px;
  }

  .p-subject__title {
    line-height: 1.3;
  }

  .p-subject__item {
    font-size: 19px;
    line-height: 1.5;
    min-height: 0;
    padding: 5px 0;
  }

  .p-subject__catch {
    font-size: 36px;
    line-height: 1.35;
  }

  .p-reason__cards,
  .p-service__list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .p-reason__card {
    flex: 1 1 295px;
  }
}

/* タブレットブレイクポイント (1080px) */
@media (max-width: 1080px) {
  .p-service-intro__lead {
    font-size: 20px;
    line-height: 1.6;
  }

  .p-service-kv__inner img {
    height: 280px;
  }

  .p-service-message__body,
  .p-service-message__image {
    width: 100%;
    height: auto;
  }

  .p-work__sub {
    font-size: 22px;
  }
  .p-work__grid {
    gap: 30px;
  }
  .p-reason__card {
    padding: 16px 18px 28px 18px;
  }
  .p-reason__cards {
    gap: 16px;
  }
  .p-advantage__item {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .p-advantage__num {
    min-height: 72px;
    width: 90px;
    font-size: 36px;
  }
  .p-area__text {
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.06em;
  }
  .p-area__title {
    font-size: 21px !important;
  }
}

/* タブレット / スマホ中間 (900px) */
@media (max-width: 900px) {
  .l-header {
    padding: 16px 20px;
    position: relative;
    z-index: 20;
  }

  .l-header__logo-img {
    width: 40px;
    height: 46px;
  }

  .l-header__logo-corp {
    font-size: 14px;
  }

  .l-header__logo-name {
    font-size: 18px;
  }

  .l-header__hamburger {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
  }

  .l-header__hamburger span,
  .l-header__hamburger span::before,
  .l-header__hamburger span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    position: relative;
    transition:
      transform 0.4s ease,
      opacity 0.4s ease,
      top 0.4s ease;
  }

  .l-header__hamburger span::before,
  .l-header__hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .l-header__hamburger span::before {
    top: -8px;
  }

  .l-header__hamburger span::after {
    top: 8px;
  }

  /* チェック時：三本線を「×」に変形 */
  .l-header__check:checked ~ .l-header__hamburger span {
    background: transparent;
  }

  .l-header__check:checked ~ .l-header__hamburger span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .l-header__check:checked ~ .l-header__hamburger span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .l-header__nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-toggle-menu-bg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 16px 20px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition:
      opacity 0.4s ease,
      visibility 0.4s ease,
      transform 0.4s ease;
    pointer-events: none;
  }

  .l-header__check:checked ~ .l-header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .l-header__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .l-header__item a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-bg-muted);
  }

  .l-header__cta {
    width: 100%;
    height: 44px;
    margin-top: 8px;
  }

  .p-hero__title {
    font-size: 28px;
  }

  .p-hero__lead,
  .p-hero__lead-em {
    font-size: 18px;
    line-height: 1.6;
  }

  .p-hero__badge {
    height: auto;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  .p-kv {
    padding: 180px 20px 40px;
    min-height: 360px;
  }

  .p-kv__title {
    font-size: 19px;
    line-height: 1.45;
  }

  .p-kv__catch {
    font-size: 14px;
    line-height: 1.6;
  }

  .p-cta__btn {
    height: auto;
    min-height: 72px;
    padding: 16px 20px;
  }

  .p-cta__btn-text {
    font-size: 14px !important;
    white-space: normal;
  }

  .p-cta__support,
  .p-cta__lead,
  .p-cta__note {
    font-size: 16px;
    line-height: 1.7;
  }

  .p-subject__inner,
  .p-area__content {
    flex-direction: column;
  }

  .p-subject__body,
  .p-subject__image,
  .p-area__map {
    width: 100%;
  }

  .c-section-head__ja {
    font-size: 24px;
    line-height: 1.4 !important;
  }

  .c-section-head__en {
    font-size: 16px;
    line-height: 1.4;
  }

  .p-reason,
  .p-service,
  .p-case,
  .p-area,
  .p-subject {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .p-reason__inner,
  .p-service__inner,
  .p-case__inner {
    gap: 32px;
  }

  .p-reason__cards,
  .p-service__list {
    flex-direction: row;
    gap: 24px;
  }

  .p-service__item,
  .p-service__item:last-child {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .p-service__lead,
  .p-case__lead {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
  }

  .p-case__grid {
    grid-template-columns: 1fr 1fr;
  }

  .p-reason__title {
    font-size: 16px;
    padding: 0 8px;
    line-height: 1.3;
    height: auto;
    min-height: 57px;
  }

  .l-footer__inner,
  .l-footer__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .l-footer__logo-text {
    white-space: normal;
  }

  .l-footer__copy {
    justify-content: center;
  }

  .p-company-intro__lead {
    font-size: 18px;
    line-height: 1.6;
  }
}

/* スマホ表示対応 (768px) */
@media (max-width: 768px) {
  .p-subject__title {
    font-size: 24px;
    line-height: 1.4;
  }

  .p-subject__catch {
    font-size: 28px !important;
    line-height: 1.45;
  }
  .p-subject {
    padding-bottom: 0px;
  }
  .p-service-intro__title {
    font-size: 26px;
  }

  .p-service-intro__lead {
    font-size: 16px;
  }

  .p-service-kv__inner {
    grid-template-columns: 1fr;
  }

  .p-service-kv__inner img {
    height: 220px;
  }

  .p-service-message {
    padding: 30px 0 0 0;
  }

  .p-service-message__body {
    font-size: 16px;
    line-height: 1.7;
  }

  .p-work .l-container {
    width: 100%;
  }

  .p-work__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .p-work__card {
    width: 100%;
    min-width: 0;
  }

  .p-work__title {
    font-size: 16px;
    padding: 0 8px;
    line-height: 1.3;
    height: auto;
    min-height: 57px;
  }

  .p-work__sub {
    font-size: 15px;
    font-weight: 800;
    display: block;
  }

  .p-work .c-section-head__ja {
    font-size: 26px;
    line-height: 1.4;
  }

  .p-work__img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .p-work__img img {
    max-width: 100%;
    height: auto;
  }

  .p-advantage__title {
    font-size: 18px;
    line-height: 1.4;
  }

  .p-flow__step-label {
    font-size: 24px;
  }

  .p-flow__step-num {
    font-size: 32px;
  }

  /* 会社概要ページのスマホ縦積み調整 */
  .p-company-header {
    padding: 40px 0 20px;
  }

  .p-company-header__ja {
    font-size: 26px;
  }

  .p-company-header__catch {
    font-size: 18px;
    line-height: 1.6;
  }

  .p-company-table tr {
    flex-direction: column;
    gap: 0;
  }

  .p-company-table th,
  .p-company-table td {
    display: block;
    width: 100%;
    flex: none;
  }

  .p-company-table th {
    padding: 16px 0 6px;
    border-bottom: 3px solid #015c83;
  }

  .p-company-table td {
    padding: 8px 0 16px;
    border-bottom: 1px solid #015c83;
  }
  .p-area {
    padding-bottom: 300px;
  }
  .p-area__text {
    font-size: 15px;
    line-height: 26px;
    letter-spacing: 0.06em;
  }
  .l-footer__main {
    padding: 64px 20px;
  }
  .l-footer__logo {
    justify-content: center;
  }
  .l-footer__address,
  .l-footer__tel {
    font-size: 13px;
    text-align: center;
  }
  .l-footer__logo-corp {
    font-size: 13px;
  }
  .l-footer__logo-name {
    font-size: 19px;
  }
  .l-footer__logo-img {
    width: 32px;
    height: 40px;
  }
  .l-footer__nav {
    display: none;
  }
}
/* スマホ小画面対応 (480px) */
@media (max-width: 480px) {
  .p-case__grid {
    grid-template-columns: 1fr;
  }

  .p-hero {
    padding: 20px 16px;
  }
  .p-cta__btn-icon {
    width: 28px;
    height: 24px;
  }
  .p-subject,
  .p-reason,
  .p-service,
  .p-area,
  .p-kv {
    padding-left: 16px;
    padding-right: 16px;
  }

  .p-subject__catch {
    font-size: 16px;
  }

  .p-subject__item {
    font-size: 16px;
    align-items: flex-start;
  }

  .p-service__title {
    font-size: 20px;
  }

  .c-section-head--light .c-section-head__ja {
    line-height: 35px;
  }

  .l-header__logo-text {
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
  }

  .l-header__logo-corp,
  .l-header__logo-name {
    line-height: 1.3;
  }
}

/* --- 施工実績ページ --- */
.p-page-header {
  margin: 50px 0 26px;
}

.p-page-header__sub {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 23px;
  line-height: 34px;
  color: var(--color-primary);
}

.p-page-header__title {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.44;
  margin-top: 10px;
}

.p-page-header__catch {
  margin-top: 8px;
  font-weight: 600;
  font-size: 25px;
  line-height: 40px;
}

.p-case-note,
.p-company-intro {
  margin: 40px 0 80px;
}

.p-case-note p,
.p-company-intro p,
.p-contact-lead p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #000000;
  margin-bottom: 12px;
}

.p-case-note p:last-child,
.p-company-intro p:last-child {
  margin-bottom: 0;
}

.p-case-list,
.p-case-examples {
  margin-bottom: 80px;
}

.p-case-list__heading,
.p-case-examples__heading {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 38px;
  line-height: 56px;
  margin-bottom: 50px;
}

.p-case-cat {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 16px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--color-primary);
}

.p-case-cat__title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 320px;
  max-width: 100%;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 20px;
  line-height: 30px;
}

.p-case-cat__mark {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--color-primary);
}

.p-case-cat__items {
  flex: 1;
  min-width: 0;
  list-style: disc;
  padding-left: 24px;
  font-size: 16px;
  line-height: 30px;
}

.p-case-cat__em {
  font-weight: 700;
}

.p-case-examples__list {
  display: flex;
  flex-direction: column;
}

.p-case-card {
  background: #e9f0f4;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 24px;
}

.p-case-card:last-child {
  margin-bottom: 0;
}

.p-case-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.p-case-card__label {
  display: inline-block;
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid #015c83;
  border-radius: 4px;
  background: #fff;
  color: #015c83;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.p-case-card__title {
  color: #015c83;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
}

.p-case-card__info {
  list-style: disc;
  padding-left: 24px;
  font-size: 16px;
  line-height: 30px;
}

.p-case-card__em {
  font-weight: 700;
}

.p-case-footer-note {
  margin: 0 0 80px;
  font-size: 18px;
  line-height: 37px;
  text-align: center;
}

.p-case-footer-note__link {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .p-case-cat {
    flex-direction: column;
    gap: 16px;
  }

  .p-case-cat__title {
    flex: none;
  }
  .p-case-cat__mark {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .p-page-header__title {
    font-size: 26px;
  }

  .p-page-header__catch {
    font-size: 18px;
    line-height: 1.6;
  }

  .p-case-footer-note {
    font-size: 16px;
    line-height: 1.8;
  }

  .p-case-list__heading,
  .p-case-examples__heading {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 28px;
  }

  .p-case-card {
    padding: 24px 20px;
  }

  .p-case-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .p-case-cat__mark {
    width: 21px;
    height: 21px;
  }
  .p-case-card__title {
    font-size: 18px;
  }
}

/* --- お問い合わせページ (JetFormBuilder上書き) --- */
.p-contact-header {
  margin: 50px 0 26px;
}

.p-contact-header__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 23px;
  line-height: 34px;
  color: var(--color-primary);
}

.p-contact-header__ja {
  margin-top: 10px;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.44;
  color: #000000;
}

.p-contact-header__catch {
  margin-top: 8px;
  font-weight: 600;
  font-size: 25px;
  line-height: 40px;
  color: #000000;
}

.p-contact-header__desc p,
.p-contact-lead,
.p-contact-lead p {
  color: #000000;
}

.p-contact-lead {
  margin: 40px 0 70px;
  font-size: 18px;
  line-height: 37px;
}

.p-contact-lead p + p {
  margin-top: 0;
}

.p-contact-form-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 80px;
}

.p-contact-form-wrapper .jet-form-builder {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.p-contact-form-wrapper
  .jet-form-builder-page:not(.jet-form-builder-page--hidden) {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* JetFormBuilderの非表示ページ（確認画面の初期状態） */
.p-contact-form-wrapper .jet-form-builder-page--hidden {
  display: none !important;
}

/* 確認画面ブロックは初期非表示（.is-confirm-active で表示） */
.p-contact-form-wrapper .form_confirm,
.p-contact-form-wrapper .p-contact-confirm,
.p-contact-form-wrapper .comfirm_title {
  display: none;
}

.p-contact-form-wrapper.is-confirm-active
  .jet-form-builder-page[data-page="1"] {
  display: none !important;
}

.p-contact-form-wrapper.is-confirm-active
  .jet-form-builder-page[data-page="2"] {
  display: flex !important;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.p-contact-form-wrapper.is-confirm-active .form_confirm,
.p-contact-form-wrapper.is-confirm-active .p-contact-confirm {
  display: block !important;
}

.p-contact-form-wrapper.is-confirm-active .comfirm_title {
  display: block !important;
}

.p-contact-form-wrapper .jet-form-builder-row,
.p-contact-form-wrapper .jet-form-builder.layout-column .jet-form-builder-row,
.p-contact-form-wrapper .jet-form-builder__row,
.p-contact-form-wrapper .jet-form-builder__field-template,
.p-contact-form-wrapper .form_row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.p-contact-form-wrapper .jet-form-builder-row > *,
.p-contact-form-wrapper .jet-form-builder__row > *,
.p-contact-form-wrapper .jet-form-builder__field-template > *,
.p-contact-form-wrapper .form_row > * {
  min-width: 0;
  box-sizing: border-box;
}

.p-contact-form-wrapper .jet-form-builder-row.field-type-textarea-field,
.p-contact-form-wrapper .jet-form-builder-row.field-type-checkbox-field,
.p-contact-form-wrapper .jet-form-builder-row.field-type-media-field {
  align-items: flex-start;
}

.p-contact-form-wrapper .jet-form-builder__label,
.p-contact-form-wrapper
  .jet-form-builder.layout-column
  .jet-form-builder__label {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  flex: 0 0 220px !important;
  width: 220px !important;
  max-width: 220px !important;
  color: #000000;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}

.p-contact-form-wrapper .jet-form-builder__label-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  width: auto;
  max-width: none;
  white-space: nowrap;
  color: #000000;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
}

.p-contact-form-wrapper .jet-form-builder__required,
.p-contact-form-wrapper .required-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 3px 10px;
  border-radius: 2px;
  background: #c82f2f;
  color: #fff;
  font-size: 0;
  line-height: 15px;
}

.p-contact-form-wrapper .jet-form-builder__required::after,
.p-contact-form-wrapper .required-mark::after {
  content: "必須";
  font-size: 12px;
  font-weight: 800;
}

.p-contact-form-wrapper .jet-form-builder-row > .jet-form-builder__field-wrap,
.p-contact-form-wrapper .jet-form-builder-row > .jet-form-builder__fields-group,
.p-contact-form-wrapper .jet-form-builder__field-wrap,
.p-contact-form-wrapper .form_value {
  flex: 1;
  min-width: 0;
  max-width: none;
}

.p-contact-form-wrapper
  .jet-form-builder__field-wrap
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(
    [type="hidden"]
  ),
.p-contact-form-wrapper .jet-form-builder__field-wrap textarea,
.p-contact-form-wrapper .jet-form-builder__field-wrap select,
.p-contact-form-wrapper
  .layout-column
  .jet-form-builder__field:not([type="checkbox"]):not([type="radio"]):not(
    [type="file"]
  ):not([type="hidden"]) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.p-contact-form-wrapper
  .jet-form-builder__field-wrap
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(
    [type="hidden"]
  ),
.p-contact-form-wrapper .jet-form-builder__field-wrap textarea,
.p-contact-form-wrapper .jet-form-builder__field-wrap select {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #000000;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.p-contact-form-wrapper .jet-form-builder__field-wrap textarea {
  min-height: 180px;
  height: auto;
  resize: vertical;
}

.p-contact-form-wrapper
  .jet-form-builder__field-wrap
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.p-contact-form-wrapper .jet-form-builder__field-wrap textarea:focus,
.p-contact-form-wrapper .jet-form-builder__field-wrap select:focus {
  outline: none;
  border-color: #015c83;
  box-shadow: 0 0 0 1px #015c83;
}

.p-contact-form-wrapper .jet-form-builder__fields-group,
.p-contact-form-wrapper .jet-form-builder__fields-group.checkradio-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 16px 24px !important;
}

.p-contact-form-wrapper .jet-form-builder__field-template,
.p-contact-form-wrapper .jet-form-builder__field-label.for-checkbox,
.p-contact-form-wrapper .jet-form-builder__field-wrap.checkboxes-wrap {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  color: #000000;
  white-space: nowrap;
}

.p-contact-form-wrapper input[type="checkbox"].jet-form-builder__field,
.p-contact-form-wrapper input[type="radio"].jet-form-builder__field {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  accent-color: #015c83 !important;
}

.p-contact-form-wrapper input[type="checkbox"].jet-form-builder__field:checked,
.p-contact-form-wrapper
  .jet-form-builder__field-wrap
  label
  :checked
  + span::before,
.p-contact-form-wrapper
  .jet-form-builder__field-wrap
  .components-checkbox-control__input-container
  input:checked {
  background-color: #015c83 !important;
  border-color: #015c83 !important;
}

.p-contact-form-wrapper .jet-form-builder-file-upload__input,
.p-contact-form-wrapper input[type="file"].jet-form-builder__field {
  padding: 0;
  border: none;
  background: transparent;
}

.p-contact-form-wrapper input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f4f4f4;
  color: #000000;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.p-contact-form-wrapper .jet-form-builder-file-upload__message,
.p-contact-form-wrapper .jet-form-builder__desc {
  margin-top: 6px;
  color: #000000;
  font-size: 13px;
  line-height: 1.7;
}

.p-contact-privacy {
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;
  box-sizing: border-box;
}

.p-contact-privacy__box {
  padding: 20px;
  border: 1px solid #9e9e9e;
  border-radius: 4px;
}

.p-contact-privacy__title {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 26px;
  color: #000000;
}

.p-contact-privacy__body {
  font-weight: 300;
  font-size: 13px;
  line-height: 22px;
  color: #000000;
}

.p-contact-privacy__body p + p {
  margin-top: 12px;
}

.p-contact-privacy__agree {
  margin: 24px 0 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  color: #000000;
}

.p-contact-policy,
.p-contact-policy-note,
.p-contact-privacy,
.p-contact-privacy p {
  color: #000000;
}

.p-contact-form-wrapper .comfirm_title {
  margin: 16px 0 8px;
  color: #000000;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.p-contact-form-wrapper .form_confirm {
  width: 100%;
  max-width: 800px;
  margin: 24px auto 32px;
  border-top: 2px solid #015c83 !important;
  border-bottom: 2px solid #015c83 !important;
}

.p-contact-form-wrapper .form_label {
  flex: 0 0 220px;
  width: 220px;
  display: flex;
  align-items: center;
  padding: 16px 20px !important;
  border-bottom: 1px solid #015c83 !important;
  background-color: #f4f6f8 !important;
  color: #000000;
  font-weight: 700;
  box-sizing: border-box;
}

.p-contact-form-wrapper .form_value {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px !important;
  border-bottom: 1px solid #015c83 !important;
  color: #000000;
  box-sizing: border-box;
}

.p-contact-form-wrapper .form_row {
  border-bottom: none !important;
}

.p-contact-form-wrapper .form_row:last-child .form_label,
.p-contact-form-wrapper .form_row:last-child .form_value {
  border-bottom: none !important;
}

.p-contact-form-wrapper .jet-form-builder__next-page-wrap,
.p-contact-form-wrapper .jet-form-builder__action-button-wrapper,
.p-contact-form-wrapper .jet-form-builder-row.field-type-submit-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}

.p-contact-form-wrapper .jet-form-builder__submit,
.p-contact-form-wrapper button.jet-form-builder__submit,
.p-contact-form-wrapper .jet-form-builder__next-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  padding: 14px 10px;
  background-color: #c82f2f;
  border: 2px solid #c82f2f;
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  font-size: 21px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.p-contact-form-wrapper .jet-form-builder__submit:hover,
.p-contact-form-wrapper button.jet-form-builder__submit:hover,
.p-contact-form-wrapper .jet-form-builder__next-page:hover {
  background-color: #fff;
  color: #c82f2f;
  border-color: #c82f2f;
}

.p-contact-form-wrapper .jet-form-builder__prev,
.p-contact-form-wrapper .jet-form-builder__prev-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  max-width: 100%;
  padding: 14px 32px;
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.p-contact-form-wrapper .jet-form-builder__prev:hover,
.p-contact-form-wrapper .jet-form-builder__prev-page:hover {
  background-color: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .p-contact-header__ja {
    font-size: 26px;
  }

  .p-contact-header__catch {
    font-size: 18px;
    line-height: 1.6;
  }

  .p-contact-lead {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .p-contact-form-wrapper .jet-form-builder-row,
  .p-contact-form-wrapper .jet-form-builder.layout-column .jet-form-builder-row,
  .p-contact-form-wrapper .jet-form-builder__row,
  .p-contact-form-wrapper .form_row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }

  .p-contact-form-wrapper .jet-form-builder__label,
  .p-contact-form-wrapper
    .jet-form-builder.layout-column
    .jet-form-builder__label,
  .p-contact-form-wrapper .jet-form-builder__label-text,
  .p-contact-form-wrapper .jet-form-builder__field-wrap,
  .p-contact-form-wrapper .jet-form-builder-row > .jet-form-builder__field-wrap,
  .p-contact-form-wrapper
    .jet-form-builder-row
    > .jet-form-builder__fields-group,
  .p-contact-form-wrapper .form_label,
  .p-contact-form-wrapper .form_value {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    white-space: normal;
  }

  .p-contact-form-wrapper
    .jet-form-builder__fields-group
    .jet-form-builder__field-template {
    flex-direction: row !important;
    width: auto !important;
  }

  .p-contact-form-wrapper .jet-form-builder__submit,
  .p-contact-form-wrapper button.jet-form-builder__submit,
  .p-contact-form-wrapper .jet-form-builder__next-page,
  .p-contact-form-wrapper .jet-form-builder__prev,
  .p-contact-form-wrapper .jet-form-builder__prev-page {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-size: 18px;
  }
}

/* --- トップ：取得資格 / SDGs --- */
.p-license-sdgs {
  padding: 120px 0 150px;
  background: var(--color-white);
}

.p-license-sdgs__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
}

.p-license-sdgs__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  min-width: 0;
  text-align: center;
}

.p-license-sdgs__col .c-section-head {
  width: 100%;
}

.p-license-sdgs__images {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 49px;
  width: 100%;
}

.p-license-sdgs__images img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .p-license-sdgs {
    padding: 48px 0 56px;
  }

  .p-license-sdgs__inner {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .p-license-sdgs__col {
    width: 100%;
    gap: 28px;
  }

  .p-license-sdgs__images {
    gap: 16px 24px;
  }

  .p-license-sdgs__images img {
    max-height: 72px;
  }
}

/* --- お問い合わせ送信完了（サンクス）ページ --- */
.p-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 0 100px;
  text-align: center;
  color: #000000;
}

.p-thanks__header {
  margin-bottom: 28px;
}

.p-thanks__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 23px;
  line-height: 34px;
  color: var(--color-primary);
}

.p-thanks__title {
  margin-top: 10px;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.44;
  color: #000000;
}

.p-thanks__lead {
  margin-top: 16px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.7;
  color: #000000;
}

.p-thanks__body {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 2;
  color: #000000;
}

.p-thanks__body p + p {
  margin-top: 8px;
}

.p-thanks__tel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  margin-bottom: 40px;
  padding: 28px 24px;
  background: #f4f6f8;
  border-radius: 10px;
  color: #000000;
  text-decoration: none;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

.p-thanks__tel-box:hover {
  background: var(--color-primary);
  color: #fff;
}

.p-thanks__tel-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.p-thanks__tel-number {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.p-thanks__tel-hours {
  font-size: 14px;
  line-height: 1.5;
}

.p-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 14px 32px;
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-cta);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease;
}

.p-thanks__btn:hover {
  background-color: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .p-thanks {
    padding: 48px 0 64px;
  }

  .p-thanks__title {
    font-size: 26px;
  }

  .p-thanks__lead {
    font-size: 17px;
  }

  .p-thanks__body {
    font-size: 15px;
    line-height: 1.8;
  }

  .p-thanks__tel-box {
    padding: 22px 16px;
    margin-bottom: 28px;
  }

  .p-thanks__tel-number {
    font-size: 22px;
  }

  .p-thanks__btn {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================
   全ページ共通：120px下からの「フワーッ」と上昇フェードイン
=========================================== */

/* --- 1. ファーストビュー（FV）専用：CSS Keyframes アニメーション定義 --- */
@keyframes fvFadeIn120 {
  0% {
    opacity: 0;
    transform: translateY(50px); /* 80px下・完全透明 */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* デザイン通りの位置・完全不透明 */
  }
}

/* FV対象要素の初期状態（80px下・完全透明） */
.l-header,
.p-hero,
.p-kv,
.p-page-header,
.p-service-kv,
.p-cta,
.p-case-note,
.p-case-list,
.p-company-header,
.p-company-intro,
.p-company-overview,
.p-company-access,
.p-service-intro,
.p-contact-header,
.p-contact-lead,
.p-contact-form-wrapper {
  opacity: 0;
  transform: translateY(50px);
  will-change: opacity, transform; /* GPU描画による高速化 */
}

/* body に .is-loaded が付与された瞬間に 1.2秒 かけて80px下から「フワーッ」と浮き上がらせる */
body.is-loaded .l-header,
body.is-loaded .p-hero,
body.is-loaded .p-kv,
body.is-loaded .p-page-header,
body.is-loaded .p-service-kv,
body.is-loaded .p-cta,
body.is-loaded .p-case-note,
body.is-loaded .p-case-list,
body.is-loaded .p-company-header,
body.is-loaded .p-company-intro,
body.is-loaded .p-company-overview,
body.is-loaded .p-company-access,
body.is-loaded .p-service-intro,
body.is-loaded .p-contact-header,
body.is-loaded .p-contact-lead,
body.is-loaded .p-contact-form-wrapper {
  animation: fvFadeIn120 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- 2. 全スクロールセクション専用：120px下からの交差監視フェードイン --- */
.js-fade-in {
  opacity: 0;
  transform: translateY(50px); /* 120px下に落とした初期状態 */
  /* 動き始めは速く、着地に向けてスーッと減速するプロ仕様のイージング */
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* 画面内に入ったときの着地状態 */
.js-fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   レスポンシブ・タイポグラフィースケール
   見出し・本文をブレイクポイントごとに段階縮小
   ========================================== */

/* H1 / メイン見出し・ページタイトル */
/* H2 / セクション見出し */
/* H3 / サブ見出し・キャッチ */
/* 本文: p, li, td */

@media screen and (max-width: 1080px) {
  h1,
  .p-hero__title,
  .p-kv__title,
  .p-subject__title,
  .p-page-header__title,
  .p-company-header__ja,
  .p-service-intro__title,
  .p-contact-header__ja,
  .p-thanks__title {
    font-size: 32px;
    line-height: 1.4;
  }

  h2,
  .c-section-head__ja,
  .p-work .c-section-head__ja,
  .p-area__title,
  .p-case-list__heading,
  .p-case-examples__heading {
    font-size: 26px;
    line-height: 1.4 !important;
  }

  h3,
  .p-page-header__catch,
  .p-company-header__catch,
  .p-contact-header__catch,
  .p-kv__catch,
  .p-hero__lead,
  .p-thanks__lead,
  .p-work__title,
  .p-advantage__title,
  .p-service__title,
  .p-flow__title,
  .p-case-card__title,
  .p-case-cat__title,
  .p-company-access__title {
    font-size: 22px;
    line-height: 1.45;
  }
  .p-subject__catch {
    font-size: 28px;
  }
  .p-reason__title {
    font-size: 18px;
  }
  p,
  li,
  td {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 900px) {
  h1,
  .p-hero__title,
  .p-kv__title,
  .p-subject__title,
  .p-page-header__title,
  .p-company-header__ja,
  .p-service-intro__title,
  .p-contact-header__ja,
  .p-thanks__title {
    font-size: 28px;
    line-height: 1.4;
  }

  h2,
  .c-section-head__ja,
  .p-work .c-section-head__ja,
  .p-area__title,
  .p-case-list__heading,
  .p-case-examples__heading {
    font-size: 24px;
    line-height: 1.4;
  }

  h3,
  .p-page-header__catch,
  .p-company-header__catch,
  .p-contact-header__catch,
  .p-kv__catch,
  .p-subject__catch,
  .p-hero__lead,
  .p-thanks__lead,
  .p-work__title,
  .p-reason__title,
  .p-advantage__title,
  .p-service__title,
  .p-flow__title,
  .p-case-card__title,
  .p-case-cat__title,
  .p-company-access__title {
    font-size: 20px;
    line-height: 1.45;
  }

  p,
  li,
  td {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 768px) {
  h1,
  .p-hero__title,
  .p-kv__title,
  .p-subject__title,
  .p-page-header__title,
  .p-company-header__ja,
  .p-service-intro__title,
  .p-contact-header__ja,
  .p-thanks__title {
    font-size: 24px;
    line-height: 1.4;
  }

  h2,
  .c-section-head__ja,
  .p-work .c-section-head__ja,
  .p-area__title,
  .p-case-list__heading,
  .p-case-examples__heading {
    font-size: 22px;
    line-height: 1.4;
  }

  h3,
  .p-page-header__catch,
  .p-company-header__catch,
  .p-contact-header__catch,
  .p-kv__catch,
  .p-subject__catch,
  .p-hero__lead,
  .p-thanks__lead,
  .p-work__title,
  .p-reason__title,
  .p-advantage__title,
  .p-service__title,
  .p-flow__title,
  .p-case-card__title,
  .p-case-cat__title,
  .p-company-access__title {
    font-size: 18px;
    line-height: 1.45;
  }

  p,
  li,
  td {
    font-size: 0.875rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 480px) {
  h1,
  .p-hero__title,
  .p-kv__title,
  .p-subject__title,
  .p-page-header__title,
  .p-company-header__ja,
  .p-service-intro__title,
  .p-contact-header__ja,
  .p-thanks__title {
    font-size: 22px;
    line-height: 1.4;
  }

  h2,
  .c-section-head__ja,
  .p-work .c-section-head__ja,
  .p-area__title,
  .p-case-list__heading,
  .p-case-examples__heading {
    font-size: 20px;
    line-height: 1.4;
  }

  h3,
  .p-page-header__catch,
  .p-company-header__catch,
  .p-contact-header__catch,
  .p-kv__catch,
  .p-subject__catch,
  .p-hero__lead,
  .p-thanks__lead,
  .p-work__title,
  .p-reason__title,
  .p-advantage__title,
  .p-service__title,
  .p-flow__title,
  .p-case-card__title,
  .p-case-cat__title,
  .p-company-access__title {
    font-size: 16px;
    line-height: 1.45;
  }

  p,
  li,
  td {
    font-size: 0.8125rem;
    line-height: 1.7;
  }

  /* フォームのラベル・注記 */
  .p-contact-form-wrapper .jet-form-builder__label,
  .p-contact-form-wrapper .jet-form-builder__label-text,
  .p-contact-form-wrapper .form_label,
  .p-contact-form-wrapper .form_value,
  .p-contact-header__desc p,
  .p-contact-privacy__title,
  .p-cta__note,
  .p-case-footer-note {
    font-size: 12px;
    line-height: 1.6;
  }

  .p-contact-form-wrapper .jet-form-builder__field-wrap,
  .p-contact-lead,
  .p-contact-lead p {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* アクセシビリティ配慮（OSの動き軽減設定ユーザー用） */
@media (prefers-reduced-motion: reduce) {
  .l-header,
  .p-hero,
  .p-kv,
  .p-page-header,
  .p-service-kv,
  .p-cta,
  .p-case-note,
  .p-case-list,
  .p-company-header,
  .p-company-intro,
  .p-company-overview,
  .p-company-access,
  .p-service-intro,
  .p-contact-header,
  .p-contact-lead,
  .p-contact-form-wrapper,
  .js-fade-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
