:root{
  --a-white: #ffffff;
  --a-gray:  #f3f3f3;
  --a-purple:#f2e9ff;

  --a-content-w: 860px;

  --a-grayFill: #efefef;
  --a-border: #d6d6d6;
  --a-ink: #222;
  --a-muted: #666;
}

/* Hero */
.a-hero{
  background-image: url('../../img/about_top.jpg');
  height: clamp(260px, 67.5vw, 360px);
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.a-heroInner{
  height: 100%;
  padding: 42px 0 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  box-sizing: border-box;
}

.a-heroTitle{
  margin: 0;
  margin-top: 150px;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.15;
  color: #222;
  text-align: right;
  margin-right: 28px;
}

/* セクション（黒線は使わない） */
.a-section{ padding: 48px 0 72px; }
.a-hero + .a-section{ padding-top: 80px; }
/* .a-section--white{ background: var(--a-white); } */
/* .a-section--gray{  background: var(--a-gray);  } */

/* 灰色セクションの直後に、また灰色セクションが続く場合 */
/*
.a-section--gray + .a-section--gray{
  border-top: 1px solid #d0d0d0;
}
*/

.a-centerTitle{
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: .06em;
  color: var(--a-ink);
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding-bottom: 10px;
}
.a-centerTitle::after{
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 200px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 22'%3E%3Cpath d='M10 16 C55 3 100 20 145 12 S190 6 210 13' stroke='%23c8a0b0' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (min-width: 821px){
  .a-centerTitle::after{
    display: none;
  }
}
.a-enTitle{
  display: inline-block;
  margin-left: 16px;
  font-family: var(--font-main);
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 400;
  letter-spacing: .04em;
  vertical-align: baseline;
}
.a-enTitle--mission{ color: #8bb4cc; font-weight: bold; }
.a-enTitle--vision{ color: #7eaa6e; font-weight: bold; }
.a-enTitle--values{ color: #d86a2d; font-weight: bold; }

/* blocks used for mission/vision/core value sections */
.a-block{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 80px;
  margin-bottom: 0;
}

#about .a-section .container > .a-block + .a-block{
  margin-top: 36px;
}

/* 使命・理想ブロック内のリード・本文を中央揃え＋装飾 */
.a-block .a-storyLead{
  text-align: center;
  position: relative;
  font-size: clamp(16px, 1.7vw, 28px);
}
.a-block:not(.a-block--values) .a-centerTitle::before{
  content: '';
  position: absolute;
  left: calc(50% - 182px);
  top: -16px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 175, 175, 0.55) 0%, rgba(236, 175, 175, 0) 70%);
  pointer-events: none;
  z-index: -1;
}
.a-block .a-storyBody{
  text-align: center;
  font-size: clamp(12px, 1.2vw, 18px);
}

.a-values{
  max-width: 1080px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap: 52px;
}

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

.a-valueTitle{
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  font-size: clamp(16px, 1.7vw, 28px);
  color: #5e5653;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.a-valueDot{
  width: 18px;
  height: 18px;
  border: 3px solid #706a67;
  border-radius: 50%;
  transform: translateY(-2px);
  flex: 0 0 auto;
}

.a-valueWord{
  font-weight: 700;
}

.a-valueWord--thanks{ color: #ff6f77; }
.a-valueWord--kind{ color: #49aa3a; }
.a-valueWord--try{ color: #f39a17; }

.a-valueLead{
  font-weight: 700;
}

.a-block--values .a-centerTitle::before{
  content: '';
  position: absolute;
  left: calc(50% - 232px);
  top: -26px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 190, 198, 0.65) 0%, rgba(244, 190, 198, 0) 68%);
  pointer-events: none;
  z-index: -1;
}

.a-valueDesc{
  margin: 14px 0 0;
  font-size: clamp(12px, 1.2vw, 18px);
  color: #6e6663;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

@media (max-width:820px){
  .a-block{
    padding:20px 16px;
  }
}

/* 幅ラッパー */
.a-content{
  max-width: var(--a-content-w);
  margin: 18px auto 0;
}

/* ヒーロー直後セクションのみ：写真→h2 と h2→div の空白を揃える */
.a-hero + .a-section .a-content{
  margin-top: 52px;
}
.a-hero + .a-section .a-panel--grayFill{
  padding-top: 0;
}

/* 中央テキスト */
.a-midText{
  margin: 18px 0 0;
  text-align:center;
  color: var(--a-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* 共通パネル */
.a-panel{
  border-radius: 18px;
  overflow:hidden;
}

/* 白背景 × グレー面（大きい面） */
.a-panel--grayFill{
  background: var(--page-bg);
  padding: 26px 18px;
}

.a-content--storyWrap{
  max-width: calc(100% - 80px);
}
.a-panelInner{
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}
.a-panelInner--center{
  text-align:center;
  max-width: 1180px;
  margin: 0 auto;
}

.a-panelInner--story{
  color: #5a524f;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.a-panelInner--story.a-panelInner--center{
  max-width: 1200px;
}

.a-storyLead,
.a-storyBody{
  margin: 0;
}

.a-storyLead{
  font-size: clamp(18px, 1.45vw, 32px);
  line-height: 1.6;
}

.a-storyBody{
  margin-top: clamp(22px, 2.1vw, 40px);
  font-size: clamp(16px, 1.35vw, 28px);
  line-height: 1.82;
}

.a-storyBody--em{
  margin-top: clamp(26px, 2.6vw, 52px);
}

.a-storyBody--final{
  margin-top: clamp(26px, 2.6vw, 52px);
}

.a-storyAccentPink{ color: #de9fa2; }
.a-storyAccentOrange{ color: #f39a17; }
.a-storyAccentRed{ color: #f25454; }

/* 白背景 × 白カード（枠線）3つ */
.a-whiteCards{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.a-whiteCard{
  background:#fff;
  border: 1px solid var(--a-border);
  border-radius: 16px;
  padding: 16px 18px;
}
.a-cardTitle{
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--a-ink);
}
.a-cardText{
  margin:0;
  font-size: 12px;
  color: var(--a-muted);
  line-height: 1.7;
}

/* タイプA：灰色背景 × 白い四角（追加分） */
.a-panel--whiteCard{
  background:#fff;
  border: 1px solid var(--a-border);
  border-radius: 16px;
  padding: 16px 18px;
}
.a-panel + .a-panel{
  margin-top: 14px;
}

/* タイプB：白背景 × 灰色の四角（カード群） */
.a-grayCards{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.a-grayCard{
  background:#ededed;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.a-grayCard:hover{
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ===========================
   ママパパさんの声：スライダー
  SPは1件ずつ、PCは2件ずつ表示
   =========================== */
.a-voiceNote {
  margin: 6px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(61, 40, 23, 0.55);
  letter-spacing: 0.03em;
}

.a-voiceSlider {
  max-width: 980px;
  margin: 56px auto 0;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 232, 221, 0.4), transparent 30%),
    linear-gradient(180deg, #5b473b 0%, #45352b 100%);
  box-shadow: 0 18px 34px rgba(61, 40, 23, 0.16);
}

.a-voiceViewport {
  overflow: hidden;
}

.a-voicePages {
  display: flex;
  transition: transform 0.42s cubic-bezier(.25, .8, .25, 1);
  will-change: transform;
}

.a-voiceSlide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  gap: 22px;
}

.a-voiceCard {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
}

.a-voiceAvatarBlock {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.a-voiceAvatar {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
}

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

.a-voiceBubble {
  position: relative;
  padding: 12px 14px 12px 16px;
  border-radius: 14px;
  background: rgba(248, 243, 239, 0.96);
  box-shadow: 0 10px 20px rgba(29, 19, 12, 0.12);
}

.a-voiceBubble::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -10px;
  width: 18px;
  height: 18px;
  background: inherit;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.a-voiceLine {
  margin: 0;
  font-size: clamp(14px, 2.5vw, 17px);
  line-height: 1.95;
  color: #4b4039;
}

.a-voiceName {
  margin: 0;
  text-align: center;
  font-size: clamp(12px, 1.8vw, 15px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(255, 239, 228, 0.92);
}

.a-voicePager {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.a-voiceArrow {
  appearance: none;
  border: 0;
  padding: 0;
  width: 28px;
  height: 28px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.a-voiceArrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid rgba(255, 239, 228, 0.92);
  border-left: 2px solid rgba(255, 239, 228, 0.92);
  transform: translate(-40%, -50%) rotate(-45deg);
}

.a-voiceArrow.is-next::before {
  transform: translate(-60%, -50%) rotate(135deg);
}

.a-voiceDots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.a-voiceDot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 239, 228, 0.82);
  cursor: pointer;
}

.a-voiceDot.is-active {
  background: rgba(255, 239, 228, 0.96);
}

@media (min-width: 821px) {
  .a-voiceSlider {
    padding: 34px 42px 26px;
  }

  .a-voiceSlide {
    min-height: 300px;
    align-content: start;
  }

  .a-voiceCard {
    grid-template-columns: 92px minmax(0, 1fr);
    max-width: 760px;
    margin: 0 auto;
    column-gap: 24px;
  }

  .a-voiceCard:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .a-voiceCard:nth-child(even) .a-voiceAvatarBlock {
    order: 2;
  }

  .a-voiceCard:nth-child(even) .a-voiceBubble {
    order: 1;
  }

  .a-voiceAvatar {
    width: 76px;
    height: 76px;
  }

  .a-voiceBubble {
    padding: 26px 28px;
    border-radius: 18px;
  }

  .a-voiceBubble::before {
    top: 28px;
    left: -12px;
    width: 20px;
    height: 20px;
  }

  .a-voiceCard:nth-child(even) .a-voiceBubble::before {
    left: auto;
    right: -12px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }

  .a-voiceName {
    font-size: 14px;
  }
}

/* Contact */
.a-contactBox{
  max-width: 760px;
  margin: 0 auto;
  border: 2px solid #333;
  border-radius: 26px;
  background:#fff;
  padding: 26px 18px;
  text-align:center;
}
.a-contactTitle{ margin:0 0 10px; font-size: 16px; color: var(--a-ink); }
.a-contactSub{ margin:0; font-size: 12px; color: var(--a-muted); }
.a-contactBtns{ margin-top: 16px; display:flex; justify-content:center; }

/* 戻る */
.a-back{ text-align:center; margin-top: 16px; }
.a-backLink{
  color:#777;
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding-bottom: 2px;
  font-size: 12px;
}

/* SP調整 */
@media (max-width: 820px){
  :root{ --a-content-w: 520px; }
  #about main .container{ padding-inline: 36px; }
  .a-section{ padding: 40px 0 56px; }
  .a-hero + .a-section{ padding-top: 44px; }
  .a-hero + .a-section .a-content{ margin-top: 22px; }
  .a-hero + .a-section .a-panel--grayFill{ padding-top: 0; }
  .a-heroInner{ padding: 42px 0; }
  .a-heroTitle{ 
    /* margin-right: 16px; */
    margin-top: 150px;
  }
  .a-content--storyWrap{
    max-width: 100%;
  }
  .a-panelInner--center{ max-width: 360px; }
  .a-panelInner--story.a-panelInner--center{ max-width: 100%; }
  .a-panelInner--story{
    letter-spacing: 0.03em;
  }
  .a-storyLead{
    font-size: clamp(12px, 3.8vw, 16px);
    line-height: 1.65;
  }
  .a-storyBody{
    margin-top: 16px;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.75;
  }
  .a-storyBody--em,
  .a-storyBody--final{
    margin-top: 22px;
  }
  .a-contactBox{ max-width: 520px; border-radius: 22px; }
  .a-block{ padding: 18px 28px; margin-bottom: 0; }
  #about .a-section .container > .a-block + .a-block{ margin-top: 24px; }
  .a-centerTitle{ font-size: clamp(20px, 5.5vw, 28px); padding-bottom: 22px; }
  .a-centerTitle::after{ width: 230px; height: 18px; }
  .a-block > .a-centerTitle::after{ display: none; }
  .a-enTitle{ font-size: clamp(15px, 4.2vw, 22px); margin-left: 10px; }
  .a-block--values .a-centerTitle{ font-size: clamp(30px, 8.3vw, 40px); }
  .a-values{ gap: 34px; }
  .a-valueTitle{
    gap: 8px;
    font-size: clamp(12px, 3.8vw, 16px);
    line-height: 1.65;
    align-items: center;
    flex-wrap: wrap;
  }
  .a-valueDot{
    width: 13px;
    height: 13px;
    border-width: 2px;
    transform: translateY(0);
  }
  .a-valueLead{
    display: block;
    flex-basis: 100%;
  }
  .a-block:not(.a-block--values) .a-centerTitle::before{
    left: calc(50% - 118px);
    top: -16px;
  }
  .a-block--values .a-centerTitle::before{
    left: calc(50% - 136px);
    top: -16px;
    width: 80px;
    height: 80px;
  }
  .a-valueDesc{
    margin-top: 10px;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.75;
  }
  .a-grayCard{ padding: 14px 16px; }
  .a-voiceSlider {
    margin-top: 36px;
    padding: 18px 14px 18px;
    border-radius: 24px;
  }
  .a-voiceSlide {
    gap: 18px;
  }
  .a-voiceCard:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 68px;
  }
  .a-voiceCard:nth-child(even) .a-voiceAvatarBlock {
    order: 2;
  }
  .a-voiceCard:nth-child(even) .a-voiceBubble {
    order: 1;
  }
  .a-voiceCard:nth-child(even) .a-voiceBubble::before {
    left: auto;
    right: -10px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  .a-voiceBubble {
    padding: 16px 15px 16px 16px;
  }
  .a-voiceLine {
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.9;
  }
  .a-voiceName {
    font-size: 12px;
  }
  .a-voicePager {
    margin-top: 18px;
    gap: 14px;
  }
  
  .a-intro{
    flex-direction: column;
    gap: 20px;
    margin: 16px auto 0;
  }
  .a-introPhoto{
    width: 180px;
    height: 220px;
    margin: 0 auto;
  }
  .a-introText{
    font-size: 11px;
    line-height: 1.8;
  }
}
