@charset "utf-8";

:root {
    --primary-green: #27ae60;
    --text-main: #333333;
    --text-sub: #666666;
    --border-color: #eeeeee;
    --bg-light: #fdfdfd;
    --header-h: 80px;
    --header-s: 60px;
    --sidebar-w: 240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    background-color: #fff;
    line-height: 2.0; /* 行間をゆったりさせて読みやすく */
    -webkit-font-smoothing: antialiased;
}


/* --- レイアウト --- */
.container { display: flex; margin-top: var(--header-h); }


.voice_p {
    margin-top: 20px;
}
/* --- メイン本文：読みやすさ最優先 --- */
main {
    flex: 1; padding: 0px 100px 60px; min-width: 0;
    display: flex;  /* 中央に配置 */
}
.content-limit {
    width: 100%; max-width: 900px; /* 日本語が最も読みやすい幅 */
}
.content-limit ul {
    padding: 15px;
}
.top {
    margin-left: 30px;
}
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--c-hero-end) 100%);
  border: 1px solid var(--c-hero-border);
  border-radius: 20px;
  padding: 40px 44px;
}

.category {
  display: inline-block;
  background: var(--c-primary-mid);
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.hero h1 {
  font-size: 32px;
  color: #22304F;
  line-height: 1.4;
  margin-bottom: 12px;
  margin-top: 20px;
}

.hero p {
  color: #5A6478;
  font-size: 15px;
  max-width: 620px;
}
section { margin-bottom: 20px; }
h2 { font-size: 1.6rem; color: var(--primary-green); padding: 60px 30px 30px; }
h3 {
    font-size: clamp(18px, 5vw, 25px);

}
h4 {
    padding: 30px 0 10px;
    font-size: 1.3rem;
}
.profile {
    font-weight:bold;
    font-size: 1.1rem;
    padding: 10px 0;
}
.supervisor {
    margin-top: 50px;
}
/* --- 体験談：装飾を削ぎ落とす --- */
.testimonial { margin-bottom: 80px; }
.testimonial .flex {
    display: flex;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #FFFFFF;
  border: 1px solid #E9EDF4;
  border-radius: 16px;
  padding: 26px 35px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card .flex {
  display: flex;
}
.card-photo {
  width: 270px;
  height: auto;
  border-radius: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px;
}

.card h3 {
  color: #22304F;
  padding: 20px 0;
}

.card p {
  font-size: 16px;
  color: #5A6478;
  line-height: 2;
  max-width: 900px;
}
.card-photos .caption {
    font-size: 11px;
    text-align: center;
}
.testi-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.testi-icon { width: 60px; height: 60px; border-radius: 50%; background: #f0f0f0; }
.testi-tag { font-size: 0.8rem; font-weight: bold; color: var(--primary-green); }

.testi-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; line-height: 1.4; }
.testi-text { font-size: 1.05rem; color: #444; margin-bottom: 30px; }

.testi-sub { font-size: 1.1rem; font-weight: 700; margin: 40px 0 15px; padding-left: 10px; border-left: 4px solid var(--primary-green); }

/* 強調は最小限に */
.marker { font-weight: bold; border-bottom: 2px solid var(--primary-green); }

/* イラストプレースホルダー */
.img-box { background: #f9f9f9; padding: 40px; text-align: center; margin: 30px 0; border-radius: 8px; }

/* --- 合わせて読みたい：リスト形式でシンプルに --- */
.related-list { border-top: 1px solid var(--border-color); }
.related-item {
    display: flex; align-items: center; gap: 20px; padding: 20px 0;
    border-bottom: 1px solid var(--border-color); text-decoration: none; color: inherit;
}
.related-item:hover { opacity: 0.7; }
.related-img { 
    width: 100px; 
    height: 65px; 
    background: url('../img/neoki.jpeg') center/cover;
    border-radius: 4px; 
    flex-shrink: 0; 
}
.related-image { 
    width: 100px; 
    height: 65px; 
    background: url('../img/AdobeStock_1505127154.jpeg') center/cover;
    border-radius: 4px; 
    flex-shrink: 0; 
}

.related-item p { font-weight: 600; font-size: 0.95rem; }

/* --- Q&A --- */
.qa-item { border-bottom: 1px solid var(--border-color); }
.qa-btn {
    width: 100%; padding: 20px 0; background: none; border: none;
    text-align: left; font-size: 1rem; font-weight: bold; cursor: pointer;
    display: flex; justify-content: space-between;
}
.qa-ans { display: none; padding-bottom: 20px; color: var(--text-sub); font-size: 0.95rem; }

/* --- CTA：清潔感のあるデザイン --- */
/* =========================
   CTA
========================= */
.cta {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景写真 */
.cta-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('img/IMG_9368.webp') center center / cover no-repeat;
    filter: brightness(0.58);
}

/* 写真の上に少し暗いベールを重ねる */
.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    z-index: 1;
}

/* 文字部分 */
.cta-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    padding: 50px 60px;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

/* 見出し */
.cta-content h3 {
    margin: 0 0 22px;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.8;
    letter-spacing: 0.04em;
    font-weight: 600;
    text-wrap: balance;
}

/* 説明文 */
.cta-content p {
    margin: 0 0 30px;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0.03em;
}

/* ボタン */
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 38px;
    box-sizing: border-box;

    background: var(--primary-green);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    font-size: 1.05rem;
    line-height: 1.5;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* =========================
   タブレット
========================= */
@media (max-width: 768px) {

.top {
    margin-left: 0px;
}
.cta {
    min-height: 430px;
    margin-top: 40px;
}

.cta-content {
    padding: 45px 30px;
}

.cta-content h3 {
    font-size: 1.4rem;
    line-height: 1.75;
}

.cta-content p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.cta-link {
    padding: 14px 30px;
    font-size: 1rem;
}
.card .box:nth-child(1) {
    order: 2;
}
.card .box:nth-child(2) {
    order: 1;
}

}


/* =========================
   スマートフォン
========================= */
@media (max-width: 480px) {

    .cta {
        min-height: 460px;
        margin-top: 35px;
        border-radius: 10px;
    }

    .cta-content {
        padding: 40px 20px;
    }

    .cta-content h3 {
        font-size: 1.25rem;
        line-height: 1.8;
        letter-spacing: 0.02em;
    }

    .cta-content p {
        margin-bottom: 25px !important;
        font-size: 0.9rem;
        line-height: 1.9;
    }

    .cta-link {
        width: 100%;
        max-width: 300px;
        min-height: 56px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* スマホ対応 */
@media (max-width: 768px) {
    
body {
    padding: 0;
}
.container { flex-direction: column; }
.sidebar { width: 100%; border-right: none; }
.sidebar-inner { position: relative; height: auto; }
.side-menu-item {
    margin-top: 0;
}
main { padding: 40px 25px; }
.testi-meta { flex-direction: column; align-items: flex-start; }

.card .flex {
    flex-direction: column;
}

.card {
  padding: 26px 20px;
}
}



.category_button {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  text-decoration: none;
  color: white;
  background: #d87283;/*色*/
  border: solid 1px #CB5266;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  font-size: 0.7rem;
  margin-bottom: 10px;
}

.category_btn {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  text-decoration: none;
  color: white;
  background: #52adcb;/*色*/
  border: solid 1px #52adcb;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  font-size: 0.7rem;
  margin-bottom: 10px;
}

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

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
  }

  .container > main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .container > .sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

}


/*---------------------------------
トップへもどるボタン
---------------------------------*/

.go-top{
position: fixed;
bottom: 10px;
right: 20px;
z-index: 9999;
}
.go-top a{
width: 50px;
height: 50px;
display: inline-block;
background: #E94E66;
border-radius: 50%;
text-align: center;
line-height: 50px;
color: black;
text-decoration: none;
}

.go-top a:hover{
opacity: 0.8;
}

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

.go-top{
position: fixed;
z-index: 9999;
bottom: 10px;
left: 10px;

}
}
