@charset "UTF-8";

/* ヘッダー・フッターのスタイルと画像はLPのスタイルシートから共用する。
   以下に、お問い合わせページ専用のルールを定義する。 */

/* common.min.css：フォームの初期化とmain要素の基本的な文字組みのみ。 */
.otherPage main {
  color-scheme: light;
  background-color: #bbac81;
  color: #000;
  font-family: var(--text-font);
  font-size: 1.6rem;
  line-height: 1.6;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

.otherPage main button,
.otherPage main input,
.otherPage main textarea {
  appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.otherPage main textarea {
  resize: vertical;
}

.otherPage main :is(button, input, textarea):focus-visible {
  outline: 2px solid #0e1b2e;
  outline-offset: 3px;
}


/* other.min.css：お問い合わせページのmain要素で使用するルール。
   同梱されていない旧イベントの背景画像は除外する。 */
.otherPage main {
  padding: 40px 16px 32px;
}

.otherPage main .main_inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0;
  background: #d1c49f;
  border-radius: 4px;
}

.otherPage main section {
  max-width: 1024px;
  margin: 0 auto 40px;
  padding: 0;
}

.otherPage main section h2 {
  max-width: 760px;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  display: block;
  margin: 0 auto 24px;
  padding: 0;
  position: relative;
}

.otherPage main section p {
  max-width: 760px;
  font-size: 1.6rem;
  line-height: 1.8;
  font-feature-settings: normal;
  margin: 0 auto 32px;
  padding: 0;
}

@media screen and (max-width:840px) {
  .otherPage main {
    padding: 24px 16px;
  }

  .otherPage main .main_inner {
    max-width: 100%;
    padding: 32px 0 24px;
  }

  .otherPage main section {
    margin: 0 16px 24px;
  }
}

@media screen and (max-width:768px) {
  .otherPage main {
    padding: 40px 16px 32px;
  }

  .otherPage main section h2 {
    font-size: calc(100vw / (375 / 24));
  }

  .otherPage main section p {
    font-size: calc(100vw / (375 / 16));
  }
}

/* contact.css：お問い合わせページのmain要素で使用するルール。 */
.otherPage main section .form {
  max-width: 760px;
  margin: 56px auto 0;
}

.otherPage main section .form p {
  margin-bottom: 0;
}

.otherPage main section .form-item {
  width: 100%;
  display: flex;
  padding: 24px 0;
  align-items: center;
}

.otherPage main section .form-item--email {
  margin-bottom: 40px;
  padding-bottom: 40px;
}

.otherPage main section .form-item .form-item-label {
  width: 100%;
  max-width: 176px;
  font-weight: bold;
  margin-left: 0;
}

.otherPage main section input,
.otherPage main section button,
.otherPage main section textarea {
  color: #000;
}

.otherPage main section .form-item-label-required {
  display: block;
  width: fit-content;
  font-size: 1.2rem;
  color: #d22222;
  line-height: 1;
  text-align: center;
  padding: 5px 8px 4px;
  border: 1px solid #d22222;
  border-radius: 4px;
}

.otherPage main section .form-item-input {
  flex-grow: 1;
  width: 100%;
  height: 48px;
  margin-left: 40px;
  padding: 0 1em;
  font-size: 1.6rem;
  border: 0;
  border-radius: 6px;
  background: #fafafa;
}

.otherPage main section .form-item-textarea {
  flex-grow: 1;
  width: 100%;
  height: 200px;
  margin-left: 40px;
  padding: 1em;
  font-size: 1.6rem;
  line-height: 1.8;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}

.otherPage main section .form-btn {
  display: block;
  font-size: 3.2rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin: 32px 0 0;
  padding: 0.7em 4em;
  border-radius: 0;
  background: #a69153;
  cursor: pointer;
  transition: .3s;
}

.otherPage main section ::placeholder {
  font-size: 1.5rem;
  color: #909090;
  letter-spacing: normal;
}

.otherPage main section .btn_confirm {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (hover: hover) {
  .otherPage main section .form-btn:hover {
    opacity: .7;
  }
}

@media screen and (max-width: 768px) {
  .otherPage main section .form-item {
    flex-wrap: wrap;
    padding: 0 0 8.53vw;
  }

  .otherPage main section .form-item--email {
    margin-bottom: 8.53vw;
    padding-bottom: 8.53vw;
  }

  .otherPage main section .form-item .form-item-label {
    max-width: 100%;
    display: flex;
    align-items: center;
    font-size: calc(100vw / ( 375 / 15 ));
  }

  .otherPage main section .form-item .form-item-label-required {
    width: auto;
    font-size: calc(100vw / ( 375 / 12 ));
    margin-right: 2.13vw;
  }

  .otherPage main section .form-item .form-item-input {
    flex: inherit;
    font-size: 16px;
    height: 48px;
    margin-left: 0;
    margin-top: 2.1vw;
    border: 0;
  }

  .otherPage main section .form-item .form-item-textarea {
    margin-top: 2.1vw;
    margin-left: 0;
    height: 42.6vw;
    flex: inherit;
    font-size: 16px;
    border: 1px solid #d0d0d0;
  }

  .otherPage main section .form-btn {
    padding: 1em 3em;
  }

  .otherPage main section .btn_confirm {
    gap: 8vw;
  }

  .otherPage main section .form-btn {
    font-size: calc(100vw / ( 375 / 16 ));
  }
}

/* お問い合わせページでは、プロジェクト情報を右列の先頭へ配置する。 */
.otherPage .site-footer__project {
  grid-row: 1 / 3;
}

/* フォーム入力ラッパー・エラー表示・確認画面・完了画面のスタイル */
.otherPage main section .form-item-field {
  flex-grow: 1;
  width: 100%;
  margin-left: 40px;
}

.otherPage main section .form-item-field .form-item-input,
.otherPage main section .form-item-field .form-item-textarea {
  margin-left: 0;
}

.otherPage main section .form-item-field .form-error {
  margin-top: 8px;
  font-size: 1.4rem;
  color: #d22222;
  line-height: 1.5;
}

.otherPage main section .form-item-value {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.6em 1em;
  font-size: 1.6rem;
  line-height: 1.8;
  border-radius: 6px;
  background: rgba(250, 250, 250, 0.6);
  word-break: break-word;
}

.otherPage main section .form-item-value--multiline {
  align-items: flex-start;
  white-space: pre-wrap;
  min-height: 120px;
}

.otherPage main section a.form-btn {
  text-decoration: none;
  text-align: center;
}

.otherPage main section .form-btn--back {
  background: #7a6f52;
}

.otherPage main section .form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .otherPage main section .form-item-field {
    margin-left: 0;
    margin-top: 2.1vw;
  }

  .otherPage main section .form-item .form-item-field .form-item-input,
  .otherPage main section .form-item .form-item-field .form-item-textarea {
    margin-top: 0;
  }
}
