@charset "utf-8";

/* =====================================
   札幌校 体験談ページ デザインリニューアル
   ===================================== */

:root {
  --voice-green: #507e65;
  --voice-dark: #355b47;
  --voice-light: #f1f6f1;
  --voice-pale: #f8faf7;
  --voice-text: #424b44;
  --voice-border: #e2eae2;
}

/* 全体レイアウト：左メニューをなくして1カラム */
body {
  background: #fff;
  color: var(--voice-text);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.container {
  display: block !important;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

#taiken-aside {
  display: none !important;
}

.container main {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.content-limit {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* パンくず */
.breadcrumb {
  padding: 20px 0;
  margin-bottom: 35px;
  font-size: 13px;
  color: #888f88;
  line-height: 1.8;
}

.breadcrumb a {
  color: var(--voice-green);
  text-decoration: none;
}

/* ページ冒頭 */
.hero {
  background: var(--voice-light);
  border-radius: 14px;
  padding: 55px 50px;
  margin-bottom: 55px;
  text-align: center;
}

.hero .category {
  display: inline-block;
  color: var(--voice-dark);
  background: #fff;
  border: 1px solid #dce8dd;
  border-radius: 30px;
  padding: 5px 20px;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--voice-dark);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.65;
  letter-spacing: .04em;
  margin: 0 0 22px;
}

.hero p {
  font-size: 16px;
  line-height: 2;
  margin: 0;
}

/* セクション */
.content-limit section {
  margin-bottom: 65px;
}

.section-title,
.content-limit section h2 {
  color: var(--voice-dark);
  font-size: 25px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 0 0 14px 18px;
  border-bottom: 2px solid #dce9de;
  border-left: 5px solid var(--voice-green);
  margin: 55px 0 28px;
}

.content-limit p {
  margin: 0 0 22px;
  line-height: 2;
}

.content-limit .voice_p {
  color: var(--voice-text);
}

/* 説明部分 */
.top {
  margin-bottom: 65px;
}

.top ul {
  background: var(--voice-pale);
  padding: 22px 30px 22px 45px;
  border-radius: 10px;
  margin: 20px 0 35px;
}

.top li {
  margin: 8px 0;
  line-height: 1.9;
}

/* 体験談カード */
.card {
  background: #fff;
  border: 1px solid var(--voice-border);
  border-radius: 14px;
  padding: 38px 40px;
  margin: 35px 0;
  box-shadow: 0 4px 18px rgba(40, 75, 50, .045);
}

.card h3 {
  color: var(--voice-dark);
  font-size: 23px;
  line-height: 1.6;
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--voice-border);
}

.card h4 {
  color: var(--voice-green);
  font-size: 19px;
  margin: 35px 0 15px;
}

.profile {
  color: #68756b;
  font-size: 14px;
  margin: 15px 0 25px !important;
}

/* カテゴリータグ */
.category_button {
  display: inline-block;
  background: var(--voice-light);
  color: var(--voice-dark);
  border-radius: 20px;
  padding: 4px 13px;
  font-size: 12px;
  margin: 3px 4px 8px 0;
}

/* 写真と本文 */
.card .flex {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 25px 0;
}

.card .box {
  flex: 1;
  min-width: 0;
}

.card-photos {
  flex: 0 0 32%;
}

.card-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* 印象に残したい言葉 */
.card strong {
  color: var(--voice-dark);
  font-weight: 700;
}

/* 注意書き */
.supervisor {
  background: var(--voice-pale);
  padding: 22px 28px;
  border-radius: 8px;
  color: #68736a;
  font-size: 13px;
  line-height: 1.9;
  margin: 35px 0 !important;
}

/* 関連記事 */
.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.related-item {
  display: block;
  padding: 22px;
  background: var(--voice-pale);
  border: 1px solid var(--voice-border);
  border-radius: 10px;
  color: var(--voice-dark);
  text-decoration: none;
}

/* よくある質問 */
.qa-item {
  border-bottom: 1px solid var(--voice-border);
  margin-bottom: 12px;
}

.qa-btn {
  width: 100%;
  padding: 20px;
  background: var(--voice-pale);
  border: none;
  border-radius: 8px;
  text-align: left;
  color: var(--voice-dark);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.qa-ans {
  display: none;
  padding: 20px;
  line-height: 1.9;
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 35px;
  background: var(--voice-light);
  border-radius: 14px;
  margin: 60px 0;
}

.cta-content {
  flex: 1;
  min-width: 0;
}

.cta-content h3 {
  color: var(--voice-dark);
  font-size: 22px;
  line-height: 1.7;
}

.cta-link {
  display: inline-block;
  background: var(--voice-green);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 30px;
  text-align: center;
  transition: .2s;
}

.cta-link:hover {
  background: var(--voice-dark);
}

/* スマートフォン */
@media screen and (max-width: 767px) {

  .container main {
    padding: 0 16px;
  }

  .content-limit {
    max-width: 100%;
  }

  .breadcrumb {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .hero {
    padding: 35px 20px;
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
    text-align: left;
  }

  .content-limit section {
    margin-bottom: 45px;
  }

  .section-title,
  .content-limit section h2 {
    font-size: 21px;
    margin: 40px 0 22px;
  }

  .content-limit p {
    font-size: 15px;
  }

  .card {
    padding: 24px 18px;
    margin: 25px 0;
  }

  .card h3 {
    font-size: 20px;
  }

  .card .flex {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .card .box,
  .card-photos {
    width: 100%;
    flex: auto;
  }

  .card-photo {
    max-width: 100%;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    padding: 25px 18px;
    text-align: center;
  }

  .cta-content h3 {
    font-size: 19px;
  }

  .cta-link {
    display: block;
    padding: 14px 15px;
  }
}





/* =================================
   体験談カード 01
================================= */

.voice-card {
  background: #fff;
  border: 1px solid #e2eae2;
  border-radius: 16px;
  padding: 38px 42px;
  margin: 35px 0;
  box-shadow: 0 5px 22px rgba(45, 75, 50, 0.06);
}

/* プロフィール */

.voice-card-header {
  margin-bottom: 22px;
}

.voice-card .profile {
  color: #68766b;
  font-size: 14px;
  margin: 0 0 12px;
}

/* タグ */

.voice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.voice-card .category_button {
  display: inline-block;
  background: #edf4ed;
  color: #507e65;
  border-radius: 30px;
  padding: 5px 15px;
  font-size: 12px;
  margin: 0;
}

/* タイトル */

.voice-card h3 {
  color: #355b47;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.7;
  border-bottom: 1px solid #e5ece5;
  padding-bottom: 20px;
  margin: 0 0 25px;
}

/* 要約エリア */

.voice-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  align-items: center;
}

.voice-summary-content {
  min-width: 0;
}

.voice-card h4 {
  color: #507e65;
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 13px;
  padding-left: 12px;
  border-left: 4px solid #86a88e;
}

.voice-summary-content h4:first-child {
  margin-top: 0;
}

.voice-summary-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.voice-summary-content li {
  position: relative;
  padding-left: 25px;
  margin: 10px 0;
  color: #424b44;
  line-height: 1.8;
}

.voice-summary-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6c9b77;
  font-weight: bold;
}

/* 写真 */

.voice-summary-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 印象的な言葉 */

.voice-highlight {
  background: #f1f6f1;
  color: #355b47;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
  padding: 20px 24px;
  border-radius: 10px;
  margin: 12px 0 0 !important;
}

/* 詳しく読む */

.voice-details {
  margin-top: 30px;
  border-top: 1px solid #e2eae2;
  padding-top: 22px;
}

.voice-details summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 22px;
  background: #f1f6f1;
  color: #507e65;
  border: 1px solid #dce8dd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  transition: background .2s, color .2s;
}

.voice-details summary::-webkit-details-marker {
  display: none;
}

.voice-details summary:hover {
  background: #e6f0e7;
}

.close-text {
  display: none;
}

.voice-details[open] .open-text {
  display: none;
}

.voice-details[open] .close-text {
  display: inline;
}

/* ＋と－ */

.detail-icon {
  position: relative;
  width: 17px;
  height: 17px;
}

.detail-icon::before,
.detail-icon::after {
  content: "";
  position: absolute;
  background: #507e65;
  border-radius: 2px;
}

.detail-icon::before {
  width: 15px;
  height: 2px;
  top: 7px;
  left: 1px;
}

.detail-icon::after {
  width: 2px;
  height: 15px;
  top: 1px;
  left: 7px;
}

.voice-details[open] .detail-icon::after {
  display: none;
}

/* 開いたときの本文 */

.voice-detail-content {
  padding: 25px 10px 10px;
  animation: voiceOpen .3s ease;
}

@keyframes voiceOpen {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.voice-detail-content p {
  font-size: 15px;
  line-height: 2;
  color: #424b44;
  margin: 0 0 20px;
}

.voice-detail-content h4 {
  margin-top: 35px;
}

/* 強調 */

.voice-emphasis {
  color: #355b47;
  font-weight: 700;
  font-size: 17px;
}

/* 変化の部分 */

.voice-change {
  background: #f8faf7;
  border-radius: 12px;
  padding: 25px 28px;
  margin-top: 35px;
}

.voice-change h4 {
  margin-top: 0;
}

.voice-change .voice-highlight {
  margin-top: 25px !important;
}

/* スマートフォン */

@media screen and (max-width: 767px) {

  .voice-card {
    padding: 25px 18px;
    border-radius: 12px;
  }

  .voice-card h3 {
    font-size: 21px;
  }

  .voice-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .voice-summary-photo {
    max-width: 100%;
    width: 100%;
  }

  .voice-summary-photo img {
    max-width: 100%;
  }

  .voice-card h4 {
    font-size: 17px;
  }

  .voice-highlight {
    font-size: 15px;
    padding: 17px;
  }

  .voice-details summary {
    font-size: 14px;
  }

  .voice-detail-content {
    padding: 20px 2px 5px;
  }

  .voice-change {
    padding: 20px 17px;
  }
}

/* 体験談の導入文 */

.voice-intro {
  color: #68736a;
  font-size: 14px;
  line-height: 1.9;
  margin: 18px 0 0 !important;
}

/* 長い体験談の中の区切り */

.voice-change {
  background: #f8faf7;
  border-left: 3px solid #86a88e;
  border-radius: 10px;
  padding: 25px 28px;
  margin: 35px 0;
}

.voice-change h4 {
  margin-top: 0;
}

.voice-change .voice-highlight {
  margin-top: 20px !important;
}

@media screen and (max-width: 767px) {
  .voice-intro {
    font-size: 14px;
  }

  .voice-change {
    padding: 20px 16px;
  }
}
