/* =============================================
   styles-arriba.css — 京都経営パートナーズ株式会社
   Arriba構成 / 明るい青ベースのコーポレートデザイン
   ============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1F2933;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== CSS VARIABLES ===== */
:root {
  --main-blue:   #0072BC;
  --deep-blue:   #005A9C;
  --bright-blue: #168BD3;
  --light-blue:  #EAF6FC;
  --pale-blue:   #F3FAFE;
  --white:       #FFFFFF;
  --text:        #1F2933;
  --muted:       #6B7280;
  --accent:      #C8A45D;
  --line-green:  #06C755;
  --header-h:    72px;
}

/* ===== UTILITY ===== */
.section-label {
  margin-bottom: 1.5rem;
}

.section-label--center {
  text-align: center;
}

.section-label__en {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--main-blue);
  line-height: 1;
  letter-spacing: 0.02em;
}

.section-label__ja {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42em;
  padding: 0.58rem 1.25rem;
  line-height: 1.35;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn i {
  line-height: 1;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
}

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

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

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

.btn--header {
  background: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
  padding: 0.42rem 0.9rem;
  font-size: 0.78rem;
}

.btn--header:hover {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
}

.fv__cta .btn {
  padding: 0.64rem 1.35rem;
}

.btn--lg {
  padding: 0.75rem 1.55rem;
  font-size: 1rem;
}

.btn--line {
  background: var(--line-green);
  color: #fff;
  border-color: var(--line-green);
}

.btn--line:hover {
  background: #05b04a;
  border-color: #05b04a;
}

.btn--line-header {
  background: transparent;
  color: var(--line-green);
  border-color: var(--line-green);
  padding: 0.42rem 0.9rem;
  font-size: 0.78rem;
}

.btn--line-header:hover {
  background: var(--line-green);
  color: #fff;
  border-color: var(--line-green);
}

/* ===== LINK ARROW ===== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: gap 0.22s ease;
}

.link-arrow::after {
  content: '→';
  font-size: 1rem;
}

.link-arrow:hover {
  gap: 0.8rem;
}

.link-arrow--blue {
  color: var(--main-blue);
  border-bottom-color: rgba(0, 114, 188, 0.3);
}

.link-arrow--blue:hover {
  color: var(--deep-blue);
}

/* ===== SCROLL ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.header__logo-img {
  height: 65px;
  width: auto;
  display: block;
}

.header__nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.2s;
}

.nav__list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-blue);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav__list a:hover {
  color: var(--main-blue);
}

.nav__list a:hover::after {
  width: 100%;
}

.nav__line-item {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* ===== FV ===== */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.fv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(0, 58, 140, 0.60) 0%,
    rgba(0, 114, 188, 0.48) 50%,
    rgba(0, 40, 110, 0.62) 100%
  );
}

.fv__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 820px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.fv__en {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.fv__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.fv__sub {
  font-size: clamp(0.85rem, 1.6vw, 0.975rem);
  line-height: 2;
  opacity: 0.88;
  margin-bottom: 2.75rem;
}

.fv__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== COMPANY ===== */
.company {
  background: var(--main-blue);
  color: #fff;
  padding: 104px 0;
}

.company__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.company__inner .section-label__en {
  color: rgba(255, 255, 255, 0.45);
}

.company__inner .section-label__ja {
  color: rgba(255, 255, 255, 0.55);
}

.company__heading {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.company__body {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.88;
  margin-bottom: 2.25rem;
}

.company__images {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company__img img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.company__img--top img {
  height: 210px;
}

.company__img--bottom img {
  height: 168px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--pale-blue);
  padding: 84px 0;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about__card {
  background: #fff;
  border-radius: 12px;
  padding: 52px 60px;
  display: flex;
  align-items: center;
  gap: 52px;
  box-shadow: 0 4px 28px rgba(0, 72, 188, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about__card:hover {
  box-shadow: 0 10px 40px rgba(0, 72, 188, 0.12);
  transform: translateY(-2px);
}

.about__card-label {
  flex-shrink: 0;
}

.about__card-label .section-label__en {
  font-size: 2.2rem;
}

.about__card-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
}

.about__card .link-arrow {
  flex-shrink: 0;
}

/* ===== SERVICE ===== */
.service {
  background: #fff;
  padding-top: 104px;
}

.service__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 88px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.service__heading {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service__body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
}

.service__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service__card {
  display: grid;
  grid-template-columns: 136px 1fr;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service__card:hover {
  box-shadow: 0 6px 28px rgba(0, 114, 188, 0.13);
  transform: translateY(-2px);
}

.service__card-img {
  overflow: hidden;
  height: 100px;
}

.service__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service__card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.service__card-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.service__card-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.service__card .arrow-icon {
  align-self: flex-end;
  color: var(--main-blue);
  font-size: 1rem;
  margin-top: 4px;
  transition: transform 0.2s;
}

.service__card:hover .arrow-icon {
  transform: translateX(4px);
}

/* Agency */
.agency {
  background: var(--light-blue);
  padding: 88px 0;
}

.agency__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.agency__inner .section-label--center {
  margin-bottom: 3.5rem;
}

.agency__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 3.5rem;
}

.agency__item {
  background: #fff;
  border-radius: 10px;
  padding: 36px 30px;
  box-shadow: 0 2px 18px rgba(0, 72, 188, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.agency__item:hover {
  box-shadow: 0 8px 32px rgba(0, 72, 188, 0.12);
  transform: translateY(-3px);
}

.agency__num {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 114, 188, 0.1);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.agency__title {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
}

.agency__image {
  margin: 0.9rem 0 1rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--light-blue);
}

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

.agency__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
}

.agency__cta {
  text-align: center;
}

/* ===== PRICE ===== */
.price {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
}

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

.price__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.price__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 60, 160, 0.68);
}

.price__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-start;
}

.price__card {
  background: #fff;
  border-radius: 12px;
  padding: 56px 52px;
  max-width: 540px;
  box-shadow: 0 12px 56px rgba(0, 0, 0, 0.18);
}

.price__card .section-label__en {
  font-size: 2.2rem;
}

.price__tag {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--main-blue);
  background: var(--light-blue);
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.price__text {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--pale-blue);
  padding: 104px 0;
}

.contact__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.contact__text {
  font-size: 1rem;
  line-height: 2;
  color: var(--muted);
  margin: 1.5rem 0 3rem;
}

.contact__box {
  background: #fff;
  border-radius: 12px;
  padding: 56px 48px;
  box-shadow: 0 4px 28px rgba(0, 72, 188, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.contact__box-label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.contact__line-wrap {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact__line-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Contact section on TOP page: form overrides */
.contact .contact-form-wrap {
  text-align: left;
  margin-top: 2rem;
}

.contact .contact__line-wrap {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 114, 188, 0.1);
}

/* CONTACT PAGE: LINE BANNER */
.contact-line-banner {
  background: #e8fdf0;
  border-radius: 8px;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(6, 199, 85, 0.2);
}

.contact-line-banner__text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--deep-blue);
  color: #fff;
  padding: 72px 0 36px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer__logo-en {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 6px;
}

.footer__logo-ja {
  font-size: 0.72rem;
  opacity: 0.55;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer__nav-head {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.footer__nav a:hover {
  opacity: 1;
}

.footer__bottom {
  text-align: center;
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.45;
  letter-spacing: 0.06em;
}

/* ===== RESPONSIVE — 1024px ===== */
@media (max-width: 1024px) {
  .company__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company__images {
    flex-direction: row;
  }

  .company__img {
    flex: 1;
  }

  .company__img--top img,
  .company__img--bottom img {
    height: 200px;
  }

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

  .service__right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .service__card {
    grid-template-columns: 1fr;
    grid-template-rows: 140px auto;
  }

  .service__card-img {
    height: 140px;
  }

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

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

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ===== RESPONSIVE — 768px ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header__logo-img {
    height: 38px;
  }

  .header__nav,
  .btn--header,
  .btn--line-header {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav__line-item {
    display: block;
  }

  .header__nav.is-open .nav__line-item a {
    color: var(--line-green);
    font-weight: 700;
    border-bottom-color: rgba(6, 199, 85, 0.15);
  }

  .contact-line-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px 20px;
  }

  .header__nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 199;
    padding: 0 28px 24px;
  }

  .header__nav.is-open .nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header__nav.is-open .nav__list a {
    display: block;
    padding: 15px 0;
    font-size: 0.975rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
  }

  .header__nav.is-open .nav__list li:last-child a {
    border-bottom: none;
  }

  /* FV */
  .fv__cta {
    flex-direction: column;
    align-items: center;
  }

  .fv__cta .btn {
    width: min(300px, 100%);
  }

  /* Company */
  .company {
    padding: 72px 0;
  }

  .company__inner {
    padding: 0 24px;
    gap: 32px;
  }

  .company__images {
    flex-direction: column;
  }

  .company__img--top img {
    height: 220px;
  }

  .company__img--bottom img {
    height: 180px;
  }

  /* About */
  .about {
    padding: 64px 0;
  }

  .about__inner {
    padding: 0 24px;
  }

  .about__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 20px;
  }

  /* Service */
  .service {
    padding-top: 72px;
  }

  .service__inner {
    padding: 0 24px 64px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service__right {
    display: flex;
    flex-direction: column;
  }

  .service__card {
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto;
  }

  .service__card-img {
    height: 100px;
  }

  /* Agency */
  .agency {
    padding: 64px 0;
  }

  .agency__inner {
    padding: 0 24px;
  }

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

  /* Price */
  .price {
    padding: 72px 0;
  }

  .price__inner {
    padding: 0 24px;
    justify-content: center;
  }

  .price__card {
    padding: 40px 28px;
    max-width: 100%;
  }

  /* Contact */
  .contact {
    padding: 72px 0;
  }

  .contact__inner {
    padding: 0 24px;
  }

  .contact__box {
    padding: 40px 28px;
  }

  /* Footer */
  .footer {
    padding: 56px 0 28px;
  }

  .footer__inner {
    padding: 0 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===== RESPONSIVE — 480px ===== */
@media (max-width: 480px) {
  .section-label__en {
    font-size: 1.75rem;
  }

  .company__inner {
    padding: 0 20px;
  }

  .service__card {
    grid-template-columns: 1fr;
    grid-template-rows: 160px auto;
  }

  .service__card-img {
    height: 160px;
  }

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

  .price__card {
    padding: 32px 20px;
  }

  .contact__box {
    padding: 32px 20px;
  }

  .btn--lg {
    padding: 0.72rem 1.4rem;
  }
}

/* =============================================
   SUB-PAGE COMPONENTS
   ============================================= */

/* PAGE BANNER */
.page-banner {
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--bright-blue) 100%);
  color: #fff;
}

.page-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 72px;
}

.page-banner__en {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.88;
  margin-bottom: 0.5rem;
}

.page-banner__ja {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.page-banner__lead {
  font-size: 0.975rem;
  line-height: 1.9;
  opacity: 0.85;
  max-width: 560px;
}

/* BREADCRUMB */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.75rem;
  opacity: 0.65;
}

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb__list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.breadcrumb__list a:hover {
  opacity: 1;
}

/* GENERIC PAGE SECTION */
.page-section {
  padding: 96px 0;
}

.page-section--pale {
  background: var(--pale-blue);
}

.page-section--blue {
  background: var(--light-blue);
}

.page-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-section__header {
  margin-bottom: 3.5rem;
}

/* PAGE CTA */
.page-cta {
  background: var(--main-blue);
  padding: 84px 0;
  text-align: center;
  color: #fff;
}

.page-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-cta__en {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  opacity: 0.88;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.page-cta__ja {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-bottom: 1.5rem;
}

.page-cta__text {
  font-size: 0.975rem;
  line-height: 1.95;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

/* PRESIDENT */
.president__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.president__img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.president__img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
}

.president__img-caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

.president__body {
  padding-top: 4px;
}

.president__message {
  font-size: 0.975rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.president__name-wrap {
  text-align: right;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.president__position {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.president__name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* COMPANY OVERVIEW TABLE */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.overview-table tr:first-child th,
.overview-table tr:first-child td {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.overview-table th,
.overview-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  vertical-align: top;
  line-height: 1.8;
}

.overview-table th {
  width: 180px;
  font-weight: 700;
  color: var(--main-blue);
  background: var(--pale-blue);
  white-space: nowrap;
}

.overview-table td {
  color: var(--text);
  background: #fff;
}

/* STRENGTH CARDS */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 4px 28px rgba(0, 72, 188, 0.07);
  border-top: 4px solid var(--main-blue);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.strength-card:hover {
  box-shadow: 0 10px 40px rgba(0, 72, 188, 0.13);
  transform: translateY(-3px);
}

.strength-card__num {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 114, 188, 0.1);
  line-height: 1;
  margin-bottom: 1.125rem;
}

.strength-card__title {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.strength-card__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.95;
}

/* SERVICE DETAIL CARDS */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-detail-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0, 72, 188, 0.05);
  border-left: 3px solid rgba(0, 114, 188, 0.5);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-detail-card:hover {
  box-shadow: 0 6px 28px rgba(0, 72, 188, 0.1);
  transform: translateY(-1px);
}

.service-detail-card__title {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--main-blue);
  margin-bottom: 0.875rem;
}

.service-detail-card__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.95;
}

/* AGENCY DETAIL CARDS */
.agency-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agency-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 4px 28px rgba(0, 72, 188, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.agency-detail-card:hover {
  box-shadow: 0 10px 40px rgba(0, 72, 188, 0.12);
  transform: translateY(-3px);
}

.agency-detail-card__num {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 114, 188, 0.1);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.agency-detail-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--main-blue);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.agency-detail-card__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.95;
}

/* PRICE MAIN CARD */
.price-main-card {
  background: var(--pale-blue);
  border-radius: 12px;
  padding: 56px;
  text-align: center;
  border: 2px solid rgba(0, 114, 188, 0.1);
}

.price-main-card__badge {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--main-blue);
  background: #fff;
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 114, 188, 0.18);
}

.price-main-card__title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--main-blue);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.price-main-card__text {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 2;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* FLOW STEPS */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--light-blue);
  z-index: 0;
}

.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step__circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--main-blue);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.375rem;
  box-shadow: 0 4px 18px rgba(0, 114, 188, 0.28);
}

.flow-step__title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.flow-step__text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

/* CONTACT FORM (sub-page) */
.contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 56px 64px;
  box-shadow: 0 4px 28px rgba(0, 72, 188, 0.07);
  max-width: 820px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 1.875rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
  letter-spacing: 0.02em;
}

.form-required {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  background: var(--main-blue);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.form-optional {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  background: var(--muted);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.13);
  border-radius: 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--main-blue);
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.1);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

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

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--main-blue);
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
}

.form-checkbox-label a {
  color: var(--main-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  text-align: center;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.form-submit .btn {
  min-width: 240px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 56px 32px;
}

.form-success.is-show {
  display: block;
}

.form-success__mark {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.form-success__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.form-success__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* ===== RESPONSIVE — SUB-PAGES 1024px ===== */
@media (max-width: 1024px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .flow-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-banner__inner {
    padding: 48px 24px 60px;
  }

  .page-section {
    padding: 64px 0;
  }

  .page-section__inner {
    padding: 0 24px;
  }

  .page-section__header {
    margin-bottom: 2.5rem;
  }

  .president__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .president__img img {
    height: 260px;
  }

  .overview-table th {
    width: 100px;
    padding: 14px 14px;
    font-size: 0.85rem;
  }

  .overview-table td {
    padding: 14px 14px;
    font-size: 0.875rem;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .strength-card {
    padding: 32px 24px;
  }

  .agency-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .price-main-card {
    padding: 40px 28px;
  }

  .contact-form-wrap {
    padding: 36px 28px;
  }

  .page-cta__inner {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .page-banner__en {
    font-size: 2.2rem;
  }

  .overview-table th {
    width: 90px;
  }

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

  .contact-form-wrap {
    padding: 28px 20px;
  }
}

/* ===== UTILITY: 2-column → 1-column on mobile ===== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-col-grid .two-col-img {
    order: -1;
  }
}

/* =============================================
   ABOUT PAGE — ADDITIONAL STYLES
   ============================================= */

/* page-banner--about: 背景画像オーバーレイ */
.page-banner--about {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-banner--about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 72, 188, 0.9) 0%, rgba(0, 114, 188, 0.62) 100%),
    url("../assets/about_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-banner--about .page-banner__inner {
  position: relative;
  z-index: 1;
}

/* page-section__lead: インラインスタイルをクラスに */
.page-section__lead {
  font-size: 0.975rem;
  line-height: 2;
  color: var(--muted);
  max-width: 640px;
  margin-top: 1rem;
}

/* strength-card__image: 強みカード画像 */
.strength-card__title {
  margin-bottom: 0;
}

.strength-card__image {
  margin: 0.75rem 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light-blue);
}

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

/* two-col-img__image: Our Approach 画像 */
.two-col-img__image {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  display: block;
}

/* two-col-body-text: インラインスタイルをクラスに */
.two-col-body-text {
  font-size: 0.975rem;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .two-col-img__image {
    height: 240px;
  }
}

/* =============================================
   COMPANY PAGE — ADDITIONAL STYLES
   ============================================= */

/* page-banner--company: company_bg.png オーバーレイ */
.page-banner--company {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-banner--company::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.88), rgba(0, 114, 188, 0.56)),
    url("../assets/company_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-banner--company .page-banner__inner {
  position: relative;
  z-index: 1;
}

/* page-cta--company: company-cta-bg.png オーバーレイ */
.page-cta--company {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-cta--company::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.78), rgba(0, 114, 188, 0.56)),
    url("../assets/company-cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-cta--company .page-cta__inner {
  position: relative;
  z-index: 1;
}

/* 代表写真プレースホルダー (実写真入手後は .president__img > img に差し替え) */
.president__img-placeholder {
  border-radius: 8px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  background: var(--pale-blue);
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0, 114, 188, 0.08);
}

/* 代表写真未提供時: 1カラムレイアウト
   実写真追加後は .president__inner--text-only クラスを削除し、このルールも削除してください */
.president__inner--text-only {
  grid-template-columns: 1fr;
  max-width: 860px;
}

/* 会社概要テーブルラッパー */
.overview-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 会社概要テーブル: 罫線・余白微調整 */
.overview-table tr:first-child th,
.overview-table tr:first-child td {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.overview-table th,
.overview-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.overview-table th {
  border-right: 2px solid rgba(0, 114, 188, 0.12);
}

/* 会社概要テーブル: SP縦積み (480px以下) */
@media (max-width: 480px) {
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100% !important;
    white-space: normal;
  }

  .overview-table th {
    border-right: none;
    border-bottom: none;
    padding: 12px 14px 4px;
    font-size: 0.8rem;
  }

  .overview-table td {
    padding: 4px 14px 14px;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .overview-table tr:first-child th {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
}

/* =============================================
   SERVICE PAGE — ADDITIONAL STYLES
   ============================================= */

/* page-banner--service: service_bg.png オーバーレイ */
.page-banner--service {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-banner--service::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.88), rgba(0, 114, 188, 0.56)),
    url("../assets/service_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-banner--service .page-banner__inner {
  position: relative;
  z-index: 1;
}

/* page-cta--service: 背景画像オーバーレイ */
.page-cta--service {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-cta--service::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.74), rgba(0, 114, 188, 0.52)),
    url("../assets/company-cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-cta--service .page-cta__inner {
  position: relative;
  z-index: 1;
}

/* 財務コンサルティング: サービスカードアイコン */
.service-detail-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.125rem;
  background: rgba(0, 114, 188, 0.13);
  color: var(--main-blue);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.service-detail-card__icon i {
  line-height: 1;
}

/* 営業代理店: カード内画像 (4:3で少し大きく見せる) */
.agency-detail-card__image {
  margin: 0.75rem 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light-blue);
}

.agency-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 営業代理店: CTAボタン */
.agency-detail-cta {
  text-align: center;
  margin-top: 3rem;
}

/* =============================================
   AGENCY PAGE — ADDITIONAL STYLES
   ============================================= */

/* page-banner--agency: agency_bg.png オーバーレイ */
.page-banner--agency {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-banner--agency::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.88), rgba(0, 114, 188, 0.56)),
    url("../assets/agency_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-banner--agency .page-banner__inner {
  position: relative;
  z-index: 1;
}

/* 各事業セクション: 番号 */
.agency-service-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--main-blue);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* 各事業セクション: 見出し */
.agency-service-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* 各事業セクション: リード文 */
.agency-service-lead {
  font-size: 0.975rem;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* 各事業セクション: チェックリスト */
.agency-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agency-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.agency-service-check {
  color: var(--main-blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* 各事業セクション: 画像枠 */
.agency-service-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  background: var(--light-blue);
  aspect-ratio: 16 / 9;
}

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

/* =============================================================
   PRICE PAGE
   ============================================================= */

.page-banner--price {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-banner--price::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.88), rgba(0, 114, 188, 0.56)),
    url("../assets/price_bg.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-banner--price .page-banner__inner {
  position: relative;
  z-index: 1;
}

.page-cta--price {
  background: none;
  position: relative;
  overflow: hidden;
}

.page-cta--price::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 114, 188, 0.74), rgba(0, 114, 188, 0.52)),
    url("../assets/company-cta-bg.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-cta--price .page-cta__inner {
  position: relative;
  z-index: 1;
}

/* 料金カード: アイコン */
.price-main-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 114, 188, 0.1);
  color: var(--main-blue);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
}

/* フロー: FA アイコン */
.flow-step__icon {
  font-size: 1.1rem;
  color: rgba(0, 114, 188, 0.6);
  margin: -0.5rem 0 0.75rem;
  line-height: 1;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(0, 114, 188, 0.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
}

.faq-q {
  font-weight: 700;
  color: var(--main-blue);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 480px) {
  .faq-item {
    padding: 1.2rem 1.25rem;
  }
}

/* FAQ: BEM クラス（price-page 用）*/
.faq-item__question {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--main-blue);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.faq-item__question i {
  flex-shrink: 0;
  margin-top: 0.2em;
  font-size: 0.85rem;
  opacity: 0.85;
}

.faq-item__answer {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  padding-left: calc(0.85rem + 0.55rem);
}

/* =============================================================
   PRICE PAGE: セクション余白・フローカード
   ============================================================= */

.price-page .page-section {
  padding: 68px 0;
}

@media (max-width: 768px) {
  .price-page .page-section {
    padding: 48px 0;
  }
}

/* コネクター線・数字丸: 非表示 */
.price-page .flow-steps::before,
.price-page .flow-step::before {
  display: none;
}

.price-page .flow-step__circle {
  display: none;
}

/* フロー: グリッド設定 */
.price-page .flow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.45rem;
  align-items: stretch;
}

/* フロー: カード（flex 縦積み・高さ揃え） */
.price-page .flow-step {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 1.45rem 1.35rem 1.35rem;
  border: 1px solid rgba(0, 114, 188, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* STEP ラベル＋アイコン 横並びヘッド */
.flow-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

/* STEP 0N ラベル */
.flow-step__meta {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 114, 188, 0.08);
  color: var(--main-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* アイコン: 角丸ボックス（flex 非伸縮） */
.price-page .flow-step__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 114, 188, 0.09);
  color: var(--main-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
  margin: 0;
  opacity: 1;
}

.price-page .flow-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.price-page .flow-step__text {
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

/* カード間の矢印（PC 4列のみ） */
@media (min-width: 1025px) {
  .price-page .flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -1.05rem;
    transform: translateY(-50%);
    color: rgba(0, 114, 188, 0.35);
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 2;
  }
}

/* タブレット: 2カラム */
@media (max-width: 1024px) {
  .price-page .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* SP: 1カラム */
@media (max-width: 640px) {
  .price-page .flow-steps {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
}

/* =============================================================
   PRICE POINTS（Pricingカード内 3 列）
   ============================================================= */

.price-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 1.6rem 0 2rem;
  text-align: left;
}

.price-point {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 114, 188, 0.08);
}

.price-point > i {
  display: block;
  font-size: 1.05rem;
  color: var(--main-blue);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.price-point__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--main-blue);
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

.price-point__text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 640px) {
  .price-points {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT FORM: 確認画面 ===== */
.form-confirm {
  display: none;
}

.form-confirm.is-show {
  display: block;
}

.form-confirm__lead {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.form-confirm__list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2.75rem;
}

.form-confirm__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form-confirm__term {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-confirm__desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.form-confirm__desc.is-empty {
  color: var(--muted);
}

.form-confirm__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-confirm__actions .btn {
  min-width: 200px;
}

/* 「修正する」ボタン：白背景の確認画面でも視認できるよう青枠・青文字にする
   （.btn--outline は暗背景用で白文字のため、確認画面では上書き） */
.form-confirm__edit {
  background: #fff;
  color: var(--main-blue);
  border-color: var(--main-blue);
}

.form-confirm__edit:hover {
  background: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
}

/* 必須項目エラーメッセージ（薄い青背景・濃い青文字・角丸で入力欄下に自然につなげる） */
.form-error {
  margin-top: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: var(--light-blue);
  color: var(--deep-blue);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 6px;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--main-blue);
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.12);
}

@media (max-width: 640px) {
  .form-confirm__row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1rem 0.15rem;
  }

  .form-confirm__actions {
    flex-direction: column;
  }

  .form-confirm__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* ===== THANKS PAGE ===== */
.thanks {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 56px 48px;
  box-shadow: 0 4px 28px rgba(0, 72, 188, 0.07);
  text-align: center;
}

.thanks__mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: var(--main-blue);
  border-radius: 50%;
  line-height: 1;
}

.thanks__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.thanks__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.thanks__note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.85;
  background: var(--pale-blue);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 2.25rem;
  text-align: left;
}

.thanks__actions .btn {
  min-width: 240px;
}

@media (max-width: 640px) {
  .thanks {
    padding: 40px 22px;
  }

  .thanks__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

/* =============================================
   PRIVACY POLICY PAGE  (page-privacy.php)
   ============================================= */
.privacy {
  max-width: 1000px;
}

/* 本文カード（白背景・薄い青ボーダー） */
.privacy__card {
  background: var(--white);
  border: 1px solid var(--light-blue);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 114, 188, 0.07);
  padding: 64px 56px;
}

.privacy__intro {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 3rem;
}

/* 各条項 */
.privacy__article {
  margin-bottom: 2.75rem;
}

.privacy__article:last-of-type {
  margin-bottom: 0;
}

.privacy__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--light-blue);
}

/* 項目番号（明るい青） */
.privacy__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bright-blue);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.privacy__text {
  font-size: 0.975rem;
  line-height: 1.9;
  color: var(--text);
}

/* 利用目的リスト（マーカーは青系） */
.privacy__text + .privacy__list {
  margin-top: 1rem;
}

.privacy__list {
  list-style: none;
  padding-left: 0.25rem;
}

.privacy__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.975rem;
  line-height: 1.9;
  color: var(--text);
}

.privacy__list li + li {
  margin-top: 0.4rem;
}

.privacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright-blue);
}

/* お問い合わせ窓口ボックス（薄い青背景） */
.privacy__contact-box {
  margin-top: 1.5rem;
  background: var(--pale-blue);
  border: 1px solid var(--light-blue);
  border-radius: 12px;
  padding: 2rem 2.25rem;
}

.privacy__company {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 1.25rem;
}

.privacy__contact-list {
  margin-bottom: 1.25rem;
}

.privacy__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(0, 114, 188, 0.12);
}

.privacy__contact-row:last-child {
  border-bottom: 1px solid rgba(0, 114, 188, 0.12);
}

.privacy__contact-row dt {
  flex-shrink: 0;
  width: 7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--main-blue);
}

.privacy__contact-row dd {
  font-size: 0.95rem;
  color: var(--text);
}

.privacy__contact-note {
  font-size: 0.925rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.privacy__contact-box .btn {
  min-width: 260px;
}

/* 制定日（右寄せ・控えめ） */
.privacy__date {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-blue);
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
}

/* TOP戻り導線 */
.privacy__back {
  margin-top: 2.5rem;
  text-align: center;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .privacy__card {
    padding: 40px 28px;
  }

  .privacy__intro {
    font-size: 0.95rem;
    margin-bottom: 2.25rem;
  }

  .privacy__article {
    margin-bottom: 2.25rem;
  }

  .privacy__heading {
    font-size: 1.1rem;
  }

  .privacy__contact-box {
    padding: 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .privacy__card {
    padding: 32px 20px;
    border-radius: 14px;
  }

  .privacy__heading {
    font-size: 1.02rem;
    gap: 0.6rem;
  }

  .privacy__num {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }

  .privacy__text,
  .privacy__list li {
    font-size: 0.92rem;
  }

  .privacy__contact-box {
    padding: 1.25rem 1.15rem;
  }

  .privacy__contact-row {
    gap: 0.15rem;
  }

  .privacy__contact-row dt {
    width: 100%;
  }

  .privacy__contact-box .btn {
    width: 100%;
    min-width: 0;
  }

  .privacy__date {
    text-align: left;
  }
}

.is-sp{display: none;}
@media (max-width: 768px) {
.is-sp{display: block;}
.is-pc{display: none;}
	
	.contact__text {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 1.5rem 0 3rem;
}
	.form-row {
    margin-bottom: 1rem;
}
	.form-label {
    margin-bottom: 0.3rem;
}
}

