/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.sub-catch {
    font-size: 1.5rem;
    color: #666;
}

.mandara-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('images/mandara-bg.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

/* 導入説明セクション */
.intro-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

/* インタラクティブ曼荼羅図セクション */
.interactive-mandara-section {
    padding: 4rem 0;
}

.mandara-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.mandara-diagram {
    width: 100%;
    height: 100%;
}

/* 4要素説明セクション */
.elements-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.element-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.element-card:hover {
    box-shadow: 0 8px 24px rgba(80,120,200,0.13);
    transform: translateY(-6px) scale(1.03);
    border: 2px solid #ffd93d;
}

.element-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.element-card p {
    font-size: 1.05rem;
    color: #666;
}

/* 4要素カード タイトルの縦並び・中央寄せ */
.element-info h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.jp-bold, .en-bold {
    font-weight: bold;
    display: block;
    text-align: center;
}
.jp-bold {
    font-size: 1.1em;
    margin-bottom: 0.2em;
}
.en-bold {
    font-size: 0.95em;
    color: #333;
}
.element-info p {
    text-align: center;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0 auto;
    max-width: 90%;
}

@media (max-width: 768px) {
  .element-info h3 {
    font-size: 1.1rem;
  }
  .element-info p {
    font-size: 0.98rem;
    max-width: 100%;
  }
}

/* 重なり領域セクション */
.overlap-section {
    padding: 4rem 0;
}

.overlap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.overlap-card {
    position: relative;
    overflow: hidden;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.overlap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #357abd);
}

.overlap-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.overlap-card p {
    color: #666;
}

/* 3つ以上の重なりのカード */
.overlap-card[id^="yarigai"],
.overlap-card[id^="hatarakigai"],
.overlap-card[id^="sonzaigi"],
.overlap-card[id^="ikigai"] {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

/* 生きがいカードの特別なスタイル */
.overlap-card[id="ikigai"] {
    background: linear-gradient(135deg, #ffffff, #e8f4ff);
    border: 2px solid #4a90e2;
}

.overlap-card[id="ikigai"]::before {
    height: 6px;
    background: linear-gradient(90deg, #4a90e2, #357abd, #4a90e2);
}

/* 締め・導入誘導セクション */
.cta-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #357abd;
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .sub-catch {
        font-size: 1.2rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .elements-grid,
    .overlap-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* 曼荼羅図のラベル */
.mandara-label {
    font-size: 12px;
    fill: #333;
    font-weight: bold;
    pointer-events: none;
}

.mandara-circle {
    cursor: pointer;
    transition: fill 0.3s ease;
}

.mandara-circle:hover {
    fill-opacity: 0.8;
}

/* 導入メッセージセクション */
.intro-message-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.intro-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.intro-message p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.intro-questions {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.intro-questions p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

/* 重なりカードの説明文 */
.card-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    text-align: left;
}

.card-description p {
    margin-bottom: 0.5rem;
}

/* クロージングメッセージセクション */
.closing-message-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.closing-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.closing-message p {
    font-size: 1.08rem;
    line-height: 2.1;
    color: #444;
    margin-bottom: 1.5em;
}

/* 既存のスタイルを調整 */
.overlap-card {
    padding: 2rem;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.overlap-card h3 {
    margin-bottom: 0.5rem;
}

.overlap-card > p {
    margin-bottom: 1rem;
}

/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
    .intro-message p,
    .closing-message p {
        font-size: 0.98rem;
        line-height: 1.9;
    }

    .intro-questions p {
        font-size: 1.1rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .overlap-card {
        min-height: 180px;
    }
}

/* 2つの重なりゾーン アニメーション・装飾 */
.overlap2-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 16px;
}

.overlap2-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overlap2-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

.overlap2-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlap2-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    letter-spacing: 0.04em;
}

.overlap2-elements {
    display: flex;
    align-items: center;
    gap: 8px;
}

.element-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.element-circle.love { background: rgba(255, 217, 61, 0.7); }  /* 黄色（好きなこと） */
.element-circle.skill { background: rgba(255, 159, 64, 0.7); }  /* オレンジ（得意なこと） */
.element-circle.money { background: rgba(144, 238, 144, 0.7); }  /* 黄緑（稼げること） */
.element-circle.help { background: rgba(135, 206, 235, 0.7); }  /* 水色（誰かの役に立つこと） */

.element-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #666;
}

.overlap2-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: #666;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .overlap2-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 12px;
    }
    
    .overlap2-item {
        padding: 20px;
    }
    
    .overlap2-title {
        font-size: 1.1rem;
    }
    
    .element-text {
        font-size: 0.9rem;
    }
    
    .overlap2-desc {
        font-size: 0.9rem;
    }
}

/* fade-in-up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.7s cubic-bezier(.23,1.02,.32,1) forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-hint {
    font-size: 0.98rem;
    color: #ff6b6b;
    margin-bottom: 0.7em;
    text-align: center;
    font-weight: 500;
}

.card-elements {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.2em;
    font-size: 0.95rem;
    gap: 0.5em;
    flex-wrap: wrap;
}
.elements-label {
    color: #aaa;
    font-size: 0.92em;
}
.elements-names {
    color: #333;
    font-weight: 500;
}
.elements-svg {
    margin-left: 0.3em;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
  .overlap2-grid {
    grid-template-columns: 1fr;
  }
  .overlap-card {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

/* ボール画像アニメーション・サイズ */
.element-ball {
    width: 56px;
    height: 56px;
    margin-bottom: 0.7em;
    opacity: 0;
    transform: scale(0.7);
    animation: scaleInBall 0.7s cubic-bezier(.23,1.02,.32,1) forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes scaleInBall {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.element-hint {
    font-size: 0.95rem;
    color: #ff6b6b;
    margin-bottom: 0.5em;
    text-align: center;
    font-weight: 500;
}

/* ヒーローセクション（グラデーション＋テキストアニメ） */
.hero-section.hero-gradient {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e3f6fd 0%, #b3e0f7 60%, #fff 100%);
  position: relative;
  padding: 6vw 0 5vw 0;
}
.hero-texts {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6em;
  padding: 0 1.5em;
}
.hero-line {
  opacity: 0;
  transform: translateY(40px);
  font-size: 1.35rem;
  color: #234;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.01em;
  animation: heroFadeInUp 1.1s cubic-bezier(.23,1.02,.32,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .hero-section.hero-gradient {
    min-height: 48vh;
    padding: 12vw 0 8vw 0;
  }
  .hero-texts {
    max-width: 98vw;
    gap: 1.2em;
    padding: 0 0.5em;
  }
  .hero-line {
    font-size: 1.05rem;
    line-height: 1.8;
  }
}

/* ヒーローセクション（100vh・中央・グラデ/画像） */
.hero-section.hero-visual {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #e3f6fd 0%, #b3e0f7 60%, #fff 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #234;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}
.hero-subcatch {
  font-size: 1.2rem;
  color: #234;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* 導入メッセージセクション */
.intro-message-hero {
  background: #fff;
  padding: 3.5em 0 2.5em 0;
}
.intro-message-block {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8em;
}
.intro-fade {
  font-size: 1.25rem;
  color: #234;
  text-align: center;
  line-height: 1.8;
  font-weight: 500;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.23,1.02,.32,1) forwards;
  animation-delay: var(--delay, 0s);
}
@media (max-width: 600px) {
  .hero-section.hero-visual {
    min-height: 80vh;
    height: 80vh;
    padding: 10vw 0 8vw 0;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-subcatch {
    font-size: 1.05rem;
  }
  .intro-message-block {
    max-width: 98vw;
    gap: 1.1em;
  }
  .intro-fade {
    font-size: 1.05rem;
    line-height: 1.8;
  }
}

/* 4要素 画像＋テキスト横並び・縦積み */
.elements-media-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.elements-media-list {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.elements-row-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.element-media-block {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #fff;
    border-radius: 24px;
    padding: 24px 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 720px;
    max-width: 95vw;
    margin: 0 auto;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.element-media-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.element-media-img-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.element-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.element-media-text {
    flex-grow: 1;
}

.element-media-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.element-media-en {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-left: 0.5rem;
}

.element-media-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 700px) {
  .elements-row-layout {
    gap: 1.5rem;
  }
  .element-media-block {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 24px;
    width: 90vw;
  }
  .element-media-img-wrap {
    width: 80px;
    height: 80px;
  }
  .element-media-title {
    font-size: 1.3rem;
  }
  .element-media-en {
    display: block;
    font-size: 0.9rem;
    margin-left: 0;
    margin-top: 4px;
  }
  .element-media-desc {
    font-size: 0.95rem;
  }
}

/* mandara図導入ブロック */
.mandara-intro-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3em 0 2.5em 0;
  gap: 2.2em;
}
.mandara-intro-text {
  text-align: center;
  font-size: 1.18rem;
  color: #234;
  line-height: 2.0;
  font-weight: 500;
  margin-bottom: 0.5em;
}
.mandara-intro-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
.mandara-intro-img {
  width: 100%;
  max-width: 700px;
  min-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
}
@media (max-width: 900px) {
  .mandara-intro-img {
    max-width: 500px;
  }
}
@media (max-width: 600px) {
  .mandara-intro-block {
    margin: 2em 0 1.5em 0;
    gap: 1.2em;
  }
  .mandara-intro-text {
    font-size: 1.03rem;
    line-height: 1.8;
  }
  .mandara-intro-img {
    max-width: 98vw;
    min-width: 0;
  }
}

/* 2つの重なりゾーン 4カード個別背景色 */
.overlap-true-self {
  background: #fff7f7;
}
.overlap-talent {
  background: #f7fcfa;
}
.overlap-ricework {
  background: #fdfbe9;
}
.overlap-connection {
  background: #f6f7fd;
}
.overlap2-grid .overlap-card {
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s, background 0.3s;
}
.overlap2-grid .overlap-card:hover {
  box-shadow: 0 12px 32px rgba(80,120,200,0.16);
  transform: translateY(-8px) scale(1.035);
  border: 2px solid #ffd93d;
  z-index: 2;
}
.card-hint {
  font-size: 1.13rem;
  font-weight: 700;
  font-style: italic;
  color: #ff6b6b;
  margin-bottom: 1.1em;
  text-align: center;
}
.overlap-info .jp-bold {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}
.overlap-info .en-bold {
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.overlap-info p {
  line-height: 2;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 0;
}
.card-elements {
  margin-top: 1.2em;
  font-size: 1.02rem;
}
.card-elements .elements-label {
  color: #aaa;
  font-size: 0.98em;
}
.card-elements .elements-names {
  color: #333;
  font-weight: 600;
  margin-left: 0.2em;
}
@media (max-width: 768px) {
  .overlap2-grid .overlap-card {
    margin-bottom: 2.2em;
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
}

/* 4価値ブロック横並びリスト用スタイル */
.overlap2-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.overlap2-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.overlap2-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.overlap2-left {
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.overlap2-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.3em;
  letter-spacing: 0.04em;
}
.overlap2-elements {
  font-size: 1rem;
  color: #888;
  font-weight: 500;
}
.overlap2-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: #666;
  max-width: 480px;
  margin-left: 32px;
}

@media (max-width: 700px) {
  .overlap2-item {
    flex-direction: column;
    padding: 18px 12px;
  }
  .overlap2-desc {
    margin-left: 0;
    margin-top: 12px;
    max-width: 100%;
  }
  .overlap2-left {
    min-width: 0;
  }
  .overlap2-list {
    gap: 18px;
  }
}

/* 3つの重なりゾーン用スタイル */
.overlap3-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.overlap3-card {
  background: rgba(255, 255, 255, 0.4);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.overlap3-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.overlap3-header {
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.overlap3-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.overlap3-subtitle {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.overlap3-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .overlap3-list {
    gap: 1.25rem;
    padding: 0.5rem;
  }
  
  .overlap3-card {
    padding: 1rem;
  }
  
  .overlap3-header h3 {
    font-size: 1.15rem;
  }
  
  .overlap3-subtitle {
    font-size: 0.85rem;
  }
  
  .overlap3-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

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

.hero-container {
  margin: 0 auto;
  max-width: 700px;
  padding: 2.5rem 1rem 2rem 1rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.hero-underline {
  width: 60px;
  height: 4px;
  background: #f4a259;
  margin: 0 auto 1.5rem auto;
  border-radius: 2px;
}

.hero-lead {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.4rem;
  }
  .hero-container {
    padding: 1.5rem 0.5rem 1.2rem 0.5rem;
  }
  .hero-lead, .hero-desc {
    font-size: 0.97rem;
  }
}

.ikigai-center-card.center-text {
  text-align: center;
}
.ikigai-center-description {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  margin-bottom: 0;
}
.ikigai-center-ball {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 90px;
}
.ikigai-center-card.center-text h2 {
  margin-bottom: 1.2rem;
}

.overlap2-section {
  padding: 3.5rem 0;
}

.mandara-bg-section {
  position: relative;
  overflow: hidden;
}

.mandara-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/ikigai-ring.png') no-repeat center center / contain;
  opacity: 1;
  z-index: 0;
  transition: opacity 0.3s;
}

.mandara-bg-section .container {
  position: relative;
  z-index: 2;
}
.mandara-bg-section .ikigai-center-card {
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2.2rem 1.5rem;
  margin: 0 auto;
  max-width: 600px;
}
.mandara-bg-section .ikigai-center-description,
.mandara-bg-section .ikigai-center-card h2 {
  text-shadow: 0 1px 6px rgba(255,255,255,0.7), 0 1px 2px rgba(0,0,0,0.08);
}
@media (max-width: 700px) {
  .mandara-bg-section::before {
    opacity: 0.15;
    background-size: 180%;
    background-position: center 30%;
  }

  .mandara-bg-section .ikigai-center-card {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

.ikigai-center-section {
  min-height: 80vh;
  padding: 60px 0 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top 35%;
  display: flex;
  align-items: center;
}
.ikigai-center-section .container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.ikigai-center-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.ikigai-center-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #FF6B35 0%, #FF9F1C 100%);
  margin: 20px auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.ikigai-center-section .content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 800px;
  background: rgba(255,255,255,0.85);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(255, 159, 28, 0.18), 0 0 0 2px #fff6f0;
  padding: 48px 32px 40px 32px;
  position: relative;
  z-index: 2;
}
.ikigai-lead {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 2em;
  background: linear-gradient(90deg, #FF6B35 0%, #FF9F1C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.03em;
}
@media (max-width: 900px) {
  .ikigai-center-section {
    padding: 60px 0;
  }
  .ikigai-lead {
    font-size: 1.3rem;
  }
  .ikigai-center-section .content {
    padding: 24px 8px 24px 8px;
    max-width: 98vw;
  }
  .ikigai-center-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
}

.ikigai-message-block {
  text-align: center;
  color: #444;
  font-size: 1.08rem;
  line-height: 2.1;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .ikigai-message-block {
    font-size: 0.98rem;
    line-height: 1.9;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
}

/* 共通フッター */
.common-footer {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid #e9ecef;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #343a40;
}

.footer-copyright {
  color: #6c757d;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .common-footer {
    padding: 2rem 0;
    margin-top: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-logo-img {
    height: 32px;
  }
}

.ikigai-center-card-style {
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.2rem 1.5rem;
  text-align: center;
  position: relative;
}
.ikigai-center-accent {
  width: 60px;
  height: 4px;
  background: #FF9F1C;
  border-radius: 2px;
  margin: 0 auto 1.5rem auto;
}
.ikigai-center-title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222;
  margin-bottom: 1.2rem;
}
.ikigai-center-description {
  margin: 0 auto;
  max-width: 600px;
}
.ikigai-center-paragraph {
  font-size: 1.13rem;
  line-height: 2.2;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
  text-shadow: 0 2px 12px rgba(255,255,255,0.7), 0 1px 2px rgba(0,0,0,0.08);
}
@media (max-width: 700px) {
  .ikigai-center-card-style {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .ikigai-center-title {
    font-size: 1.3rem;
  }
  .ikigai-center-paragraph {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 1.1rem;
  }
}

.mandara-hero-section {
  background-color: #fffaf6;
  background-image: url('images/ikigai-ring.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
  position: relative;
}
.mandara-hero-inner {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  z-index: 2;
}
.mandara-hero-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1f2937;
  letter-spacing: 0.02em;
}
.mandara-hero-catch {
  font-size: 1.2rem;
  color: #4b5563;
  margin-top: 1.5rem;
  line-height: 1.85;
}
@media (max-width: 700px) {
  .mandara-hero-section {
    min-height: 60vh;
    padding: 60px 4vw 40px 4vw;
    background-size: 80%;
  }
  .mandara-hero-title {
    font-size: 1.35rem;
  }
  .mandara-hero-catch {
    font-size: 1rem;
    margin-top: 1.1rem;
  }
}

.ikigai-center-textonly {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.ikigai-center-textonly p {
  font-size: 1.3rem;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif !important;
  color: #222;
  line-height: 2.1;
  margin-bottom: 1.5em;
  text-align: center;
}
@media (max-width: 700px) {
  .ikigai-center-textonly {
    max-width: 98vw;
  }
  .ikigai-center-textonly p {
    font-size: 1.1rem;
  }
}

.mandara-hero-textonly {
  text-align: center;
  padding: 120px 24px;
  background-color: #fff;
  max-width: 680px;
  margin: auto;
}
.mandara-hero-textonly h1 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #1f2937;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.mandara-hero-textonly p {
  font-size: 1.25rem;
  font-weight: 300;
  color: #4b5563;
  margin-top: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .mandara-hero-textonly h1 {
    font-size: 3.5rem;
  }
  .mandara-hero-textonly p {
    font-size: 1.5rem;
  }
}
@media (max-width: 500px) {
  .mandara-hero-textonly {
    padding: 60px 8px;
    max-width: 98vw;
  }
  .mandara-hero-textonly h1 {
    font-size: 2rem;
  }
  .mandara-hero-textonly p {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}

.overlap3-section {
  position: relative;
  background: none;
  overflow-x: hidden;
}
.overlap3-section::before {
  content: '';
  position: absolute;
  top: 60%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  max-width: 150vw;
  max-height: 150vw;
  transform: translate(-50%, -50%);
  background: url('images/three_elements.png') center center/contain no-repeat;
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}
.overlap3-section > .container {
  position: relative;
  z-index: 1;
} 