:root {
  --bg: #ffffff;
  --panel: #f6f8fb;
  --ink: #062345;
  --muted: #5f6e7a;
  --accent: #ff6a3d;
  --accent2: #ffa133;
  --accent3: #F0F0D2;
  --brand: #FFA33B;
  --brand2: #e34742;
  --juso: #ce0073;
  --line: rgba(0, 0, 0, .10);
  --radius: 18px;
  --radius2: 36px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

html, body, div, p, h1, h2, h3, ul, li, a, dl, dt, dd, form, input {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: normal;
}

a {
  color: #0b2231;
  text-decoration: none;
}

.container {
  margin-inline: auto;
}

.panel {
  background: #f0f0d2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--ink);
}

.mini {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}

.layout {
  max-width: clamp(320px, 92vw, 1100px);
  width: 100%;
  margin: 0 auto;
  padding-inline: 16px;
}

.sidebar {
  align-self: start;
}

.sidebar.is-sticky {
  position: sticky;
  top: 96px;
}

.sb-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.hero {
  padding: 56px 0 32px;
  text-align: center;
}

.hero .title {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.3;
  margin: 8px 0;
  font-weight: 900;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     4px  4px 6px rgba(0,0,0,0.3);
}

/* .title-juso-color {
    color: var(--juso);
}

.title-koe-color {
    color: var(--brand2);
} */

.title-small {
  font-size: clamp(24px, 4vw, 36px);
}

.hero .subtitle {
  color: var(--muted);
  margin: 5px auto 18px;
  font-size: clamp(22px, 4vw, 28px);
    line-height: 1.25;
}

h2.section-h {
  display: block;
  margin: 16px 0 8px 0;
  padding: 6px 6px 8px 6px;
  color: var(--ink);
  font-weight: bold;
  font-size: 20px;
  position: relative;
}

h2.section-h:after {
  content: "";
  background: var(--ink);
  height: 5px;
  width: 100%;
  border-radius: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.collabo-kv img {
  width: 100%;
}

img.collabo-kv-pc {
    display: block;
}

img.collabo-kv-sp {
    display: none;
}

#about {
  margin: 0 auto 36px;
}

.about-headline {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: bold;
  margin: 0 0 6px;
  color: var(--juso);
}
.margin20 {
    margin: 20px 0 6px;
}

.about-wrap p {
    text-align: justify;
}

#shop {
    margin: 0 auto 40px;
}

.shop-card {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}

.shop-card p {
  text-align: justify;
}

.cta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #000;
    padding: 10px 16px 10px 14px;
    border-radius: 14px;
    width: 30%;
    min-width: 250px;
}

.cta-row img {
    height: clamp(64px, 10vw, 80px);
    width: auto;
    object-fit: cover;
    border-radius: 50%;
}

.tenpo-btn {
  display: inline-block;
  color: var(--juso);
  font-weight: 900;
  white-space: nowrap;
  font-size: clamp(16px, 3vw, 18px);
  border-top: 1px solid var(--juso);
  border-bottom: 1px solid var(--juso);
  padding: 5px 0;
  width: 60%;
  text-align: center;
}

#therapists {
    margin: 0 auto 50px;
}

.cards {
    display: flex;
    gap: clamp(16px, 2.4vw, 20px);
    margin: 20px auto 0;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
  width: min(310px, 100%);
  flex: 0 1 340px;
}

.top-thumb,
.thumb {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.top-thumb {
  width: 100%;
  border-radius: 18px 18px 0 0;
}

.thumb {
  width: 80%;
}

.card-body {
  padding: 5px 12px 14px;
  text-align: justify;
}

h3.Therapist-name {
  font-size: clamp(16px, 2vw, 18px);
  border-bottom: 1px solid var(--ink);
  padding: 0 0 4px;
  margin: 0 0 5px;
}

/* 個人ページ */
.hero-wrap {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

img#mainImage {
    border-radius: 36px 36px 0 0;
    order: 2;
}

.therapist-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  order: 1;
}

#thumbnailWrap {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0 20px 0 0;
}

#thumbnailWrap img.thumbnail {
  width: 80px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border-color 0.2s;
}

#thumbnailWrap img.thumbnail.active {
  border-color: var(--juso);
}

h1.name {
    font-size: clamp(28px, 5vw, 32px);
    font-weight: bold;
    margin: 0 0 12px;
}

.name-wrap {
    margin: 15px auto 0;
}

p.name-mini {
    font-size: clamp(16px, 2vw, 18px);
    text-align: left;
}

.name-wrap-btn {
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
}

.back-btn-wrap {
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

a.reserve-btn.slide,
a.back-btn.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    padding: .9em 2em;
    border-radius: 34px;
    background-color: #fff;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: bold;
    position: relative;
    z-index: 1;
    background: #fff;
    overflow: hidden;
}

a.reserve-btn {
    border: 1px solid var(--juso);
    color: var(--juso);
}

a.back-btn {
    border: 1px solid var(--brand);
    color: var(--brand);
}

a.reserve-btn::after,
a.back-btn::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    content: '';
}

a.reserve-btn::after {
    border-top: 2px solid var(--juso);
    border-right: 2px solid var(--juso);
}

a.back-btn::after {
    border-top: 2px solid var(--brand);
    border-right: 2px solid var(--brand);
}

a.reserve-btn.slide::after ,
a.back-btn.slide::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
  border-radius: 34px;
  box-sizing: border-box;
}

a.reserve-btn.slide::after {
  background: var(--juso);;
  border: 1px solid var(--juso);
}

a.back-btn.slide::after {
  background: var(--brand);
  border: 1px solid var(--brand);
}

a.reserve-btn.slide:hover,
a.back-btn.slide:hover {
  color: #fff;
}

a.reserve-btn.slide:hover::after ,
a.back-btn.slide:hover::after {
  transform: scale(1, 1);
}

#profile {
  margin: 0 auto 30px;
}

#audio,
#voice {
    margin: 0 auto 30px;
}

.voice-wrap,
.audio-box,
.voice-box {
    margin: 20px auto 0;
}

.audio-box p,
.voice-box p {
    padding: 6px 0 0;
}

#reserve {
  margin: 0 auto 60px
}

.reserve-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 20px auto;
}

.readmore {
    position: relative;
    margin: 20px auto 0;
    padding: 0 0 60px;
}

.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 10px 0;
  color: #FFA33B;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}

.readmore label::before{
  content: 'もっとみる';
}

.readmore input[type="checkbox"]:checked ~ label::before {
  content: '閉じる';
}

.readmore input[type="checkbox"]{
  display: none;
}

.readmore-content {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}

.readmore-content::before {
  position: absolute;
  display: block;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient( rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, #fff 100%);
}

.readmore input[type="checkbox"]:checked ~ .readmore-content::before {
  display: none;
}


@media (max-width: 980px){
  .hero .title {
    text-align: left;
    width: fit-content;
  }
}

/* タブレット */
@media (max-width: 920px){
  .cards{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media (max-width: 560px){
  .hero {
    padding: 30px 0 20px;
  }

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

  .hero .subtitle {
    width: fit-content;
    text-align: left;
  }

  a.reserve-btn.slide, a.back-btn.slide {
    margin: 0 auto;
  }

  .reserve-btn-wrap {
    display: block;
  }

  a.reserve-btn.slide {
    margin-bottom: 15px;
  }

  .therapist-img-wrapper {
    display: flex;
    flex-direction: column;
  }

  img#mainImage {
    width: 100%;
    order: 1;
  }

  #thumbnailWrap {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    order: 2;
  }

  #thumbnailWrap img.thumbnail {
    width: 100%;
    max-width: 70px;
  }

  img.collabo-kv-pc {
    display: none;
  }

  img.collabo-kv-sp {
    display: block;
  }

  .shop-card {
    display: block;
  }

  .cta-row {
    width: auto;
    margin: 8px 0 0 0;
    min-width: none;
  }

}


