/* ファステラウン：キャラクターの色を差し色にした、読みやすい明るい配色 */
:root {
  --ink: #1d1d1f;
  --muted: #5b5b66;
  --bg: #fffdf7;
  --tint: #f3f7ff;
  --line: #e6e2d6;
  --header: #141414;
  --blue: #1f6feb;
  --purple: #7c4dff;
  --cyan: #33c7d6;
  --pink: #ff5fb4;
  --green: #6fcf4f;
  --yellow: #ffd84d;
  --accent: #ff7a00;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 17px; line-height: 1.85; letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo img { width: 210px; }
.header-tel { margin-left: auto; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-tel:hover { color: var(--yellow); }
.menu-button { background: none; border: 0; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 0; }
.menu-button span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.menu { display: none; position: absolute; right: 0; left: 0; top: 100%; background: var(--header); padding: 8px 20px 20px; }
.menu.open { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: block; color: #fff; text-decoration: none; padding: 10px 4px; border-bottom: 1px solid #333; font-weight: 700; }
.menu li a:hover { color: var(--yellow); }
@media (min-width: 1000px) {
  .menu-button { display: none; }
  .menu { display: block; position: static; padding: 0; background: none; order: 2; margin-left: auto; }
  .menu ul { display: flex; gap: 2px; }
  .menu li a { border: 0; padding: 6px 10px; font-size: 15px; border-radius: 999px; white-space: nowrap; }
  .menu li:last-child a { background: var(--accent); }
  .menu li:last-child a:hover { color: #fff; background: #e66d00; }
  .header-tel { order: 3; margin-left: 12px; font-size: 15px; }
}

/* hero */
.hero { background: linear-gradient(135deg, #fff4d6 0%, #ffe3f1 50%, #def6ff 100%); padding: 48px 0 40px; }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.hero-kicker { margin: 0; font-weight: 700; color: var(--purple); }
.hero h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.35; margin: 8px 0 12px; }
.hero-catch { font-weight: 700; margin: 0 0 20px; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.15); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1fr 1.15fr; } .hero { padding: 72px 0 64px; } }

.button { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 0; font-size: 17px; cursor: pointer; font-family: inherit; }
.button:hover { background: #e66d00; color: #fff; }
.button.ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 10px 20px; }
.button.ghost:hover { background: var(--ink); color: #fff; }
.button[disabled] { opacity: .6; cursor: wait; }

/* vacancy */
.vacancy { background: var(--yellow); }
.vacancy p { margin: 0; padding: 14px 0; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.vacancy strong { background: var(--ink); color: var(--yellow); padding: 2px 12px; border-radius: 999px; font-size: 15px; }
.vacancy small { font-weight: 400; color: #4a3f00; }

/* sections */
.section { padding: 56px 0; }
.section.tint { background: var(--tint); }
.heading { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 4vw, 32px); margin: 0 0 20px; line-height: 1.3; }
.heading img { width: 56px; height: 56px; flex: none; }
.page-title { font-size: clamp(26px, 4.5vw, 36px); margin: 0 0 24px; }
.sub { font-size: 22px; margin: 36px 0 14px; padding-left: 12px; border-left: 6px solid var(--purple); }
.lead { font-size: 18px; margin: 0 0 28px; }
.more { text-align: right; font-weight: 700; }

.works { display: grid; gap: 24px; }
.work { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
.work img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.work div { padding: 18px 22px 22px; }
.work h3 { margin: 0 0 8px; font-size: 21px; }
.work p { margin: 0; }
@media (min-width: 860px) { .works { grid-template-columns: repeat(3, 1fr); } }

.cards { display: grid; gap: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 20px 22px; border-top: 6px solid var(--cyan); }
.card:nth-child(2) { border-top-color: var(--pink); }
.card:nth-child(3) { border-top-color: var(--green); }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.story { margin-top: 32px; display: grid; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); padding: 20px; }
.story img { border-radius: 12px; }
.story h3 { margin: 0 0 6px; }
.story p { margin: 0; }
@media (min-width: 860px) { .story { grid-template-columns: 340px 1fr; } }

.about { display: grid; gap: 24px; align-items: start; }
.about > img { border-radius: var(--radius); }
@media (min-width: 860px) { .about { grid-template-columns: 1.3fr 1fr; } }
.facts { margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; padding: 12px 0 0; color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
.facts dd ul, .facts dd ol { margin: 0; padding-left: 1.4em; }
.facts dd p { margin: 0 0 6px; }
@media (min-width: 640px) {
  .facts { grid-template-columns: 11em 1fr; }
  .facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .facts dt { padding-right: 12px; }
}

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: f; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.flow h3 { margin: 0 0 4px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.flow h3 span { display: inline-grid; place-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 16px; }
.flow p { margin: 0; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); } }

.access { display: grid; gap: 20px; }
.access .address { font-size: 19px; font-weight: 700; }
.access iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }
@media (min-width: 860px) { .access { grid-template-columns: 1fr 1.4fr; } }

.news-list { display: grid; gap: 4px; }
.news-item { border-bottom: 1px dashed var(--line); padding: 14px 0; }
.news-item h3 { margin: 0; font-size: 18px; }
.news-item h3 a { color: var(--ink); }
.news-date { margin: 0; color: var(--muted); font-size: 14px; }
.news-list.full .news-item { padding: 24px 0; }
.news-list.full .news-item h3 { font-size: 21px; margin-bottom: 8px; }
.news-images { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 12px; }
.news-images img { border-radius: 10px; border: 1px solid var(--line); }

.contact { background: linear-gradient(180deg, var(--bg), #fff3e3); }
.tel-box { background: #fff; border-radius: var(--radius); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; border: 2px solid var(--accent); }
.tel-box a { font-size: 26px; font-weight: 800; color: var(--ink); text-decoration: none; }
.tel-box small { color: var(--muted); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 22px; margin-top: 20px; border: 1px solid var(--line); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.contact-form legend { font-weight: 700; margin-bottom: 6px; }
.contact-form .radio, .contact-form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid #b9b5aa; border-radius: 10px; width: 100%; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid #ffd0a1; border-color: var(--accent); }
.contact-form input[type=radio], .contact-form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.req, .opt { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.req { background: #ffe1e1; color: #b00020; }
.opt { background: #eee; color: #555; }
.form-note { margin: 0; font-size: 15px; color: var(--muted); }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: #0a7a2f; }
.form-status.ng { color: #b00020; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }

.doc-list { padding-left: 1.2em; }
.videos { display: grid; gap: 24px; }
.video { margin: 0; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.video figcaption { font-weight: 700; margin-top: 6px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose ul { padding-left: 1.3em; }
.right { text-align: right; color: var(--muted); }

/* footer */
.site-footer { background: var(--header); color: #ddd; padding: 40px 0 20px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 20px; }
.footer-name { font-weight: 700; color: #fff; font-size: 17px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.copyright { text-align: center; color: #999; margin: 24px 0 0; font-size: 13px; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.2fr 1fr; } }

/* score */
.score-teaser { padding: 0 0 8px; }
.score-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; background: #fff; border: 2px solid var(--purple); border-radius: var(--radius); padding: 16px 22px; color: var(--ink); text-decoration: none; }
.score-link:hover { background: #f5f0ff; color: var(--ink); }
.score-label { font-weight: 800; color: var(--purple); }
.score-value { font-weight: 800; font-size: 20px; }
.score-more { margin-left: auto; color: var(--blue); font-weight: 700; }
.score-total { font-size: 20px; }
.score-total strong { font-size: 32px; color: var(--purple); }
.score-table { border-collapse: collapse; width: 100%; max-width: 480px; margin: 0 0 20px; background: #fff; }
.score-table caption { text-align: left; font-weight: 700; color: var(--muted); padding-bottom: 6px; font-size: 15px; }
.score-table th, .score-table td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.score-table td { text-align: right; font-weight: 700; width: 7em; }
