@charset "UTF-8";
/* =========================================================
   お問い合わせ・お見積りフォーム  form.css
   （style.css・page.css・info.css の後に読み込み）
   ========================================================= */

/* ---------------------------------------------------------
   レイアウト（フォーム＋サイド）
--------------------------------------------------------- */
.fLayout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.fLayout__main {
  flex: 1;
  min-width: 0;
}
.fLayout__side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  flex-shrink: 0;
  width: 300px;
}
@media (max-width: 1200px) {
  .fLayout {
    gap: 40px;
  }
  .fLayout__side {
    width: 260px;
  }
}
@media (max-width: 1000px) {
  .fLayout {
    flex-direction: column;
  }
  .fLayout__side {
    position: static;
    width: 100%;
  }
}

/* ステップ */
.fSteps {
  display: flex;
  margin-bottom: 32px;
  counter-reset: none;
}
.fSteps li {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  color: var(--c-gray);
  font-size: 0.875rem;
  font-weight: bold;
  background: var(--c-pale);
}
.fSteps li + li {
  margin-left: 4px;
}
.fSteps li span {
  font-family: var(--f-en-cond);
  font-size: 1rem;
}
.fSteps li.is-current {
  color: #fff;
  background: var(--c-green);
}
.fRequired {
  margin-bottom: 24px;
  color: var(--c-text-sub);
  font-size: 0.8125rem;
}

/* ---------------------------------------------------------
   グループ・行
--------------------------------------------------------- */
.fGroup {
  margin: 0 0 48px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.fGroup__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  margin-bottom: 8px;
  padding-bottom: 14px;
  font-size: 1.25rem;
  font-weight: bold;
  border-bottom: 2px solid var(--c-text);
}
.fGroup__title span {
  color: var(--c-green-light);
  font-family: var(--f-en-cond);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
}
.fRow {
  display: flex;
  border-bottom: 1px solid var(--c-line);
}
.fRow__label {
  flex-shrink: 0;
  width: 220px;
  padding: 26px 20px 26px 0;
  font-size: 0.9375rem;
  font-weight: bold;
  line-height: 1.5;
}
.fRow__label label,
.fRow__label > span:first-child {
  margin-right: 8px;
}
.fRow__hint {
  display: block;
  margin-top: 6px;
  color: var(--c-text-sub);
  font-size: 0.75rem;
  font-weight: normal;
}
.fRow__body {
  flex: 1;
  min-width: 0;
  padding: 20px 0;
}
.fRow.is-error {
  background: linear-gradient(to right, rgba(197, 0, 9, 0.04), rgba(197, 0, 9, 0));
}
.fBadge {
  display: inline-block;
  padding: 0 8px;
  color: var(--c-text-sub);
  font-size: 0.6875rem;
  font-weight: bold;
  line-height: 20px;
  vertical-align: 2px;
  background: var(--c-pale2);
}
.fBadge--req {
  color: #fff;
  background: var(--c-red);
}
.fError {
  margin-top: 10px;
  color: var(--c-red);
  font-size: 0.8125rem;
  font-weight: bold;
}
.fError::before {
  content: "\f06a";
  margin-right: 6px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
@media (max-width: 768px) {
  .fRow {
    flex-direction: column;
  }
  .fRow__label {
    width: auto;
    padding: 20px 0 0;
  }
  .fRow__body {
    padding: 12px 0 22px;
  }
}

/* ---------------------------------------------------------
   入力欄
--------------------------------------------------------- */
.fInput,
.fTextarea {
  max-width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #c4ccc7;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.fInput::placeholder,
.fTextarea::placeholder {
  color: #b3b8b5;
}
.fInput:focus,
.fTextarea:focus {
  outline: none;
  border-color: var(--c-green-light);
  box-shadow: 0 0 0 3px rgba(0, 135, 60, 0.15);
}
.fInput:user-invalid,
.fTextarea:user-invalid {
  border-color: var(--c-red);
  background: #fff8f8;
}
.fInput:disabled {
  background: #eef0ef;
  cursor: not-allowed;
}
.fInput--xs {
  width: 72px;
  text-align: right;
}
.fInput--s {
  width: 110px;
}
.fInput--m {
  width: 320px;
}
.fInput--l {
  width: 440px;
}
.fInput--xl {
  width: 100%;
}
.fTextarea {
  display: block;
  width: 100%;
  min-height: 180px;
  resize: vertical;
}
.fInline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fInline__label {
  font-size: 0.875rem;
  font-weight: bold;
  white-space: nowrap;
}
.fInline:has(.fInput--l) {
  display: flex;
  width: 100%;
}
.fInline .fInput--l {
  flex: 1;
  width: auto;
}
.fInline__unit {
  color: var(--c-text-sub);
  font-size: 0.875rem;
}
.fInlines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.fInlines + .fNote,
.fNote + .fInlines {
  margin-top: 12px;
}
.fLead {
  margin-bottom: 10px;
  font-size: 0.875rem;
}
.fText {
  font-size: 0.875rem;
}
.fNote {
  margin-top: 10px;
  color: var(--c-text-sub);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.fNote a {
  color: var(--c-green);
  font-weight: bold;
  text-decoration: underline;
}
.fNote strong {
  color: var(--c-red);
}
@media (max-width: 768px) {
  .fInput--m,
  .fInput--l {
    width: 100%;
  }
  .fInlines {
    gap: 12px 20px;
  }
}

/* 選択肢（チェックボックス・ラジオ） */
.fChoices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fInput + .fChoices {
  margin-top: 12px;
}
.fChoices--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.fChoices--1 {
  display: grid;
  grid-template-columns: 1fr;
}
.fChoice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.fChoice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.fChoice__text {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 16px 10px 42px;
  font-size: 0.875rem;
  line-height: 1.6;
  background: #fff;
  border: 1px solid #d3d9d5;
  border-radius: 4px;
  transition: border-color 0.2s, background-color 0.2s;
}
.fChoice__text::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid #b7bfba;
  border-radius: 3px;
  transition: background-color 0.2s, border-color 0.2s;
}
.fChoice input[type="radio"] + .fChoice__text::before {
  border-radius: 50%;
}
.fChoice__text::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 0.15s;
}
.fChoice input[type="checkbox"] + .fChoice__text::after {
  left: 20px;
  top: 15px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.fChoice input[type="radio"] + .fChoice__text::after {
  left: 19px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.fChoice:hover .fChoice__text {
  border-color: var(--c-green-light);
}
.fChoice input:checked + .fChoice__text {
  background: #f1f8f3;
  border-color: var(--c-green-light);
}
.fChoice input:checked + .fChoice__text::before {
  background: var(--c-green-light);
  border-color: var(--c-green-light);
}
.fChoice input:checked + .fChoice__text::after {
  opacity: 1;
}
.fChoice input:focus-visible + .fChoice__text {
  outline: 2px solid var(--c-green-light);
  outline-offset: 2px;
}
.fChoice input:disabled + .fChoice__text {
  color: #a7aca9;
  background: #f3f4f3;
  border-color: #e3e6e4;
  cursor: not-allowed;
}
.fChoice input:disabled + .fChoice__text::before {
  background: #eceeed;
  border-color: #dadedb;
}
.fChoices--1 .fChoice__text {
  font-size: 0.8125rem;
}
@media (max-width: 768px) {
  .fChoices {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fChoices--2 {
    grid-template-columns: 1fr;
  }
}

/* 小見出し付きのまとまり・連動エリア */
.fSub + .fSub {
  margin-top: 20px;
}
.fSub__title {
  margin-bottom: 10px;
  color: var(--c-green);
  font-size: 0.875rem;
  font-weight: bold;
}
.fSub__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 2px 0;
  background: var(--grad);
}
[data-enable-by] {
  transition: opacity 0.3s;
}
[data-enable-by].is-disabled {
  opacity: 0.55;
}
.fPlan {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--c-pale);
  border-radius: 4px;
}
.fPlan .fNote {
  margin: 0 0 10px;
}

/* 数量入力の一覧（エレパック） */
.fQty {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px 24px;
}
.fQty .fInline {
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--c-pale);
  border-radius: 4px;
}
.fQty .fInline__label {
  flex: 1;
  font-size: 0.8125rem;
  white-space: normal;
}
@media (max-width: 768px) {
  .fQty {
    grid-template-columns: 1fr;
  }
}

/* ファイル */
.fFile input[type="file"] {
  max-width: 100%;
  font-size: 0.875rem;
}
.fFile input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 18px;
  color: var(--c-green);
  font: inherit;
  font-weight: bold;
  background: #fff;
  border: 1px solid var(--c-green);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.fFile input[type="file"]::file-selector-button:hover {
  background: var(--c-pale);
}

/* 同意・送信 */
.fAgree {
  margin: 8px 0 32px;
  text-align: center;
}
.fChoice--agree .fChoice__text {
  padding: 14px 24px 14px 48px;
  font-size: 0.9375rem;
  font-weight: bold;
}
.fChoice--agree .fChoice__text::before {
  left: 18px;
  top: 16px;
}
.fChoice--agree input[type="checkbox"] + .fChoice__text::after {
  left: 24px;
  top: 19px;
}
.fChoice--agree a {
  color: var(--c-green);
  text-decoration: underline;
}
.fSubmit {
  text-align: center;
}
.fSubmit__btn {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 72px;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  background: var(--c-green);
  border-radius: 4px;
  transition: background-color 0.25s;
}
.fSubmit__btn::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: #fff;
}
.fSubmit__btn:hover {
  background: var(--c-green-light);
}
.fSubmit__btn:disabled {
  background: var(--c-gray);
  cursor: wait;
}

/* ---------------------------------------------------------
   サイド
--------------------------------------------------------- */
.fSide {
  display: grid;
  gap: 16px;
}
.fSide__product {
  display: block;
  color: var(--c-text);
  background: var(--c-pale);
}
.fSide__product img {
  display: block;
  width: 100%;
}
.fSide__en,
.fSide__name,
.fSide__more {
  display: block;
  padding: 0 20px;
}
.fSide__en {
  margin-top: 14px;
  color: var(--c-green-light);
  font-family: var(--f-en-cond);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.15em;
}
.fSide__name {
  font-weight: bold;
}
.fSide__more {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-top: 6px;
  font-size: 0.8125rem;
}
.fSide__product:hover .fSide__name {
  color: var(--c-green-light);
}
.fSide__box {
  padding: 22px 20px;
  border: 1px solid var(--c-line);
}
.fSide__title {
  font-size: 0.9375rem;
  font-weight: bold;
}
.fSide__text {
  margin-top: 6px;
  color: var(--c-text-sub);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.fSide__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--c-green);
  font-size: 0.875rem;
  font-weight: bold;
}
.fSide__link:hover {
  color: var(--c-green-light);
}
.fSide__box--tel {
  background: var(--c-pale);
  border-color: transparent;
}
.fSide__tel {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  color: var(--c-text);
  font-family: var(--f-en);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.fSide__tel span,
.fSide__fax span {
  color: var(--c-green-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.fSide__fax {
  display: flex;
  gap: 10px;
  color: var(--c-text-sub);
  font-family: var(--f-en);
  font-weight: bold;
}
@media (max-width: 1000px) {
  .fSide {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* ---------------------------------------------------------
   お問い合わせ方法
--------------------------------------------------------- */
.contactWays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contactWay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  background: #fff;
}
.contactWay > i {
  margin-bottom: 14px;
  color: var(--c-green);
  font-size: 1.5rem;
}
.contactWay__title {
  font-size: 1.125rem;
  font-weight: bold;
}
.contactWay__tel {
  margin-top: 6px;
  color: var(--c-text);
  font-family: var(--f-en);
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.contactWay__text {
  margin-top: 6px;
  color: var(--c-text-sub);
  font-size: 0.8125rem;
}
.contactWay__mail {
  margin-top: 8px;
  font-weight: bold;
  word-break: break-all;
}
.contactWay__mail a {
  color: var(--c-green);
  text-decoration: underline;
}
.contactWay .btn {
  margin-top: auto;
  padding-top: 0;
  min-width: 0;
  width: 100%;
}
.contactWay--estimate .contactWay__text {
  margin-bottom: 16px;
}
@media (max-width: 1000px) {
  .contactWays {
    grid-template-columns: 1fr;
  }
  .contactWay {
    padding: 24px 22px;
  }
}

/* ---------------------------------------------------------
   各種お見積り
--------------------------------------------------------- */
.estWays {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.estWays li {
  position: relative;
  padding: 28px 28px 28px 104px;
  background: var(--c-pale);
}
.estWays__num {
  position: absolute;
  left: 28px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  font-family: var(--f-en-cond);
  font-size: 0.9375rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  background: var(--c-green);
  border-radius: 50%;
}
.estWays__title {
  font-size: 1.125rem;
  font-weight: bold;
}
.estWays__text {
  margin-top: 4px;
  color: var(--c-text-sub);
  font-size: 0.875rem;
}
.estCards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.estCard {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  background: #fff;
}
.estCard__ph {
  flex-shrink: 0;
  width: 140px;
}
.estCard__ph img {
  display: block;
  width: 100%;
}
.estCard__body {
  flex: 1;
  min-width: 0;
}
.estCard__en {
  color: var(--c-green-light);
  font-family: var(--f-en-cond);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.15em;
}
.estCard__title {
  margin: 2px 0 16px;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.5;
}
.estCard__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.estCard__btns .btn {
  min-width: 180px;
}
.estCard__sheet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-green);
  font-size: 0.875rem;
  font-weight: bold;
}
.estCard__sheet:hover {
  color: var(--c-green-light);
  text-decoration: underline;
}
.estCn {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  padding: 24px 28px;
  background: #fff;
}
.estCn__flag {
  flex-shrink: 0;
  width: 96px;
}
.estCn__flag img {
  display: block;
  width: 100%;
}
.estCn__title {
  font-weight: bold;
}
.estCn__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: 8px;
}
.estCn__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-green);
  font-size: 0.875rem;
  font-weight: bold;
}
.estCn__list a:hover {
  text-decoration: underline;
}
@media (max-width: 1000px) {
  .estCards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .estWays {
    grid-template-columns: 1fr;
  }
  .estWays li {
    padding: 22px 20px 22px 88px;
  }
  .estWays__num {
    left: 20px;
    top: 22px;
    width: 52px;
    height: 52px;
  }
  .estCard,
  .estCn {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .estCard__ph {
    width: 120px;
  }
  .estCard__btns .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   送信完了
--------------------------------------------------------- */
.thanksBox {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.thanksBox .fSteps {
  margin-bottom: 56px;
}
.thanksBox__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 2rem;
  background: var(--c-green-light);
  border-radius: 50%;
}
.thanksBox__title {
  margin-bottom: 24px;
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.thanksBox p + p {
  margin-top: 1em;
}
.thanksBox__note {
  color: var(--c-text-sub);
  font-size: 0.875rem;
}
.thanksBox .btn {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .thanksBox {
    text-align: left;
  }
  .thanksBox__title {
    font-size: 1.375rem;
    text-align: center;
  }
}
