/* ============================================
   K·Y·S Corporation — Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #1a2744;
  --color-primary-light: #2a3d66;
  --color-blue: #1a5ccc;
  --color-blue-light: #80A0DE;
  --color-accent: #c8a45c;
  --color-accent-hover: #b8923e;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f6f8;
  --color-border: #e0e3e8;
  --color-section-bg: #d7deeb;
  --color-watermark: rgba(215, 222, 235, 0.15);
  --font-ja: 'Yu Gothic', 'YuGothic', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-nav: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', 'Georgia', serif;
  --font-heading: 'A-OTF UD Reimin Pr6N', 'Yu Gothic', 'YuGothic', serif;
  --header-h: 72px;
  --section-py: 100px;
  --container-w: 1100px;
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ja);
  font-weight: 700;
  line-height: 1.4;
}

strong {
  font-weight: 900;
}

/* ---------- Utilities ---------- */
.container {
  width: 90%;
  max-width: var(--container-w);
  /*margin: 0 auto;*/
  margin: 2em auto;
}

.section {
  position: relative;
  padding: var(--section-py) 0;
  overflow: visible;
  margin: 4em auto;
}

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

/* Right-side split background (About, News etc.) */
.section--split-right {
  position: relative;
  margin: 4em auto;
}

.section--split-right::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: #d7deeb;
  z-index: 0;
}

.section--split-right .container {
  position: relative;
  z-index: 1;
}

/* Left-side split background (Strengths) */
.section--split-left {
  position: relative;
}

.section--split-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: #d7deeb;
  z-index: 0;
}

.section--split-left .container {
  position: relative;
  z-index: 1;
}

/* Service top-right background */
.section--service-bg {
  position: relative;
}

.section--service-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 35%;
  background: #d7deeb;
  z-index: 0;
}

.section--service-bg .container {
  position: relative;
  z-index: 1;
}

.section__watermark {
  position: absolute;
  top: -15px;
  left: 5%;
  font-family: var(--font-heading);
  /*font-size: clamp(80px, 12vw, 160px);*/
  font-size: clamp(80px, 11vw, 160px);
  /*font-weight: 400;*/
  /*font-style: italic;*/
  color: rgba(194,208,234, 1);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
  font-weight: bold;
}

.section__watermark--right {
  left: auto;
  right: 5%;
}

.section__watermark--light {
  color: rgba(194,208,234, 1);
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section__label {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.section__title {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.section__title strong {
  color: var(--color-primary);
}

.section__sub {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.05em;
}

.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--gold {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}

.btn--gold:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: transparent;
  z-index: 1000;
  border-bottom: none;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--color-border);
}

/* 下層ページではデフォルトでヘッダーを白背景表示 */
body:not(.home) .header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--color-border);
}
body:not(.home) .header__logo-img {
  filter: none;
}
body:not(.home) .header__nav-list a {
  color: var(--color-text);
}
body:not(.home) .header__hamburger span {
  background: var(--color-text);
}

/* Logo invert when on hero (transparent header) */
.header__logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.header--scrolled .header__logo-img {
  filter: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 24px;
}

.header__nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.header__nav-list a {
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  position: relative;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: color var(--transition), text-shadow var(--transition);
}

.header--scrolled .header__nav-list a {
  color: var(--color-text);
  text-shadow: none;
}

.header__nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.header__nav-list a:hover::after {
  width: 100%;
}

/* Contact button - blue style matching screenshot */
.header__nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  background: #1a5ccc;
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  transition: background var(--transition);
  text-shadow: none;
}

.header__nav-contact:hover {
  background: #1248a8;
}

.header--scrolled .header__nav-contact {
  background: #1a5ccc;
  color: #fff;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 1px;
}

.header--scrolled .header__hamburger span {
  background: var(--color-primary);
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-bg);
  z-index: 999;
  padding: calc(var(--header-h) + 30px) 30px 30px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__list {
  margin-bottom: 30px;
}

.mobile-menu__list li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__list a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
}

.mobile-menu__contact {
  text-align: center;
}

.mobile-menu__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 14px 0;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  /* Fixed aspect ratio: ~16:7 on PC, taller on mobile */
  aspect-ratio: 16 / 7;
  min-height: 500px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: opacity 0.6s ease;
}

/* Hide poster when video is playing */
.hero__video:not([poster=""]) ~ .hero__poster {
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 30, 50, 0.65) 0%,
    rgba(20, 30, 50, 0.35) 60%,
    rgba(20, 30, 50, 0.2) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  padding-top: var(--header-h);
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0;
}

.hero__title-line {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.3s; }
.hero__title-line:nth-child(2) { animation-delay: 0.5s; }
.hero__title-line:nth-child(3) { animation-delay: 0.7s; }

.hero__title-line small {
  font-size: 0.6em;
  font-weight: 500;
}

.hero__divider {
  width: min(420px, 70%);
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 28px 0 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.9s forwards;
}

.hero__desc {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 1.1s forwards;
  letter-spacing: 0.04em;
}

.hero__br-pc {
  display: none;
}

@media (min-width: 768px) {
  .hero__br-pc {
    display: inline;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- ABOUT ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 50px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about__image {
  position: relative;
}

.about__image-frame {
  position: relative;
  transform: rotate(-2deg);
  box-shadow: 8px 10px 30px rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eaf0, #d0d4de);
}

.about__image-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 6/7;
  object-fit: cover;
}

.about__text {
  padding-top: 10px;
}

.about__text-box {
  /*background: rgba(255, 255, 255, 0.7);*/
  /*border: 1px solid var(--color-border);*/
  padding: 40px 36px;
  /*border-radius: 4px;*/
}

.about__heading {
  text-align: center;
  margin-bottom: 28px;
}

.about__heading-top {
  display: block;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: #1a5ccc;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  border-bottom: 2px solid #1a5ccc;
  display: inline-block;
  margin-bottom: 12px;
}

.about__heading-main {
  display: block;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.about__desc {
  font-size: 14px;
  color: var(--color-text);
  line-height: 2;
}

/* ---------- STRENGTHS ---------- */
.section--blue {
  background: #d7deeb;
}


@media (max-width: 640px) {

  .strengths .section__watermark{
    font-size: 48px;
  }
}

.strengths__header {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.strengths__heading {
  font-size: clamp(22px, 3vw, 28px);
  color: #1a5ccc;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.strengths__heading strong {
  font-weight: 900;
}

.strengths__heading-bar {
  width: 48px;
  height: 4px;
  background: #1a5ccc;
  margin: 16px 0;
  border-radius: 2px;
}

.strengths__sub {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.strengths__card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 36px 28px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.strengths__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.strengths__card-num {
  display: block;
  text-align: center;
  /*font-family: var(--font-en);*/
  font-size: 36px;
  font-weight: 400;
  color: #80A0DE;
  margin-bottom: 12px;
  line-height: 1;
  font-weight: bold;
}

.strengths__card-title {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 900;
  color: #80A0DE;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 0;
}

.strengths__card-text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  padding: 0;
}

/* ---------- SERVICE ---------- */
.service__top {
  text-align: right;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.service__lead {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.9;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  position: relative;
  z-index: 1;
}

.service__card {
  transition: transform var(--transition);
}

.service__card:hover {
  transform: translateY(-3px);
}

.service__card-image {
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service__card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service__card:hover .service__card-image img {
  transform: scale(1.03);
}

.service__card-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-style: italic;
  color: #1a5ccc;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.service__card-body {
  padding: 0;
}

.service__card-body h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.service__card-body p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.service__card-list {
  list-style: none;
  padding: 0;
}

.service__card-list li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.service__card-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 0;
  color: #1a5ccc;
  font-size: 8px;
  line-height: 1.8;
  transform: translateY(3px);
}

/* ---------- FLOW ---------- */
.flow__header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.flow__heading {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.08em;
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 3px solid #1a5ccc;
  margin-bottom: 16px;
}

.flow__sub {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.flow__list {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.flow__item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 24px 0;
  position: relative;
}

/* Vertical connecting line between circles */
.flow__item::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1a5ccc;
  z-index: 0;
}

.flow__item:first-child::before {
  top: 50%;
}

.flow__item:last-child::before {
  bottom: 50%;
}

.flow__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a5ccc;
  border: 2px solid #1a5ccc;
  color: #fff;
  /*font-family: var(--font-en);*/
  font-size: 2em;  
  font-weight: 600;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.flow__content h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.flow__content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
}

.flow__content strong {
  font-weight: 900;
}

/* ---------- WORKS ---------- */
.section--split {
  position: relative;
  background: #fff;
  margin: 4em auto;
}

.works__bg-upper {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 45%;
  background: #d7deeb;
  z-index: 0;
}

.works__header {
  text-align: right;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.works__heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.08em;
  display: inline-block;
}

.works__heading-bar {
  width: 48px;
  height: 4px;
  background: #1a5ccc;
  /*margin: 14px 0 14px auto;*/
  margin: 14px 2.5em 14px auto;
  border-radius: 2px;
}

.works__sub {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.works__card {
  background: #fff;
  transition: transform var(--transition);
}

.works__card:hover {
  transform: translateY(-3px);
}

.works__card-image {
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 14px;
}

.works__card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.works__card:hover .works__card-image img {
  transform: scale(1.03);
}

.works__card-body {
  padding: 0 4px;
}

.works__card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}

.works__card-body h3 a {
  color: #80A0DE;
  transition: color var(--transition);
}

.works__card-body h3 a:hover {
  color: #1a5ccc;
}

.works__card-area {
  font-size: 13px;
  color: var(--color-text-light);
}

.works__more {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

/* Primary filled button */
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

/* ---------- CTA ---------- */
.cta {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

.cta__box {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient( to bottom, #365A9A 0%, #345792 40%, #314F8A 70%, #2E4E85 100%);
  border-radius: 16px;
  padding: 56px 40px 48px;
}

.cta__title {
  color: #fff;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.cta__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.cta__tel:hover {
  opacity: 0.85;
}

.cta__tel-icon {
  color: #e8713a;
}

.cta__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 28px;
}

.cta__mail-btn {
  display: inline-block;
  background: #e8713a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  transition: background var(--transition);
}

.cta__mail-btn:hover {
  background: #d4622e;
}

@media (max-width: 640px) {
  .cta__box {
    padding: 40px 24px 36px;
    border-radius: 12px;
    margin: 0 16px;
  }

  .cta__mail-btn {
    font-size: 14px;
    padding: 14px 32px;
  }
}

/* ---------- AREA ---------- */
.area__header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.area__heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.08em;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid #1a5ccc;
  margin-bottom: 16px;
}

.area__lead {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.area__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.area__map {
  display: flex;
  justify-content: center;
}

.area__map-circle {
  position: relative;
  width: 360px;
  height: 360px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

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

.area__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.area__text-heading {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  color: #1a5ccc;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}

.area__directions {
  margin-bottom: 28px;
}

.area__direction-item {
  display: flex;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.area__direction-item:last-child {
  border-bottom: none;
}

.area__direction-item dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.area__direction-item dd {
  font-size: 15px;
  color: var(--color-text);
}

.area__note {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* ---------- COMPANY ---------- */
.company.section {
  padding: 0;
  position: relative;
  overflow: visible;
  margin: 4em auto;
}

.company__watermark {
  z-index: 1;
  pointer-events: none;
}

/* Upper section with split background */
.company__upper {
  position: relative;
  padding: var(--section-py) 0 60px;
  overflow: hidden;
}

.company__upper-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: #d7deeb;
  z-index: 0;
}

.company__upper-content {
  position: relative;
  z-index: 1;
  /*max-width: 680px;*/
  max-width: 600px;
  margin-left: auto;
}

.company__top-header {
  text-align: left;
  margin-bottom: 40px;
}

.company__main-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.08em;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid #1a5ccc;
}

.company__message {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 0 0 0 24px;
  border-radius: 0;
  /*border-left: 4px solid #1a5ccc;*/
}

.company__message h3 {
  /*font-size: 18px;*/
  font-size: 22px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.company__message p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 8px;
}

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

/* Lower section with cards */
.company__lower {
  padding: 50px 0 var(--section-py);
  background: #fff;
}

.company__bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.company__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
}

/* L-shaped blue corner accent */
.company__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 60px;
  background: #1a5ccc;
}

.company__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #1a5ccc;
}

.company__card-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-left: 4px;
  letter-spacing: 0.06em;
}

/* Company Info Table */
.company__table {
  background: transparent;
}

.company__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.company__row:last-child {
  border-bottom: none;
}

.company__row dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
  letter-spacing: 0.1em;
}

.company__row dd {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  padding: 0;
}

.company__row dd a {
  color: var(--color-primary);
  text-decoration: none;
}

/* Community section */
.company__community-intro {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 24px;
}

.company__community-item {
  margin-bottom: 18px;
}

.company__community-item:last-child {
  margin-bottom: 0;
}

.company__community-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.company__community-item p {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq__header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.faq__heading {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.08em;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid #1a5ccc;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq__item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #1a5ccc;
}

.faq__question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}

.faq__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-text-light);
  border-bottom: 2px solid var(--color-text-light);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

details[open] .faq__chevron {
  transform: rotate(-135deg);
}

.faq__question:hover {
  background: rgba(255, 255, 255, 1);
}

.faq__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a5ccc;
  border: none;
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50%;
}

.faq__answer {
  padding: 0 24px 20px 72px;
}

.faq__answer p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
}

/* ---------- NEWS ---------- */
.news__header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.news__heading {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.08em;
  display: inline-block;
}

.news__list {
  max-width: 700px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.news__item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #1a5ccc;
}

.news__date {
  /*font-family: var(--font-en);*/
  /*font-size: 14px;*/
  color: var(--color-text);
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

.news__link {
  /*font-size: 14px;*/
  color: var(--color-text);
}

.news__link:hover {
  color: var(--color-primary);
}

.news__more {
  text-align: right;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.btn--outline-round {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--color-text);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.btn--outline-round:hover {
  background: #1a5ccc;
  border-color: #1a5ccc;
  color: #fff;
}

/* ---------- FOOTER CTA ---------- */
.footer-cta {
  background: linear-gradient( to bottom, #365A9A 0%, #345792 40%, #314F8A 70%, #2E4E85 100%);
  padding: 60px 0;
  text-align: center;
}

.footer-cta__title {
  color: #fff;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-cta__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.footer-cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.footer-cta__tel:hover {
  opacity: 0.85;
}

.footer-cta__tel-icon {
  color: #e8713a;
}

.footer-cta__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 28px;
}

.footer-cta__mail-btn {
  display: inline-block;
  background: #e8713a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  transition: background var(--transition);
}

.footer-cta__mail-btn:hover {
  background: #d4622e;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #3a3a3a;
  color: #fff;
  padding: 56px 0 30px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo-wrap {
  margin-bottom: 20px;
}

.footer__logo-img {
  height: 32px;
  width: auto;
}

.footer__address {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #fff;
}

.footer__tel-text {
  font-size: 13px;
  color: #fff;
}

.footer__tel-text a {
  color: #fff;
}

.footer__tel-text a:hover {
  color: #80A0DE;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 14px;
  color: #fff;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: #80A0DE;
}

.footer__contact-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer__contact-tel {
  font-size: 15px;
  margin-bottom: 4px;
  color: #fff;
}

.footer__contact-tel a {
  color: #fff;
}

.footer__contact-tel a:hover {
  color: #80A0DE;
}

.footer__contact-fax {
  font-size: 13px;
  margin-bottom: 10px;
  color: #fff;
}

.footer__contact-mail {
  display: block;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  margin-bottom: 18px;
  transition: color var(--transition);
}

.footer__contact-mail:hover {
  color: #80A0DE;
}

.footer__contact-btn {
  display: block;
  width: fit-content;
  background: #e8713a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 30px;
  letter-spacing: 0.06em;
  transition: background var(--transition);
}

.footer__contact-btn:hover {
  background: #d4622e;
}

.footer__copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- PAGE TOP ---------- */
.pagetop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #1a5ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  background: #345792;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__nav-contact {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section--split-right::before {
    width: 100%;
  }

  .section--split-left::before {
    width: 100%;
  }

  .section--service-bg::before {
    width: 100%;
  }

  .about__image-frame {
    max-width: 380px;
    margin: 0 auto;
  }

  .strengths__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service__grid {
    gap: 28px;
  }

  .service__top {
    text-align: left;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .area__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .company__bottom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company__upper-bg {
    width: 100%;
  }

  .company__upper-content {
    max-width: 100%;
  }

  .company__top-header {
    text-align: center;
  }

  .area__map-circle {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-py: 60px;
    --header-h: 60px;
  }

  .section,
  .section--split-right {
    margin: 0 auto;
  }

  .hero {
    aspect-ratio: 9 / 10;
    min-height: 420px;
    max-height: 85vh;
  }

  .hero__title-line {
    font-size: clamp(26px, 8vw, 40px);
  }

  .hero__logo-img {
    height: 28px;
  }

  .about__text-box {
    padding: 28px 20px;
  }

  .about__image-frame {
    max-width: 300px;
  }

  .strengths__card {
    padding: 28px 20px 24px;
  }

  .area__map-circle {
    width: 260px;
    height: 260px;
    padding: 24px;
  }

  .section__watermark {
    font-size: 60px;
  }

  .service__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .works__grid {
    grid-template-columns: 1fr;
  }

  .works__header {
    text-align: center;
  }

  .works__heading-bar {
    margin: 14px auto;
  }

  .flow__item {
    gap: 16px;
    padding: 18px 0;
  }

  .flow__item::before {
    left: 19px;
  }

  .flow__num {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .company__message {
    padding: 0 0 0 16px;
  }

  .company__card {
    padding: 24px 20px;
  }

  .news__item {
    gap: 16px;
  }

  .news__more {
    text-align: center;
  }

  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    aspect-ratio: 9 / 12;
    min-height: 380px;
  }
}


/* ============================================
   SUB PAGES — 下層ページ共通
   ============================================ */

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, #1a2744 0%, #2a3d66 100%);
  padding: 120px 0 50px;
  text-align: center;
}

.page-header__label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-header__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
}

.page-header__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
}

.page-header__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.page-header__meta a {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  padding: 2px 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
}

/* ---------- Page Content ---------- */
.page-main {
  margin-top: var(--header-h);
}

.page-content {
  padding: 60px 0 80px;
  max-width: 860px;
  margin: 0 auto;
}

.page-article {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.page-article h2 {
  font-size: 22px;
  font-weight: 900;
  color: #1a5ccc;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a5ccc;
}

.page-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 32px 0 12px;
}

.page-article p {
  margin-bottom: 16px;
}

.page-article img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 20px 0;
}

.page-article__thumbnail {
  margin-bottom: 32px;
}

.page-article__thumbnail img {
  width: 100%;
  border-radius: 6px;
}

/* ---------- Page Navigation ---------- */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
}

.page-nav a {
  color: #1a5ccc;
  font-size: 14px;
  font-weight: 500;
}

.page-nav a:hover {
  text-decoration: underline;
}

.page-nav__list a {
  padding: 8px 24px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

/* ---------- Archive List ---------- */
.archive-list {
  list-style: none;
  padding: 0;
}

.archive-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #1a5ccc;
}

.archive-list__date {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--color-text-light);
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

.archive-list__cat {
  font-size: 11px;
  color: #fff;
  background: #1a5ccc;
  padding: 2px 12px;
  border-radius: 2px;
  flex-shrink: 0;
  font-weight: 500;
}

.archive-list__link {
  font-size: 14px;
  color: var(--color-text);
}

.archive-list__link:hover {
  color: #1a5ccc;
}

/* ---------- Works Filter ---------- */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.works-filter__btn {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 13px;
  color: var(--color-text);
  background: #fff;
  transition: all 0.3s ease;
}

.works-filter__btn:hover,
.works-filter__btn.is-active {
  background: #1a5ccc;
  border-color: #1a5ccc;
  color: #fff;
}

/* ---------- Works Archive Grid ---------- */
.works__grid--archive {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---------- Works Detail ---------- */
.works-detail__info {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--color-bg-gray);
  border-radius: 6px;
}

.works-detail__info div {
  display: flex;
  gap: 8px;
}

.works-detail__info dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

.works-detail__info dd {
  font-size: 14px;
  color: var(--color-text);
}

.works-detail__main-image {
  margin-bottom: 32px;
}

.works-detail__main-image img {
  width: 100%;
  border-radius: 6px;
}

.works-detail__content {
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 2;
}

.works-detail__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.works-detail__gallery figure {
  margin: 0;
}

.works-detail__gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

/* ---------- Pagination ---------- */
.pagination {
  text-align: center;
  padding: 40px 0;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: #1a5ccc;
  border-color: #1a5ccc;
  color: #fff;
}

/* ---------- 404 ---------- */
.page-content--404 {
  text-align: center;
  padding: 100px 0;
}

.page-404__text {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 2;
}

/* ---------- Sub Page Responsive ---------- */
@media (max-width: 1024px) {
  .works__grid--archive {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-detail__info {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .page-header {
    padding: 100px 0 36px;
  }

  .page-content {
    padding: 40px 0 60px;
  }

  .works__grid--archive {
    grid-template-columns: 1fr;
  }

  .works-detail__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-list__item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-nav {
    flex-direction: column;
    gap: 16px;
  }
}


/* ============================================
   CONTACT PAGE — お問い合わせページ
   ============================================ */
.contact-section {
  padding: 80px 0 100px;
  background: #fff;
}

.contact-section .container {
  max-width: 880px;
}

/* Intro Block */
.contact-intro {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 30px;
  background: linear-gradient(135deg, #f8f9fb 0%, #eef2f9 100%);
  border-radius: 8px;
  border-left: 4px solid #1a5ccc;
}

.contact-intro__lead {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 28px;
}

.contact-intro__tel-block {
  display: inline-block;
}

.contact-intro__tel-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.contact-intro__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: #1a5ccc;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.contact-intro__tel svg {
  color: #e8713a;
}

.contact-intro__tel:hover {
  opacity: 0.85;
}

.contact-intro__hours {
  font-size: 13px;
  color: var(--color-text-light);
}

/* Form Wrap */
.contact-form-wrap {
  background: #fff;
}

.contact-form-wrap__title {
  font-size: 22px;
  font-weight: 900;
  color: #1a5ccc;
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 3px solid #1a5ccc;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
}

.contact-form-wrap__sub {
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 24px;
  margin-bottom: 36px;
}

.required-mark {
  display: inline-block;
  background: #e8713a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* Form Layout */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form__row {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-ja);
  color: var(--color-text);
  background: #f8f9fb;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  background: #fff;
  border-color: #1a5ccc;
  box-shadow: 0 0 0 3px rgba(26, 92, 204, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0b6c4;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.8;
}

/* Custom Select */
.contact-form__select-wrap {
  position: relative;
}

.contact-form__select-wrap::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1a5ccc;
  border-bottom: 2px solid #1a5ccc;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.contact-form select {
  cursor: pointer;
  padding-right: 48px;
}

/* Privacy Checkbox */
.contact-form__privacy {
  text-align: center;
  margin: 36px 0 32px;
  padding: 20px;
  background: #f8f9fb;
  border-radius: 6px;
}

.contact-form__privacy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
}

.contact-form__privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1a5ccc;
  cursor: pointer;
}

.contact-form__privacy a {
  color: #1a5ccc;
  text-decoration: underline;
}

/* Submit Button */
.contact-form__submit {
  text-align: center;
  margin-top: 16px;
}

.contact-form__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 18px 48px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to bottom, #365A9A 0%, #345792 40%, #314F8A 70%, #2E4E85 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(46, 78, 133, 0.25);
}

.contact-form__submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46, 78, 133, 0.35);
}

.contact-form__submit-btn:active {
  transform: translateY(0);
}

/* Contact Form 7 / WPForms 互換スタイル */
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 24px;
}

.contact-form-wrap .wpcf7-form-control-wrap input,
.contact-form-wrap .wpcf7-form-control-wrap textarea,
.contact-form-wrap .wpcf7-form-control-wrap select {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  background: #f8f9fb;
  border: 1px solid #d8dde6;
  border-radius: 6px;
}

.contact-form-wrap .wpcf7-submit {
  display: inline-block;
  min-width: 280px;
  padding: 18px 48px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to bottom, #365A9A 0%, #2E4E85 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 640px) {
  .contact-section {
    padding: 50px 0 70px;
  }

  .contact-intro {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .contact-intro__lead {
    font-size: 14px;
  }

  .contact-intro__tel {
    font-size: 28px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea,
  .contact-form select {
    padding: 12px 16px;
    font-size: 16px; /* iOS zoom 防止 */
  }

  .contact-form__submit-btn {
    width: 100%;
    min-width: auto;
    padding: 16px 24px;
  }

  .contact-form-wrap__title {
    font-size: 18px;
  }
}
