/* ==========================================================
   lp-20260516.css
   0516完成見学会 LP スタイル
   ========================================================== */

/* ----------------------------------------------------------
   Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Zen Kaku Gothic Antique', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
header {
  display: none;
}

/* ----------------------------------------------------------
   FV / メインビジュアル
   ---------------------------------------------------------- */
.fv {
  width: 100%;
}

.fv__inner {
  position: relative;
  width: 100%;
}

.fv picture,
.fv img {
  width: 100%;
  display: block;
}

/* ----------------------------------------------------------
   CV（コンバージョン）セクション
   ---------------------------------------------------------- */
.cv {
  position: relative;
  width: 100%;
}

.cv picture,
.cv img {
  width: 100%;
  display: block;
}

.details-button {
  position: absolute;
  bottom: 11%;
  left: 10%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 80%;
  padding: 20px 20px;
  background: rgba(212, 46, 46, 0.85);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
  border-radius: 10px;
}

.details-button:hover {
  background: rgba(212, 46, 46, 0.95);
}

.details-button .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.details-button.active .arrow {
  transform: rotate(180deg);
}

/* CV画像のボタン位置 */
.lp-main > .cv .details-button {
  bottom: 17%;
}

/* ----------------------------------------------------------
   詳細パネル
   ---------------------------------------------------------- */
.details-panel {
  display: none;
  background: #f5f5f0;
}

.details-panel.open {
  display: block;
}

.details-panel picture,
.details-panel img {
  width: 100%;
  display: block;
}

.reservation-section {
  text-align: center;
  padding: 10px 0;
}

.reserve-button {
  display: inline-block;
  padding: 20px 20px;
  background: #d42e2e;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  letter-spacing: 0.05em;
  border-radius: 10px;
}

.reserve-button:hover {
  background: #1f6b52;
}

/* ----------------------------------------------------------
   section9 マップ埋め込み
   ---------------------------------------------------------- */
.section9-map-wrap {
  position: relative;
  width: 100%;
}

.section9-map {
  position: absolute;
  top: 70%;
  left: 5%;
  width: 90%;
  height: 29%;
  border: 0;
}

/* ----------------------------------------------------------
   section10 フォーム埋め込み
   ---------------------------------------------------------- */

/* コンテナ */
.section10-form {
  background: #fff;
  padding: 16px;
  box-sizing: border-box;
}

/* テーブルリセット */
.section10-form .mailform {
  width: 100%;
  border-collapse: collapse;
}

.section10-form .mailform th,
.section10-form .mailform td {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  border: none;
}

.section10-form .mailform tr {
  display: block;
  margin-bottom: 12px;
}

/* ラベル */
.section10-form .mailform th {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.section10-form .mailform th span {
  display: inline-block;
  background: #dc143c;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 6px;
  font-weight: 600;
}

/* インプット共通 */
.section10-form .mailform input[type="text"],
.section10-form .mailform input[type="email"],
.section10-form .mailform input[type="tel"],
.section10-form .mailform select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  background: #e8e8e8;
  color: #333;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.section10-form .mailform input[type="text"]:focus,
.section10-form .mailform input[type="email"]:focus,
.section10-form .mailform select:focus {
  outline: none;
  background: #f0f0f0;
}

.section10-form .mailform input::placeholder {
  color: #999;
}

/* 電話番号（3分割） */
.section10-form .mwform-tel-field {
  display: flex;
  align-items: center;
  gap: 4px;
}

.section10-form .mwform-tel-field input[type="text"] {
  width: auto;
  flex: 1;
}

/* セレクト */
.section10-form .mailform select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M6 8L0 0h12z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  background-color: #e8e8e8;
  padding-right: 28px;
}

/* 送信ボタン */
.section10-form .btn02 {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #1f6b52 0%, #1a5744 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 87, 68, 0.4);
  margin-top: 8px;
}

.section10-form .btn02:hover {
  background: linear-gradient(180deg, #237b5f 0%, #1f6b52 100%);
  transform: translateY(-1px);
}

/* hidden フィールド非表示 */
.section10-form input[type="hidden"] {
  display: none;
}
.section10-form-wrap {
  width: 100%;
  background-color: #f7f0dc;
  padding: 2%;
  box-sizing: border-box;
}

.section10-form {
  width: 100%;
}

/* ----------------------------------------------------------
   地図セクション
   ---------------------------------------------------------- */
.map {
  padding: 30px 20px;
  background: #f5f5f0;
}

.map h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* ----------------------------------------------------------
   フォームセクション
   ---------------------------------------------------------- */
.contact {
  background: #1a5744;
  padding: 30px 20px;
}

.contact__inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact__wrap {
  background: #fff;
  padding: 30px 25px;
  box-sizing: border-box;
}

.contact__title {
  text-align: center;
  font-size: 12px;
  color: #d4af37;
  margin-bottom: 5px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.contact__title::before {
  content: 'Form';
  display: block;
  font-size: 12px;
  color: #d4af37;
  margin-bottom: 10px;
}

.contact__main-title {
  text-align: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact__description {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
  margin: 5px 20px 20px;
}

.contact__description b {
  font-weight: 600;
}

/* フォーム */
.form {
  width: 100%;
  margin: 10px 0 0;
}

.form__wrap {
  margin-bottom: 20px;
  width: 100%;
}

.form__wrap dl,
.form__wrap dt,
.form__wrap dd {
  margin: 0;
  padding: 0;
}

.form__wrap dd {
  width: 100%;
  margin-top: 8px;
}

.form__label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form__label span {
  display: inline-block;
  background: #dc143c;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea,
.form-radio {
  width: 100%;
  box-sizing: border-box;
}

.form-input input,
.form-select select,
.form-textarea textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  font-size: 14px;
  border: none;
  background: #e8e8e8;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
  display: block;
}

.form-input input:focus,
.form-select select:focus,
.form-textarea textarea:focus {
  outline: none;
  background: #f5f5f5;
}

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

.form-select select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M6 8L0 0h12z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  background-color: #e8e8e8;
  padding-right: 35px;
}

.form-textarea textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.form-radio {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 20px;
  padding: 12px;
  background: #e8e8e8;
  box-sizing: border-box;
}

.form-radio__label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.form-radio__input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin-right: 8px;
  cursor: pointer;
  appearance: auto !important;
  -webkit-appearance: radio !important;
  -moz-appearance: radio !important;
  opacity: 1 !important;
  position: static !important;
  display: inline-block !important;
  visibility: visible !important;
}

.form__wraps {
  margin: 30px 0;
  width: 100%;
  box-sizing: border-box;
}

.form-checkbox__label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: #333;
}

.form-checkbox__input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  opacity: 1 !important;
  position: static !important;
  display: inline-block !important;
  visibility: visible !important;
}

.form-checkbox__text {
  line-height: 1.6;
  color: #333;
}

.form-notice {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin-bottom: 0;
}

.form__button {
  text-align: center;
  margin-top: 5px;
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(180deg, #1f6b52 0%, #1a5744 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  padding: 18px 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Serif JP', serif;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(26, 87, 68, 0.4);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.button:hover {
  background: linear-gradient(180deg, #237b5f 0%, #1f6b52 100%);
  box-shadow: 0 6px 16px rgba(26, 87, 68, 0.5);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 87, 68, 0.4);
}

.button::after {
  content: '›';
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.button:hover::after {
  transform: translateX(4px);
}

/* ----------------------------------------------------------
   フッター
   ---------------------------------------------------------- */
.footer {
  background: #1a1a1a;
  padding: 20px;
}

.footer__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.footer__copyright {
  font-size: 11px;
  color: #888;
  line-height: 1.8;
}

.footer__copyright a {
  color: #aaa;
}

/* ----------------------------------------------------------
   Lightbox
   ---------------------------------------------------------- */
body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev,
.lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  opacity: 1;
}

.works__wrap {
  margin-top: 42px;
  display: grid;
  column-gap: 5px;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 5px;
}

.works {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.works img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#contents {
  padding-top: 0px;
  margin: 0 auto;
  max-width: 560px;
  margin-top: 0 !important;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .contact__inner {
    max-width: 100%;
  }

  .contact__wrap {
    padding: 25px 20px;
  }

  .contact__main-title {
    font-size: 20px;
  }

  .contact__description {
    font-size: 12px;
  }

  .form__label {
    font-size: 13px;
  }

  .form-input input,
  .form-select select,
  .form-textarea textarea {
    padding: 10px;
    font-size: 13px;
  }

  .button {
    font-size: 18px;
    padding: 16px 25px;
  }

  .button::after {
    font-size: 24px;
  }
}
