/*
Theme Name: Salt Tax Accountants
Theme URI:
Author: design-to-web
Author URI:
Description: Landing page theme for Salt Certified Public Tax Accountants Corporation (ソルト総合会計事務所). A Japanese tax accounting firm specializing in inheritance tax planning.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salt-theme
*/

/* ==========================================================================
   0. CSS Custom Properties
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary: #08277d;
  --color-primary-dark: #061d5e;
  --color-accent: #fc878b;
  --color-accent-light: #fda4a7;
  --color-bg-pink: #fdf5f5;
  --color-bg-gray: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-on-primary: #ffffff;

  /* Typography */
  --font-family: 'Noto Sans JP', 'Yu Gothic UI', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-xs: 12px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  --font-size-5xl: 42px;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-2xl: 80px;
  --spacing-3xl: 100px;

  /* Layout */
  --container-max: 1100px;
  --container-wide: 1200px;
  --header-height: 80px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   1. CSS Reset
   ========================================================================== */

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.4;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   2. Utility Classes
   ========================================================================== */

.site-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-container--wide {
  max-width: var(--container-wide);
}

.section-title {
  font-size: var(--font-size-3xl);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title--underline::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: 700;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
  gap: 8px;
}

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

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-on-primary);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}

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

/* ==========================================================================
   3. Site Header
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  height: var(--header-height);
  box-shadow: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header__logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__logo-img {
  height: 40px;
  width: auto;
}

.site-header__logo-text {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.site-header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

.site-header__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
}

.site-header__phone-icon {
  flex-shrink: 0;
}

.site-header__phone-number {
  font-size: var(--font-size-xl);
  letter-spacing: 1px;
}

.site-header__phone-hours {
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--color-text-light);
  display: block;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 146px;
  padding: 14px 28px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(252, 135, 139, 0.18);
  transition: opacity 0.3s ease;
}

.site-header__cta-icon {
  flex-shrink: 0;
}

.site-header__cta:hover {
  opacity: 0.85;
}

/* Fixed side phone button */
.fixed-phone-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 10px;
  font-weight: 700;
  font-size: var(--font-size-sm);
  letter-spacing: 2px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.fixed-phone-btn__icon {
  flex-shrink: 0;
}

.fixed-phone-btn__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.fixed-phone-btn:hover {
  background-color: var(--color-primary-dark);
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .site-header__phone {
    display: none;
  }

  .site-header__cta {
    padding: 8px 16px;
    font-size: var(--font-size-xs);
  }

  .fixed-phone-btn {
    padding: 14px 10px;
    font-size: var(--font-size-xs);
  }
}

/* ==========================================================================
   4. Section: FV (Hero)
   ========================================================================== */

.section-fv {
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 120px;
  background:
    linear-gradient(90deg, var(--color-white) 0 55%, #f4f6fb 55% 100%);
  position: relative;
  overflow: hidden;
  min-height: 760px;
}

.section-fv::before,
.section-solutions::before {
  content: '';
  position: absolute;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='180' viewBox='0 0 420 180' fill='none'%3E%3Cpath d='M-25 42C26 9 77 9 128 42C179 75 230 75 281 42C332 9 383 9 445 42' stroke='%23ffffff' stroke-opacity='0.8' stroke-width='3'/%3E%3Cpath d='M-25 90C26 57 77 57 128 90C179 123 230 123 281 90C332 57 383 57 445 90' stroke='%23ffffff' stroke-opacity='0.62' stroke-width='3'/%3E%3Cpath d='M-25 138C26 105 77 105 128 138C179 171 230 171 281 138C332 105 383 105 445 138' stroke='%23ffffff' stroke-opacity='0.45' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 0;
}

.section-fv::before {
  top: 70px;
  right: 0;
  bottom: 0;
  width: min(60vw, 760px);
  background-position: right top;
  background-size: 360px 160px;
  opacity: 0.5;
}

.section-fv__logo-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 120;
  width: 410px;
  padding: 18px 34px 24px;
  background-color: var(--color-white);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.section-fv__logo-panel a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.section-fv__logo-subtitle {
  color: #ea7e80;
  font-size: var(--font-size-xs);
  font-weight: 700;
  line-height: 1.4;
}

.section-fv__logo-img {
  width: 280px;
  height: auto;
}

.section-fv__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.section-fv__content {
  flex: 0 1 60%;
  max-width: 60%;
  z-index: 2;
  position: relative;
}

.section-fv__visual {
  flex: 0 0 42%;
  max-width: 540px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-fv__visual-img {
  width: 100%;
  height: auto;
  max-width: 540px;
}

.home .site-header__logo,
.page-template-front-page .site-header__logo {
  visibility: hidden;
}

.section-fv__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.section-fv__badge-safe {
  font-size: 22px;
}

.section-fv__badge-tax {
  position: relative;
  display: inline-block;
  z-index: 0;
  font-size: var(--font-size-3xl);
  line-height: 1.2;
}

.section-fv__badge-tax::before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  z-index: -1;
  height: 10px;
  background-color: rgba(234, 126, 128, 0.55);
}

.section-fv__heading {
  font-size: 50px;
  color: var(--color-primary);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  white-space: nowrap;
}

.section-fv__heading-em {
  font-size: 72px;
}

.section-fv__subtext {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.95;
  margin-bottom: 34px;
}

.section-fv__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  min-width: 400px;
  padding: 14px 48px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}

.section-fv__cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 31px;
  line-height: 1.35;
}

.section-fv__cta-icon {
  font-size: 24px;
  line-height: 1;
}

.section-fv__cta-sub {
  width: 100%;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dotted rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-base);
  line-height: 1.4;
  text-align: center;
}

.section-fv__cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.section-fv__triangles {
  position: absolute;
  right: 0;
  top: 0;
  width: min(60vw, 860px);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-fv__triangle {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-fv__triangle--top {
  top: 0;
  background-color: rgba(170, 188, 232, 0.22);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.section-fv__triangle--bottom {
  bottom: 0;
  background-color: rgba(149, 171, 224, 0.24);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.section-fv__scroll-indicator {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: var(--font-size-xs);
  letter-spacing: 2px;
  white-space: nowrap;
}

.section-fv__scroll-indicator::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background-color: var(--color-text-light);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: scaleX(0);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
  50.1% {
    transform-origin: right;
  }
  100% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
  }
}

@media (max-width: 768px) {
  .section-fv {
    padding-top: calc(var(--header-height) + var(--spacing-lg));
    padding-bottom: var(--spacing-xl);
    min-height: auto;
  }

  .section-fv__inner {
    flex-direction: column;
    text-align: center;
  }

  .section-fv__content {
    max-width: 100%;
  }

  .section-fv__visual {
    display: none;
  }

  .section-fv__logo-panel {
    display: none;
  }

  .section-fv__badge {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px;
  }

  .section-fv__badge-safe {
    font-size: var(--font-size-base);
  }

  .section-fv__badge-tax {
    font-size: var(--font-size-2xl);
  }

  .section-fv__heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .section-fv__heading-em {
    font-size: 32px;
  }

  .section-fv__cta {
    min-width: min(100%, 320px);
    padding: 10px 28px 12px;
  }

  .section-fv__cta-main {
    font-size: var(--font-size-2xl);
  }

  .section-fv__cta-sub {
    font-size: var(--font-size-sm);
  }

  .section-fv__triangles {
    display: none;
  }

  .section-fv::before {
    display: none;
  }

  .section-fv__scroll-indicator {
    display: none;
  }
}

/* ==========================================================================
   5. Section: Concerns (こんなお悩み)
   ========================================================================== */

.section-concerns {
  position: relative;
  padding: var(--spacing-3xl) 0 calc(var(--spacing-3xl) + 48px);
  background-color: #e3e0e0;
  overflow: hidden;
}

.section-concerns::before {
  content: '';
  position: absolute;
  inset: 0 0 48px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='180' viewBox='0 0 420 180' fill='none'%3E%3Cpath d='M-25 42C26 9 77 9 128 42C179 75 230 75 281 42C332 9 383 9 445 42' stroke='%23ffffff' stroke-opacity='0.8' stroke-width='3'/%3E%3Cpath d='M-25 90C26 57 77 57 128 90C179 123 230 123 281 90C332 57 383 57 445 90' stroke='%23ffffff' stroke-opacity='0.62' stroke-width='3'/%3E%3Cpath d='M-25 138C26 105 77 105 128 138C179 171 230 171 281 138C332 105 383 105 445 138' stroke='%23ffffff' stroke-opacity='0.45' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: center top;
  background-size: 340px 156px;
  opacity: 0.5;
}

.section-concerns > .site-container {
  position: relative;
  z-index: 1;
}

.section-concerns::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.section-concerns__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--spacing-xl);
}

.section-concerns__title-main {
  display: inline-block;
  font-size: 60px;
  color: var(--color-primary);
  line-height: 1.1;
  font-weight: 800;
  padding: 0 28px 6px;
  background-image: linear-gradient(
    to top,
    rgba(252, 135, 139, 0.65) 0%,
    rgba(252, 135, 139, 0.65) 40%,
    transparent 40%
  );
  background-repeat: no-repeat;
}

.section-concerns__title-sub {
  display: inline-block;
  font-size: 32px;
  color: var(--color-primary);
  line-height: 1.3;
  font-weight: 800;
  padding: 0 24px 4px;
  background-image: linear-gradient(
    to top,
    rgba(252, 135, 139, 0.65) 0%,
    rgba(252, 135, 139, 0.65) 30%,
    transparent 30%
  );
  background-repeat: no-repeat;
}

.section-concerns__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.section-concerns .site-container--wide {
  max-width: 1280px;
}

.section-concerns .site-container {
  max-width: 1280px;
}

.section-concerns__cards-left,
.section-concerns__cards-right {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-concerns__illustration {
  flex: 0 0 560px;
  text-align: center;
}

.section-concerns__illustration-img {
  width: min(100%, 560px);
  max-width: none;
  margin: 0 auto;
}

.concern-card {
  background-color: var(--color-primary);
  color: var(--color-text-on-primary);
  padding: 22px 22px 22px 74px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 700;
  line-height: 1.6;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: left;
  min-height: 96px;
  display: flex;
  align-items: center;
}

.concern-card::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}

.concern-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 24px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42' fill='none'%3E%3Ccircle cx='21' cy='21' r='21' fill='%23ffffff'/%3E%3Cpath d='M12.5 21.3L18.2 27L29.5 15.7' stroke='%23fc878b' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.section-concerns__cards-left .concern-card::before {
  left: 50%;
  top: auto;
  bottom: -14px;
  transform: translateX(-50%);
  border-width: 14px 12px 0 12px;
  border-color: var(--color-primary) transparent transparent transparent;
}

.section-concerns__cards-right .concern-card::before {
  left: 50%;
  top: auto;
  bottom: -14px;
  transform: translateX(-50%);
  border-width: 14px 12px 0 12px;
  border-color: var(--color-primary) transparent transparent transparent;
}

@media (max-width: 768px) {
  .section-concerns {
    padding: var(--spacing-xl) 0;
  }

  .section-concerns__title-main {
    font-size: var(--font-size-4xl);
  }

  .section-concerns__title-sub {
    font-size: var(--font-size-2xl);
  }

  .section-concerns__layout {
    flex-direction: column;
  }

  .section-concerns__cards-left,
  .section-concerns__cards-right {
    flex: none;
    width: 100%;
  }

  .section-concerns__illustration {
    order: -1;
    flex: none;
  }

  .section-concerns__illustration-img {
    width: min(100%, 360px);
  }

  .concern-card {
    padding: 20px 18px 20px 64px;
  }

  .concern-card::after {
    left: 18px;
    width: 32px;
    height: 32px;
  }

  .concern-card::before {
    display: none;
  }
}

/* ==========================================================================
   6. Section: Solutions (解決します！)
   ========================================================================== */

.section-solutions {
  position: relative;
  padding: 164px 0 190px;
  background-color: var(--color-bg-pink);
}

.section-solutions::before {
  inset: 0 0 48px;
  background-position: center top;
  background-size: 340px 156px;
  opacity: 0.58;
}

.section-solutions::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.section-solutions__intro {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.9;
}

.section-solutions__brand {
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  position: relative;
  z-index: 1;
}

.section-solutions__brand-logo-wrap {
  display: inline-block;
  padding: 6px 22px 10px;
  background-image: linear-gradient(
    to top,
    rgba(252, 135, 139, 0.5) 0%,
    rgba(252, 135, 139, 0.5) 40%,
    transparent 40%
  );
  background-repeat: no-repeat;
}

.section-solutions__brand-logo {
  height: 52px;
  width: auto;
  vertical-align: middle;
}

.section-solutions__brand-suffix {
  font-size: var(--font-size-lg);
  color: var(--color-text);
}

.section-solutions__heading {
  text-align: center;
  font-size: 68px;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 76px;
  position: relative;
  z-index: 1;
}

.section-solutions__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 14px;
  position: relative;
  z-index: 1;
}

.solution-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 76px 24px 30px;
  border: 2px solid var(--color-primary);
  text-align: center;
  box-shadow: 0 10px 24px rgba(8, 39, 125, 0.08);
  position: relative;
  min-height: 258px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}

.solution-card__title {
  width: 100%;
  font-size: 22px;
  color: var(--color-accent);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 4px dotted rgba(8, 39, 125, 0.9);
  font-weight: 800;
  line-height: 1.55;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card__text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.85;
  flex: 1;
}

@media (max-width: 768px) {
  .section-solutions {
    padding: var(--spacing-xl) 0;
  }

  .section-solutions__heading {
    font-size: var(--font-size-3xl);
  }

  .section-solutions__cards {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 8px;
  }

  .section-solutions::before {
    display: none;
  }

  .solution-card {
    min-height: auto;
    padding: 72px 24px 28px;
  }

  .solution-card__title {
    min-height: auto;
  }
}

/* ==========================================================================
   7. Section: Plans (プラン診断)
   ========================================================================== */

.section-plans {
  position: relative;
  padding: calc(var(--spacing-3xl) + var(--spacing-xl)) 0
    calc(var(--spacing-3xl) + var(--spacing-xl) + 48px);
  background-color: var(--color-bg-gray);
}

.section-plans::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.section-plans__badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(8, 39, 125, 0.12);
}

.section-plans__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-plans__title {
  display: inline-block;
  position: relative;
  font-size: 52px;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-plans__title::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 10px;
  background-color: rgba(252, 135, 139, 0.45);
  z-index: -1;
}

/* Decision Tree */
.plans-tree {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.plans-tree__branch {
  position: relative;
  text-align: center;
  flex: 1;
  min-width: 360px;
  max-width: 480px;
  padding-bottom: 40px;
}

.plans-tree__branch::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid var(--color-primary);
  transform: translateX(-50%);
}

.plans-tree__question {
  background-color: #eaf0fa;
  border: 2px solid var(--color-primary);
  padding: 22px 28px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 2px 4px rgba(8, 39, 125, 0.08);
}

.plans-tree__arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 28px solid var(--color-primary);
  margin: 0 auto 20px;
}

.plans-tree__sub-question {
  background-color: #eaf0fa;
  border: 2px solid var(--color-primary);
  padding: 22px 28px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 2px 4px rgba(8, 39, 125, 0.08);
}

.plans-tree__branch--accent .plans-tree__question {
  background-color: #eaf0fa;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.plans-tree__branch--accent .plans-tree__sub-question {
  background-color: #eaf0fa;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.plans-tree__branch--accent .plans-tree__arrow {
  border-top-color: var(--color-primary);
}

.plans-tree__options {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.plans-tree__option {
  display: inline-block;
  padding: 8px 26px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.plans-tree__option--no {
  background-color: var(--color-bg-gray);
  color: var(--color-text);
}

.plans-tree__option--yes {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Plan Cards */
.section-plans__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.plan-card {
  --plan-header-bg: var(--color-primary);
  --plan-button-bg: var(--plan-header-bg);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
  min-height: 520px;
}

.plan-card--navy {
  --plan-header-bg: var(--color-primary);
  --plan-button-bg: var(--color-primary);
}

.plan-card--accent {
  --plan-header-bg: var(--color-accent);
  --plan-button-bg: var(--color-accent);
}

.plan-card__header {
  background-color: var(--plan-header-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: var(--color-white);
  display: flex;
  flex: 0 0 30%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  width: 100%;
  min-height: 156px;
  padding: 28px 24px;
}

.plan-card__body {
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  flex: 1 1 70%;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 32px 28px 30px;
}

.plan-card__price-section {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.plan-card__service-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.plan-card__service-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plan-card--accent .plan-card__service-tag {
  background-color: var(--color-accent);
}

.plan-card__cta {
  margin-top: auto;
  padding-top: 8px;
}

.plan-card__label {
  background-color: color-mix(in srgb, var(--color-white) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-white) 32%, transparent);
  border-radius: var(--radius-full);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 18px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.4;
}

.plan-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

.plan-card__price {
  color: var(--color-primary);
  font-size: var(--font-size-5xl);
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px dotted color-mix(in srgb, var(--color-primary) 30%, transparent);
  margin-bottom: 16px;
}

.plan-card__price-unit {
  font-size: var(--font-size-base);
  font-weight: 400;
}

.plan-card__description {
  color: var(--color-primary);
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  flex: 1;
}

.plan-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--plan-button-bg);
  color: var(--color-white);
  min-width: 190px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  box-shadow:
    0 4px 0 rgba(8, 39, 125, 0.28),
    0 10px 18px rgba(8, 39, 125, 0.14);
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}

.plan-card__btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.plan-card__btn-icon {
  font-size: var(--font-size-base);
  line-height: 1;
}

.plan-card--accent .plan-card__btn {
  background-image: linear-gradient(180deg, #ff9f86 0%, var(--color-accent) 56%, #ee765d 100%);
  box-shadow:
    0 4px 0 rgba(217, 107, 92, 0.55),
    0 10px 18px rgba(252, 135, 139, 0.22);
}

.section-plans__notes {
  margin-top: var(--spacing-lg);
  color: var(--color-text-light);
  font-size: var(--font-size-xs);
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 768px) {
  .section-plans {
    padding: var(--spacing-xl) 0;
  }

  .section-plans__cards {
    grid-template-columns: 1fr;
  }

  .section-plans__title {
    font-size: 32px;
  }

  .section-plans__title::after {
    left: 12px;
    right: 12px;
    bottom: 7px;
    height: 8px;
  }

  .plans-tree {
    flex-direction: column;
    align-items: center;
  }

  .plans-tree__branch {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .plan-card {
    min-height: auto;
  }
}

/* ==========================================================================
   8. Section: Schedule (スケジュール)
   ========================================================================== */

.section-schedule {
  position: relative;
  padding: calc(var(--spacing-3xl) + var(--spacing-xl)) 0
    calc(var(--spacing-3xl) + var(--spacing-xl) + 48px);
  background-color: var(--color-bg-pink);
}

.section-schedule::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.section-schedule__title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-schedule__title-text {
  display: inline-block;
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0 20px 4px;
  background-image: linear-gradient(
    to top,
    rgba(252, 135, 139, 0.6) 0%,
    rgba(252, 135, 139, 0.6) 32%,
    transparent 32%
  );
  background-repeat: no-repeat;
}

.section-schedule__timeline {
  --schedule-start: 9%;
  --schedule-three: 36%;
  --schedule-four: 52%;
  --schedule-middle: 72%;
  --schedule-ten: 92%;
  position: relative;
  margin-top: var(--spacing-xl);
  padding: 0 var(--spacing-md);
}

.section-schedule__time-row {
  position: relative;
  height: 52px;
  margin: 0 42px;
}

.section-schedule__time {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.section-schedule__time--start {
  left: var(--schedule-start);
}

.section-schedule__time--three {
  left: var(--schedule-three);
}

.section-schedule__time--four {
  left: var(--schedule-four);
}

.section-schedule__time--middle {
  left: var(--schedule-middle);
}

.section-schedule__time--ten {
  left: var(--schedule-ten);
}

.section-schedule__line {
  position: relative;
  height: 34px;
  margin: 0 42px;
}

.section-schedule__line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-primary);
  transform: translateY(-50%);
}

.section-schedule__dot {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  border: 4px solid var(--color-primary);
  box-shadow: 0 10px 22px rgba(8, 39, 125, 0.18);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.section-schedule__dot::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.section-schedule__dot--start {
  left: var(--schedule-start);
}

.section-schedule__dot--three {
  left: var(--schedule-three);
}

.section-schedule__dot--four {
  left: var(--schedule-four);
}

.section-schedule__dot--middle {
  left: var(--schedule-middle);
}

.section-schedule__dot--ten {
  left: var(--schedule-ten);
}

.section-schedule__events {
  display: grid;
  grid-template-columns: repeat(12, minmax(46px, 1fr));
  align-items: start;
  gap: 14px;
  margin-top: 18px;
  padding: 0 8px;
}

.section-schedule__event {
  justify-self: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--color-primary);
  font-size: var(--font-size-base);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  min-height: 300px;
  max-height: 360px;
}

.section-schedule__event:nth-child(1) {
  grid-column: 1;
}

.section-schedule__event:nth-child(2) {
  grid-column: 2;
}

.section-schedule__event:nth-child(3) {
  grid-column: 3;
}

.section-schedule__event:nth-child(4) {
  grid-column: 4;
}

.section-schedule__event:nth-child(5) {
  grid-column: 5;
}

.section-schedule__event:nth-child(6) {
  grid-column: 6;
}

.section-schedule__event:nth-child(7) {
  grid-column: 7;
}

.section-schedule__event:nth-child(8) {
  grid-column: 8;
}

.section-schedule__event:nth-child(9) {
  grid-column: 9;
}

.section-schedule__event:nth-child(10) {
  grid-column: 10;
}

.section-schedule__event:nth-child(11) {
  grid-column: 11;
}

.section-schedule__event:nth-child(12) {
  grid-column: 12;
}

.section-schedule__event--highlight {
  min-width: 58px;
  padding: 22px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-base);
  box-shadow: var(--shadow-sm);
}

.section-schedule__event--plain {
  background-color: var(--color-white);
  padding: 22px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  min-width: 50px;
  border: 1px solid rgba(8, 39, 125, 0.12);
}

@media (max-width: 768px) {
  .section-schedule {
    padding: var(--spacing-xl) 0;
  }

  .section-schedule__timeline {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-xl);
  }

  .section-schedule__time-row,
  .section-schedule__line {
    display: none;
  }

  .section-schedule__events {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: 0;
    padding: 0;
  }

  .section-schedule__event {
    width: 100%;
    min-height: auto;
    max-height: none;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
    writing-mode: horizontal-tb;
    text-align: left;
  }
}

/* ==========================================================================
   9. Section: Testimonials (お客様の声)
   ========================================================================== */

.section-testimonials {
  padding: calc(var(--spacing-3xl) + var(--spacing-xl)) 0
    calc(var(--spacing-3xl) + var(--spacing-xl) + 48px);
  background-color: #c9ddec;
  position: relative;
}

.section-testimonials::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.section-testimonials__title-wrap {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-testimonials__title {
  display: inline-block;
  padding: 12px 52px;
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: var(--font-size-4xl);
  font-weight: 700;
}

.section-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: var(--spacing-xl);
}

.testimonial-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  text-align: left;
}

.testimonial-card__avatar {
  width: 64px;
  height: 64px;
  background-color: var(--color-bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__avatar-icon {
  font-size: 42px;
  line-height: 1;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.testimonial-card__location {
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.testimonial-card__profile {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

.testimonial-card__concern {
  order: 1;
  display: inline-flex;
  align-self: flex-start;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  margin-top: 6px;
}

.testimonial-card__body {
  font-size: var(--font-size-base);
  line-height: 1.85;
  color: var(--color-text);
  text-align: left;
}

@media (max-width: 768px) {
  .section-testimonials {
    padding: var(--spacing-xl) 0;
  }

  .section-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. Section: Process (流れ)
   ========================================================================== */

.section-process {
  padding: calc(var(--spacing-3xl) + var(--spacing-xl)) 0
    calc(var(--spacing-3xl) + var(--spacing-xl) + 48px);
  background-color: var(--color-bg-gray);
  position: relative;
}

.section-process::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.section-process__title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-process__title-text {
  display: inline-block;
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0 20px 4px;
  background-image: linear-gradient(
    to top,
    rgba(252, 135, 139, 0.6) 0%,
    rgba(252, 135, 139, 0.6) 32%,
    transparent 32%
  );
  background-repeat: no-repeat;
}

.section-process .site-container {
  max-width: 1180px;
}

.section-process__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  margin-top: var(--spacing-lg);
  margin-left: auto;
  margin-right: auto;
}

.process-item {
  flex: 0 0 136px;
  min-width: 0;
  background: linear-gradient(to bottom, #eef3ff 0 104px, var(--color-white) 104px 100%);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 18px 12px 24px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
  gap: 18px;
}

.process-step__number {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 72px;
  padding: 10px 18px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f3a8d 0%, var(--color-primary) 100%);
  box-shadow: 0 10px 20px rgba(8, 39, 125, 0.18);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: 0.03em;
}

.process-step__number::before {
  content: 'STEP';
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.process-step__title {
  font-size: var(--font-size-lg);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  overflow-wrap: anywhere;
  flex: 1;
}

.process-step__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
}

.section-process__tagline {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .section-process {
    padding: var(--spacing-xl) 0;
  }

  .section-process__steps {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    gap: 14px;
  }

  .process-item {
    flex: 0 0 92px;
    min-height: 320px;
    background: linear-gradient(
      to bottom,
      #eef3ff 0 88px,
      var(--color-white) 88px 100%
    );
    gap: 14px;
    padding: 14px 8px 18px;
  }

  .process-step__number {
    min-width: 68px;
    min-height: 60px;
    padding: 8px 10px 10px;
    font-size: 22px;
  }

  .process-step__number::before {
    font-size: 10px;
    margin-bottom: 6px;
  }
}

/* ==========================================================================
   11. Section: Message (代表メッセージ)
   ========================================================================== */

.section-message {
  position: relative;
  padding: calc(var(--spacing-3xl) + var(--spacing-xl)) 0
    calc(var(--spacing-3xl) + var(--spacing-xl) + 48px);
  background-color: #fdebed;
}

.section-message::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 40px solid #f9d4d8;
  transform: translateX(-50%);
  z-index: 1;
}

.section-message::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background-color: transparent;
  clip-path: polygon(0 0, 46% 0, 50% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.section-message > .site-container {
  position: relative;
  z-index: 2;
}

.section-message__title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-message__title-text {
  display: inline-block;
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0 20px 4px;
  background-image: linear-gradient(
    to top,
    rgba(252, 135, 139, 0.6) 0%,
    rgba(252, 135, 139, 0.6) 32%,
    transparent 32%
  );
  background-repeat: no-repeat;
}

.section-message__inner {
  display: flex;
  gap: 76px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
}

.section-message__profile {
  flex: 0 0 260px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-message__photo-wrapper {
  margin-bottom: 22px;
}

.section-message__profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-message__photo {
  width: 240px;
  aspect-ratio: 4 / 5;
  background-color: #ddd;
  border-radius: var(--radius-lg);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  overflow: hidden;
}

.section-message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-message__logo {
  display: block;
  height: 34px;
  margin: 0 0 12px;
}

.section-message__name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--font-size-base);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-message__license {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.section-message__office {
  font-size: 18px;
}

.section-message__person {
  font-size: 30px;
  font-weight: 800;
}

.section-message__credentials {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.8;
}

.section-message__content {
  flex: 1;
  max-width: 720px;
  position: relative;
}

.section-message__bubble {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-message__bubble::before {
  content: none;
}

.section-message__highlight {
  font-size: 30px;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 28px;
}

.section-message__text {
  font-size: var(--font-size-base);
  line-height: 2;
  color: var(--color-text);
}

.section-message__text p {
  margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
  .section-message__inner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .section-message__profile {
    flex: none;
    text-align: center;
    align-items: center;
  }

  .section-message__photo-wrapper {
    margin-bottom: 16px;
  }

  .section-message__profile-info {
    align-items: center;
  }

  .section-message__photo {
    width: 200px;
    margin: 0 auto;
  }

  .section-message__content {
    width: 100%;
    max-width: 100%;
  }

  .section-message__bubble {
    padding: 0;
  }

  .section-message__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .section-message__highlight {
    font-size: var(--font-size-xl);
  }
}

/* ==========================================================================
   12. Section: Footer
   ========================================================================== */

.section-footer {
  background-color: #08277d;
  color: var(--color-white);
  padding: 120px 0 0;
}

.section-footer__inner {
  display: flex;
  gap: 96px;
  align-items: center;
  padding-bottom: 84px;
}

.section-footer__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-footer__logo {
  width: min(100%, 320px);
  height: auto;
  max-height: none;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.section-footer__name {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-white);
}

.section-footer__subtitle {
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.88);
}

.section-footer__address {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
}

.section-footer__access {
  margin-top: var(--spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.section-footer__access-item {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-footer__map {
  flex: 0 0 540px;
  height: 340px;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ddd;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.section-footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-footer__copyright {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 22px 0;
  font-size: var(--font-size-xs);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .section-footer {
    padding-top: 72px;
  }

  .section-footer__inner {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 56px;
  }

  .section-footer__map {
    flex: none;
    width: 100%;
    height: 200px;
  }
}
