/*
Theme Name: エクステリア　テンパク　TENPAKU.
Theme URI: https://exterior-tenpaku.com/
Template: arkhe
Author: LOOS,Inc.
Author URI: https://exterior-tenpaku.com/
Description:
Tags: 
Version: 1.10.0
Updated: 2026-06-14 10:59:54

*/

li,
p,
a,
span,
em {
  font-family: "Noto Sans JP", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Noto Sans JP", sans-serif;
}

li,
p {
  font-weight: 500;
}

/* ---------- トップヘッダー ---------- */
h2.smb-section__title{
  color: #222;
}
@media (min-width: 1000px) {
  h2.smb-section__title {
    font-size: 2rem;
  }

  [data-sidebar="on"] .l-main {
    background-color: #fff;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  body.page-id-21 h2.smb-section__title {
    font-size: 1.5rem !important;
  }
}

/* ---------- スライダー ---------- */

.n2-ss-slider .n2-ss-text {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif !important;
  font-weight: 600 !important;
}

div#n2-ss-2 .n2-font-c5f1dc9a4a4b5922b0d4bbd46e8864d9-hover {
  text-shadow: 1px 1px 1px RGB(255, 255, 255) !important;
}

/* タイトル画像レイヤーをスライダーの下寄せに配置（見切れ防止）*/
.n2-ss-slider .midashi_1 {
  position: absolute !important;
  left: 0;
  bottom: 200px !important;
  /* ← ここを調整する：20〜80pxで好みの位置へ */
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  /* クリック影響を防止（必要に応じて削除） */
}

.n2-ss-slider .midashi_1 img {
  max-width: 90%;
  /* ← 大きすぎる場合に調整 */
  height: auto;
}


@media (min-width: 768px) {
  .n2-ss-slider .n2-ss-text {
    font-size: 270% !important;
  }

  .n2-ss-slider .n2-ss-layer-with-background {
    margin-bottom: -200px !important;
  }

  .n2-ss-slider .n2-ss-layer {
    margin-top: -50px !important;
  }
}

@media (max-width: 767px) {
  .n2-ss-slider .n2-ss-text {
    font-size: 1.4rem !important;
    text-align: left !important;
  }

  .n2-ss-slider .n2-ss-slide {
    height: 250px !important;
  }
}

@media (max-width: 480px) {
  .n2-ss-slider .n2-ss-layer-with-background {
    margin-bottom: -100px !important;
  }

  .n2-ss-slider .n2-ss-layer {
    margin-top: 50px !important;
  }
}

/* ---------- ページヘッダー ---------- */
@media (min-width: 1000px) {
  .l-header[data-pcfix="1"] {
    padding-bottom: 10px;
  }
}

/*.c-pageTitle__main {
  color: #333;
}*/

@media (min-width: 768px) {
  a.contact_button {
    border-radius: 10px !important;
  }

  a.contact_button_free {
    border-radius: 50px !important;
  }

  /*  .c-pageTitle__main {
    text-align: justify;
  }

  .p-topArea {
    margin-top: -35px;
  }*/
}

/* ---------- スマホ メインメニュー ---------- */
[data-btns=l-r] .l-header__body {
  grid-template-columns: var(--ark-searchW) calc(15% - var(--ark-searchW)) 70% calc(15% - var(--ark-drawerW)) var(--ark-drawerW) !important;
}

.p-drawer {
  background: #0c4da2e6;
}

.c-drawerNav {
  border: 0px !important;
}

.c-drawerNav .menu-item {
  border-bottom: 1px dotted #0b2e5c;
}

.c-gnav .sub-menu>.menu-item {
  background-color: #1A71AD;
}

.ft_tel_1 a {
  color: #fff !important;
  text-decoration: none;
}

@media (min-width: 751px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}

/* ---------- メインメニュー ---------- */
/*h2.smb-section__title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333333;
}

h2.smb-section__title::before,
h2.smb-section__title::after {
  width: 3px;
  height: 40px;
  background-color: #333;
  content: '';
}

h2.smb-section__title::before {
  transform: rotate(-35deg);
  margin-right: 30px;
}

h2.smb-section__title::after {
  transform: rotate(35deg);
  margin-left: 30px;
}*/

/* --- H2全体 
@media (min-width: 751px) {
  h2.smb-section__title {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    color: #333;
  }
*/
/*
h2.smb-section__title span,
h2.smb-section__title strong {
  display: inline-block;
  white-space: nowrap;
}
  */

/* 左の「＼」
h2.smb-section__title::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 26px;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: -15px;
}

右の「／」
h2.smb-section__title::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 26px;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
  margin-left: 10px;
  flex-shrink: 0;
  margin-top: -15px;
}
} */

h3.wp-block-heading {
  position: relative;
}

.top_sec2 h2.smb-section__title {
  color: #fff !important;
}

.top_sec2 h2.smb-section__title strong {
  color: #ffff00 !important;
}

.top_sec3 h3.wp-block-heading {
  padding: 0.5em 1em 0.5em;
  background: #1A71AD;
  color: #fff;
}

.section_tbs11 h3.wp-block-heading {
  padding: 0.5em 1em 0.5em;
  background: #1A71AD;
  color: #fff;
}

.section_tbs11 h3.wp-block-heading::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}

h2.h2_title1 {
  position: relative;
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
}

h2.h2_title1:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #a8d4ff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .top_sec3 h3.wp-block-heading {
    font-size: 1.4rem !important;
  }

  .sec_tbs_11 h2.smb-section__title {
    font-size: 1.6rem !important;
  }
}

/* ---------- メインメニュー ---------- */

/* 2段表示を維持しつつ、メニューを等幅表示 */
@media (min-width: 1000px) {

  /* ヘッダー全体を2段表示にする */
  .l-header__body {
    display: flex;
    flex-direction: column;
    /* 縦方向にレイアウトを維持 */
    align-items: center;
  }

  /* 1段目のロゴ部分 */
  .l-header__center {
    max-width: 1200px;
    /* 固定幅1200px */
    width: 100%;
    text-align: left;
    /* 左揃え */
    margin: 0 auto;
    /* 中央揃え */
  }

  /* 2段目のメニュー部分 */
  .l-header__right {
    max-width: 1200px;
    /* 固定幅1200px */
    width: 100%;
    text-align: right;
    /* 右揃えの要素を保持 */
    margin: 7px auto 3px;
    /* 中央揃え
    padding-top: 10px; */
  }

  /* ナビゲーションのラップ（中央揃え、固定幅1200px） */
  .c-gnavWrap {
    width: 1200px;
    /* 固定幅1200px */
    margin: 0 auto;
    /* 中央揃え */
  }

  /* ナビゲーションメニューの等幅表示 */
  .c-gnav {
    display: flex;
    justify-content: space-between;
    /* 各メニューを等間隔に配置 */
    padding: 0;
    margin: 0;
    list-style: none;
    /* リストのデフォルトスタイルを削除 */
    width: 100%;
    /* ナビゲーション全体を100%幅に */
  }

  /* 各メニューアイテムの等幅設定 */
  .c-gnav__li {
    flex: 1;
    /* メニュー項目を等幅に表示 */
    text-align: center;
    /* テキストを中央に配置 */
  }

  /* メニューリンクのスタイル */
  .c-gnav__a {
    display: block;
    padding: 10px 0;
    /* クリックしやすいパディング */
  }

  /* l-header__center の中で logo と header_info を横並びに */
  .l-header__center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* 横幅全体を使用 */
  }

  .header_info {
    width: 740px;
    /* header_info の幅を 700px に設定 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    /* ロゴとのスペースを確保 */
  }

  .tel_info {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    /* TEL番号と営業時間を縦並びに */
  }

  .tel_number {
    font-size: 1.6rem;
    /* TEL番号を適度に大きく */
    background-color: transparent;
    /* 背景は無色 */
    font-weight: 600 !important;
    line-height: 100%;
    margin-bottom: -9px;
    margin-top: -9px;
  }

  .tel_number .svg-inline--fa,.fax_number .svg-inline--fa{
    font-size: 1.5rem;
    color: #666;
  }

  .fax_number {
    font-size: 1.1rem;
    /* TEL番号を適度に大きく */
    background-color: transparent;
    /* 背景は無色 */
    font-weight: 600 !important;
    line-height: 120%;
  }

  .fax_number .svg-inline--fa {
    font-size: 1.2rem;
  }

  .business_word {
    font-size: 1.1rem;
    /* 営業時間を小さく表示 */
    font-weight: 600;
    color: #666;
  }

  .business_hours {
    font-size: 0.8rem;
    /* 営業時間を小さく表示 */
    font-weight: 600;
  }

  /*.contact_button {
        background-color: #ea5550;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 5px;
        font-size: 1.2rem;
        display: inline-block;
        font-weight: 500 !important;
    }
    .contact_button:hover {
        background-color: #e96560;
    }*/

  a.contact_button {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 280px;
    padding: 10px 35px;
    font-size: 1.1rem;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: 1px solid #333;
    font-weight: 700;
    background-color: #fff;
    border-radius: 0px !important;
  }

  a.contact_button:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.4rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  a.contact_button:hover {
    background: #fa8072;
    color: #FFF;
    border: 1px solid #ff8c00;
  }

  a.contact_button:hover:after {
    right: 1.1rem;
  }

  a.contact_button_free {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 280px;
    padding: 10px 35px;
    font-size: 1.1rem;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    border: 1px solid #87cefa;
    font-weight: 700;
    background-color: #78cbff;
    margin-top: 0px !important;
    font-size: 14px;
  }

  a.contact_button_free:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.4rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  a.contact_button_free:hover {
    background: #3394cf;
    color: #FFF;
    border: 1px solid #87cefa;
  }

  a.contact_button_free:hover:after {
    right: 1.1rem;
  }

  /*svg:not(:host).svg-inline--fa,
    svg:not(:root).svg-inline--fa {
        margin-right: 5px;
    }*/

  ul.c-gnav li {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /*
    ul.c-gnav li:last-child {
        border-right: 1px solid #ddd;
    }*/

  /*.c-gnav__li>a.c-gnav__a:first-child {
    border-left: 1px solid #01439A;
  }*/

  .c-gnav__li>.c-gnav__a {
    padding: 0px 12px !important;
  }

  /*.menu_last a {
    border-right: 1px solid #01439A;
  }*/
  .c-gnav__a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    border-left: 1px solid #999;
    /* 左側のみ線 */
  }

  /* 最後の要素だけ右側にも線を追加 */
  .c-gnav__li:last-of-type .c-gnav__a {
    border-right: 1px solid #999;
  }
}

@media (min-width: 1000px) {
  ul.c-gnav li {
    /*    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;*/
    font-size: 1rem !important;
    font-weight: 500;
  }

  /*ul.c-gnav li {
        position: relative;
    }

    ul.c-gnav li::before {
        content: '';
        position: absolute;
        top: 7px;
        left: 20px;
        width: 1px;
        height: 70%;
        background-color: #1E7200;
        transform: rotate(45deg);
        transform-origin: top left;
        pointer-events: none;
    }

    ul.c-gnav li:last-child::after {
        content: '';
        position: absolute;
        top: 7px;
        right: 0;
        width: 1px;
        height: 70%;
        background-color: transparent;
        border-right: 1px solid #1E7200;
        transform: rotate(45deg);
        transform-origin: top right;
    }
    .c-gnav .__mainText {
        font-size: inherit;
        font-size: 1rem;
        font-weight: 700;
    }*/
}


@media (max-width: 999px) {
  .header_info {
    display: none;
  }
}

@media (min-width: 768px) {
  .chukai_menu .__mainText {
    font-size: 0.8rem !important;
    margin-top: -3px;
  }

  .chukai_menu .__subText {
    font-size: 0.5rem;
  }
}

@media (min-width: 1000px) {
  .submenu_box {
    width: 100%;
    margin-top: 5px;
    text-align: right;
    /* ← 左寄せなら left, 中央なら center に変更可能 */
  }

  .submenu_box .site-nav__list {
    display: flex;
    justify-content: flex-end;
    /* 右寄せ。中央なら center, 左寄せなら flex-start */
    align-items: center;
    gap: 25px;
    /* メニュー間の余白 */
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .submenu_box .site-nav__list li {
    display: inline-block;
    white-space: nowrap;
  }

  .submenu_box .site-nav__list a {
    text-decoration: none;
    color: #003366;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }

  .submenu_box .site-nav__list a:hover {
    color: #0073e6;
    /* ホバー時の色（お好みで変更） */
  }
}

/* =========================
   Header fix (PC ≥1000px)
   ========================= */
@media (min-width:1000px) {

  /* 親：折り返し可にして .submenu_box を2段目へ */
  .l-header__center {
    display: flex;
    flex-wrap: wrap;
    /* ← これが必須 */
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }

  /* ロゴは左側に固定 */
  .l-header__logo.has-image {
    flex: 0 0 auto;
    margin-right: 20px;
  }

  /* --- .header_info 内だけ2列（左=電話情報／右=ボタン） --- */
  .l-header__center .header_info {
    display: grid !important;
    /* 既存 flex を打ち消す */
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 20px;
    row-gap: 6px;
    width: auto !important;
    /* 固定740pxを解除 */
    margin-left: 0;
    min-width: 0;
    grid-template-columns: 1fr auto auto;
    /* 左広め・右2つは自動幅 */
    align-items: center;
    /* 縦中央揃え */
    gap: 20px;
    /* 各カラムの間隔 */
  }

  .l-header__center .header_info .tel_info {
    display: grid;
    grid-auto-rows: auto;
    row-gap: 6px;
    min-width: 0;
  }

  .l-header__center .header_info .tel_fax_box {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  /* 折り返したくないなら残す。折り返してOKならこの1行は削除 */
  .l-header__center .header_info .business_hours {
    white-space: nowrap;
  }

  /* 右カラム：ボタン（margin:auto を無効化） */
  .l-header__center .header_info .contact_button {
    justify-self: end;
    align-self: start;
    margin: 0 !important;
    max-width: 380px;
    background-color: #3A3A39;
        color: #fff;
        font-weight: 400;
  }

  /* --- 2段目：サブメニューを下段に落として横並び --- */
  .l-header__center .submenu_box {
    flex: 0 0 100%;
    /* ← これで改行して下段化 */
    order: 2;
    width: 100%;
    margin-top: -25px;
    text-align: right;
    /* 左寄せなら left / 中央は center */
  }

  .l-header__center .submenu_box .site-nav__list {
    display: flex;
    justify-content: flex-end;
    /* 左=flex-start / 中央=center */
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .l-header__center .submenu_box .site-nav__list li {
    display: inline-block;
    white-space: nowrap;
  }

  .l-header__center .submenu_box .site-nav__list a {
    text-decoration: none;
    color: #003366;
    font-size: 0.9rem;
    transition: color .3s ease;
  }

  .l-header__center .submenu_box .site-nav__list a:hover {
    color: #0073e6;
  }
}

/* スマホは既存仕様のまま */
@media (max-width:999px) {
  .header_info {
    display: none;
  }
}

@media (max-width:480px) {
  .l-header__center .submenu_box {
    display: none;
  }
}

/* ---------- スマホTEL ---------- */
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

.mainimg_box1 strong {
  font-size: 120%;
  color: #FAEE00;
}

.mainimg_box2 strong {
  color: #FAEE00;
}

/* ------------ トップ ------------ */

.top_sec1 h2 strong {
  color: #7AA139;
}

.t_point {
  background-color: #87B83D;
  padding: 15px 5px 20px;
  z-index: 100;
  position: relative;
  color: #fff;
  border: 3px solid #fff;
  bottom: -15px;
  top: 30px;
  left: 10px;
  line-height: 100%;
  width: 80px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

.t_point em {
  font-style: normal !important;
  font-size: 1.8rem;
  display: block;
  margin-top: 9px;
}

h3.point_title1 {
  border-top: 2px solid #87B83D;
  border-bottom: 2px solid #87B83D;
  background-color: #f9f9f9;
  padding: 15px;
  text-align: center;
  margin-top: -30px;
}


/* ------------ 固定ページ ------------ */

body.page .c-pageTitle__main {
    margin: auto;
}

body.page h2.c-pageTitle__main  {
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

body.page h2.c-pageTitle__main:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #000;
}


/* ------------ 施工事例 ------------ */
body.swcp_work-template-default .c-pageTitle__main {
    background-color: #f9f9f9;
    padding: 15px 30px;
    text-align: center;
    font-size: 1.4rem;
    border-top: 3px solid #666;
}

.swcp-work-card{
  border-radius: 0px;
  padding: 8px;
}
.swcp-work-card-cat{
  color: #454545;
}


/* ------------ サイド ------------ */
#sidebar{
  background-color: #f9f9f9;
  padding: 20px;
}
#sidebar h2,#sidebar h3{
  border-left: 5px solid #333;
  padding: 5px 10px;
  font-size: 1rem !important;
  background-color: #fff;
}

/* ------------ フッター上部 ------------ */

.sec_ft1 h2 {
  background-color: #88B83E;
  color: #fff;
  padding: 10px;
}

.p_box11 {
  font-size: 1.1rem;
}

.p_box11 strong {
  font-size: 110%;
}

.p_box12 {}

.p_box13 {
  font-size: 0.8rem;
  margin-top: -15px !important;
}

.wp-image-105,.wp-image-106{
  filter: brightness(0) invert(1);
}

.company_banner1 .wp-block-image a{
  padding: 3px 30px;
  border: 1px solid #E1DFDC;
}

@media (min-width: 768px) {
  .p_box11 {
    font-size: 1.8rem;
  }

  .p_box11 strong {
    font-size: 2rem;
  }

  .box11 {
    margin-top: 40px;
    padding: 50px 50px 40px 50px;
  }
}

@media (max-width: 767px) {
  .box11 {
    margin-top: 30px;
  }
}

.p-entry__foot{
  display: none;
}

body.page-id-18 .ft_tel1 {
  display: none;
}

/* ------------ ブロック ------------ */
:where(.wp-block-columns) {
  margin-bottom: 0.3em;
}

/* ------------ 問い合わせフォーム ------------ */
.pp_box {
  padding: 20px;
  margin: 20px 0;
  background-color: #f9f9f9;
  height: 200px;
  overflow: auto;
  overflow-y: scroll;
  overflow-x: hidden;
}

.pp_box h4 {
  font-size: 1.1rem;
  background-color: #E5D9CB;
  margin-bottom: 15px;
  line-height: 100%;
  padding: 10px;
}

.pp_box p {
  font-size: 0.9rem;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #FFF;
  text-align: center;
  color: #ff0000;
  background-color: #fff0ee;
}

.formb1 .wpcf7-list-item-label {
  font-size: 0.9rem;
}

.formb1 .wpcf7-list-item-label strong {
  color: #ff0000;
}

#form1>p.formb1>span>span>span>label>input[type=checkbox] {
  width: 15px;
  /* デフォルトは約13〜15px。ここで大きさを指定 */
  height: 15px;
  transform: scale(1.3);
  /* 拡大倍率で微調整も可能 */
  cursor: pointer;
  /* マウスカーソルをポインターに変更 */
}

.iframe_box1 {
  border: solid 1px #ccc;
  width: 100%;
  height: 270px;
  padding: 1.5em;
  overflow: auto;
  margin-top: 10px;
}

.iframe_box1_1 h4 {
  font-size: 1rem !important;
}

.iframe_box1 p {
  font-size: 0.8rem;
}

.iframe_box1 strong {
  display: block;
  margin: 10px 0;
  color: #111 !important;
}

.iframe_box1 ol {
  padding: 10px 0 10px 30px;
}

.toi_box1 {
  font-size: 0.8rem;
  padding: 10px;
}

.wpcf7 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0px solid #ddd !important;
  background: #fff !important;
  font-size: auto !important;
}

.wpcf7 form {
  margin: 0 !important;
}

.textbox1 input.wpcf7-form-control.wpcf7-text {
  width: 240px;
  margin-left: 5px;
}

#form1 {
  overflow: hidden;
}

#form1 table {
  background-color: #fff;
}

#form1 th,
#form1 td {
  padding: 20px !important;
}

#form1 th {
  position: relative;
  width: 35%;
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

div.wpcf7 .wpcf7-spinner {
  display: block;
}

#form1 .form_1 {
  background-color: #f39800;
  padding: 10px;
  color: #fff;
  text-align: center !important;
  margin-bottom: 20px;
}

#form1 .color-botton01 {
  width: 220px;
  margin: 20px auto;
  padding: 15px 5px;
  background-color: #f39800;
  text-align: center;
  border-radius: 30px;
}

#form1 .color-botton01 a {
  color: #fff;
}

@media (min-width: 768px) {
  .wpcf7 {
    width: 100% !important;
  }

  .toi_box1 {
    text-align: center;
  }
}

.wpcf7 {
  margin: 0px auto !important;
  padding: 0px !important;
  padding-bottom: 0px !important;
}

span.wpcf7-list-item {
  display: block !important;
  margin: 0 0 0 1em;
  width: 100%;
}

.must {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  background: #DD0000;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: normal;
}

.must1 {
  margin-top: -15px;
  background: #DD0000;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-weight: normal;
  padding: 1px 7px 2px;
  font-size: 10px;
}

.free {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  background: #999;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: normal;
}

.free1 {
  width: 40px;
  padding: 2px 7px;
  background: #999;
  text-align: center;
  color: #FFF;
  font-size: 12px;
  margin: 0 5px;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  height: 200px;
}

input.wpcf7-submit {
  padding: 10px 80px;
  background: #ff7b00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.formb1 {
  padding: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
  background-color: #fff8ec;
  text-align: center;
}

.formb2,
.formb3 {
  margin-top: 10px;
  text-align: center;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
  color: red;
  font-weight: 600;
}

.wpcf7-form-control.wpcf7c-btn-confirm {
  width: 350px;
  padding: 15px !important;
  color: #fff;
  font-size: 30px !important;
  font-weight: 600;
  border-radius: 50px !important;
  margin-top: 30px !important;
  background: #ffc86a !important;
  background: -moz-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
  background: -webkit-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
  background: linear-gradient(to bottom, #ffc86a 0%, #f39800 100%) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc86a', endColorstr='#f39800', GradientType=0) !important;
}

@media (max-width: 480px) {

  #form1 th,
  #form1 td {
    display: block !important;
    width: 100% !important;
  }
}

/* ---------- 入力してください。を上部へ フォーム全体 ---------- */
.wpcf7-form p {
  position: relative;
}

/* エラーメッセージ本体 */
.wpcf7-not-valid-tip {
  position: absolute;
  top: -1.6em;
  /* 入力欄の上 */
  left: 0;
  color: #e60000;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
}

/* 入力欄に少し余白を確保（重なり防止） */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-not-valid-tip {
  margin-top: 10px;
}

.toi_select1 p {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.toi_select1 input.wpcf7-text {
  width: auto;
  max-width: 200px;
}

.toi_select1 .wpcf7-text {
  width: 100% !important;
}

/* 単位付き入力行 */
.toi_select1 p {
  display: flex;
  align-items: center;
  /* ← これが決定打 */
  gap: 8px;
  margin: 0;
}