
:root{
  --green:#55735f;
  --green-dark:#405947;
  --green-light:#edf3ee;
  --cream:#fbf9f5;
  --cream-dark:#f3eee5;
  --brown:#66594c;
  --text:#333;
  --border:#ddd6ca;
  --gold:#a37d45;
  --white:#fff;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  padding-top:78px;
  background:var(--cream);
  color:var(--text);
  font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  font-size:19px;
  line-height:1.9;
  letter-spacing:.02em;
}

a{color:inherit}

img{
  max-width:100%;
  height:auto;
}

.container{
  width:min(1080px,calc(100% - 32px));
  margin:auto;
}

/* ヘッダー */
header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:#fff;
  border-bottom:1px solid var(--border);
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.header{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* ロゴ */
.logo{
  text-decoration:none;
  font-weight:700;
  color:var(--green-dark);
  font-size:23px;
  line-height:1.35;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.logo-mark{
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  font-size:20px;
  box-shadow:0 2px 6px rgba(64,89,71,.15);
}

.logo-text{
  display:block;
  min-width:0;
}

.logo-text strong{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.logo-text small{
  display:block;
  font-size:13px;
  color:var(--brown);
  font-weight:400;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.logo-text small i{
  font-size:11px;
  color:var(--green);
  margin-right:2px;
}

.logo small{
  display:block;
  font-size:13px;
  color:var(--brown);
  font-weight:400;
}

/* ナビ */
nav{
  background:var(--green-light);
  border-bottom:1px solid var(--border);
}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
}

nav a{
  display:block;
  padding:12px 17px;
  text-decoration:none;
  font-size:17px;
  font-weight:700;
  color:var(--green-dark);
}

/* ページタイトル */
.hero{
  padding:60px 0;
  background:var(--green-light);
  text-align:center;
  border-bottom:1px solid var(--border);
}

.hero h1{
  font-size:clamp(30px,5vw,43px);
  color:var(--green-dark);
  margin:0 0 10px;
  line-height:1.5;
}

.hero p{
  margin:0;
}

/* メイン */
main{
  padding:70px 0;
}

.profile{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:40px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:36px;
}

.profile-photo img{
  width:100%;
  border-radius:8px;
  display:block;
}

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

.name{
  font-size:27px;
  font-weight:700;
  color:var(--green-dark);
  margin-top:16px;
}

.meta{
  font-size:16px;
  color:var(--brown);
}

h2{
  color:var(--green-dark);
  font-size:29px;
  margin:0 0 20px;
  line-height:1.5;
}

p{
  margin:0 0 20px;
}

.career{
  margin-top:32px;
}

.career-table{
  width:100%;
  border-collapse:collapse;
  text-align:left;
}

.career-table th,.career-table td{
  border:1px solid var(--border);
  padding:12px;
  vertical-align:top;
}

.career-table th{
  background:var(--green-light);
  color:var(--green-dark);
}

.career-table th:first-child{
  width:6em;
  white-space:nowrap;
}

.career-table td{
  overflow-wrap:anywhere;
}

.qualification{
  background:var(--cream);
  border:1px solid var(--border);
  border-radius:8px;
  padding:23px;
  margin-top:28px;
}

.qualification h3{
  margin:0 0 13px;
  color:var(--green-dark);
  font-size:22px;
}

.qualification ul{
  margin:0;
  padding-left:1.4em;
}

.back{
  text-align:center;
  margin-top:38px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:10px 24px;
  border-radius:8px;
  background:var(--green);
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

/* フッター */
footer{
  background:#39483e;
  color:#eee;
  text-align:center;
  padding:34px 0 85px;
  font-size:16px;
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
  margin:15px 0;
}

.fixed-phone{
  display:none;
}

/* スマホ */
@media(max-width:760px){

  body{
    font-size:19px;
    line-height:1.9;
  }

  .container{
    width:calc(100% - 26px);
  }

  body{
    padding-top:68px;
  }

  .header{
    min-height:68px;
  }

  .logo{
    font-size:18px;
    gap:7px;
  }

  .logo-mark{
    width:34px;
    height:34px;
    font-size:16px;
  }

  .logo-text small{
    font-size:10px;
  }

  .logo small{
    font-size:11px;
  }

  nav a{
    font-size:16px;
    padding:10px 12px;
  }

  .hero{
    padding:48px 0;
  }

  .profile{
    grid-template-columns:1fr;
    padding:25px 20px;
    gap:28px;
  }

  .profile-photo{
    max-width:330px;
    margin:auto;
  }

  h2{
    font-size:27px;
  }

  .fixed-phone{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:50;
    background:#fff;
    padding:8px 12px;
    border-top:1px solid var(--border);
  }

  .fixed-phone a{
    display:block;
    text-align:center;
    background:var(--green);
    color:#fff;
    padding:9px;
    border-radius:7px;
    text-decoration:none;
    font-weight:700;
  }
}


/* mobile readability/accessibility safe enhancements */
html,body{overflow-x:hidden}
img,video,iframe,table{max-width:100%}
a,button{touch-action:manipulation}
a:focus-visible,button:focus-visible{outline:3px solid #1e4d2b;outline-offset:3px;border-radius:6px;box-shadow:0 0 0 2px rgba(255,255,255,.9)}
a:active,button:active{opacity:.9}
nav a,.button,.fixed-phone a,.shinkyu-links a,.first-visit-phone,.treatment-video-button{min-height:48px}
nav a{display:flex;align-items:center;justify-content:center}
p,li{overflow-wrap:anywhere}
@media(max-width:760px){
  .logo-text small{line-height:1.4}
  .hero h1{line-height:1.42;letter-spacing:.01em}
  .hero p{line-height:1.75}
  .heading h2,h2{line-height:1.42}
  nav a,.button,.fixed-phone a,.shinkyu-links a,.first-visit-phone,.treatment-video-button{padding-top:11px;padding-bottom:11px}
  .card,.info-box,.course-points,.choose-guide,.access-help{padding-left:20px;padding-right:20px}
  .hours th,.hours td{padding:8px 4px}
}

/* Button icon spacing */
.button{gap:8px}
.button > i{flex-shrink:0}
