/* 基本の色・フォント */
:root {
  --ink:#25343b;
  --muted:#60727b;
  --accent:#2f6379;
  --paper:#f7f9fa;
  --line:#dce6ea;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif
}
* {
  box-sizing:border-box
}
html {
  background:var(--paper)
}
body {
  margin:0;
  color:var(--ink)
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit
}
figure,h1,h2,p {
  margin:0
}
img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
:focus-visible {
  outline:3px solid #2f6379;
  outline-offset:5px
}

/* 共通ヘッダー・ナビゲーション */
.site-header {
  position:sticky;
  top:0;
  z-index:120;
  height:76px;
  padding:0 clamp(22px,4vw,70px);
  display:flex;
  align-items:center;
  gap:34px;
  background:#fff;
  box-shadow:0 1px 0 rgba(37,52,59,.08)
}
.brand {
  margin-right:auto;
  font:700 max(var(--text-floor, 16px), 30px)/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.06em;
  white-space:nowrap
}
.nav {
  display:flex;
  align-items:center;
  gap:clamp(18px,2.15vw,36px)
}
.nav a {
  color:#303f47;
  font-size:max(var(--text-floor, 16px), 12px);
  font-weight:700;
  white-space:nowrap
}
.nav a:hover,.nav a[aria-current="page"] {
  color:var(--accent)
}
.nav a[aria-current="page"] {
  text-decoration:underline;
  text-underline-offset:7px;
  text-decoration-thickness:2px
}
.header-contact {
  display:flex;
  align-items:center;
  gap:18px;
  min-width:151px;
  height:42px;
  justify-content:center;
  border-radius:24px;
  background:var(--accent);
  color:#fff;
  font-size:max(var(--text-floor, 16px), 12px);
  font-weight:700;
  white-space:nowrap
}
.header-contact span {
  font-size:max(var(--text-floor, 16px), 17px);
  font-weight:400;
  line-height:1
}
.menu {
  display:none;
  width:36px;
  height:44px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  place-content:center;
  gap:6px;
  flex:0 0 auto
}
.menu i {
  width:25px;
  border-top:1.5px solid var(--ink)
}
.site-header.menu-open .menu i:first-child {
  transform:translateY(3.75px) rotate(45deg)
}
.site-header.menu-open .menu i:last-child {
  transform:translateY(-3.75px) rotate(-45deg)
}
.wrap {
  max-width:1240px;
  margin:0 auto
}

/* パンくずナビゲーション */
.breadcrumb-area {
  padding:21px clamp(22px,5.2vw,88px);
  background:#fff
}
.breadcrumbs {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:13px;
  padding:0;
  margin:0;
  list-style:none;
  color:var(--muted);
  font-size:max(var(--text-floor, 16px), 11px);
  line-height:1.7
}
.breadcrumbs li+li::before {
  content:"/";
  margin-right:13px;
  color:#9aabb3
}
.breadcrumbs a:hover {
  text-decoration:underline
}

/* 01 冒頭のご案内・写真・フォーム導線 */
.contact-intro {
  padding:28px clamp(22px,5.2vw,80px) 66px;
  background:#fff
}
.contact-hero-panel {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  align-items:center;
  gap:42px;
  max-width:1280px;
  min-height:460px;
  margin:auto;
  padding:40px 44px;
  background:#193f53;
  color:#fff
}
.contact-hero-copy {
  min-width:0
}
.contact-audience {
  color:#d5e7ee;
  font-size:max(var(--text-floor, 16px), 13px);
  font-weight:700;
  line-height:1.7
}
.contact-page-title {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:10px;
  font-size:max(var(--text-floor, 16px), 15px);
  line-height:1.7
}
.contact-page-title span {
  color:#b9d0dc;
  font:500 max(var(--text-floor, 16px), 10px)/1.5 Arial,sans-serif;
  letter-spacing:.12em
}
.contact-hero-heading {
  margin-top:17px;
  font-size:max(var(--text-floor, 16px), clamp(38px,3.2vw,46px));
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.42
}
.contact-hero-heading>span {
  display:block
}
.contact-hero-description {
  margin-top:18px;
  font-size:max(var(--text-floor, 16px), 16px);
  font-weight:500;
  line-height:1.85;
  overflow-wrap:anywhere
}
.contact-hero-description p+p {
  margin-top:8px
}
.contact-copy-phrase {
  display:inline-block;
  max-width:100%
}
.contact-hero-button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:350px;
  max-width:100%;
  min-height:58px;
  margin-top:23px;
  padding:16px 21px;
  border:1px solid #fff;
  border-radius:4px;
  background:#fff;
  color:#24556b;
  font-family:inherit;
  font-size:max(var(--text-floor, 16px), 15px);
  font-weight:700;
  line-height:1.7;
  text-align:left
}
.contact-hero-button svg {
  width:22px;
  height:22px;
  flex:0 0 22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.contact-hero-button:disabled {
  opacity:1;
  cursor:default
}
.contact-hero-photo {
  width:100%;
  max-width:440px;
  aspect-ratio:3/2;
  justify-self:end;
  overflow:hidden;
  background:#dce6ea
}
.contact-hero-photo img {
  object-position:center center
}
.contact-hero-panel :focus-visible {
  outline-color:#bde8fa
}
@media(max-width:1050px) {
  .site-header {
    gap:21px
  }
  .nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    max-height:calc(100dvh - 76px);
    overflow-y:auto;
    padding:10px clamp(22px,4vw,70px) 20px;
    background:#fff;
    box-shadow:0 16px 30px rgba(37,52,59,.12)
  }
  .site-header.menu-open .nav {
    display:flex
  }
  .nav a {
    padding:15px 0;
    border-bottom:1px solid var(--line);
    font-size:max(var(--text-floor, 16px), 14px)
  }
  .menu {
    display:grid
  }
  .header-contact {
    min-width:127px
  }
  .contact-intro {
    padding-left:32px;
    padding-right:32px
  }
  .contact-hero-panel {
    gap:30px;
    padding:34px 32px;
    min-height:430px;
    grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)
  }
  .contact-hero-heading {
    font-size:max(var(--text-floor, 16px), 38px)
  }
  .contact-hero-description {
    font-size:max(var(--text-floor, 16px), 15px)
  }
  .has-fixed-contact .unified-footer {
    padding-right:85px
  }
}
@media(max-width:1000px) {
  .contact-hero-panel {
    grid-template-columns:minmax(0,1fr);
    gap:30px;
    padding:34px;
    min-height:0
  }
  .contact-hero-copy {
    margin-right:44px
  }
  .contact-hero-photo {
    justify-self:center
  }
}
@media(max-width:760px) {
  .site-header {
    height:64px;
    padding:0 18px;
    gap:15px
  }
  .brand {
    font-size:max(var(--text-floor, 16px), 25px)
  }
  .header-contact {
    min-width:112px;
    height:37px;
    font-size:max(var(--text-floor, 16px), 10px);
    gap:8px
  }
  .menu i {
    width:21px
  }
  .nav {
    max-height:calc(100dvh - 64px);
    padding:10px 18px 18px
  }
  .breadcrumb-area {
    padding:17px 20px
  }
  .breadcrumbs {
    gap:10px;
    font-size:max(var(--text-floor, 16px), 10px)
  }
  .breadcrumbs li+li::before {
    margin-right:10px
  }
  .contact-intro {
    padding:16px 18px 38px
  }
  .contact-hero-panel {
    gap:28px;
    padding:26px 20px 25px
  }
  .contact-hero-copy {
    margin-right:44px
  }
  .contact-audience {
    font-size:max(var(--text-floor, 16px), 10px)
  }
  .contact-page-title {
    font-size:max(var(--text-floor, 16px), 13px);
    gap:10px;
    margin-top:9px
  }
  .contact-page-title span {
    font-size:max(var(--text-floor, 16px), 9px)
  }
  .contact-hero-heading {
    margin-top:15px;
    font-size:max(var(--text-floor, 16px), clamp(27px,7.9vw,31px));
    line-height:1.43;
    letter-spacing:-.045em
  }
  .contact-hero-heading .heading-service,.contact-hero-heading .heading-ending {
    display:block
  }
  .contact-hero-description {
    margin-top:17px;
    font-size:max(var(--text-floor, 16px), 14px);
    line-height:1.85
  }
  .contact-hero-description p+p {
    margin-top:10px
  }
  .contact-hero-button {
    margin-top:20px;
    width:100%;
    min-height:56px;
    padding:14px 14px;
    gap:10px;
    font-size:max(var(--text-floor, 16px), 12px)
  }
  .contact-hero-button svg {
    width:19px;
    height:19px;
    flex-basis:19px
  }
  .contact-hero-photo {
    max-width:330px
  }
  .has-fixed-contact .unified-footer {
    padding-right:22px
  }
  .unified-footer .ftr-identity {
    padding-right:60px
  }
  .unified-footer .ftr-nav {
    margin-right:60px
  }
  .unified-footer .ftr-nav a span {
    display:inline-block;
    max-width:100%
  }
}
@media(max-width:360px) {
  .contact-intro {
    padding-left:16px;
    padding-right:16px
  }
  .contact-hero-panel {
    padding-left:19px;
    padding-right:19px
  }
  .contact-hero-heading {
    font-size:max(var(--text-floor, 16px), 27px)
  }
  .contact-hero-button {
    font-size:max(var(--text-floor, 16px), 11px);
    padding-left:12px;
    padding-right:12px;
    gap:8px
  }
}

/* 02 フォームと電話の相談窓口 */
.contact-methods {
  padding:0 clamp(22px,5.2vw,80px) 76px;
  background:#fff;
  scroll-margin-top:106px
}
.contact-methods-inner {
  max-width:1280px;
  margin:auto
}
.contact-methods-heading {
  color:#24556b;
  font-size:max(var(--text-floor, 16px), 36px);
  font-weight:800;
  line-height:1.5;
  letter-spacing:-.035em
}
.contact-methods-heading span {
  display:inline-block;
  max-width:100%
}
.contact-methods-grid {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:28px;
  margin-top:30px
}
.method-panel {
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:21px;
  min-height:300px;
  padding:32px;
  border:1px solid #bdd0d9
}
.method-panel h3 {
  margin:0;
  color:#24556b;
  font-size:max(var(--text-floor, 16px), 23px);
  font-weight:700;
  line-height:1.6;
  letter-spacing:-.025em
}
.method-panel-form {
  background:#edf5f8;
  border-color:#d4e3ea
}
.method-panel-phone {
  background:#fff
}
.method-description {
  color:#344f5d;
  font-size:max(var(--text-floor, 16px), 16px);
  line-height:1.85;
  overflow-wrap:anywhere
}
.method-description p+p {
  margin-top:10px
}
.method-copy-phrase {
  display:inline-block;
  max-width:100%
}
.method-phone {
  display:flex;
  align-items:center;
  gap:14px;
  align-self:center;
  color:#2f6379;
  white-space:nowrap
}
.method-phone svg {
  width:28px;
  height:28px;
  flex:0 0 28px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round
}
.method-phone-number {
  font:700 max(var(--text-floor, 16px), 36px)/1.4 Arial,sans-serif;
  letter-spacing:.01em;
  font-variant-numeric:tabular-nums
}
.method-button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  width:320px;
  max-width:100%;
  min-height:58px;
  padding:14px 20px;
  border:1px solid #2f6379;
  border-radius:4px;
  background:#2f6379;
  color:#fff;
  font:inherit;
  font-size:max(var(--text-floor, 16px), 15px);
  font-weight:700;
  line-height:1.7;
  text-align:left
}
.method-button svg {
  width:21px;
  height:21px;
  flex:0 0 21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.method-button:disabled {
  cursor:default;
  opacity:1
}
.method-phone-button {
  justify-content:center;
  background:#f4f7f8;
  border-color:#b5c5cd;
  color:#60727b
}
@media(max-width:1050px) {
  .contact-methods {
    padding-left:32px;
    padding-right:85px
  }
  .contact-methods-heading {
    font-size:max(var(--text-floor, 16px), 32px)
  }
  .contact-methods-grid {
    gap:24px
  }
  .method-panel {
    padding:27px 25px;
    min-height:310px
  }
  .method-panel h3 {
    font-size:max(var(--text-floor, 16px), 21px)
  }
  .method-description {
    font-size:max(var(--text-floor, 16px), 15px)
  }
  .method-phone {
    gap:10px
  }
  .method-phone svg {
    width:24px;
    height:24px;
    flex-basis:24px
  }
  .method-phone-number {
    font-size:max(var(--text-floor, 16px), 32px)
  }
}
@media(max-width:960px) {
  .contact-methods-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .contact-methods-heading .method-heading-lead,.contact-methods-heading .method-heading-ending {
    display:block
  }
  .method-panel {
    min-height:0;
    gap:20px;
    padding:28px
  }
  .method-description {
    font-size:max(var(--text-floor, 16px), 16px);
    max-width:650px
  }
  .method-phone {
    margin:5px 0 10px
  }
}
@media(max-width:760px) {
  .contact-methods {
    padding:0 18px 48px;
    scroll-margin-top:84px
  }
  .contact-methods-heading {
    margin-right:60px;
    font-size:max(var(--text-floor, 16px), 26px);
    line-height:1.55
  }
  .contact-methods-grid {
    gap:22px;
    margin-top:25px
  }
  .method-panel {
    padding:24px 64px 24px 20px;
    gap:18px
  }
  .method-panel h3 {
    font-size:max(var(--text-floor, 16px), 19px);
    line-height:1.65
  }
  .method-description {
    font-size:max(var(--text-floor, 16px), 14px);
    line-height:1.85
  }
  .method-phone {
    gap:9px;
    margin:2px 0 5px
  }
  .method-phone-number {
    font-size:max(var(--text-floor, 16px), 28px);
    letter-spacing:0
  }
  .method-phone svg {
    width:21px;
    height:21px;
    flex-basis:21px
  }
  .method-button {
    width:100%;
    min-height:56px;
    padding:13px 14px;
    font-size:max(var(--text-floor, 16px), 13px);
    gap:10px
  }
  .method-button svg {
    width:19px;
    height:19px;
    flex-basis:19px
  }
}
@media(max-width:360px) {
  .contact-methods {
    padding-left:16px;
    padding-right:16px
  }
  .contact-methods-heading {
    font-size:max(var(--text-floor, 16px), 24px)
  }
  .method-panel h3 {
    font-size:max(var(--text-floor, 16px), 18px)
  }
  .method-phone-number {
    font-size:max(var(--text-floor, 16px), 26px)
  }
  .method-phone>svg {
    display:none
  }
  .method-button {
    font-size:max(var(--text-floor, 16px), 12px);
    padding-left:12px;
    padding-right:12px
  }
}
/* Inquiry fields */
.contact-hero-button:hover {
  background:#eaf4f8;
  border-color:#eaf4f8
}
.method-form-button:hover {
  background:#28566a;
  border-color:#28566a
}

/* 03 お問い合わせフォーム */
.contact-form-section {
  padding:72px clamp(22px,5.2vw,80px) 86px;
  background:#f3f6f8;
  scroll-margin-top:104px
}
.contact-form-section:focus {
  outline:none
}
.contact-form-inner {
  max-width:1040px;
  margin:auto
}

/* フォームの見出しと説明 */
.contact-form-intro {
  margin-bottom:32px
}
.contact-form-intro h2 {
  margin-bottom:20px;
  color:#24556b;
  font-size:max(var(--text-floor, 16px), 34px);
  font-weight:800;
  line-height:1.55;
  letter-spacing:-.035em
}
.contact-form-intro h2 span {
  display:inline-block;
  max-width:100%
}
.contact-form-intro p {
  font-size:max(var(--text-floor, 16px), 15px);
  line-height:1.9;
  overflow-wrap:anywhere
}
.contact-form-intro p+p {
  margin-top:5px
}

/* 入力項目の配置 */
.contact-form {
  margin:0;
  padding:0 36px;
  background:#fff;
  border:1px solid #d5e1e7
}

/* 入力項目のラベルと入力欄 */
.form-row {
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:28px;
  padding:30px 0;
  border-bottom:1px solid #dce6ea
}
.form-row:last-child {
  border-bottom:0
}
.form-label {
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding-top:16px
}
.form-label label {
  color:#253f4d;
  font-size:max(var(--text-floor, 16px), 16px);
  font-weight:700;
  line-height:1.6
}
.field-badge {
  flex:0 0 auto;
  display:inline-block;
  min-width:36px;
  padding:3px 6px;
  border-radius:2px;
  font-size:max(var(--text-floor, 16px), 11px);
  font-weight:700;
  line-height:1.6;
  text-align:center
}
.field-required {
  background:#2f6379;
  color:#fff
}
.field-optional {
  background:#edf1f3;
  color:#536771
}
.form-field {
  min-width:0
}
.form-field input,.form-field select,.form-field textarea {
  display:block;
  width:100%;
  min-width:0;
  border:1px solid #adc1cc;
  border-radius:3px;
  background:#fff;
  color:#25343b;
  font:400 max(var(--text-floor, 16px), 16px)/1.6 "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif
}
.form-field input,.form-field select {
  min-height:56px;
  padding:13px 15px
}
.form-field select {
  padding-right:8px
}
.form-field textarea {
  min-height:230px;
  padding:15px;
  resize:vertical
}
.form-field input:focus-visible,.form-field select:focus-visible,.form-field textarea:focus-visible {
  outline:3px solid #2f6379;
  outline-offset:3px
}
.form-help,.form-example {
  margin-top:10px;
  color:#526873;
  font-size:max(var(--text-floor, 16px), 14px);
  line-height:1.8;
  overflow-wrap:anywhere
}
.form-example+.form-help {
  margin-top:4px
}
.consultation-examples {
  margin-top:22px;
  padding:18px 20px;
  background:#f2f7f9;
  border-left:3px solid #7fa5b7;
  overflow-wrap:anywhere
}
.consultation-examples h3 {
  margin:0;
  color:#34596c;
  font-size:max(var(--text-floor, 16px), 14px);
  line-height:1.7
}
.consultation-examples dl {
  margin:13px 0 0;
  font-size:max(var(--text-floor, 16px), 14px);
  line-height:1.85
}
.consultation-examples dl>div:not([hidden])~div:not([hidden]) {
  margin-top:15px
}
.consultation-examples dt {
  color:#34596c;
  font-weight:700
}
.consultation-examples dd {
  margin:4px 0 0;
  color:#526873
}
@media(max-width:1200px) {
  .contact-form-section {
    padding-left:32px;
    padding-right:85px
  }
  .contact-form {
    padding:0 28px
  }
  .form-row {
    grid-template-columns:190px minmax(0,1fr);
    gap:22px
  }
}
@media(max-width:960px) {
  .form-row {
    grid-template-columns:minmax(0,1fr);
    gap:14px;
    padding:27px 0
  }
  .form-label {
    padding-top:0;
    align-items:center
  }
  .contact-form-intro h2 {
    font-size:max(var(--text-floor, 16px), 30px)
  }
}
@media(max-width:760px) {
  .contact-form-section {
    padding:44px 18px 52px;
    scroll-margin-top:84px
  }
  .contact-form-intro {
    margin-bottom:26px;
    margin-right:60px
  }
  .contact-form-intro h2 {
    font-size:max(var(--text-floor, 16px), 26px);
    margin-bottom:17px;
    line-height:1.6
  }
  .contact-form-intro h2 span {
    display:block
  }
  .contact-form-intro p {
    font-size:max(var(--text-floor, 16px), 14px);
    line-height:1.85
  }
  .contact-form-intro p+p {
    margin-top:8px
  }
  .contact-form {
    padding:0 64px 0 20px
  }
  .form-row {
    gap:13px;
    padding:24px 0
  }
  .form-label label {
    font-size:max(var(--text-floor, 16px), 15px)
  }
  .field-badge {
    min-width:34px;
    font-size:max(var(--text-floor, 16px), 10px)
  }
  .form-field input,.form-field select {
    min-height:54px;
    padding-left:12px
  }
  .form-field textarea {
    min-height:210px;
    padding:12px
  }
  .form-help,.form-example {
    font-size:max(var(--text-floor, 16px), 13px);
    line-height:1.85
  }
  .consultation-examples {
    padding:15px 13px;
    margin-top:20px
  }
  .consultation-examples h3,.consultation-examples dl {
    font-size:max(var(--text-floor, 16px), 13px)
  }
}
@media(max-width:360px) {
  .contact-form-section {
    padding-left:16px;
    padding-right:16px
  }
  .contact-form-intro h2 {
    font-size:max(var(--text-floor, 16px), 24px)
  }
  .contact-form {
    padding-left:16px
  }
  .form-label {
    gap:8px
  }
  .form-label label {
    font-size:max(var(--text-floor, 16px), 14px)
  }
  .consultation-examples {
    padding-left:11px;
    padding-right:11px
  }
}

/* 個人情報の取り扱い */
.form-privacy {
  padding:32px 0 36px;
  scroll-margin-top:104px;
  overflow-wrap:anywhere
}
.form-privacy:focus {
  outline:none
}
.form-privacy h3 {
  margin:0 0 18px;
  color:#24556b;
  font-size:max(var(--text-floor, 16px), 24px);
  line-height:1.6;
  letter-spacing:-.025em
}
.form-privacy h3>span {
  display:inline-block;
  max-width:100%
}
.privacy-purpose,.privacy-guide {
  color:#3b5360;
  font-size:max(var(--text-floor, 16px), 15px);
  line-height:1.9
}

/* 個人情報の詳細表示 */
.privacy-details {
  margin-top:18px
}
.privacy-details summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:48px;
  padding:10px 0;
  color:#2f6379;
  font-size:max(var(--text-floor, 16px), 15px);
  font-weight:700;
  line-height:1.85;
  list-style:none;
  cursor:pointer
}
.privacy-details summary::-webkit-details-marker {
  display:none
}
.privacy-details summary>span {
  text-decoration:underline;
  text-underline-offset:5px;
  text-decoration-thickness:1px
}
.privacy-details-phrase {
  display:inline-block;
  max-width:100%;
  text-decoration:underline;
  text-underline-offset:5px;
  text-decoration-thickness:1px
}
.privacy-details summary:hover {
  color:#193f53
}
.privacy-details summary svg {
  width:20px;
  height:20px;
  flex:0 0 20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.privacy-details[open] .privacy-plus-vertical {
  display:none
}
.privacy-details summary:focus-visible {
  outline:3px solid #2f6379;
  outline-offset:4px
}
.privacy-detail-body {
  padding:24px 0 26px;
  border-top:1px solid #dce6ea;
  border-bottom:1px solid #dce6ea;
  color:#526873;
  font-size:max(var(--text-floor, 16px), 15px);
  line-height:1.9
}
.privacy-detail-body section+section {
  margin-top:23px
}
.privacy-detail-body h4 {
  margin:0 0 9px;
  color:#34596c;
  font-size:max(var(--text-floor, 16px), 16px);
  font-weight:700;
  line-height:1.7
}
.privacy-operator {
  margin:12px 0 0
}
.privacy-operator>div {
  display:grid;
  grid-template-columns:95px minmax(0,1fr);
  gap:15px
}
.privacy-operator>div+div {
  margin-top:7px
}
.privacy-operator dt {
  font-weight:500
}
.privacy-operator dd {
  margin:0
}
.privacy-address-phrase {
  display:inline-block;
  max-width:100%
}
.privacy-guide {
  margin-top:22px
}

/* 同意欄・無効状態 */
.privacy-agreement {
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:start;
  gap:12px;
  min-height:44px;
  margin-top:16px;
  padding:10px 0;
  color:#526873;
  font-size:max(var(--text-floor, 16px), 15px);
  line-height:1.85;
  cursor:default
}
.privacy-agreement input {
  width:22px;
  height:22px;
  margin:3px 0 0;
  accent-color:#2f6379
}
.privacy-consent-phrase {
  display:inline-block;
  max-width:100%
}
.privacy-agreement-copy .field-badge {
  margin-left:10px;
  vertical-align:2px
}
@media(max-width:960px) {
  .privacy-operator>div {
    grid-template-columns:85px minmax(0,1fr);
    gap:12px
  }
}
@media(max-width:760px) {
  .form-privacy {
    padding:26px 0 28px;
    scroll-margin-top:84px
  }
  .form-privacy h3 {
    font-size:max(var(--text-floor, 16px), 22px);
    margin-bottom:17px
  }
  .form-privacy h3>span {
    display:block
  }
  .privacy-purpose,.privacy-guide,.privacy-detail-body {
    font-size:max(var(--text-floor, 16px), 14px);
    line-height:1.85
  }
  .privacy-details {
    margin-top:17px
  }
  .privacy-details summary {
    font-size:max(var(--text-floor, 16px), 14px);
    gap:12px;
    min-height:48px
  }
  .privacy-details summary svg {
    width:18px;
    height:18px;
    flex-basis:18px
  }
  .privacy-detail-body {
    padding:20px 0 23px
  }
  .privacy-detail-body section+section {
    margin-top:22px
  }
  .privacy-detail-body h4 {
    font-size:max(var(--text-floor, 16px), 15px)
  }
  .privacy-operator>div {
    grid-template-columns:minmax(0,1fr);
    gap:3px
  }
  .privacy-operator>div+div {
    margin-top:13px
  }
  .privacy-operator dt {
    color:#34596c
  }
  .privacy-guide {
    margin-top:20px
  }
  .privacy-agreement {
    margin-top:13px;
    gap:10px;
    font-size:max(var(--text-floor, 16px), 14px)
  }
  .privacy-agreement-copy .field-badge {
    margin-left:7px;
    vertical-align:1px
  }
}
@media(max-width:360px) {
  .form-privacy h3 {
    font-size:max(var(--text-floor, 16px), 20px)
  }
  .privacy-details summary {
    font-size:max(var(--text-floor, 16px), 13px)
  }
  .privacy-agreement {
    font-size:max(var(--text-floor, 16px), 13px)
  }
}
[hidden] {
  display:none!important
}

/* 入力・確認・送信結果の手順表示 */
.contact-steps {
  display:flex;
  gap:0;
  list-style:none;
  padding:0;
  margin:0 0 32px;
  color:#60727b;
  font-size:max(var(--text-floor, 16px), 14px);
  line-height:1.6
}
.contact-steps li {
  display:flex;
  align-items:center;
  gap:9px;
  flex:1;
  min-width:0;
  padding:14px 10px;
  border-bottom:2px solid #d1dde3
}
.contact-steps li[aria-current="step"] {
  border-bottom:3px solid #2f6379;
  color:#24556b;
  font-weight:700
}
.contact-steps li>span {
  display:grid;
  place-items:center;
  flex:0 0 24px;
  height:24px;
  border:1px solid #bccdd6;
  border-radius:50%;
  font:500 max(var(--text-floor, 16px), 12px)/1 Arial,sans-serif
}
.contact-steps li[aria-current="step"]>span {
  background:#2f6379;
  border-color:#2f6379;
  color:#fff
}
.contact-form-intro h2:focus,.contact-result-panel h2:focus {
  outline:none
}

/* 操作ボタンの配置 */
.form-actions {
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:18px;
  padding:32px 0 36px
}
.form-actions-entry {
  border-top:1px solid #dce6ea
}
.form-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:310px;
  max-width:100%;
  min-height:56px;
  padding:15px 18px;
  border:1px solid #2f6379;
  border-radius:4px;
  font-family:inherit;
  font-size:max(var(--text-floor, 16px), 15px);
  font-weight:700;
  line-height:1.7;
  cursor:pointer;
  text-align:center
}
.form-button>span {
  font-size:max(var(--text-floor, 16px), 21px);
  line-height:1;
  flex:0 0 auto
}
.form-button-primary {
  background:#2f6379;
  color:#fff
}
.form-button-primary:hover:not(:disabled) {
  background:#245367;
  border-color:#245367
}
.form-button-secondary {
  background:#fff;
  color:#2f6379
}
.form-button-secondary:hover {
  background:#edf5f8
}
.form-button:disabled {
  cursor:default;
  opacity:.7
}

/* 入力内容の確認画面 */
.confirmation-panel {
  padding:0 36px;
  background:#fff;
  border:1px solid #d5e1e7
}
.confirmation-list {
  margin:0
}
.confirmation-list>div {
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:28px;
  padding:26px 0;
  border-bottom:1px solid #dce6ea
}
.confirmation-list dt {
  color:#253f4d;
  font-size:max(var(--text-floor, 16px), 15px);
  font-weight:700;
  line-height:1.85;
  overflow-wrap:anywhere
}
.confirmation-list dd {
  margin:0;
  min-width:0;
  color:#344f5d;
  font-size:max(var(--text-floor, 16px), 16px);
  line-height:1.9;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

/* 送信結果の画面 */
.contact-result-panel {
  padding:52px 36px 24px;
  border:1px solid #d5e1e7;
  background:#fff;
  text-align:center
}
.result-mark {
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  margin:0 auto 25px;
  border:1px solid #2f6379;
  border-radius:50%;
  background:#edf5f8;
  color:#2f6379;
  font-size:max(var(--text-floor, 16px), 32px)
}
.result-mark svg {
  width:32px;
  height:32px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round
}
.result-mark-error {
  background:#fff5f3;
  color:#963c31;
  border-color:#c78479
}

/* 送信中のマーク */
.result-mark-pending {
  width:44px;
  height:44px;
  background:transparent;
  border:3px solid #d5e1e7;
  border-top-color:#2f6379;
  animation:contact-spin 1s linear infinite
}
@keyframes contact-spin {
  to {
    transform:rotate(360deg)
  }
}
@media(prefers-reduced-motion:reduce) {
  .result-mark-pending {
    animation:none
  }
}
.contact-result-panel h2 {
  color:#24556b;
  font-size:max(var(--text-floor, 16px), 32px);
  line-height:1.6;
  letter-spacing:-.025em
}
.contact-result-panel h2>span {
  display:inline-block;
  max-width:100%
}
.contact-result-panel p {
  margin:22px auto 0;
  max-width:650px;
  color:#344f5d;
  font-size:max(var(--text-floor, 16px), 16px);
  line-height:1.9;
  overflow-wrap:anywhere
}
.contact-result-panel .form-actions {
  margin-top:8px
}

/* 入力エラーの案内 */
.contact-error-summary {
  margin:0 0 26px;
  padding:23px 26px;
  border:2px solid #aa5145;
  background:#fff;
  color:#8c352a;
  scroll-margin-top:104px;
  overflow-wrap:anywhere
}
.contact-error-summary h3 {
  margin:0;
  font-size:max(var(--text-floor, 16px), 18px);
  line-height:1.7
}
.contact-error-summary ul {
  margin:12px 0 0;
  padding-left:20px
}
.contact-error-summary li {
  line-height:1.8;
  margin-top:8px
}
.contact-error-summary a {
  text-decoration:underline;
  text-underline-offset:3px
}
.field-error {
  margin:12px 0 0;
  color:#963c31;
  font-size:max(var(--text-floor, 16px), 14px);
  line-height:1.8;
  overflow-wrap:anywhere
}
.form-field [aria-invalid="true"] {
  border:2px solid #aa5145
}
.form-field input,.form-field select,.form-field textarea {
  scroll-margin-top:104px
}
@media(max-width:1200px) {
  .confirmation-panel {
    padding:0 28px
  }
  .confirmation-list>div {
    grid-template-columns:190px minmax(0,1fr);
    gap:22px
  }
}
@media(max-width:960px) {
  .confirmation-list>div {
    grid-template-columns:minmax(0,1fr);
    gap:9px
  }
}
@media(max-width:760px) {
  .contact-steps {
    margin-right:60px;
    margin-bottom:25px;
    font-size:max(var(--text-floor, 16px), 12px)
  }
  .contact-steps li {
    padding:11px 3px;
    gap:5px
  }
  .contact-steps li>span {
    flex-basis:20px;
    height:20px;
    font-size:max(var(--text-floor, 16px), 10px)
  }
  .form-actions {
    flex-direction:column;
    gap:15px;
    padding:26px 0 28px
  }
  .form-button {
    width:100%;
    font-size:max(var(--text-floor, 16px), 14px);
    padding:15px 12px;
    gap:10px
  }
  .confirmation-panel {
    padding:0 64px 0 20px
  }
  .confirmation-list>div {
    padding:23px 0;
    gap:8px
  }
  .confirmation-list dt {
    font-size:max(var(--text-floor, 16px), 14px)
  }
  .confirmation-list dd {
    font-size:max(var(--text-floor, 16px), 16px);
    line-height:1.85
  }
  .contact-result-panel {
    padding:32px 64px 8px 20px;
    text-align:left
  }
  .result-mark {
    margin:0 0 21px;
    width:54px;
    height:54px
  }
  .result-mark-pending {
    width:40px;
    height:40px
  }
  .contact-result-panel h2 {
    font-size:max(var(--text-floor, 16px), 24px);
    line-height:1.65
  }
  .contact-result-panel h2>span {
    display:block
  }
  .contact-result-panel p {
    font-size:max(var(--text-floor, 16px), 15px);
    margin-top:18px;
    line-height:1.85
  }
  .contact-error-summary {
    margin-right:60px;
    padding:18px 15px;
    scroll-margin-top:84px
  }
  .contact-error-summary h3 {
    font-size:max(var(--text-floor, 16px), 16px)
  }
  .contact-error-summary li,.field-error {
    font-size:max(var(--text-floor, 16px), 13px)
  }
  .form-field input,.form-field select,.form-field textarea {
    scroll-margin-top:84px
  }
}
@media(max-width:360px) {
  .contact-steps {
    font-size:max(var(--text-floor, 16px), 11px)
  }
  .contact-steps li {
    gap:3px;
    padding-left:2px;
    padding-right:2px;
    white-space:nowrap
  }
  .contact-steps li>span {
    flex-basis:18px;
    height:18px
  }
  .confirmation-panel,.contact-result-panel {
    padding-left:16px
  }
  .form-button {
    font-size:max(var(--text-floor, 16px), 13px);
    gap:7px;
    padding-left:10px;
    padding-right:10px
  }
  .contact-result-panel h2 {
    font-size:max(var(--text-floor, 16px), 22px)
  }
}
