/* お問い合わせ・リニューアル版の見た目(gwp.css に足す分)。本文に gwp-page-contact があるページだけ読み込む */
.gwp-sec .wp-block-buttons.gwp-center{justify-content:center;margin-top:clamp(28px,3vw,40px)}
.gwp-sec .gwp-btn--small .wp-block-button__link{padding:10px 22px!important;font-size:13px;gap:10px}

/* ご相談窓口(4枚) */
.gwp-sec .gwp-desk{gap:clamp(14px,1.6vw,22px)}
.gwp-sec .gwp-desk__item{display:flex;flex-direction:column;align-items:center;padding:clamp(26px,2.4vw,34px) clamp(16px,1.6vw,22px)!important;border-radius:16px;background:#fff;border:1px solid rgba(201,180,143,.4);box-shadow:0 14px 34px rgba(90,58,36,.07);text-align:center;transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.gwp-sec .gwp-desk__item:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(90,58,36,.12)}
.gwp-sec .gwp-desk__ic{margin:0 auto 14px!important}
.gwp-sec .gwp-desk__ic img{width:clamp(70px,6vw,88px);height:auto}
.gwp-sec .gwp-desk__ttl{margin:0 0 10px!important;font-size:clamp(15.5px,1.3vw,18px)!important;line-height:1.55;color:var(--c-green)!important}
.gwp-sec .gwp-desk__txt{flex:1;margin:0 0 18px!important;font-size:13.5px;line-height:1.85}
.gwp-sec .gwp-desk__item .wp-block-buttons{justify-content:center;margin:0}

/* お問い合わせ方法(3枚) */
.gwp-sec.gwp-sec--ways{background:#f3ece0}
.gwp-sec .gwp-ways{gap:clamp(16px,2vw,28px)}
.gwp-sec .gwp-ways__item{display:flex;flex-direction:column;align-items:center;padding:clamp(30px,2.8vw,40px) clamp(18px,2vw,28px)!important;border-radius:16px;background:#fffdf8;border:1px solid rgba(201,180,143,.45);text-align:center}
.gwp-sec .gwp-ways__circle{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 14px!important;padding:0!important;border-radius:50%;border:2px solid #b8963e;background:#fff;transition:transform .5s var(--ease)}
.gwp-sec .gwp-ways__item:hover .gwp-ways__circle{transform:scale(1.08)}
.gwp-sec .gwp-ways__circle .wp-block-vk-blocks-icon,.gwp-sec .gwp-ways__circle .vk_icon_frame{margin:0!important;padding:0!important}
.gwp-sec .gwp-ways__circle .vk_icon_border{width:auto!important;height:auto!important}
.gwp-sec .gwp-ways__item--line .gwp-ways__circle{border-color:#06c755}
.gwp-sec .gwp-ways__item--line .vk_icon_border{color:#06c755!important}
.gwp-sec .gwp-ways__ttl{margin:0 0 12px!important;font-size:clamp(16px,1.35vw,19px)!important;color:var(--c-head)}
.gwp-sec .gwp-ways__main{margin:0 0 8px!important;font-family:var(--f-jp);font-weight:700;font-size:clamp(19px,1.8vw,24px);letter-spacing:.06em;color:#b8893a}
.gwp-sec .gwp-ways__txt{flex:1;margin:0 0 20px!important;font-size:13.5px;line-height:1.85}
.gwp-sec .gwp-ways__item .wp-block-buttons{justify-content:center;margin:0}

/* メールフォーム */
.gwp-sec .gwp-caution{display:table;margin:22px auto 0!important;padding:8px 22px;border-radius:999px;background:#f7e9e2;color:#a5573c;font-size:13px;font-weight:500}
.gwp-sec .gwp-formbox{width:min(860px,100%);margin:clamp(26px,3vw,40px) auto 0!important;padding:clamp(28px,4vw,56px) clamp(18px,4vw,60px)!important;border-radius:18px;background:#fff;border:1px solid rgba(201,180,143,.4);box-shadow:0 18px 44px rgba(90,58,36,.08)}
.gwp-sec .gsd-form{max-width:none;margin:0;color:var(--c-text)}
.gwp-sec .gsd-form__row{margin:0 0 24px}
.gwp-sec .gsd-form p{margin:0}
.gwp-sec .gsd-form label,.gwp-sec .gsd-form__label{display:block;margin:0 0 4px;font-size:15px;font-weight:600;color:var(--c-head);letter-spacing:.04em}
.gwp-sec .gsd-form br{display:none}
.gwp-sec .gsd-req,.gwp-sec .gsd-opt{display:inline-block;margin-left:10px;padding:1px 8px;border-radius:3px;font-size:11px;font-weight:500;line-height:1.7;letter-spacing:.08em;vertical-align:2px;color:#fff;background:#a5573c}
.gwp-sec .gsd-opt{background:#b3a593}
.gwp-sec .gsd-form :is(input[type=text],input[type=email],input[type=tel],textarea){display:block;width:100%;margin-top:8px;padding:13px 16px;border:1px solid #d9cbb2;border-radius:8px;background:#fdfbf7;color:var(--c-text);font-size:16px;font-weight:400;line-height:1.7;box-shadow:none;transition:border-color .2s,box-shadow .2s,background .2s}
.gwp-sec .gsd-form :is(input,textarea)::placeholder{color:#b3a593}
.gwp-sec .gsd-form :is(input[type=text],input[type=email],input[type=tel],textarea):focus{outline:0;border-color:#4a6350;background:#fff;box-shadow:0 0 0 3px rgba(74,99,80,.15)}
.gwp-sec .gsd-form .wpcf7-radio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.gwp-sec .gsd-form .wpcf7-radio .wpcf7-list-item{margin:0;display:block}
.gwp-sec .gsd-form .wpcf7-radio label{display:flex;align-items:flex-start;gap:10px;height:100%;margin:0;padding:13px 16px;border:1px solid #d9cbb2;border-radius:8px;background:#fdfbf7;font-size:14px;font-weight:500;line-height:1.6;cursor:pointer;transition:border-color .2s,background .2s}
.gwp-sec .gsd-form .wpcf7-radio label:hover{border-color:#a99880}
.gwp-sec .gsd-form .wpcf7-radio label:has(input:checked){border-color:#4a6350;background:#eef2ec}
.gwp-sec .gsd-form input[type=radio],.gwp-sec .gsd-form input[type=checkbox]{accent-color:#4a6350;width:17px;height:17px;margin:.2em 0 0;flex:none}
.gwp-sec .gsd-form__accept{text-align:center;font-size:14px}
.gwp-sec .gsd-form__accept label{display:inline-flex;align-items:center;gap:8px;font-weight:500;font-size:14px}
.gwp-sec .gsd-form__accept a{color:#4a6350;text-decoration:underline}
.gwp-sec .gsd-form__submit{text-align:center;margin-top:28px}
.gwp-sec .gsd-form input[type=submit]{min-width:280px;padding:17px 44px;border:0;border-radius:999px;background:var(--c-ink);color:#fbf6ee;font-family:var(--f-jp);font-size:16px;font-weight:700;letter-spacing:.14em;cursor:pointer;transition:background .3s}
.gwp-sec .gsd-form input[type=submit]:hover{background:var(--c-green)}
.gwp-sec .gsd-form input[type=submit]:disabled{opacity:.45;cursor:not-allowed}
.gwp-sec .gsd-form .wpcf7-not-valid-tip{margin-top:6px;font-size:13px;color:#b23b2a}
.gwp-sec .wpcf7 form .wpcf7-response-output{margin:24px auto 0;padding:14px 18px;border-radius:8px;font-size:14px;line-height:1.8}
.gwp-sec .gsd-form .wpcf7-spinner{display:block;margin:12px auto 0}

/* 会社情報の表 */
.gwp-sec .gwp-table--info table{font-size:14.5px}
.gwp-sec .gwp-table--info th{width:9em;background:#f5efe4;font-family:var(--f-jp);font-weight:700;color:var(--c-head);text-align:left;vertical-align:top;white-space:nowrap}
.gwp-sec .gwp-table--info tbody tr:nth-child(even) td{background:#fff}
.gwp-sec .gwp-table--info :is(th,td){padding:16px 20px;border-bottom:1px solid rgba(201,180,143,.35)}
.gwp-sec .gwp-table--info tbody tr:last-child :is(th,td){border-bottom:0}
.gwp-sec .gwp-table--info tbody td:nth-child(2){font-family:var(--f-sans);font-weight:400;color:#4a3c34;white-space:normal}

/* ヒーロー:CONTACT は文字数が少ないので窓を少し広く */
.gtp--contact .gtp-hero__window{width:2.2em}

@media (max-width:900px){
  .gwp-sec .gwp-grid--3.gwp-ways{grid-template-columns:1fr;max-width:460px;margin-left:auto!important;margin-right:auto!important}
}
@media (max-width:600px){
  .gwp-sec .gwp-grid--4.gwp-desk{grid-template-columns:1fr!important}
  .gwp-sec .gwp-desk__item{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:14px;align-items:center;padding:20px 18px!important;text-align:left}
  .gwp-sec .gwp-desk__ic{grid-row:1/3;margin:0!important}
  .gwp-sec .gwp-desk__ic img{width:64px}
  .gwp-sec .gwp-desk__ttl{margin:0 0 4px!important}
  .gwp-sec .gwp-desk__txt{margin:0!important;font-size:13px}
  .gwp-sec .gwp-desk__item .wp-block-buttons{grid-column:1/-1;margin-top:14px}
  .gwp-sec .gwp-desk__item .gwp-btn .wp-block-button__link{width:100%;justify-content:center}
  .gwp-sec .gsd-form .wpcf7-radio{grid-template-columns:1fr}
  .gwp-sec .gsd-form input[type=submit]{width:100%;min-width:0}
  .gwp-sec .gwp-table--info th{width:6.5em;padding:12px 10px}
  .gwp-sec .gwp-table--info td{padding:12px 12px}
  .gwp-sec .gwp-caution{display:block;border-radius:10px;text-align:center}
}

/* 2026-11-22 ご相談窓口の4つのボタン・メールのボタン・送信ボタンを緑(#4a6350)に。マウスを当てると深い緑(#2f4034)がせり上がる */
.gwp-sec .gwp-desk__item .gwp-btn .wp-block-button__link,
.gwp-sec .gwp-ways__item--mail .gwp-btn .wp-block-button__link{background:#4a6350!important;color:#fff!important}
.gwp-sec .gwp-desk__item .gwp-btn .wp-block-button__link::before,
.gwp-sec .gwp-ways__item--mail .gwp-btn .wp-block-button__link::before{background:#2f4034}
.gwp-sec .gsd-form input[type=submit]{background:#4a6350}
.gwp-sec .gsd-form input[type=submit]:hover{background:#2f4034}
