/* 基本設定 */
:root {
  --main-color: #ff6699;
  --accent-color: #a67c52;
  --text-color: #333333;
  --light-color: #f8f8f8;
  --dark-color: #222222;
  --border-color: #dddddd;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* レスポンシブ変数 */
  --container-padding: clamp(1rem, 5vw, 3rem);
  --heading-large: clamp(1.8rem, 5vw, 3rem);
  --heading-medium: clamp(1.4rem, 4vw, 2.2rem);
  --text-base: clamp(1rem, 2vw, 1.1rem);
  --text-small: clamp(0.875rem, 1.5vw, 1rem);
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 2vw, 1.5rem);
  --space-md: clamp(1.5rem, 3vw, 2.5rem);
  --space-lg: clamp(2rem, 5vw, 4rem);
  --space-xl: clamp(3rem, 8vw, 6rem);

  /* iOS Safari 100vh バグ対策 */
  --vh: 1vh;
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: var(--text-base);
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

/* ユーティリティクラス */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--light-color);
}

.bg-dark {
  background-color: var(--dark-color);
  color: white;
}

.bg-marble {
  background-color: #f5f5f5;
  background-image: url("https://images.unsplash.com/photo-1517857399767-a9a54d67c546?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

.bg-marble::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.bg-marble .container {
  position: relative;
  z-index: 2;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ボタン */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.5rem;
  background-color: var(--main-color);
  color: white;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e05c8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--main-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--main-color);
  font-weight: 700;
  transition: var(--transition);
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
}

.btn-text:hover,
.btn-text:focus {
  color: #e05c8a;
}

.arrow-right {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.btn-text:hover .arrow-right,
.btn-text:focus .arrow-right {
  transform: translateX(4px);
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

.logo {
  z-index: 99;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

/* ナビゲーション */
.nav {
  transition: var(--transition);
  z-index: 100;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  margin: 0 1rem;
}

.nav-item a {
  position: relative;
  padding: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-item a:hover::after,
.nav-item a:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  margin-left: 1rem;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

.overlay.active {
  display: block;
}

/* 閉じるボタン */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 102;
}

.close-menu::before,
.close-menu::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #333;
}

.close-menu::before {
  transform: rotate(45deg);
}

.close-menu::after {
  transform: rotate(-45deg);
}

/* セクション共通 */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}
.section-title2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: #ff6699;
  position: relative;
}

.section-title .en {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: var(--heading-large);
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.section-title .ja {
  display: block;
  font-size: 1em;
  font-weight: 500;
}

.section-subtitle {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  position: relative;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヒーローセクション */
.hero {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
  margin-top: 0;
  padding-top: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bg-layer.visible {
  opacity: 1;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-logo {
  margin-bottom: var(--space-md);
}

.hero-logo img {
  max-width: min(280px, 70%);
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem; /* 好きなサイズに変更 */
  font-weight: 600;  /* 少しやわらかい太さに調整 */
  line-height: 1.5;
  color: #fff;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.hero-subtitle {
  font-family: 'Noto Sans JP', sans-serif; 
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  margin-bottom: var(--space-md);
}

/* START: Added styles for new hero elements */
.hero-top-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.hero-top-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ff6699;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-arrow {
    font-size: 2.5rem;
    color: #ff6699; /* A strong red color */
    line-height: 1;
    margin: 0rem 0 0.5rem;
    font-weight: bold;
}

.hero-logo {
    margin-top: 0.5rem; /* Add margin-top to space it from the arrow */
}
/* END: Added styles for new hero elements */

.scroll-indicator {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    background: #FFF;
    border: solid 3px #333;/*線*/
    border-radius: 10px;/*角の丸み*/
}

.box2 p {
    margin: 0; 
    padding: 0;
}

.flex {
    display: flex; /*横並び*/
    align-items: center; /* 垂直方向の中央揃え */
    flex-wrap: nowrap; /* 折り返しなし */
}

.flex .image {
    width: auto; /* 画像の実際のサイズを優先 */
    max-width: 10%; /* 最大幅を設定 */
    min-width: 5%; /* 最小幅を設定 */
    margin: 0; /* 右側のマージンだけ設定 */
    padding: 0;
    flex-shrink: 0; /* 画像のサイズを縮小しない */
}

.flex h2 {
    margin: 0;
    padding: 3%;
    color: #e05c8a;
    flex-grow: 1; /* 残りのスペースを文字が占める */
}

/* スマートフォン向けの調整 */
@media screen and (max-width: 480px) {
    .flex .image {
        max-width: 8%; /* スマホでは画像をやや小さく */
        min-width: 6%;
    }
}


/* ママの想いフローチャート */
.mama-journey {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.journey-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.journey-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: var(--space-md);
    padding-left: 60px; /* アイコンの幅と合わせる */
    position: relative;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 0.5rem;
}

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.step-icon .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), #e05c8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(255, 102, 153, 0.3);
}

.step-content {
   margin: 0px auto;
}

.step-content h4 {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.step-content strong {
  font-size: 1.1rem;
    color: var(--main-color);
    font-weight: 700;
}

/* レスポンシブ対応 */
@media screen and (max-width: 480px) {
    .journey-heading {
        font-size: 1.5rem;
        padding-left: 0;
        text-align: center;
    }
    
    .journey-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-icon {
        margin-bottom: var(--space-sm);
    }
}

.journey-arrow {
    display: flex;
    justify-content: center;
    margin: var(--space-md) 0;
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.step-highlight {
    background: linear-gradient(135deg, #fff, #fef7f0);
    border: 2px solid var(--main-color);
    border-radius: 12px;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    position: relative;
}

.step-highlight::before {
    position: absolute;
    top: -15px;
    left: 20px;
    background: white;
    padding: 0 10px;
    font-size: 1.5em;
}

.highlight-content h4 {
    text-align: center;
    font-size: var(--heading-medium);
    color: var(--main-color);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.mama-wishes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-sm);
}

.wish-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.wish-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wish-text {
  font-size: 0.8em;
  margin: 0px auto;
}


.wish-icon {
    font-size: 1.5em;
    flex-shrink: 0;
    width: 12%;
}

.solution-box {
  background: linear-gradient(135deg, var(--main-color), #e05c8a);
  color: white;
  padding: var(--space-lg);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255, 102, 153, 0.3);
}

.solution-content-a{
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.brand-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.brand-name {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  background: linear-gradient(45deg, #fff, #ffe6f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  line-height: 1.2;
}

.reading-guide {
  font-size: calc(var(--text-base) * 0.85);
  opacity: 0.9;
  margin-top: 0.1rem;
  margin-bottom: 0.5em;
  letter-spacing: 0.05em;
  line-height: 1;
}

.reading-guide::before {
  content: "（";
  margin-right: 0.1em;
}

.reading-guide::after {
  content: "）";
  margin-left: 0.1em;
}
/* 特徴カード */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.feature-card {
    background: white;
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--main-color);
}

.feature-card h5 {
    font-size: 1.1em;
    color: var(--main-color);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}


.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .journey-step {
        flex-direction: column;
        text-align: center;
    }
    
    .mama-wishes {
        grid-template-columns: 1fr;
    }
    
    .brand-highlight {
        gap: var(--space-sm);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-content {
        text-align: center;
    }
}

/* コンセプトセクション */
.concept-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-base);
}

.concept-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.concept-point {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.point-icon {
  display: flex;
  justify-content: center;
  margin: var(--space-md) 0;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.point-content {
  padding: 0 var(--space-md) var(--space-md);
  flex-grow: 1;
}

.point-content h3 {
  font-size: var(--heading-medium);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.point-content p {
  text-align: center;
}

.point-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.point-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.concept-point:hover .point-image img {
  transform: scale(1.05);
}

/* 価格セクション */
.price-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.price-box {
  background-color: white;
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-lg);
}

.price-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.price-header h3 {
  font-size: var(--heading-medium);
  margin-bottom: var(--space-xs);
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.price-number {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--main-color);
  line-height: 1;
}

.price-unit {
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  margin-left: 0.5rem;
}

.price-tax {
  font-size: var(--text-small);
  margin-left: 0.5rem;
}

.price-monthly {
  text-align: center;
  font-size: var(--text-base);
  background-color: #f8f8f8;
  padding: var(--space-sm);
  border-radius: 4px;
}

.highlight {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--main-color);
}

.price-note {
  font-size: var(--text-small);
  margin-top: 0.5rem;
  opacity: 0.8;
}

.spec-list {
  background-color: white;
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-lg);
}

.spec-title {
  text-align: center;
  font-size: var(--heading-medium);
  margin-bottom: var(--space-md);
}

.spec-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.spec-items li {
  font-size: 1.1em;
  position: relative;
  padding-left: 1.5rem;
}

.spec-items li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--main-color);
  border-radius: 50%;
}

.support-info {
  text-align: center;
}

.support-info p {
  margin-bottom: var(--space-sm);
}

/* 間取りセクション専用のスタイル */
.floorplan-section {
  background-color: #f8f8f8; /* bg-lightの代わりに直接指定 */
}

.floorplan-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-base);
}

.floorplan-area-info {
  text-align: center;
  margin-bottom: var(--space-lg);
}



.floorplan-area-chart {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floorplan-tabs {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.floorplan-tab-buttons {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.floorplan-tab-button {
  flex: 1;
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.floorplan-tab-button.active {
  color: var(--main-color);
  background: white;
}

.floorplan-tab-button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--main-color);
}

.floorplan-tab-button:hover:not(.active) {
  background: #f1f3f4;
}

.floorplan-tab-content {
  position: relative;
}

.floorplan-tab-panel {
  display: none;
  padding: var(--space-lg);
}

.floorplan-tab-panel.active {
  display: block;
}

.floorplan-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.floorplan-image {
  display: flex;
  justify-content: center;
}

.floorplan-img {
  max-width: 115%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.floorplan-features h3 {
  font-size: var(--heading-medium);
  color: var(--main-color);
  margin-bottom: var(--space-md);
  text-align: center;
}

.floorplan-feature-list {
  display: grid;
  gap: var(--space-sm);
}

.floorplan-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: #f8f9fa;
  border-radius: 8px;
  transition: var(--transition);
}

.floorplan-feature-list li:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.floorplan-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floorplan-feature-text {
  flex: 1;
}

.floorplan-feature-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--main-color);
  margin-bottom: 0.25rem;
}

.floorplan-feature-text p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.floorplan-cta {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.floorplan-cta p {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--text-color);
}

/* デザインセクション */
.design-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.design-gallery {
  margin-bottom: var(--space-lg);
}

.design-gallery .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.design-gallery .gallery-item {
  position: relative;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
}

.design-gallery .gallery-item.large {
  height: 350px;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-sm);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  transition: var(--transition);
}

.gallery-caption h3 {
  font-size: var(---heading-medium);
  margin-bottom: 0.5rem;
}

.gallery-caption p {
  font-size: var(--text-small);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption p,
.gallery-item:focus .gallery-caption p {
  opacity: 1;
  max-height: 100px;
}

/* CTAセクション */
.cta-section {
            position: relative;
            background: linear-gradient(135deg, #ff6699 0%, #ff8fab 50%, #ffb3c6 100%);
            overflow: hidden;
            min-height: 80vh;
            display: flex;
            align-items: center;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="0.8" fill="rgba(255,255,255,0.12)"/><circle cx="10" cy="60" r="1.2" fill="rgba(255,255,255,0.09)"/><circle cx="90" cy="30" r="0.9" fill="rgba(255,255,255,0.11)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            animation: float 20s ease-in-out infinite;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 30s linear infinite;
            pointer-events: none;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .cta-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            color: white;
        }

        .cta-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            padding: 0.5em 1.5em;
            font-size: 1em;
            font-weight: 500;
            margin-bottom: var(--space-md);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .cta-title {
            font-size: 1.9em;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: var(--space-md);
            background: linear-gradient(45deg, #fff, #ffe6f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-subtitle {
            font-size: 1em;
            margin-bottom: var(--space-lg);
            opacity: 0.95;
            font-weight: 500;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .cta-buttons-container {
            position: relative;
            margin-bottom: var(--space-lg);
        }

        .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: var(--space-md);
            align-items: center;
        }

        .btn-primary-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1.2rem 3rem;
            background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
            color: var(--main-color);
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 280px;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .btn-primary-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s ease;
        }

        .btn-primary-cta:hover::before {
            left: 100%;
        }

        .btn-primary-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
            background: linear-gradient(135deg, #fff 0%, #fff 100%);
        }

        

       

        /* 装飾的な要素 */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-element {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: floatUpDown 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 60px;
            height: 60px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 40px;
            height: 40px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 80px;
            height: 80px;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes floatUpDown {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(180deg); }
        }

        /* レスポンシブ対応 */
        @media (min-width: 768px) {
            .cta-buttons {
                flex-direction: row;
                justify-content: center;
            }
            
            .cta-features {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 767px) {
            .cta-section {
                min-height: 70vh;
            }
            
            .btn-primary-cta,
            .btn-secondary-cta {
                min-width: 100%;
                max-width: 300px;
            }
            
            .cta-features {
                grid-template-columns: 1fr;
            }
        }

/* 無料相談モーダル */
.consultation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.consultation-modal.active {
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  padding: 2rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.close-modal:hover {
  background-color: #f5f5f5;
}

.close-modal svg {
  width: 20px;
  height: 20px;
  stroke: #666;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.3em;
  color: var(--main-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.modal-header p {
  color: #666;
  line-height: 1.6;
}

.reservation-section {
  margin-bottom: 1.5rem;
}

.reservation-option {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.option-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.phone-info {
  text-align: center;
}

.phone-number {
  margin-bottom: 0.5rem;
}

.tel-label {
  font-size: 1rem;
  margin-right: 0.5rem;
}

.tel-number {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.business-hours {
  font-size: 0.9rem;
  opacity: 0.9;
}

.form-option-button {
  text-align: center;
}

.btn-form-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-form-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header p {
  color: #666;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.consultation-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.required {
  background: #dc2626;
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(255, 102, 153, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-back {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-back:hover {
  background: #e5e7eb;
}

.btn-submit {
  flex: 2;
  padding: 0.75rem 1.5rem;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #e05c8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 102, 153, 0.3);
}

/* フッター */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.footer-info {
  max-width: 400px;
  margin-bottom: var(--space-md);
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-address {
  margin-bottom: var(--space-sm);
  font-style: normal;
}

.footer-tel {
  margin-bottom: var(--space-sm);
}

.footer-links {
  margin-bottom: var(--space-md);
}

.youtube img{
  width:30%;
  list-style:none;
/*デフォルトの指定解除*/
  float:left;
  margin-top: 15px;
  margin-right:30px;/*余白を指定*/
}
.instagram img{
  width:15%;
  list-style:none;
/*デフォルトの指定解除*/
  float:left;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  opacity: 0.8;
  transition: var(--transition);
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-nav a:hover,
.footer-nav a:focus {
  opacity: 1;
  color: var(--main-color);
}

.footer-copyright {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-small);
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  .concept-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .spec-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-main {
    height: 400px;
  }

  .gallery-item {
    height: 200px;
  }

  .design-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .design-gallery .gallery-item.large {
    grid-column: span 2;
  }

  .form-buttons {
    flex-direction: row;
  }

  .floorplan-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .madreporian-features {
    grid-template-columns: repeat(4, 1fr);
  }

  .design-gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-main {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    height: 60px;
  }

  .logo img {
    height: 40px;
  }

  /* モバイルメニュー表示 */
  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 100;
    overflow-y: auto;
    padding-top: 80px;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .nav-item {
    margin: 10px 0;
    width: 100%;
  }

  .nav-item a {
    display: block;
    padding: 10px 0;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    margin-left: 0;
    margin: 10px 0;
  }

  /* 閉じるボタンをモバイルでのみ表示 */
  .close-menu {
    display: flex;
  }

  /* メニューが開いている時はハンバーガーボタンを非表示 */
  .menu-toggle.active {
    opacity: 0;
    pointer-events: none;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    margin-bottom: var(--space-md);
  }

  .hero-logo img {
    max-width: min(220px, 60%);
  }

  .concept-text,
  .price-intro,
  .madreporian-intro,
  .design-intro,
  .floorplan-intro {
    text-align: left;
  }

  .price-box,
  .spec-list,
  .feature-item {
    padding: var(--space-sm);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-info {
    max-width: 100%;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
    max-height: 95vh;
  }

  .form-buttons {
    flex-direction: column;
  }

  .btn-back,
  .btn-submit {
    flex: none;
  }

  .floorplan-container {
    grid-template-columns: 1fr;
  }

  .floorplan-tab-button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}