/*------------------------------------------
カスタムリセット
---------------------------------------------*/

* {
  font-family: var(--font-family-body);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-default);
}

html {
  scroll-behavior: smooth !important;
}

/*------------------------------------------

root定義

---------------------------------------------*/
:root {
  /*----------------------------------------------------------------------------------
    カラー設定
----------------------------------------------------------------------------------*/

  --color-gray: #747277;
  --color-light-gray: #d2d1cd;
  --color-pale-gray: rgba(207, 206, 201, 0.4);
  --color-medium-gray: #595959;
  --color-brown: #554839;
  --color-white: #ffffff;
  --color-cream: #ebdfae;
  --color-black: #000000;
  --color-beige: #d8d2c4;
  --color-slate: #737b83;
  --color-purple: #6f718e;
  --color-sand: #d6c9ae;

  /*----------------------------------------------------------------------------------
    フォント設定、文字サイズ、文字の太さ
----------------------------------------------------------------------------------*/
  --font-family-mincho: "Zen Old Mincho", serif;
  --font-family-body: "Noto Sans JP", sans-serif;
  --font-family-playfair: "Playfair Display", serif;

  --font-size-fixed-xxs: 12px;
  --font-size-fixed-xs: 14px;
  --font-size-fixed-sm: 18px;
  --font-size-fixed-md: 20px;
  --font-size-fixed-lg: 24px;
  /* h3 */
  --font-size-fixed-xl: 40px;
  --font-size-fixed-2xl: 60px;

  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  /*----------------------------------------------------------------------------------
    テキストスタイル
----------------------------------------------------------------------------------*/
  --line-height-normal: normal;
  --line-height-default: 1.5;
  --line-height-relaxed: 2.4;
  --line-height-loose: 3;

  --letter-spacing-normal: normal;
  --letter-spacing-tight: 0.05em;
  --letter-spacing-default: 0.1em;
  --letter-spacing-relaxed: 0.2em;

  --text-align-justify: justify;
  --text-align-center: center;
  --text-align-right: right;
  --text-align-left: left;
  /*----------------------------------------------------------------------------------
    角丸スタイル
----------------------------------------------------------------------------------*/
  --border-radius-sm: 4px;
  --border-radius-m: 7px;
  --border-radius-lg: 12px;
  --border-radius-xl: 50px;
  --border-radius-full: 50%;
  /*----------------------------------------------------------------------------------
余白設定
----------------------------------------------------------------------------------*/
  --space-xs: 4px;
  --space-s: 8px;
  --space-sm: 16px;
  /* テキスト間の余白 */
  --space-m: 20px;
  /* 要素間の余白 */
  --space-ml: 26px;
  /* 要素間の余白 */
  --space-l: 30px;
  /* 要素の囲みの余白 */
  --space-xl: 60px;
  /* 大きな要素間 */
  --space-xxl: 120px;
  /* 大きなセクション間 */
  --space-xxxl: 240px;

  /*----------------------------------------------------------------------------------
ボックスシャドウ
----------------------------------------------------------------------------------*/
}

/*----------------------------------------------------------------------------------
メディアクエリ
----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  :root {
    --font-size-fixed-xl: 22px;
    --font-size-fixed-l: 24px;
    --font-size-fixed-2xl: 16px;
    --font-size-fixed-md: 16px;
    --font-size-fixed-lg: 20px;
    --space-xl: 16px;
    --space-xxl: 40px;
    --space-xxxl: 100px;
  }
}

/*----------------------------------------------------------------------------------
見出し
----------------------------------------------------------------------------------*/

h1 {
  position: absolute;
  width: 100%;
  top: 21%;
  padding-top: 288px;
  padding-right: 0px;
  padding-left: 42%;
  color: var(--color-white);
  z-index: 10;
  font-size: clamp(28px, 3.5vw, 60px);
  font-family: var(--font-family-mincho);
  line-height: var(--line-height-normal);
}

h2 {
  font-family: var(--font-family-mincho);
  font-weight: var(--font-weight-bold);
  display: flex;
  line-height: var(--line-height-default);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--color--blue);
}

h3 {
  font-family: var(--font-family-accent);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-default);
  display: flex;
  flex-direction: column-reverse;
  font-size: var(--font-size-fixed-xl);
  color: var(--color-navy);
}

.margin-bottom {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  h1 {
    padding-left: 5%;
  }

  h2 {
    font-size: 24px;
  }

  .btn a {
    font-size: 14px;
  }

  .left-0 {
    margin-left: 0px;
  }

  .margin-top0 {
    margin-top: 0px;
  }
}

/*----------------------------------------------------------------------------------
    ボタン
----------------------------------------------------------------------------------*/

.btn-wrap a {
  display: inline-block;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
  padding: 4px 0;
}

.btn-wrap.btn-contact a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-dark);
  background-color: var(--color-white);
  padding: 6px;
}

.btn-wrap a:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
}

/*----------------------------------------------------------------------------------
    テキストデザイン
----------------------------------------------------------------------------------*/
.section-heading {
  font-size: var(--font-size-xl);
  color: var(--color-black);
  font-family: var(--font-family-accent);
}

.heading-sub {
  font-size: var(--font-size-s);
  color: var(--color-medium-gray);
  font-family: var(--font-family-accent);
}

.main-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: var(--font-size-fixed-xxl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  width: 100%;
  font-family: var(--font-family-accent);
}

h2.left {
  text-align: left;
}

.mail-icon:hover {
  transform: translateY(-5px);
}

.text-body {
  font-size: var(--font-size-fixed-sm);
  line-height: var(--line-height-relaxed);
}

.copyright p {
  font-size: 12px;
  color: var(--color-white);
  text-align: center;
  line-height: 1;
  padding: var(--space-sm);
  background-color: var(--color-dark-brown);
}

.margin-bottom {
  margin-bottom: var(--space-m);
}

.new-title {
  font-size: var(--font-size-fixed-md);
  font-weight: var(--font-weight-bold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.shadow {
  text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .main-text {
    font-size: 36px;
  }

  .text-body {
    font-size: var(--font-size-fixed-sm);
  }

  .copyright {
    font-size: 8px;
  }

  .center {
    display: flex;
    justify-content: center;
  }
}

/*----------------------------------------------------------------------------------
    コンテンツレイアウト
----------------------------------------------------------------------------------*/
.wide_1290 {
  max-width: 1290px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wide_520 {
  max-width: 520px;
  width: 100%;
}

.wide_280 {
  max-width: 280px;
}

.mb-20 {
  margin-bottom: var(--space-sm);
}

.reverse {
  flex-direction: row-reverse;
}

.content_inner {
  padding: var(--space-m);
}

@media (max-width: 767px) {
  .inner {
    padding: 0px 16px;
  }

  .content__inner {
    padding: 0px 16px;
  }

  main {
    padding: 0px;
  }
}

/*----------------------------------------------------------------------------------
    レスポンシブbr
----------------------------------------------------------------------------------*/

.br-sp {
  display: block;
}

.br-pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .br-sp {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .br-pc {
    display: block;
  }
}

.text-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.text {
  font-size: var(--font-size-fixed-xs);
}

.text_02 {
  font-family: var(--font-family-accent);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
}

/*----------------------------------------------------------------------------------
    ボックスシャドウ
----------------------------------------------------------------------------------*/
.shadow {
  box-shadow: 0 5px 0 var(--color-gray);
}

.reverse {
  display: flex;
  flex-direction: row-reverse; /* 子要素の並びを逆に */
}

/*----------------------------------------------------------------------------------

お問い合わせ

----------------------------------------------------------------------------------*/

/* Contact Form Styles */
#contact-form {
  background-color: var(--color-beige);
  padding: 60px 0;
}

#contact-form .contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

#contact-form .contact-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact-form .contact-form {
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
}

/* グループ & ラベル */
#contact-form .form-group {
  margin-bottom: 60px;
}

#contact-form label .required {
  margin-bottom: 60px;
}

#contact-form .form-group > label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

/* #contact-form .form-group > label.required::after,
#contact-form .form-group > span.required::after,
#contact-form .form-group > p.required::after {
  content: " ※";
  color: #e74c3c;
  font-weight: bold;
} */

#contact-form .form-group > span.required,
#contact-form .form-group > p.required {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

/* 入力フィールド（CF7の生成要素に適用） */
#contact-form .wpcf7 input[type="text"],
#contact-form .wpcf7 input[type="email"],
#contact-form .wpcf7 input[type="tel"],
#contact-form .wpcf7 textarea,
#contact-form .wpcf7 .input,
#contact-form .wpcf7 .textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

#contact-form .wpcf7 input[type="text"]:focus,
#contact-form .wpcf7 input[type="email"]:focus,
#contact-form .wpcf7 input[type="tel"]:focus,
#contact-form .wpcf7 textarea:focus,
#contact-form .wpcf7 .input:focus,
#contact-form .wpcf7 .textarea:focus {
  outline: none;
  border-color: var(--color-secondary-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.08);
}

#contact-form .wpcf7 textarea,
#contact-form .wpcf7 .textarea {
  resize: vertical;
  min-height: 100px;
}

/* ラジオボタン（縦並び） - Contact Form 7対応 */
#contact-form .wpcf7 .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
#contact-form .wpcf7 .wpcf7-list-item {
  display: block;
  margin-bottom: 12px;
}

#contact-form .wpcf7 .wpcf7-form-control.wpcf7-radio .wpcf7-list-item > label,
#contact-form .wpcf7 .wpcf7-list-item > label,
#contact-form .wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  padding: 8px 0;
}

#contact-form .wpcf7 .wpcf7-form-control.wpcf7-radio input[type="radio"],
#contact-form .wpcf7 input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-secondary-blue);
}

/* radio-inlineクラスが付いている場合の対応 */
#contact-form .wpcf7 .radio-inline .wpcf7-list-item {
  display: block !important;
  margin-bottom: 12px;
}

#contact-form .wpcf7 .radio-inline .wpcf7-list-item > label {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

/* Contact Form 7のデフォルトスタイルをリセット */
#contact-form .wpcf7 .wpcf7-form-control {
  margin-bottom: 0;
}

#contact-form .wpcf7 .wpcf7-form-control.wpcf7-radio {
  margin-bottom: 0;
}

#contact-form .wpcf7 .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
#contact-form .wpcf7 .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  margin-right: 0;
  margin-bottom: 12px;
}

/* より包括的なラジオボタン・チェックボックススタイル */
#contact-form .wpcf7 form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
#contact-form .wpcf7 form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
#contact-form .wpcf7 form .wpcf7-list-item {
  display: block !important;
  margin-bottom: 12px !important;
  margin-right: 0 !important;
}

#contact-form
  .wpcf7
  form
  .wpcf7-form-control.wpcf7-radio
  .wpcf7-list-item
  label,
#contact-form
  .wpcf7
  form
  .wpcf7-form-control.wpcf7-checkbox
  .wpcf7-list-item
  label,
#contact-form .wpcf7 form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  padding: 8px 0;
}

#contact-form label[for="name"],
#contact-form label[for="email"],
#contact-form label[for="email-confirm"],
#contact-form label[for="phone"],
#contact-form label[for="other"] {
  /* 文字色 */
  font-weight: 700; /* 太字 */
  font-size: 16px;
  color: #333;

  display: block;
}

#contact-form .wpcf7 form .wpcf7-form-control.wpcf7-radio input[type="radio"],
#contact-form
  .wpcf7
  form
  .wpcf7-form-control.wpcf7-checkbox
  input[type="checkbox"],
#contact-form .wpcf7 form input[type="radio"],
#contact-form .wpcf7 form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-secondary-blue);
}

#contact-form .radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#contact-form .submit-group {
  text-align: center;
  margin-top: 40px;
}

#contact-form .wpcf7 .wpcf7-submit.submit-btn,
#contact-form .wpcf7 input[type="submit"].submit-btn {
  -webkit-appearance: none;
  appearance: none;
  background-color: #8b4513;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.05s ease;
  min-width: 200px;
  display: block;
  margin: 0 auto;
}

#contact-form .wpcf7 .wpcf7-submit.submit-btn:hover {
  background-color: #a0522d;
}

#contact-form .wpcf7 .wpcf7-submit.submit-btn:active {
  transform: translateY(1px);
}

/* バリデーション/メッセージ */
#contact-form .wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

#contact-form .wpcf7-not-valid-tip {
  font-size: 13px;
  color: #e74c3c;
  margin-top: 6px;
}

#contact-form .wpcf7 form.invalid .wpcf7-response-output {
  border: 2px solid #e74c3c;
  background: #ffecec;
  color: #a30000;
}

#contact-form .wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid #2ecc71;
  background: #eafff4;
  color: #0e7a45;
}

/* レスポンシブ */
@media (max-width: 768px) {
  #contact-form .contact-form-container {
    padding: 0 15px;
  }
  #contact-form .contact-form {
    padding: 30px 20px;
  }

  #contact-form .form-group {
    margin-bottom: 25px;
  }
  #contact-form .form-group > label {
    font-size: 15px;
  }

  #contact-form .wpcf7 input[type="text"],
  #contact-form .wpcf7 input[type="email"],
  #contact-form .wpcf7 input[type="tel"],
  #contact-form .wpcf7 textarea,
  #contact-form .wpcf7 .input,
  #contact-form .wpcf7 .textarea {
    font-size: 15px;
    padding: 10px 14px;
  }

  #contact-form .wpcf7 .wpcf7-form-control.wpcf7-radio .wpcf7-list-item > label,
  #contact-form
    .wpcf7
    .wpcf7-form-control.wpcf7-checkbox
    .wpcf7-list-item
    > label {
    font-size: 15px;
  }

  #contact-form .wpcf7 .wpcf7-submit.submit-btn {
    font-size: 16px;
    padding: 14px 30px;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  #contact-form .contact-form {
    padding: 25px 15px;
  }
  #contact-form .form-group {
    margin-bottom: 20px;
  }
  #contact-form .submit-group {
    margin-top: 30px;
  }
}

/*----------------------------------------------------------------------------------

共通装飾

----------------------------------------------------------------------------------*/

h3 {
  position: relative;
  padding-left: 140px;
  margin-bottom: var(--space-xl);
  font-family: var(--font-family-mincho);
}

.line h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 115px;
  height: 3px;
  background-color: var(--color-brown);
}
#seminar .line h3 {
  position: relative;
  padding-left: 0;
  padding-right: 15%;
  margin-bottom: var(--space-xl);
  text-align: end;
  font-family: var(--font-family-playfair);
}

#seminar .line h3::before {
  content: "";
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 13%;
  height: 3px;
  background-color: var(--color-brown, #8b5e3c);
}

/* ボタン */
.btn a {
  display: inline-block;
  background-color: var(--color-brown);
  color: var(--color-white);
  padding: 8px 24px;
  text-decoration: underline;
  text-decoration-color: var(--color-white);
  font-weight: var(--font-weight-bold);
  transition: background-color 0.3s ease;
  text-align: center;
  border-radius: var(--border-radius-lg);
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.video-modal:target {
  display: flex;
}
.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.video-modal__content {
  position: relative;
  background: #000;
  width: 90%;
  max-width: 960px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.video-modal__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

@media (max-width: 767px) {
  .video-modal__content {
    width: 94%;
    max-width: 100%;
  }

  .btn a {
    padding: 16px 24px;
    width: 225px;
    font-size: 16px;
  }
}

.btn a.interior-btn {
  text-decoration-color: var(--color-white);
  color: var(--color-white);
}

.btn a:hover {
  background-color: var(--color-cream);
  color: var(--color-black);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration-color: var(--color-black);
}

.btn a.rental-btn {
  width: 240px;
  height: 56px;
  line-height: 56px;
  border-radius: 8px;
  padding: 0 30px;
  text-align: center;
  align-items: center;
  display: inline-block;
  background: linear-gradient(135deg, #fdfdfd, #f2e8dc);
  color: var(--color-brown);
  border: 1px solid var(--color-brown);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn a.rental-btn:hover {
  background: linear-gradient(135deg, #f8f1e7, #e9dccd);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .btn a.rental-btn {
    width: 190px;
  }
}

/*----------------------------------------------------------------------------------
    枠から出ないためのユーティリティクラス
----------------------------------------------------------------------------------*/
.overflow-hidden {
  overflow: hidden;
}

.text-wrap {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container-fluid {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.no-overflow {
  overflow: hidden;
  max-width: 100%;
}

/* レスポンシブ対応の追加 */
@media (max-width: 767px) {
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .text-wrap {
    word-break: break-word;
  }
}
