/* AKARI Counselling Service — 今のサイトの見た目をそのまま写し、スマホでも読めるようにしたもの */
:root {
  --purple: #ae7eb6;
  --plum: #8a157f;
  --text: #666;
  --dark: #333;
  --band: #fcfcfc;
  --line: #9a9a9a;
  --serif: "Noto Serif", "Droid Serif", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Lato", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ---------- 上の部分 ---------- */
.site-head { background: var(--band); padding: 6px 0 40px; min-height: 436px; }
.tagline { font-size: 20px; font-weight: 300; letter-spacing: 1px; line-height: 1.4; color: var(--text); margin: 0; }
.tagline span { display: block; font-size: 18px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-top: 28px; }
.logo { width: 326px; }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding-left: 36px; }
.contact-list li.ic { padding-left: 0; }
.contact-list .serif { font-family: var(--serif); font-size: 16px; letter-spacing: 1px; color: var(--text); text-decoration: none; }
.contact-list .jp { font-family: var(--serif); color: #000; letter-spacing: 1px; }
.ico { width: 22px; height: 22px; flex: none; fill: var(--purple); }

/* ---------- 言語のタブ ---------- */
.tabs { background: #fff; display: flex; justify-content: center; gap: 10px; padding: 18px 0 18px; }
.tabs a { width: 190px; text-align: center; font-family: var(--serif); font-size: 16px; color: var(--purple); text-decoration: none; padding: 4px 0 8px; border-bottom: 4px solid transparent; }
.tabs a[aria-current="page"] { border-bottom-color: var(--purple); }
.tabs a:hover { border-bottom-color: #dcc6e0; }

/* ---------- 見出し（紫の線と三角） ---------- */
section { padding: 0 0 72px; }
section.band { background: var(--band); }
.sec-title { position: relative; text-align: center; margin: 0 0 56px; padding: 26px 0 10px; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 5px; color: var(--purple); }
.sec-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--purple); }
.sec-title::before { content: ""; position: absolute; left: 50%; bottom: -22px; margin-left: -18px; border: 18px solid transparent; border-top-color: var(--purple); border-bottom: 0; }

/* ---------- 本文 ---------- */
.lead { font-family: var(--serif); font-size: 17px; line-height: 2.4; letter-spacing: 1px; text-align: center; }
.lead p { margin: 0 0 1.2em; }
.lead.left { text-align: justify; }
.en-body { font-size: 18px; line-height: 2.1; text-align: justify; }
.en-body p { margin: 0 0 1.6em; }
.en-body ul { padding-left: 28px; margin: 0 0 1.6em; }
.en-body li { margin-bottom: .4em; }
.call { text-align: center; margin-top: 64px; }
.call .ask { font-size: 17px; letter-spacing: 4px; margin: 0 0 18px; }
.call.en .ask { font-weight: 700; font-size: 15px; letter-spacing: 1px; color: var(--text); }
.call .ico { margin: 0 auto 2px; width: 20px; height: 20px; }
.call a { display: block; font-family: var(--serif); letter-spacing: 1px; text-decoration: none; margin-bottom: 6px; }
.call.en a, .call.en p { font-family: var(--sans); font-size: 16px; letter-spacing: 1px; }
.call p { margin: 0; }

/* こんな方に… */
.cols { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 0 40px; font-size: 17px; line-height: 2.15; }
.cols h3 { font-size: 17px; font-weight: 700; margin: 0; color: var(--text); }
.cols ul { list-style: none; margin: 0; padding: 0; }
.note { text-align: center; font-weight: 700; font-size: 15px; margin: 24px 0 0; }
.note a { display: inline-block; color: #eac100; font-weight: 700; word-break: break-all; }

/* サービス */
.svc { text-align: center; font-weight: 700; }
.svc .big { font-size: 19px; margin: 0 0 60px; }
.svc .plum { color: var(--plum); font-size: 18px; line-height: 2; margin: 0 0 30px; }
.svc .small { font-size: 15px; }
.svc.en .big { font-size: 19px; letter-spacing: 1px; margin-bottom: 40px; }
.svc.en .gray { font-size: 19px; line-height: 2.1; margin: 0; }
.svc.en .plain { font-weight: 400; color: #000; font-size: 18px; letter-spacing: 1px; margin: 0; }

/* プロフィール */
.profile { display: grid; grid-template-columns: 175px 1fr; gap: 56px; align-items: start; }
.profile .photo { margin-top: 34px; }
.profile .name-ja { font-size: 24px; color: var(--dark); margin: 0; letter-spacing: normal; line-height: 1.5; }
.profile .name-en { font-family: var(--serif); font-size: 22px; letter-spacing: 8px; color: var(--text); margin: 0 0 32px; line-height: 1.5; }
.profile.en .name-en { font-family: var(--sans); font-size: 34px; letter-spacing: 8px; color: var(--text); text-align: center; grid-column: 1 / -1; margin: 0; }
.profile h3 { font-size: 19px; font-weight: 700; letter-spacing: 1px; margin: 28px 0 2px; }
.profile p, .profile ul { font-size: 15px; letter-spacing: 1px; line-height: 1.95; margin: 0 0 .6em; }
.profile ul { list-style: none; padding: 0; }
.profile a { color: #eac100; word-break: break-all; }
.profile .after { margin-top: 28px; }
.profile ul.quals { font-size: 14px; }
.profile:not(.en) h3.first { font-size: 18px; }
.en-body.intro { font-size: 17px; }

/* お問い合わせ */
.form-head { text-align: center; }
.form-head .ask { font-size: 17px; letter-spacing: 4px; margin: 0 0 22px; }
.form-head .who { font-family: var(--serif); font-size: 21px; letter-spacing: 3px; margin: 0; line-height: 1.6; }
.form-head .role { font-family: var(--serif); font-size: 14px; letter-spacing: 1px; margin: 0 0 24px; }
body.en .form-head .ask { font-size: 18px; letter-spacing: 1px; }
body.en .form-head .who { font-family: var(--sans); }
body.en .form-head .role { font-family: var(--sans); }
form { max-width: 450px; margin: 0 auto; background: #fff; padding: 12px 15px 16px; }
.field { display: block; border-bottom: 1px solid var(--line); padding: 14px 0 0; }
.field span { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 300; color: var(--text); padding-left: 6px; }
.field span::before { content: "»"; font-size: 20px; line-height: 1; color: #777; }
.field input, .field textarea { width: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--dark); padding: 6px 6px 10px; outline: none; }
.field textarea { min-height: 280px; resize: vertical; }
.field:focus-within { border-bottom-color: var(--purple); }
.cf-turnstile { margin: 22px 0 0; min-height: 65px; }
.send-row { display: flex; justify-content: flex-end; margin-top: 18px; }
button[type="submit"] { background: var(--purple); color: #fff; border: 0; width: 130px; height: 40px; font-family: var(--sans); font-weight: 700; font-size: 16px; cursor: pointer; }
button[type="submit"]:hover { background: #9a68a3; }
button[disabled] { opacity: .6; cursor: default; }
.form-msg { margin: 14px 0 0; font-size: 14px; line-height: 1.7; min-height: 1.7em; }
.form-msg.ok { color: #4b7a3d; }
.form-msg.ng { color: #b03a3a; }
.mark { width: 180px; margin: 48px auto 0; }
body.en .mark { width: 130px; }
.profile.en { grid-template-columns: 192px 1fr; }

/* ---------- 下の部分 ---------- */
.site-foot { text-align: center; padding: 40px 0 0; }
.site-foot .ask { font-size: 17px; letter-spacing: 4px; margin: 0 0 18px; }
.site-foot.en .ask { font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: 1px; color: var(--text); }
.site-foot .ico { margin: 16px auto 4px; width: 20px; height: 20px; }
.site-foot a { text-decoration: none; }
.site-foot .serif { font-family: var(--serif); font-size: 16px; letter-spacing: 1px; display: block; }
.site-foot.en p { font-size: 18px; }
.site-foot.en p.serif { font-size: 16px; }
.sec-title.sans { font-family: var(--sans); }
.site-foot p { margin: 0 0 10px; font-size: 16px; }
.flags { width: 200px; margin: 40px auto; }
.copy { background: var(--purple); color: #fff; font-family: var(--serif); font-size: 13px; letter-spacing: 1px; padding: 14px 0 16px; margin-top: 40px; }

/* ---------- スマホ ---------- */
@media (max-width: 820px) {
  .site-head { min-height: 0; }
  .head-row { flex-direction: column; align-items: center; gap: 24px; }
  .tagline { text-align: center; font-size: 15px; padding-top: 8px; }
  .tagline span { font-size: 14px; }
  .logo { width: 250px; }
  .contact-list { font-size: 15px; }
  .contact-list li { margin-bottom: 8px; }
  .tabs a { width: 44%; }
  .sec-title { font-size: 18px; letter-spacing: 4px; margin-bottom: 44px; }
  section { padding-bottom: 56px; }
  .lead { text-align: left; line-height: 2.1; letter-spacing: .5px; font-size: 16px; }
  .en-body { font-size: 16px; line-height: 1.9; text-align: left; }
  .call { margin-top: 44px; }
  .call .ask, .site-foot .ask, .form-head .ask { letter-spacing: 1px; font-size: 14px; }
  .cols { grid-template-columns: repeat(2, 1fr); gap: 20px 20px; font-size: 15px; line-height: 2; justify-content: stretch; }
  .svc .big { margin-bottom: 36px; }
  .svc .plum, .svc.en .gray { font-size: 16px; text-align: left; }
  .svc.en .gray { text-align: center; }
  .profile, .profile.en { grid-template-columns: 1fr; gap: 24px; }
  .profile .photo { width: 100%; max-width: 360px; margin: 0 auto; }
  .profile .text { order: 2; }
  .profile .name-ja, .profile .name-en { text-align: center; }
  .profile .name-en { font-size: 20px; letter-spacing: 4px; margin-bottom: 8px; }
  /* 今のサイトのスマホ表示と同じく、名前 → 写真 → 本文の順に */
  .profile:not(.en) { gap: 0; }
  .profile:not(.en) .text { display: contents; }
  .profile:not(.en) .name-ja { order: 0; }
  .profile:not(.en) .name-en { order: 1; margin-bottom: 20px; }
  .profile:not(.en) .photo { order: 2; }
  .profile:not(.en) .text > *:not(.name-ja):not(.name-en) { order: 3; }
  .profile.en .name-en { font-size: 26px; letter-spacing: 4px; }
  .profile p, .profile ul { letter-spacing: .5px; }
  .note a { font-size: 12px; }
}
@media (max-width: 340px) {
  .contact-list .serif { font-size: 14px; letter-spacing: .5px; }
}
