@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


html, body {
  overflow-x: hidden;
}
.carousel-content .slick-track {
    padding: 0 0;
}

/********* HTML再定義 ****/

.block {
    margin-bottom: 0;
}
article {
    margin-bottom: 0 !important;
}

section {
padding: 0;
margin: 0;
margin-bottom: 0 !important;
}
.entry-content {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}


.content {
margin-top: 0 !important;
margin-bottom: 0 !important;
}


/********* 全体 ***********************************************/

.logo-menu-button.menu-button {
    padding-left: 8px;
}
#sb_instagram #sbi_images {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.breadcrumb {
max-width: 1080px;
margin-top: 16px !important;
}
@media only screen and (max-width: 1080px) {
.breadcrumb {
padding: 0 16px!important;
}
}
@media only screen and (max-width: 640px) {
.breadcrumb {
display: none;
}
}


.eye-catch-wrap {
border: 5px solid #F2F2F2;
}
.eye-catch-wrap img,
.eye-catch-wrap figure {
display: block;
width: 100%;
max-width: inherit;
}
@media screen and (max-width: 640px){
.eye-catch-wrap {
border: 3px solid #F2F2F2;
}
}
.eye-catch {
display: block;
margin: 0 auto;
max-width: 100%;
}
.eye-catch-image {
display: block;
    width: 100%;
    height: auto;
	max-width: none;
    padding: 0;
    margin: 0;
    border: none;
    vertical-align:bottom

}


.header_top {
display: block;
margin: 0 auto;
color: #FFF;
background: #191;
font-size: 90%;
letter-spacing: 0.1em;
}
@media screen and (max-width: 1023px){
.header_top {
	display: none;
}
}

ul.head_topmenu {
	display: inline-block;
	margin: 0;
	margin-left: 20px;
	padding: 5px;
}
ul.head_topmenu li {
	display: inline-block;
	list-style: none;
	margin: 0;
	margin-right: 10px;
	padding: 0;
	line-height: 100%;
	padding-right: 16px;
	border-right: 1px solid #FFF;
font-weight: 300;
font-size: 90%;
letter-spacing: 0;
}
ul.head_topmenu li a {
	display: block;
	color: #FFF;
	text-decoration: none;
}
ul.head_topmenu li a:hover {
	text-decoration: underline;
}


ul.head_contact {
	margin: 0;
	padding: 0;
	text-align: right;
}
@media screen and (max-width: 1023px){
ul.head_contact {
	display: none;
}
}
ul.head_contact li {
	display: inline-block;
	list-style: none;
	margin: 5px 0;
	padding: 0;
	text-align: center;
font-weight: 300;
font-size: 90%;
letter-spacing: 0;
	border-left: 1px solid #FFF;
}
ul.head_contact li i {
font-weight: 900;
}
ul.head_contact li a {
	display: block;
	color: #FFF;
	padding: 0 15px;
	border-left: 0.5px solid #FFF;
	text-decoration: none;
}

ul.head_contact li a:hover {
text-decoration: underline;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

ul.head_contact02 {
	margin: 0;
	padding: 0;
	float: right;
}
ul.head_contact02 li {
	display: inline-block;
	list-style: none;
	margin: 5px 0;
	padding: 0;
	text-align: center;
	border-left: 1px solid #FFF;
}
ul.head_contact02 li a {
	display: block;
	color: #FFF;
	padding: 0 15px;
	border-left: 0.5px solid #FFF;
	text-decoration: none;
}

ul.head_contact02 li a:hover {
text-decoration: underline;
}


@media screen and (max-width: 1023px) {
.mobile-header-menu-buttons {
    padding: 8px 0;
        height: 58px;
    }
}

@media screen and (max-width: 1023px){
    .title {
    margin-top: 58px;
        padding-top: 24px;
}
}

.anchor {
    position: relative;
    top: -58px;
	height: 0;
    display: block;
}

.logo-menu-button img {
    max-height: 50px;
    display: block;
    margin: 0 auto;
    width: auto;
    padding-left: 16px
}
.fa-bars:before {
    color: #000;
}
.mobile-menu-buttons .menu-caption {
    color: #000;
}

	/* =============================================
   ヘッダー2段構成
   ============================================= */



#header-container-in {
  display:     flex !important;
  flex-wrap:   wrap !important;
  align-items: center !important;
  padding:     0 0px !important;
}

/* 1段目左：ロゴ（コンテンツ幅のみ取る） */
#header {
  flex:  0 0 auto !important;
  order: 1 !important;
}

/* header-in の幅制限を解除 */
#header-in.wrap {
  max-width: none !important;
  width:     auto !important;
  padding:   0 !important;
  margin:    0 !important;
}


/* ボタン全体 */
.my-contact-wrap {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-left: auto;
  margin-right: 16px;

  order: 2;
  flex: 0 0 auto;
}

/* 共通ボタン */
.my-contact-btn {
  display: inline-block;
  padding: 10px 16px;
    min-width: 180px;
    text-align: center;

  background-color: #FFF;
    border: 1px solid #191;
    color: #191;

  font-size: 14px;
  font-weight: bold;

  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;

  transition: background-color 0.2s;
}

/* hover */
.my-contact-btn:hover {
  background-color: #F9F9F9;
    border: 1px solid #191;
    color: #191;
}

/* 2つ目だけ色変更したい場合 */
.sub-btn {
  background-color: #FFF;
    border: 1px solid #191;
    color: #191;
}

.sub-btn:hover {
  background-color: #F9F9F9;
}

/* 3つ目だけ色変更したい場合 */
.sub-btn02 {
    border: 1px solid #FFF;
  background-color: #F60;
    color: #FFF;
}

.sub-btn02:hover {
    border: 1px solid #FFF;
  background-color: #F90;
    color: #FFF;
}



.navi_kaigyou_pc {
    display: block;
}
@media (max-width: 1023px) {
    .navi_kaigyou_pc {
    display: none;
}
}

/* 2段目：ナビを全幅で下へ */
#navi {
  flex:        0 0 100% !important;
  order:       3 !important;
  width:       100% !important;
  margin-left: 0 !important;
  background-color: #FFF;
    border-top: 1px solid #191;
    border-bottom: 1px solid #191;
}

#navi-in.wrap {
  max-width: none !important;
  padding:   0 30px !important;
}



.navi-in > ul li {
    margin: 0;
    width: calc(6 / 100);
    height: auto;
    position: relative;
    padding: 8px 0;
}

.navi-in > ul li ul li {
    display: block;
    margin: 0;
    width: 220px;
    height: 60px;
}

#navi .navi-in > ul > li > a {
  color:   #000;
}

.navi-in > ul .sub-menu,
.navi-in > ul .sub-menu li {
    margin: 0;
    padding: 0;
}
.navi-in > ul .sub-menu li .caption-wrap {
    height: auto;
}



/* スマホ非表示 */
@media (max-width: 1023px) {
  .my-contact-btn {
    display: none !important;
  }
  #navi {
    display: none !important;  /* ← これを追加 */
  }
}


.navi-in a:hover {
  background-color: #F5F5F5 !important;
  color: #000 !important;
}




/* =============================================
   フッター
============================================= */

.footer {
    position: relative;
    margin: 0 auto;
    padding: 0 0;
    border-top: 1px solid #000;
}

.footer-in {
    display: block;
    margin: 0 auto;
    padding: 24px 0;
}
.footer-bottom {
    margin-top: 0;
    padding: 0;
    position: relative;
}
@media screen and (max-width: 640px){
    .footer-in {
    padding: 16px 0;
}
}
.foot_add {
    text-align: left;
    display: block;
    margin: 0 auto;
    background-color: #555;
    color: #FFF !important;
    font-size: 90%;
    padding: 16px 0;
}
.foot_add p {
text-align: right;
}

.foot_add_flex {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
.foot_add_flex_half {
display: block;
width: 50%;
}

@media screen and (max-width: 640px){
.foot_add {
	text-align: center;
}
.foot_logo {
display: block;
	margin: 0 auto !important;
	width: 40%;
}
.foot_logo img {
display: block;
	margin: 0 auto !important;
	padding: 0 !important;
}
.foot_add p {
text-align: center;
display: block;
}
.foot_add_flex {
display: block;
}
.foot_add_flex_half {
width: auto;
}
}

.footer-site-logo-image {
	position: relative !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}
@media screen and (max-width: 834px){
.footer-site-logo-image {
	display: block;
	float: none;
	position: relative;
	padding: 0;
	margin: 0;
}
}

.copy {
    display: block;
    margin: 0 auto;
    background-color: #191;
    padding: 16px 0;
    text-align: center;
    color: #FFF;
}
.copyright {
    margin-top: 0;
    line-height: 1.2;
    font-size: 90%;
  text-box-trim: trim-both;
}

@media screen and (max-width: 1023px){
    .copy {
        padding-bottom: 60px;
}
}

.mobile-footer-menu-buttons .menu-button,
.mobile-footer-menu-buttons .menu-button:hover,
.mobile-footer-menu-buttons .menu-button a {
color: #000;
}

.mobile-footer-menu-buttons.mobile-menu-buttons .menu-button {
    border-right: 1px solid #CCC;
}
.mobile-footer-menu-buttons.mobile-menu-buttons li:last-child .menu-button {
    border-right: none;
}
/********* メイン タイトル ***********************************************/






ul.list_dott {
  margin: 0;
  padding: 0;
}

ul.list_dott li {
  position: relative;
  list-style: none;
  text-align: justify;
  margin: 0;
  padding: 0;
  padding-left: 1em;
}
ul.list_dott li:before {
  position: absolute;
  content: "・";
  margin-left: -1.0em;
}

ul.list_kome {
  margin: 0;
  padding: 0;
}
ul.list_kome li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1.0em;
}
ul.list_kome li:before {
  position: absolute;
  content: "※";
  margin-left: -1.0em;
}

ul.list_kome_red {
  margin: 0;
  padding: 0;
}
ul.list_kome_red li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1.0em;
}
ul.list_kome_red li:before {
  position: absolute;
  content: "※";
  margin-left: -1.0em;
color: #F00;
}

.cta_btn_00 {
  font-weight: bold; /* 文字の太さ */
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.cta_btn_00-red {
  color: #F00; /* 文字色 */
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 1em 0.5em;
  border-radius: 100vh;
  width: 100%; /* ボタン幅 */
  max-width: 350px; /* 最低ボタン幅 */
  transition: 0.3s;
  background: #FFF;
border: 1px solid #F00;
}

/* マウスオーバーした際のデザイン */
.cta_btn_00:hover {
  transform: scale(1.05);
}



/* =========================================================
   よよこ〜 見出しデザイン
   Cocoon CSS 非干渉仕様
========================================================= */

.qps-line-heading {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
  box-sizing: border-box;
}
.qps-line-heading02 {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   見出し
========================================================= */

/* Cocoonのh2装飾をリセット */
.qps-line-heading .qps-line-heading__title {
  position: relative;

  display: block;
  width: 100%;

  margin: 0 0 26px !important;
  padding: 0 !important;

  background: none !important;
  background-color: transparent !important;
  background-image: none !important;

  border: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: none !important;

  border-radius: 0 !important;
  box-shadow: none !important;

  color: #222 !important;

  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  text-align: center;

  box-sizing: border-box;
}

/* Cocoonのh1装飾をリセット */
.qps-line-heading02 .qps-line-heading__title {
  position: relative;

  display: block;
  width: 100%;

  margin: 0 0 26px !important;
  padding: 0 !important;

  background: none !important;
  background-color: transparent !important;
  background-image: none !important;

  border: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: none !important;

  border-radius: 0 !important;
  box-shadow: none !important;

  color: #222 !important;

  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  text-align: center;

  box-sizing: border-box;
}
/* =========================================================
   Cocoonの疑似要素を無効化
========================================================= */

.qps-line-heading .qps-line-heading__title::before,
.qps-line-heading .qps-line-heading__title::after {
  display: none !important;
  content: none !important;

  width: 0 !important;
  height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: none !important;
  border: none !important;
}
.qps-line-heading02 .qps-line-heading__title::before,
.qps-line-heading02 .qps-line-heading__title::after {
  display: none !important;
  content: none !important;

  width: 0 !important;
  height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: none !important;
  border: none !important;
}


/* =========================================================
   下部ライン
========================================================= */

.qps-line-heading .qps-line-heading__border {
  position: relative;

  display: block;
  width: 100%;
  height: 1px;

  margin: 0;
  padding: 0;

  background: #d9dde3;

  border: none;
  box-sizing: border-box;
}
.qps-line-heading02 .qps-line-heading__border {
  position: relative;

  display: block;
  width: 100%;
  height: 2px;

  margin: 0;
  padding: 0;

  background: #555;

  border: none;
  box-sizing: border-box;
}



/* =========================================================
   左側アクセント
   よよこ〜 グリーン
========================================================= */

.qps-line-heading .qps-line-heading__border span {
  position: absolute;

  top: -3px;
  left: 0;

  display: block;

  width: 94px;
  height: 7px;

  margin: 0;
  padding: 0;

  /* よよこ〜 グリーン */
  background: linear-gradient(
    90deg,
    #191 0%,
    #191 100%
  );

  border: none;
  border-radius: 0;

  box-sizing: border-box;
}
.qps-line-heading02 .qps-line-heading__border span {
  position: absolute;

  top: -3px;
  left: 0;

  display: block;

  width: 94px;
  height: 7px;

  margin: 0;
  padding: 0;

  /* よよこ〜 グリーン */
  background: linear-gradient(
    90deg,
    #191 0%,
    #191 100%
  );

  border: none;
  border-radius: 0;

  box-sizing: border-box;
}



/* =========================================================
   スマートフォン
========================================================= */

@media screen and (max-width: 768px) {
  .qps-line-heading {
    width: 100%;

    margin: 0 0 30px;
    padding: 0;
  }
  .qps-line-heading .qps-line-heading__title {
    width: 100%;

    margin: 0 0 20px !important;
    padding: 0 !important;

    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.04em;

    text-align: center;
  }

  .qps-line-heading .qps-line-heading__border {
    width: 100%;
    height: 1px;
  }

  .qps-line-heading .qps-line-heading__border span {
    top: -2px;

    width: 72px;
    height: 5px;
  }
    
  .qps-line-heading02 {
    width: 100%;

    margin: 0 0 30px;
    padding: 0;
  }
  .qps-line-heading02 .qps-line-heading__title {
    width: 100%;

    margin: 0 0 20px !important;
    padding: 0 !important;

    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.04em;

    text-align: center;
  }

  .qps-line-heading02 .qps-line-heading__border {
    width: 100%;
    height: 1px;
  }

  .qps-line-heading02 .qps-line-heading__border span {
    top: -2px;

    width: 72px;
    height: 5px;
  }  
    
}



/************************************
** フォーム
************************************/


table.form_table {
	table-layout: fixed;
	width: 100%;
	margin: 0;
	margin-bottom: 24px;
	padding: 0;
	border: none;
	background: none;
	overflow: hidden;
}
table.form_table tr, table.form_table th, table.form_table td {
	text-align: left;
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}
table.form_table th, table.form_table td {
	text-align: left;
	padding: 16px !important;
	border-top: 1px dotted #CCC;
	border-bottom: 1px dotted #CCC;
}

table.form_table p {
	margin-bottom: 0;
}
table.form_table th {
	vertical-align: top;
	background-color: #F5F5F5;
	width: 25%;
	font-weight: 600;
}

table.form_table td {
	background-color: #FFF;
}
 
@media screen and (max-width: 640px){
table.form_table {
	margin-bottom: 16px;
}
table.form_table th, table.form_table td {
display: block;
	width: auto;
	border: none;
	margin: 0 0;
line-height: 1.2;
}
table.form_table th {
padding: 8px 8px !important;
}
table.form_table td {
	padding: 16px 0 !important;
}
    .wpcf7-list-item {
        display: block;
        margin-bottom: 8px;
    }
} 
 .hissu {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 10px;
	line-height: 100%;
	padding: 2px 6px;
	margin-left: 10px !important;
	text-decoration:none;
	display:inline-block;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
	color: #FFF !important;
	background-color: #F00;
}
.nini {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 10px;
	line-height: 100%;
	padding: 2px 6px;
	margin-left: 10px !important;
	text-decoration:none;
	display:inline-block;
	color: #FFF !important;
	background-color: #06F;
}
 

div.wpcf7 .ajax-loader {
    display: none !important;
}
div.wpcf7 .wpcf7-spinner {
    display: none !important;
}




.input-mini { width:90px !important }
.input-small { width: 200px !important }
.input-medium { width: 70% !important }
.input-large { width: 80% !important }
.input-xlarge { width: 90% !important }
.input-xxlarge { width: 90% !important }

@media screen and (max-width: 640px){
.input-small { width: 50% !important }
.input-medium { width: 90% !important }
.input-large { width: 90% !important }
.input-xlarge { width: 90% !important }
}

.btn {
	display:inline-block !important;
	width: auto !important;
	padding: 10px 100px !important;
	font-size: 130%;
	margin: 5px;
	margin-bottom:0;
	color:#333;
	text-align:center;
	text-shadow:0 1px 1px rgba(255,255,255,0.75);
	vertical-align:middle;
	cursor:pointer;
	background-color:#f5f5f5;
	background-image:-moz-linear-gradient(top,#fff,#e6e6e6);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
	background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);
	background-image:-o-linear-gradient(top,#fff,#e6e6e6);
	background-image:linear-gradient(to bottom,#fff,#e6e6e6);
	background-repeat:repeat-x;border:1px solid #ccc;
	border-color:#e6e6e6 #e6e6e6 #bfbfbf;
	border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
	border-bottom-color:#b3b3b3;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)
}
.btn:hover {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.btn-primary{
	color:#fff !important;
	text-shadow:0 -1px 0 rgba(0,0,0,0.25);
	background-color:#369;
	background-image:-moz-linear-gradient(top,#F00,#900);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#F00),to(#900));
	background-image:-webkit-linear-gradient(top,#F00,#900);
	background-image:-o-linear-gradient(top,#F00,#900);
	background-image:linear-gradient(to bottom,#F00,#900);
	background-repeat:repeat-x;border-color:#F00 #900 #900;
	border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F00',endColorstr='#900',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)
}
@media only screen and (max-width: 640px) {
.btn {
	display:block !important;
	width: 100% !important;
	padding: 10px 0 !important;
	margin: 5px auto;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)

}
}



/* ================================
   iPhone入力時のズレ修正CSS
   既存のCSSに追加してください
================================ */

/* 1. iPhoneの自動ズームを防止（最重要） */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    font-size: 16px !important; /* 16px以上で自動ズームを防止 */
}

/* 2. ビューポート設定（HTMLのheadタグ内に追加） */
/* 
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
を以下に変更：
<meta name="viewport" content="width=device-width, initial-scale=1.0">
*/



/* 4. フォーム入力時のスクロール改善 */
@media screen and (max-width: 834px) {
    input:focus,
    select:focus,
    textarea:focus {
        /* フォーカス時の挙動を改善 */
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    /* テーブルセルの高さを最適化 */
    table.form_table td {
        padding: 12px 0; /* 16pxから12pxに調整 */
        min-height: auto;
    }
}

/* 5. selectボックスの高さを明示的に指定 */
@media screen and (max-width: 834px) {
    select.wpcf7-form-control {
        height: 44px; /* タップしやすい高さ */
        padding: 8px;
        font-size: 16px !important;
    }
}

/* 6. textareaの調整 */
@media screen and (max-width: 834px) {
    textarea.wpcf7-form-control {
        min-height: 120px;
        font-size: 16px !important;
        padding: 8px;
        resize: vertical; /* 縦方向のみリサイズ可能 */
    }
}

/* 7. 送信ボタンがキーボードで隠れないように */
@media screen and (max-width: 834px) {
    .btn.btn-primary {
        margin-top: 20px;
        margin-bottom: 30px; /* 下部に余白を追加 */
    }
}

/* 8. フォーカス時のスクロール位置を固定 */
@media screen and (max-width: 834px) {
    .wpcf7-form {
        position: relative;
        padding-bottom: 50px; /* フォーム下部に余白 */
    }
}
.wpcf7-list-item {
        margin: 0;
    margin-right: 16px !important;
    }
.wpcf7-list-item.last {
    margin-right: 0;
    }
/* 9. チェックボックスのタップ領域を拡大 */
@media screen and (max-width: 834px) {
    .wpcf7-list-item {
        margin: 0;
        padding: 0 0;
    }
    
    .wpcf7-list-item label {
        display: inline-block;
        padding: 8px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    .wpcf7-list-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 2px !important;
        vertical-align: middle;
    }
}

/* 10. iOS Safariの入力フィールド装飾を調整 */
@media screen and (max-width: 640px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 4px;
        border: 1px solid #ccc;
        padding: 10px;
        background-color: #fff;
    }
    
    /* selectボックスに矢印を追加 */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23333' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px;
        padding-right: 32px !important;
    }
}

/* 11. プレースホルダーのフォントサイズも統一 */
@media screen and (max-width: 640px) {
    input::placeholder,
    textarea::placeholder {
        font-size: 16px !important;
        color: #999;
    }
}

/* 12. フォーム全体のパディング調整 */
@media screen and (max-width: 640px) {
    .box_gray {
        padding: 12px 16px; /* 16pxから12pxに調整 */
    }
}

/* 13. iOS SafariのオートコンプリートUIの調整 */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

/* 14. キーボード表示時のビューポート高さ対応 */
@media screen and (max-width: 640px) {
    @supports (-webkit-touch-callout: none) {
        /* iOS Safari専用 */
        body {
            min-height: -webkit-fill-available;
        }
    }
}



select {
  margin: 4px 0;
padding: 8px;
  width: auto;
}

select {
  display: inline-block;
padding: 8px;
min-width: 20%;
}
@media screen and (max-width: 640px) {
select {
min-width: 40%;
}
}
.grid_10 {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 24px;
    margin-bottom: 0 !important;
}
@media only screen and (max-width: 640px) {
.grid_10 {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 16px;
}
}
.grid10_fivebox {
    grid-column: span 2 / span 2;
}
.grid10_fivebox02 {
    grid-column: span 2 / span 2;
}
@media only screen and (max-width: 640px) {
.grid10_fivebox {
    grid-column: span 10 / span 10;
}
.grid10_fivebox02 {
    grid-column: span 5 / span 5;
}
}


.grid_12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 0 !important;
}
@media only screen and (max-width: 640px) {
.grid_12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
}
.grid_doublebox_pconly {
    grid-column: span 12 / span 12;
}
.grid_doublebox {
    grid-column: span 6 / span 6;
}
.grid_doublebox_only {
    grid-column: span 6 / span 6;
}
.grid_triplebox {
    grid-column: span 4 / span 4;
}
.grid_triplebox02 {
    grid-column: span 4 / span 4;
}
.grid_fourbox {
    grid-column: span 3 / span 3;
}
.grid_fourbox02 {
    grid-column: span 3 / span 3;
}
.grid_fivebox {
    grid-column: span 3 / span 3;
}
.grid_fivebox02 {
    grid-column: span 3 / span 3;
}
@media only screen and (max-width: 640px) {

.grid_doublebox_pconly {
    grid-column: span 6 / span 6;
}
.grid_doublebox {
    grid-column: span 12 / span 12;
}
.grid_triplebox {
    grid-column: span 12 / span 12;
}
.grid_triplebox02 {
    grid-column: span 6 / span 6;
}
.grid_fourbox {
    grid-column: span 6 / span 6;
}
.grid_fourbox02 {
    grid-column: span 12 / span 12;
}
.grid_fivebox02 {
    grid-column: span 6 / span 6;
}
}

.grid_double_txt_left {
    grid-column: span 6 / span 6;
}
.grid_double_pic_right {
    grid-column: span 6 / span 6;
}
@media only screen and (max-width: 640px) {
.grid_double_txt_left {
    grid-column: span 12 / span 12;
    grid-column-start: 1;
    grid-row-start: 2;
}
.grid_double_pic_right {
    grid-column: span 12 / span 12;
    grid-column-start: 1;
    grid-row-start: 1;
}
}