@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;
}
@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-container {
max-width: inherit;
width: 100%;
}

#header-container-in {
max-width: inherit;
width: auto;
height: 80px;
}
.logo.logo-header.logo-image {
height: 80px !important;
display: flex;
align-items: center;
}
.header-container-in.hlt-top-menu .logo-header {
    max-height: 80px;
}
@media only screen and (max-width: 1023px) {

#header-container-in {
height: 50px;
}
}


/* 
* ヘッダーロゴ(テキスト)の反対側に問い合わせボタン表示
*/
div#header-in {
  /* ヘッダーロゴ(テキスト)と問い合わせボタンを横並び */
  flex-direction: row;
}
.header-in .logo-header {
  /* ヘッダーロゴ(テキスト)と問い合わせボタンの位置を両端にする */
  margin-right: auto;
}
.header-contact {
  /* ヘッダー全高に合わせて縦を揃える */
  padding: 0;
    margin-left: 16px;
  white-space: nowrap;
  display: flex;
  align-items: stretch;
}
.header-contact a {
  /* 天地80pxの長方形ボタン */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 2em;
  height: 80px;
  text-decoration: none;
  background-color: #084992;
  color: #FFF;
  font-size: 18px;
  text-align: center;
  border-radius: 0;   /* 角丸なし → 長方形 */
  box-shadow: none;
}

.navi-in .has-icon {
  display:none;
}

@media screen and (max-width: 1032px){
.header-contact {
  /* 問い合わせボタンにパディングを追加（見た目を整える） */
	display: none;
}

}

p.head_desc {
display: none;
}

ul.listtop_bt {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
margin: 0;
padding: 0;
width: 240px;
}
ul.listtop_bt li {
box-sizing: border-box;
display: inline-block;
list-style: none;
margin: 0;
padding: 0;
width: 80px;
text-align: center;
}

ul.listtop_bt li a {
box-sizing: border-box;
flex-flow: column;
display: flex;
align-items: center;
align-content: center;
height: 100%;
margin: 0;
padding: 0 0;
color: #FFF;
background-color: #53afca;
}

ul.listtop_bt li:nth-child(2) a {
background-color: #0e0d5f;
}

ul.listtop_bt li p {
margin-bottom: 0;
font-size: 80%;
}
ul.listtop_bt li i {
display: block;
font-weight: 900;
margin: 4px auto;
margin-top: 8px;
line-height: 1.0;
font-size: 160%;
}
@media screen and (max-width: 1032px){
ul.listtop_bt {
display: none;
}
}
.navi-in > ul li a { 
  width: auto;
  max-width: inherit;
margin-left: 1.5em !important;
padding: 0 0 !important;
}

.navi-in > ul li ul li { 
height: 40px;
margin-left: 0em !important;
}
.navi-in > ul li ul li a { 
margin-left: 0em !important;
padding-left: 1.5em !important;
}
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
padding: 0 0;
padding-top: 16px;
}


@media screen and (max-width: 1023px){
.anchor {
    position: relative;
    top: -50px;
	height: 0;
    display: block;
}
}



	
/********* メイン タイトル ***********************************************/






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);
}




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


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;
}
}