@charset "UTF-8";
.page-hero {
  height: 90vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  background-image: url("../img/contact/contact-main-visual.jpg");
}

.page-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.page-hero-content {
  max-width: 1200px;
}

.page-hero-en {
  color: var(--corporate-color);
  margin: 20px 0;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
}

.page-hero-title {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-hero-copy {
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-hero-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 50px;
}

.sp-hide {
  display: inline;
}

.breadcrumb {
  display: flex;
  gap: 15px;
  font-size: 13px;
}

/*======================================
Contact way
======================================*/

.contact-method {
  padding: 120px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 100px;
}

.section-title h2 {
  color: var(--blue);
  font-size: clamp(26px, 3.5vw, 46px);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--sumi);
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin: 35px 0;
  flex: 1;
}

.contact-image {
  width: 130px;
  margin: 0;
}

.contact-card ul {
  display: inline-block;
  margin: 20px auto 0;
  text-align: left;
}

.contact-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
  padding: 55px;
  text-align: center;
  color: var(--sumi);
}

.contact-card h3 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: clamp(22px, 1.8vw, 28px);
}

.contact-card li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}

.contact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("../img/check.svg") no-repeat center;
  background-size: contain;
}

.line-text {
  text-align: left;
  width: 80%;
  margin: 0 auto;
  padding-bottom: 20px;
}

.tel-number {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 15px 0 12px;
}

.tel-time {
  line-height: 1.8;
  margin-bottom: 18px;
}

.tel-number img {
  width: 28px;
}

.tel-number a {
  font-size: clamp(24px, 2vw, 30px);
  color: var(--blue);
  font-weight: 700;
}

.tel-time {
  color: var(--sumi);
  line-height: 2;
  margin-bottom: 15px;
}

.line-card .line-btn {
  width: 320px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

.tel-content {
  flex: 1;
}

.tel-btn {
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  transition: 0.3s;
  border-radius: 5px;
  margin-top: auto;
}

.tel-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* ===========================
CONTACTボタン調整
=========================== */

.line-card .line-btn,
.tel-btn {
  width: 320px;
  max-width: 320px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: none;
}

.line-card .line-btn span,
.tel-btn span {
  font-size: 16px;
  line-height: 1;
}

/* LINEボタンの矢印を少し右へ */
.line-card .line-btn .btn-arrow {
  margin-left: 10px;
}

/* 電話ボタンの矢印も少し右へ */
.tel-btn .btn-arrow {
  margin-left: 10px;
}

/*======================================
Form
======================================*/

.contact-form {
  padding: 100px 0;
}

.form-area {
  width: min(760px, 100%);
  margin: auto;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--blue);
}

.required {
  background: #ef6b74;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d9d9d9;
  background: #fff;
  font-size: 16px;
  transition: 0.3s;
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b8b8b8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 64px;
  margin-top: 50px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
}

.submit-btn:hover {
  background: var(--blue-deep);
}

.tel-btn,
.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.btn-arrow {
  width: 24px;
  transition: 0.3s;
}

.line-btn:hover .btn-arrow,
.tel-btn:hover .btn-arrow,
.submit-btn:hover .btn-arrow {
  transform: translateX(6px);
}

.tel-btn:hover .btn-arrow {
  content: url("../img/arrow-white.svg");
}

.submit-btn span {
  font-size: 16px;
  letter-spacing: 0.08rem;
}

/* ===========================
   Confirm Page
=========================== */

.confirm-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #e5e5e5;
  padding: 24px 0;
}

.confirm-group dt {
  font-weight: 700;
  color: var(--blue);
}

.confirm-group dd {
  margin: 0;
  color: var(--sumi);
  line-height: 1.8;
}

.back-btn {
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08rem;
}

/* ===========================
   Thanks Page
=========================== */

.thanks-box {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.thanks-box p {
  margin: 50px 0;
  line-height: 2;
}

.thanks-section {
  padding: 160px 0 100px;
}

.thanks-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.thanks-box h2 {
  color: var(--blue);
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.5;
  margin-bottom: 30px;
}

.thanks-box p {
  color: var(--sumi);
  font-size: 16px;
  line-height: 2;
}

.confirm-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 100px;
}

.confirm-btns .back-btn,
.confirm-btns .submit-btn {
  width: 320px;
  height: 60px;
  flex: 0 0 320px;
}

.confirm-btns .submit-btn {
  width: 320px;
  height: 60px;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
  padding: 18px 20px 25px;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  background: #fff;
}

.recaptcha-notice a {
  color: #777;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  opacity: .7;
}

/* ===========================
   SP
=========================== */

@media (max-width: 1110px) {
  .contact-image {
    width: 90px;
  }

  .contact-content {
    gap: 22px;
  }

  .contact-image {
    width: 90px;
  }

  .contact-content {
    gap: 22px;
  }

  .line-card .line-btn span,
  .tel-btn span,
  .submit-btn span {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .contact-method-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-card {
    padding: 45px 35px;
  }

  .line-card .line-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .tel-btn {
    margin-top: 35px;
  }

  .contact-method-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-card {
    padding: 45px 35px;
  }

  .contact-card h3 {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 550px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../img/contact/sp/sp-contact-main-visual.jpg");
  }

  .page-hero-content {
    max-width: 330px;
    transform: translateY(18px);
  }

  .page-hero-en {
    margin: 0 0 10px;
    font-size: 16px;
  }

  .page-hero-title {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .page-hero-copy {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 20px;
  }

  .page-hero-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 32px;
  }

  .sp-hide {
    display: none;
  }

  .breadcrumb {
    font-size: 13px;
    gap: 12px;
  }

  .section-title {
    margin-bottom: 25px;
  }

  .section-title h2 {
    margin-bottom: 10px;
  }

  .section-title p {
    line-height: 1.8;
    letter-spacing: 0.08rem;
  }

  .contact-method {
    padding: 80px 0 30px;
  }

  .contact-content {
    flex-direction: column;
    gap: 30px;
  }

  .contact-text {
    width: 100%;
  }

  .line-text {
    text-align: center;
  }

  .contact-card ul {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
  }

  .line-card .line-btn,
  .tel-btn {
    width: 100%;
    max-width: 320px;
  }

  .contact-image {
    width: 80px;
    flex-shrink: 0;
  }

  .contact-content {
    gap: 16px;
    align-items: center;
  }

  .contact-text {
    flex: 1;
    min-width: 0;
  }

  .contact-form {
    padding: 80px 0;
  }

  .line-text {
    line-height: 1.8;
  }

  .contact-card li {
    padding-left: 28px;
    letter-spacing: 0.08rem;
  }

  .contact-form {
    padding-bottom: 70px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .form-group label {
    display: block;
    margin-bottom: 10px;
  }

  .required {
    display: inline-block;
    margin-left: 3px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

.form-area .submit-btn{
    height:58px;
    margin-top:35px;
}

.recaptcha-notice{
    font-size:13px;
    padding:15px;
    line-height:1.7;
}

  /* ===========================
   Confirm Responsive
=========================== */

  .confirm-group {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .confirm-group dt {
    font-size: 15px;
  }

  .confirm-group dd {
    font-size: 15px;
    line-height: 1.8;
  }

  .confirm-btns {
    flex-direction: column-reverse;
    gap: 16px;
    margin-top: 40px;
  }

.confirm-btns .submit-btn,
.confirm-btns .back-btn{
    width:100%;
    max-width:320px;
    height:58px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
    letter-spacing:0.08rem;
}

  .confirm-btns .back-btn {
    height: 58px;
  }
  
  .confirm-btns{
    width:100%;
}

.confirm-btns .submit-btn,
.confirm-btns .back-btn{
    width:320px !important;
    max-width:320px !important;
    min-width:320px !important;
    height:58px !important;
    flex:none !important;
}

  .contact-card .line-btn{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    padding:16px 24px;
    gap:16px;
  }

  .contact-card .line-btn span{
    flex:1;
    white-space:nowrap;
    text-align:center;
  }

  .contact-card .line-btn img:first-child,
  .contact-card .line-btn .btn-arrow{
    flex-shrink:0;
  }
}

@media (max-width: 540px) {
  .section-title p {
    text-align: justify;
  }

  .line-text {
    width: 100%;
  }

  .confirm-group {
    padding: 16px 0;
  }

  .confirm-group dt,
  .confirm-group dd {
    font-size: 14px;
  }

  .thanks-section {
    padding: 80px 0 0;
  }

  .thanks-box h2 {
    font-size: clamp(24px, 6vw, 30px);
    margin-bottom: 20px;
  }

  .thanks-box p {
    font-size: 15px;
    line-height: 1.8;
  }
}
