@charset "utf-8";

/* ===== 共通ページHero ===== */
.page-hero{
  padding: 56px 0 28px;
  background: #f6f7fb;
}
.page-hero-en{
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 12px;
  opacity: .7;
  margin: 0 0 6px;
}
.page-hero-title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
}
.page-hero-lead{
  margin: 0;
  opacity: .85;
  max-width: 56em;
}

/* ===== カード ===== */
.contact-cards{
  padding: 34px 0 10px;
}
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 18px;
}
.contact-card-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .06);
  margin: 10px auto;
}
.contact-card-icon i{
  font-size: 20px;
}
.contact-card-title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}
.contact-card-text{
  margin: 0 0 12px;
  opacity: .8;
  font-size: 14px;
  line-height: 1.7;
}
.contact-card-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}
.contact-card-cta.is-line{
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
.contact-card-cta.is-form{
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}
.contact-card-note{
  margin: 10px 0 0;
  font-size: 12px;
  opacity: .65;
}

/* ===== フォーム ===== */
.contact-form{
  padding: 38px 0 64px;
}
.form-head{
  margin-bottom: 16px;
}
.form-title{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
}
.form-lead{
  margin: 0;
  opacity: .75;
  font-size: 14px;
}

.form{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 18px;
}
.form-row{
  margin-top: 14px;
}
.form-row:first-child{
  margin-top: 0;
}
.form-label{
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}
.req{
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #ef4444;
}
.form-input,
.form-textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}
.form-input:focus,
.form-textarea:focus{
  border-color: rgba(15, 23, 42, .45);
}
.form-radio{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.form-radio label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}
.form-check{
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 800;
}

.form-check a{
  text-decoration: underline;
}

/* .form-actions{
  margin-top: 18px;
  display: grid;
  gap: 8px;
  justify-items: start;
} */

/* 送信ボタン中央寄せ */
.form-actions{
   margin-top: 18px;
  justify-items: center;
  text-align: center;
}
.form-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #10589a;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.form-note{
  margin: 0;
  font-size: 12px;
  opacity: .65;
}

/* ===== Access mini ===== */
.contact-access{
  padding: 0 0 64px;
}
.access-box{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: #f6f7fb;
  padding: 18px;
}
.access-title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.access-text{
  margin: 0 0 12px;
  opacity: .85;
}
.access-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
}

/* 追加CSS */

/* ===== Responsive ===== */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px){
  .page-hero-title{ font-size: 24px; }
}

/* 3カードを中央寄せ */
.contact-grid{
  justify-content: center;   /* グリッド全体を中央に */
}

.contact-card{
  text-align: center;        /* カード内も中央 */
}

.contact-card-cta{
  margin: 0 auto;            /* ボタン中央 */
}

/* プライバシーポリシー同意（チェック行）を中央寄せ */
.form-check{
  width: 100%;
  display: flex;              /* inline-flex → flex に上書き */
  justify-content: center;    /* 横中央 */
  align-items: center;
  text-align: center;
}

/* チェックと文章の間隔だけ整える */
.form-check input{
  margin: 0;
}
.form-check span{
  text-align: center;
}

.form-check{
  flex-wrap: wrap;
  gap: 8px;
}