:root {
  --entry-ink: #1f2f36;
  --entry-copy: #3d4f56;
  --entry-blue: #0c9ecd;
  --entry-deep: #087fa7;
  --entry-line: #d9e5e8;
  --entry-mist: #f5fafb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--entry-mist);
  color: var(--entry-ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-size-adjust: 100%;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #e0af49; outline-offset: 3px; }
[hidden] { display: none !important; }

.entry-skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 30;
  padding: 8px 18px;
  background: #fff;
  color: var(--entry-deep);
}
.entry-skip:focus { top: 12px; }
.entry-header { background: #fff; box-shadow: 0 3px 24px rgba(25, 78, 100, .08); }
.entry-header__inner {
  max-width: 1180px;
  min-height: 88px;
  margin: auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.entry-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.entry-brand img { width: 172px; height: auto; display: block; }
.entry-brand span { font-size: 12px; font-weight: 700; color: var(--entry-deep); white-space: nowrap; }
.entry-header__links { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.entry-header__links a { text-decoration: none; }
.entry-header__links a:hover, .entry-footer a:hover { color: var(--entry-blue); text-decoration: underline; }
.entry-header__phone { color: var(--entry-deep); font-family: "Outfit", sans-serif; font-size: 18px; letter-spacing: .04em; }

.entry-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #0a779d 5%, #0c9ecd 75%, #7bc9ca 110%);
  color: #fff;
}
.entry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/rishinkai/photos/01_fade1.jpg") center 48% / cover;
  opacity: .17;
  filter: grayscale(1);
}
.entry-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -260px;
  right: 1%;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  box-shadow: 0 0 0 85px rgba(255,255,255,.055), 0 0 0 175px rgba(255,255,255,.035);
  pointer-events: none;
}
.entry-hero__inner { max-width: 1180px; margin: auto; padding: 66px 28px 75px; }
.entry-hero__eyebrow, .entry-guide__eyebrow, .entry-panel__eyebrow {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
}
.entry-hero h1 { margin: 13px 0 10px; font: 700 clamp(29px, 4vw, 45px)/1.4 "Zen Old Mincho", serif; letter-spacing: .07em; }
.entry-hero p:last-child { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.9; }

.entry-layout {
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 28px 110px;
}
.entry-guide { padding-top: 20px; }
.entry-guide__eyebrow, .entry-panel__eyebrow { color: var(--entry-blue); }
.entry-guide h2 { margin: 15px 0 24px; font: 700 clamp(24px, 2.5vw, 34px)/1.6 "Zen Old Mincho", serif; letter-spacing: .05em; }
.entry-guide > p { color: var(--entry-copy); font-size: 14px; line-height: 2; }
.entry-guide__steps { margin: 38px 0 42px; padding: 0; list-style: none; border-top: 1px solid var(--entry-line); }
.entry-guide__steps li { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--entry-line); padding: 16px 0; font-size: 14px; font-weight: 700; }
.entry-guide__steps span { color: var(--entry-blue); font: 600 18px "Outfit", sans-serif; }
.entry-guide__phone { border-radius: 6px; padding: 22px; background: #e7f5f9; display: flex; flex-direction: column; }
.entry-guide__phone span { font-size: 12px; font-weight: 700; }
.entry-guide__phone a { margin: 5px 0; color: var(--entry-deep); font: 600 25px "Outfit", sans-serif; text-decoration: none; }
.entry-guide__phone small { font-size: 11px; color: var(--entry-copy); }

.entry-panel { padding: clamp(26px, 5vw, 56px); border-radius: 8px; background: #fff; box-shadow: 0 18px 56px rgba(20, 76, 99, .09); }
.entry-panel__head { border-bottom: 1px solid var(--entry-line); padding-bottom: 26px; margin-bottom: 36px; }
.entry-panel__head h2 { margin: 12px 0; font: 700 clamp(22px, 2.5vw, 28px)/1.5 "Zen Old Mincho", serif; }
.entry-panel__head p { margin: 0; color: var(--entry-copy); font-size: 13px; }
.entry-fieldset { margin: 0 0 30px; padding: 0; border: 0; }
.entry-fieldset legend, .entry-field > label { display: block; margin-bottom: 11px; font-size: 14px; font-weight: 700; }
.entry-required, .entry-optional { margin-left: 8px; padding: 2px 6px; border-radius: 2px; font-size: 10px; font-weight: 700; vertical-align: 2px; }
.entry-required { color: #fff; background: var(--entry-deep); }
.entry-optional { color: #596d72; background: #edf2f3; }
.entry-choice-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.entry-choice { position: relative; cursor: pointer; }
.entry-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.entry-choice span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--entry-line);
  border-radius: 4px;
  background: #fff;
  color: var(--entry-copy);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s, border-color .18s;
}
.entry-choice input:checked + span { border-color: var(--entry-blue); background: #eaf7fa; color: var(--entry-deep); }
.entry-choice input:focus-visible + span { outline: 3px solid #e0af49; outline-offset: 3px; }
.entry-field { margin-bottom: 30px; }
.entry-field input, .entry-field select, .entry-field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #c9d7db;
  border-radius: 4px;
  background: #fff;
  color: var(--entry-ink);
  font-size: 15px;
}
.entry-field textarea { min-height: 150px; resize: vertical; }
.entry-field input::placeholder, .entry-field textarea::placeholder { color: #87999e; }
.entry-field input:hover, .entry-field select:hover, .entry-field textarea:hover { border-color: var(--entry-blue); }
.entry-field small { display: block; margin-top: 7px; color: #5d7177; font-size: 11px; }
.entry-privacy { margin-top: 38px; padding: 22px 24px; background: var(--entry-mist); border: 1px solid var(--entry-line); border-radius: 5px; }
.entry-privacy h3 { margin: 0 0 8px; font-size: 14px; }
.entry-privacy p { margin: 0 0 20px; color: var(--entry-copy); font-size: 12px; line-height: 1.85; }
.entry-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.entry-consent input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--entry-deep); flex: none; }
.entry-consent strong { margin-left: 5px; color: var(--entry-deep); font-size: 11px; }
.entry-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.entry-status { margin: 22px 0 0; padding: 12px 15px; border-radius: 4px; background: #fff2ec; border: 1px solid #e6b49d; color: #8c3a22; font-size: 13px; }
.entry-submit { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 60px; margin-top: 30px; padding: 12px 22px; border: 0; border-radius: 4px; background: var(--entry-blue); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 12px 25px rgba(12,158,205,.22); transition: background .18s, transform .18s; }
.entry-submit:hover { background: var(--entry-deep); transform: translateY(-2px); }
.entry-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.entry-submit span { font-size: 20px; line-height: 1; }
.entry-submit-note { margin: 13px 0 0; color: #61747a; text-align: center; font-size: 11px; }
.entry-complete { text-align: center; padding: 38px 15px 18px; }
.entry-complete__icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: #eaf7fa; color: var(--entry-deep); font-size: 32px; }
.entry-complete h2 { font: 700 25px "Zen Old Mincho", serif; }
.entry-complete p { max-width: 420px; margin: 18px auto 30px; color: var(--entry-copy); font-size: 14px; }
.entry-complete a { display: inline-block; padding: 13px 24px; border: 1px solid var(--entry-blue); border-radius: 4px; color: var(--entry-deep); font-size: 13px; font-weight: 700; text-decoration: none; }
.entry-complete a:hover { background: #eaf7fa; }
.entry-noscript { padding: 16px; background: #fff4e6; }
.entry-footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px max(28px, calc((100vw - 1124px)/2)); background: #193a49; color: #fff; font-size: 12px; }
.entry-footer div { display: flex; flex-direction: column; gap: 5px; }
.entry-footer a { text-decoration: none; }

@media (max-width: 800px) {
  .entry-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 48px; }
  .entry-guide { padding-top: 0; }
  .entry-guide h2 br { display: none; }
  .entry-guide__steps { display: none; }
  .entry-guide__phone { max-width: 360px; margin-top: 22px; }
}
@media (max-width: 550px) {
  .entry-header__inner { min-height: 67px; padding: 10px 18px; }
  .entry-brand img { width: 132px; }
  .entry-brand span { font-size: 10px; }
  .entry-header__links { gap: 10px; font-size: 11px; }
  .entry-header__phone { display: none; }
  .entry-hero__inner { padding: 46px 22px 53px; }
  .entry-hero h1 { font-size: 29px; }
  .entry-hero p:last-child { font-size: 13px; }
  .entry-layout { padding: 37px 16px 70px; }
  .entry-guide { padding: 0 5px; }
  .entry-guide h2 { margin: 10px 0 8px; font-size: 23px; }
  .entry-guide > p { font-size: 13px; }
  .entry-guide__phone { display: none; }
  .entry-panel { padding: 26px 19px 32px; }
  .entry-panel__head { margin-bottom: 26px; }
  .entry-choice-group { grid-template-columns: 1fr; }
  .entry-choice span { min-height: 45px; justify-content: start; padding-left: 16px; }
  .entry-field { margin-bottom: 26px; }
  .entry-privacy { padding: 18px; }
  .entry-footer { flex-direction: column; padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
