@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){
  /*必要ならばここにコードを書く*/
}

@media screen and (max-width: 834px) {
    .article ul, .article ol {
        padding-left: 0;
    }
}
/********* 全体 ***********************************************/



.title {
max-width: 1080px;
display: block;
margin: 0 auto;
margin-bottom: 0;

}

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

}

section {
margin-bottom: 0 !important;
}



.coc-btn_yellow {
  display:inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  background: #F5C160;
  color:#fff;
  text-decoration:none;
}
.coc-btn_yellow:hover{ opacity:.92 }


#top_main {
margin-top: 0;
}


#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 16px;
 white-space: nowrap;
}
.header-contact a {
	display: block;
	margin: 0;
	padding: 0.5em 1.5em;
	text-decoration: none;
	background-color: #F90;
	color: #FFF;
	font-size: 18px;
	text-align: center;
  border-radius: 30px;
	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;
}




/********* フッター *************************************************/
#footer {
  display: block;
  margin: 0 auto;
  padding: 0 0;
  background: #DCDCDD;
    width: 100% !important;
}
#footer-in {
  position: relative;
  max-width: 1080px;
  display: block;
  margin: 0 auto;
  padding: 40px 10px;
}

@media only screen and (max-width: 1080px) {
#footer-in {
  padding: 40px 16px;
}
}

@media only screen and (max-width: 1032px) {
  #footer-in {
    padding: 32px 16px;
	padding-top: 0;
	padding-bottom: 0;
	border-top: none;
}
}


.copy {
  text-box-trim: trim-both;
display: block;
padding: 24px 0;
line-height: 1.5;
    text-align: center;
}
.copy p {
line-height: 1.5;
margin-bottom: 0;
}
.grid_copy {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 24px;
  place-content: center;
}
.grid_copy_logo {
    grid-column: span 1 / span 1;
}

.grid_copy_logo .imagecneter00 {
width: 100% !important;
}
.grid_copy_txt {
    grid-column: span 9 / span 9;
  place-content: center;
}
@media screen and (max-width: 1032px) {
.copy {
display: block;
padding: 16px 0;
	padding-bottom: 60px;
}
.grid_copy {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 16px;
}
.grid_copy_logo {
    grid-column: span 2 / span 2;
}
.grid_copy_txt {
    grid-column: span 9 / span 9;
}
}




ul.bt_foot_sns {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 16px 0;
	margin-bottom: 0;
	padding: 0;
}
ul.bt_foot_sns li {
	display: inline-block;
	padding: 0;
	margin: 0 4px;
	text-decoration: none;
}

ul.bt_foot_sns li img {
max-width: 40px !important;
}
@media only screen and (max-width: 1032px) {
ul.bt_foot_sns {
	margin: 8px 0;
	margin-bottom: 0;
}
}




ul.bt_foot_sns li a:hover img {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0.7;
}



.foot_add_flex {
    display: block;
	margin-bottom: 8px;
}
.foot_add_grid_mail,
.foot_add_grid_tel {
display: inline-block;
margin: 0;
}

.foot_add_grid_mail {
margin-bottom: 8px;
}
@media only screen and (max-width: 1032px) {
.foot_add_flex {
display: none;
/*    display: flex;*/
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 8px;
}
.foot_add_grid_mail,
.foot_add_grid_tel {
display: inline-block;
max-width: calc(100% / 2 - 8px);
text-align: center;
margin: 0 4px;
}

.foot_add_grid_mail {
margin-bottom: 16px;
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
.foot_add_grid_mail {
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
}

p.foot_add_txt {
margin-bottom: 0;
line-height: 1.5;
display: block;
}
p.foot_add_txt_pc {
margin-bottom: 0;
line-height: 1.5;
display: block;
}
p.foot_add_txt_sp {
display: none;
}
@media only screen and (max-width: 1032px) {
p.foot_add_txt {
text-align: center;
}
p.foot_add_txt_pc {
display: none;
}
p.foot_add_txt_sp {
margin-bottom: 0;
display: block;
text-align: center;
}
}



 

/************************
/ ページトップボタン
/************************/
#go-to-top {bottom: 68px;}

.footerMenu_aki {
display: none;
}

#footerMenu {
	display: none;
}

@media screen and (max-width: 1032px) {
.footerMenu_aki {
display: block;
padding-top: 60px;
}

#footerMenu {
	display: block;
	text-align: center;
	background-color: rgba(255,255,255,0.85);
	width: 100%;
	height: 0px;
	position: fixed;
	z-index: 10000;
	bottom: 0;
	overflow: none;
	left: 0;
	transition: all 0.4s ease-in-out;
}
#footerMenu.show {
	height: 60px;
	padding: 0 0;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
}

.footerMenu {
position: relative;
	display: block;
margin: 0 auto;
color: #FFF;
}
}




ul.footerMenulist {
    display:flex;
    flex-wrap:wrap;
margin: 0;
padding: 0;
	height: 60px;
justify-content: center;
align-items: center;
}
ul.footerMenulist li {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	display: inline-block;
	line-height: 150%;
width: calc(100% / 2 );
	vertical-align: middle;
	text-align: center;
	box-sizing:border-box;
}
ul.footerMenulist li a {
display: flex;
background-color: #e18c41;
color: #FFFF;
width: 100%;
	height: 100%;
align-items: center;
justify-content: center;
}
ul.footerMenulist li:nth-child(2) a {
background-color: #64a137;
}
ul.footerMenulist li .imagecenter00 {
width: auto;
max-height: 60px;
}




ul.footerMenulist li a:hover {
	background-color: #EEE;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}


/*フッターモバイルポップアップ*/
.mobile-footer-menu-buttons .menu-button .fas,
.mobile-footer-menu-buttons .menu-button .far {
  color: #FFF;
}
.mobile-footer-menu-buttons .menu-button {
background-color: #004ea2;
  border-left: 1px solid #FFF;
}
.mobile-footer-menu-buttons .menu-button::first-child {
background-color: #004ea2 !important;
  border-left: none;
}
.mobile-footer-menu-buttons .menu-button a {
  color: #FFF;
}


.foot_add_pc {
display: block;
}
.foot_add_pad {
display: none;
}
@media screen and (max-width: 1032px) {
.foot_add_pc {
display: none;
}
.foot_add_pad {
display: block;
}
}

.footer-bottom {
display: block;
  margin: 0 !important;
  padding: 0 !important;
}
.foot_flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.foot_flex_left {
order: 1;
display: block;
max-width: 320px;
width: 32%;
}
.foot_flex_right {
order: 2;
display: block;
  width: calc(68% - 24px);
  max-width: 680px;
}


@media screen and (max-width: 1032px) {
.foot_flex {
  display: block;
}
.foot_flex_left {
max-width: inherit;
padding: 0 2em;
width: auto;
margin: 0 auto;
margin-top: 16px;
text-align: center;
}
.foot_flex_right {
width: auto;
max-width: inherit;
  margin-left: auto;

}
}
.logo.logo-footer.logo-image {
text-align: center !important;
display: block;
margin-bottom: 8px;
float: none;
}
.logo.logo-footer.logo-image,
.logo.logo-footer.logo-image a {
text-align: center;
display: block;
width: auto !important;
  padding: 0 !important;
  margin: 0 !important;

}
.logo.logo-footer.logo-image a:hover {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0.7;
}
.site-logo-image.footer-site-logo-image {
display: inline-block;
float: none;
  padding: 0 !important;
  margin: 0 auto !important;
  height: auto !important;
max-width: 240px !important;
width: inherit;
}
@media screen and (max-width: 1032px) {
.logo.logo-footer.logo-image,
.logo.logo-footer.logo-image a {
  margin: 0 auto!important;
margin-bottom: 12px!important;
text-align: center;
}
.site-logo-image.footer-site-logo-image {
  margin: 0 auto!important;
}
}

p.foot_company {
line-height: 150%;
margin-bottom: 0 !important;
}
p.foot_tel {
line-height: 150%;
margin-bottom: 0 !important;
}

.foot_tel_icon {
position: relative;
display: flex;
align-items: center;
line-height: 150%;
padding-left: 1.15em;
margin-bottom: 0 !important;
}
.foot_tel_icon:before {
position: absolute;
margin-left: -1.15em;
margin-top: -0.04em;
    content: "";
    display: inline-block;
  background-image: url(../../uploads/2024/02/icon_tel.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 0.95em;
    height: 0.95em;
}


p.foot_tel i {
margin-top: -0.05em;
margin-right: 3px;
}
p.foot_tel a {
text-decoration: none;
color: #000;
}

.flex_footer_schedule {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
}

@media screen and (max-width: 1032px) {
.flex_footer_schedule {
display: block;
margin: 0 auto;
margin-top: -0.05em;
text-align: center;
}
p.foot_tel i {
margin-top: -0.1em;
margin-right: 3px;
}
p.foot_tel {
display: inline-block;
text-align: center;
margin-bottom: 0 !important;
}
}

dl.footer_schedule{
  display: flex;
  clear: both;
  margin: 0 0;
  margin-right: 16px;
  padding: 0;
  line-height: 150%;
}

dl.footer_schedule dt {
display: inline-block;
  margin: 0;
  margin-right: 4px;
  padding: 0;
}

@media screen and (max-width: 1032px) {
dl.footer_schedule{
justify-content: center;
  margin: 0 auto;
  margin-right: auto;
  white-space: nowrap;
}
}


/* =========================================
   フッターメニュー 3列グリッド
   ========================================= */
.footer_menu_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 32px 0;
}

@media screen and (max-width: 1032px) {
  .footer_menu_box {
    display: block;
    padding: 0;
  }
}

ul.foot_sns {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0;
margin-top: 8px;
padding: 0;
}
ul.foot_sns li {
display: inline-block;
margin: 0 4px;
padding: 0;
}
ul.foot_sns li i {
color: #479557;
}
ul.foot_sns li i.color_line {
color: #479557;
}

ul.foot_sns li i.color_insta {
color: #479557;
}



ul.foot_menu {
margin: 0;
padding: 0;
}
ul.foot_menu li {
position: relative;
list-style: none;
line-height: 150%;
margin: 0;
padding: 0;
margin-bottom: 8px;
}

ul.foot_menu li a {
position: relative;
display: block;
font-weight: bold;
padding-left: 1em;
    text-decoration: none;
}
ul.foot_menu li a:before {
  position: absolute;
  content: "▶";
  margin: 0;
  margin-left: -1em;
  padding: 0;
  font-size: 80% !important;
  color: #00a0e9;
}
ul.foot_menu li:last-child {
margin-bottom: 0;
}

ul.foot_menu li .non_yaji a {
padding-left: 0 !important;
}
ul.foot_menu li .non_yaji a:before {
display: none !important;
content: "";
}

ul.foot_menu li a:hover {
  color: #000 !important;
text-decoration: underline;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
ul.foot_menu li ul li {
margin-bottom: 0;
margin-left: 1em;
}

ul.foot_menu li ul li a {
font-weight: normal;
}



ul.foot_menu li:nth-child(n+2) {
margin-top: 0;
}
ul.foot_menu li ul li:first-child {
margin-top: 0;
}
ul.foot_menu li ul li:nth-child(n+2) {
margin-top: 0;
}

@media screen and (max-width: 1032px) {

ul.foot_menu {
margin: 0 -16px;
margin-bottom: 0;
padding: 0;
width: auto;
}
ul.foot_menu li {
margin-bottom: 0;
border-top: 1px solid #FFF;
}

ul.foot_menu li a {
padding: 12px 24px;
  color: #000 !important;
	background: #EEE;
margin-bottom: 0;
}
ul.foot_menu li a:before {
  margin-left: -1.2em;
}
ul.foot_menu li a:hover {
  color: #000 !important;
text-decoration: underline;
}
ul.foot_menu li ul {
margin: 0;
padding: 0;
}

ul.foot_menu li ul li {
margin: 0;
display: block;
padding: 0;
}
ul.foot_menu li ul li a {
display: block;
padding: 12px 24px;
padding-left: 32px;
background-color: #CCC;
}
ul.foot_menu li .non_yaji a {
padding-left: 32px !important;
}
ul.foot_menu li ul li {
margin-right: 0;
}
ul.foot_menu li ul li a {
padding-right: 0;
margin-right: 0;
}
}


ul.foot_menu li a:hover {
text-decoration: none;
background-color: #F9F9F9;
color: #000 !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}


@media screen and (max-width: 1032px) {
  ul.foot_menu ul.sub-menu {
    display: none;  /* 初期は非表示 */
    padding: 0;
    margin: 0;
  }

  ul.foot_menu li.has-submenu > a::after {
    content: "＋";
    float: right;
    color: #00a0e9;
    font-size: 80%;
  }

  ul.foot_menu li.open > a::after {
    content: "－";
  }
}


/* =========================================
   フッターメニュー テキスト色変更（PCのみ）
   黒文字 / ホバーでアンダーライン表示
   ========================================= */
@media screen and (min-width: 1033px) {
  ul.foot_menu li a {
    color: #000;
  }
  ul.foot_menu li a:hover {
    color: #000 !important;
    text-decoration: underline;
    background-color: transparent;
  }
}


.footer_schList {
display: block;
	margin: 0 auto;
	border: 2px #004DA1 solid;
	border-radius: 11px;
}
.footer_schList .ttl {
padding: 0.5em 1em;
background: #004DA1;
color: #FFF;
font-weight: bold;
border-radius: 8px 8px 0 0;
}
.footer_schList .ttl small {
		font-size: 80%;
}
.footer_schList ._list_wrap {
padding: 24px;
background: #FFFCDA;
	border: 2px #004DA1 solid;
border-radius: 0 0 8px 8px;
}
@media screen and (max-width: 640px) {
.footer_schList .ttl {
padding: 0.5em 14px;
}
.footer_schList ._list_wrap {
padding: 16px;
}
}


.grid_footer_schList {
  display: grid;
  gap: 16px;
  grid-template-columns: [label] 10em [input] 1fr;
}

@media screen and (max-width: 640px) {
.grid_footer_schList {
  display: grid;
  gap: 8px;
  grid-template-columns: [label] 8em [input] 1fr;
}
}
.grid_footer_schList > .schList_name {
  grid-column: label;
  color: #0075c1;
font-weight: bold;
line-height: 1.5;
/*  place-content: center;*/
}

.grid_footer_schList > .schList_cont {
  grid-column: input;
font-weight: bold;
}

ul.list_footer_schList {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
margin: 0;
padding: 0;
}
ul.list_footer_schList li {
display: inline-block;
list-style: none;
margin: 0;
margin-right: 1em;
padding: 0;
}
ul.list_footer_schList li:nth-child(5n) {
width: 40%;
}
@media screen and (max-width: 1032px) {
ul.list_footer_schList li:nth-child(5n) {
width: inherit;
}
}



.footer_schList ._list_wrap ul {
			list-style: none;
			margin: 0;
			padding: 0;
		}
			.footer_schList ._list_wrap ._inner_wrap {
				display: flex;
			}
				.footer_schList ._list_wrap ._inner_wrap .pre {
					display: block;
					width: 9em;
					height: 100%;
					color: #0075c1;
					font-weight: bold;
					font-size: 150%;
					font-size: 160%;
				}
				.footer_schList ._list_wrap ._inner_wrap li {
					display: inline-block;
					list-style: none;
					margin: 0 .5em .5em;
					font-weight: bold;
					font-size: 140%;
				}
				.footer_schList ._list_wrap ._inner_wrap ._sub {
					display: flex;
					font-size: 140%;
				}
					.footer_schList ._list_wrap ._inner_wrap ._sub dt {
						margin: 0 .5em .5em;
						margin-right: 0;
						padding: 0 .5em;
						background: #595757;
						color: #f9f8ee;
						font-weight: bold;
					}
					.footer_schList ._list_wrap ._inner_wrap ._sub dd {
						margin: 0 .5em .5em;
						font-weight: bold;
					}
				.footer_schList ._list_wrap ._inner_wrap * + ._sub {
					margin-top: 8px;
				}
			.footer_schList ._list_wrap ._inner_wrap + ._inner_wrap {
				margin-top: 20px;
			}
@media only screen and (max-width: 640px) {
	.footer_schList .ttl small {
		display: block;
		margin-top: 8px;
	}
	.footer_schList ._list_wrap ._inner_wrap .pre {
		min-width: 9em;
	}
}

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



.ttl_background3 {
  font-weight: bold;
  padding: 0.5em 1em !important;
  background-color: #4c9ac0 !important;
  color: #fff !important;
  overflow: hidden !important;
  position: relative;
}
.ttl_background3::after {
  content: '';
  background-color: #fff;
  opacity: 0.3;
  transform: rotate(-65deg);
  position: absolute;
  bottom: -250px;
  right: -250px;
  width: 300px;
  height: 500px;
}



/********* TOPお知らせ ***********************************************/


ul.top_news {
	margin: 0;
	padding: 0;
	border-top: 1px dotted #CCC;
}
ul.top_news li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 8px 8px;
	border-bottom: 1px dotted #CCC;
}
ul.top_news li p {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.top_news li p span {
}
ul.top_news li p a {
	margin: 0;
	padding: 0;
	display: block;
	color: #000;
	text-decoration: none;
}


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

@media screen and (max-width: 640px){
ul.top_news {
	margin-bottom: 0;
}
}

table.table_top_news {
	table-layout: fixed;
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}
table.table_top_news tr, table.table_top_news th, table.table_top_news td {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}
table.table_top_news th, table.table_top_news td {
	border-collapse: collapse;
	border: none;
	background: none;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
table.table_top_news th {
	color: #555;
	width: 11em;
}

@media screen and (max-width: 640px){
table.table_top_news th {
	display: block;
	margin-bottom: 8px;
}
table.table_top_news td {
	display: block;
	margin-bottom: 0;
}
table.table_top_news th {
	width: auto;
}
table.table_top_news td {
	line-height: 130%;
}
}

.tag_news {
	display: inline-block;
	margin: 0 8px;
	padding: 2px;
	padding-bottom: 0;
	font-size: 80%;
	width: 5em;
	text-align: center;
	background-color: #F00 !important;
	color: #FFF !important;
	line-height: 1.2;
}


/********* お知らせ*************************************************/

ul.tag_category {
display: inline-block;
margin: 0;
margin-bottom: 2px;
padding: 0;
}
ul.tag_category li {
list-style: none;
margin: 0;
margin-left: 4px;
padding: 0;
	display: inline-block;
	text-align: center;
	min-width: 6em;
}
ul.tag_category li a {
	display: block;
	padding: 0 1.5em;
	background-color: #148CC2;
	color: #FFF;
	border-radius: 16px;
	text-decoration: none;
}



.flex_news {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.flex_news_box {
display: flex;
justify-content: space-between;
flex-flow: column;
width: calc(100% / 2 - 8px);
padding-bottom: 16px;
border-bottom: 1px solid #CCC;
}
.flex_news_box .bt_news {
margin-top: auto;
}
.flex_news_box:nth-child(n+3) {
margin-top: 20px;
}
@media screen and (max-width: 640px) {
.flex_news {
display: block;
padding-bottom: 8px;
}
.flex_news_box {
width: auto;
}
.flex_news_box:nth-child(n+2) {
margin-top: 16px;
}
}

.flex_news_view {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.flex_news_view_eyecach,
.flex_news_view_txt {
display: block;
width: calc(100% / 2 - 16px);
}
.flex_news_view_eyecach {
order: 2;
}
.flex_news_view_txt {
order: 1;
}
@media screen and (max-width: 640px) {
.flex_news_view {
display: block;
}
.flex_news_view_eyecach,
.flex_news_view_txt {
width: auto;
}
.flex_news_view_eyecach {
margin-bottom: 16px;
}
}


.pagination-next {
display: none;
}
.left_post,
.right_post {
white-space: nowrap;
}
.title_entry {
display: block;
line-height: 150%;
margin-bottom: 16px;
}
.entry_title h3,
.entry_title h4,
.entry_title p {
margin-bottom: 0 !important;
}
p.daytime {
  text-box-trim: trim-start;
margin-bottom: 0;
}

.title_entry {
display: block;
line-height: 150%;
margin-bottom: 16px;
}
.entry_title h3,
.entry_title h4,
.entry_title p {
margin-bottom: 0 !important;
}
p.daytime {
  text-box-trim: trim-start;
margin-bottom: 0;
}


.shousai_ryaku h4.title_main {
line-height: 150%;
margin-bottom: 0;
}
.shousai_ryaku {
padding-bottom: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* 任意の行数を指定 */
}
.list_pic {
position: relative;
display: block;
overflow: hidden;
background: #555;
}
.list_pic img {
display: block;
  object-fit: contain;
  width: 100%;
  top: 0%;
  right: 0%;
}
.flex_newslist {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.flex_newslist_pic {
order: 2;
display: block;
flex-flow: column;
width: calc(30% - 4px);
}
.flex_newslist_txt {
order: 1;
display: flex;
flex-flow: column;
width: calc(70% - 4px);
}


.bt_news {
display: inline-block;
line-height: 1.0;
text-box-trim: trim-both;
padding: 0;
margin: 0;
}
.bt_news a {
position: relative;
display: block;
padding-left: 1.2em;
line-height: 150%;
color: #555;
text-decoration: none;
}
.bt_news a:hover {
color: #F90;
text-decoration: underline;
}

.bt_news a:before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f35a";
  margin: 0;
  margin-left: -1.2em;
  padding: 0;
  color: #F90;
  font-weight: 900;
  }



/* ================================
   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; /* フォーム下部に余白 */
    }
}

/* 9. チェックボックスのタップ領域を拡大 */
@media screen and (max-width: 834px) {
    .wpcf7-list-item {
        margin-bottom: 8px;
        padding: 8px 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: 8px;
        vertical-align: middle;
    }
}

/* 10. iOS Safariの入力フィールド装飾を調整 */
@media screen and (max-width: 834px) {
    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: 834px) {
    input::placeholder,
    textarea::placeholder {
        font-size: 16px !important;
        color: #999;
    }
}

/* 12. フォーム全体のパディング調整 */
@media screen and (max-width: 834px) {
    .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: 834px) {
    @supports (-webkit-touch-callout: none) {
        /* iOS Safari専用 */
        body {
            min-height: -webkit-fill-available;
        }
    }
}
