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


body {
font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

section {
margin-bottom: 0 !important;
}
blockquote {
background: none;
}

.entry-content,
.entry-content.cf {
margin-bottom: 0;
margin-top: 0;
}

main,
#main,
.main,
main#main.main
{
margin-bottom: 0;
margin-top: 0;
padding-top: 0;
padding-bottom: 0;
}

#content.content.cf,
#content,
.content,
.cf {
margin-bottom: 0;
padding: 0;
}

.content {
margin-top: 0;
padding-top: 0;
}

/* 固定ページ右上の投稿日・更新日を非表示 */
.page .entry-date,
.page .entry-updated,
.page .post-date,
.page .date-tags,
.page .entry-meta {
  display: none !important;
}

.date-tags {
margin-top: 8px;
}


a:link {
  color: #CCC;
}

a {
  color: #CCC;
}

.main{
    background: none;
}
#breadcrumb {
    background: none;
}
.breadcrumb {
max-width: 1080px;
padding: 16px 0!important;
    background: none;
	color: #FFF;
}
.breadcrumb a {
	color: #FFF;
}
@media only screen and (max-width: 1080px) {
.breadcrumb {
padding: 16px 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

}

/*グローバルメニュー*/
    .navi {
	margin-bottom: 0;
    }

    /*グローバルメニュー*/
    .navi-in > ul {
        margin: 0;
        padding: 0;
    }

    .navi-in > ul li {
        font-family: "MS Serif", "New York", serif;
        margin: 0;
        padding: 0;
        font-weight: bold;
        letter-spacing: 1px;
        height: 40px;
        line-height: 40px;
    }

    .navi-in > ul li:last-child a {
        border-right: 1px solid #999;
    }

    .navi-in > ul li ul li:last-child a {
        border-right: none;
    }
    .navi-in > ul li ul li a{
        border-left: none;
    }

    .navi-in > ul li a {
        border-left: 1px solid #999;
        color: #135;
    }

    .navi-in > ul li a:hover {
        color: #135;
        background-color: #F5F5F5;
    }
	
	
/********* ヘッダー ***********************************************/


.header-container {
padding: 0;
margin: 0 auto;
}
.header-container-in {
margin: 0;
padding: 0 0;
}
@media screen and (max-width: 1023px) {
.header-container {
display: none;
}
}

.mobile-header-menu-buttons.mobile-menu-buttons {
background: #111;
color: #FFF;
}
.navi-menu-content.menu-content {
background: #333;
color: #FFF;
}

.head_flex {
display: flex;
max-width: 1080px;
margin: 0 auto;
padding: 0 0;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
@media only screen and (max-width: 1280px) {
.head_flex {
}
}

.head_flex_left {
display: block;
max-width: 400px;
width: 50%;
}
.head_flex_right{
display: block;
width: 40%;
}
haeder {
padding: 0;
margin: 0;
}
.header {
display: block;
padding: 0 !important;
margin: 0 !important;
}
.header-in {
float: none;
margin: 0 !important;
padding: 0 0 !important;
width: 100% !important;
}


@media only screen and (max-width: 834px) {
.header {
padding: 1em 1em;
}
}

.site-logo-image.header-site-logo-image {
display: block;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
}
h1,
.logo.logo-header.logo-image {
margin: 0;
padding: 0;
}
.site-name-text-link {
padding: 0;
margin: 0;
}

/************************************
** ヘッダーレイアウト ヘッダー固定時崩れ防止
************************************/
.header-container-in.hlt-top-menu {
  display: block;
  margin: 0 auto;
  width: 100%;
}







ul.header_bt { 
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
align-items: center;
margin: 0;
padding: 0;
}
ul.header_bt li {
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
color: #000;
margin-left: 16px;
line-height: 100%;
white-space: nowrap;
}

ul.header_bt li .imagecenter00 {
max-height: 1.15em;
width: auto;
}
ul.header_bt li a {
  padding: 0 0;
  padding-left: 0.2em;
  display: block;
}
ul.header_bt li a:hover { 
color: #479557;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

ul.header_bt li a:hover { 
color: #479557;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.header_tel {
position: relative;
display: flex;
align-items: center;
text-align: left;
padding-left: 1.15em;
line-height: 0.95;
letter-spacing: 0;
margin-bottom: 0 !important;
	font-weight:bold;
	color: #CA6;
}
.header_tel:before {
position: absolute;
margin-left: -1.15em;
margin-top: 0em;
    content: "";
    display: inline-block;
  background-image: url(../../uploads/2025/11/icon_tel_orange.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 0.95em;
    height: 0.95em;
}
.bt_mailimg {
display: block;
max-height: 50px;
width: auto;
}

.header_bt a {
text-decoration: none !important;
color: #135;
font-weight: bold;
}

.header_bt .header_tel {
font-size: 32px;
}
@media screen and (max-width: 1080px) {
.header_bt .header_tel {
font-size: 2.831vw;
}
}

@media screen and (max-width: 640px) {
.header_bt .header_tel {
font-size: 24px;
}
}


ul.header_bt li i {
  font-weight: 900;
  margin-right: 0.2em;
  color: #F9B54F;
}
ul.header_bt li i.fa-envelope {
  font-weight: 400;
margin-top: -0.1em;
font-size: 105%;
}
ul.header_bt li i.fa-mobile-alt {
margin-top: -0.05em;
}


#top_main {
    position: relative;
	display: block;
	max-width: 1080px;
	margin: 0 auto;
}


@media only screen and (max-width: 1023px) {
#top_main {
margin-top: 66px;
}
}
@media only screen and (max-width: 640px) {
#top_main {
margin-top: 66px;
}
}

#title {
    position: relative;
	display: block;
}
.title {
display: block;
    position: relative;
	max-width: 1080px;
	margin: 0 auto;
margin-top: 16px;
	padding: 0 0;
	padding-bottom: 4px;
	text-align: left;
	color: #B95;
	border-bottom: 1px solid #B95;
}

@media only screen and (max-width: 1080px) {
.title {
	padding: 0 16px;
}
}

@media only screen and (max-width: 1023px) {
#title {
margin-top: 66px;
}
.title {
	padding: 0 16px;
}
}
@media only screen and (max-width: 640px) {
#title {
margin-top: 66px;
}
}



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

h2 {
	color: #B95;
	padding-bottom: 4px !important;
	border-bottom: 1px solid #B95 !important;
}
h3 {
	color: #B95;
	padding-bottom: 4px !important;
	border-bottom: 1px solid #B95 !important;
}


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

#footer,
.footer {
margin-top: 0;
}
#footer {
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	background-color: #45484d;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#333), to(#000));
	background-image: -webkit-linear-gradient(top, #333, #000);
	background-image: -moz-linear-gradient(top, #333, #000);
	background-image: -ms-linear-gradient(top, #333, #000);
	background-image: -o-linear-gradient(top, #333, #000);
	background-image: linear-gradient(to bottom, #333, #000);
	filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#45484d, endColorstr=#000);
	box-shadow: -3px -3px 5px rgba(0,0,0,0.4);
	color: #FFF;
	margin-bottom: 0;
	margin-top: 0;
}
#footer-in {
  position: relative;
  max-width: 1080px;
  display: block;
  margin: 0 auto;
  padding: 40px 0;
}
@media only screen and (max-width: 1080px) {
  #footer-in {
    padding: 40px 16px;
}
}
@media screen and (max-width: 1024px) {
  #footer-in {
    padding: 24px 16px;
	padding-top: 0;
	border-top: none;
}
}

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


@media screen and (max-width: 1024px) {
.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 {
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
}

p.foot_add_txt_pc {
margin-bottom: 0;
display: block;
}
p.foot_add_txt_sp {
display: none;
}
@media only screen and (max-width: 780px) {
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: 780px) {
.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%;
max-width: calc(100% / 3 - 2px );
	vertical-align: middle;
	text-align: center;
	box-sizing:border-box;
	font-size: 80%;
}
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;
}


.foot_tel {
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
display: block;
margin: 0;
margin-bottom: 16px;
padding: 0;
line-height: 100%;
white-space: nowrap;
}


.foot_tel a {
  padding: 0 0;
  padding-left: 0.2em;
  display: block;
	color: #CA6;
  text-decoration: none;
}

.foot_tel {
font-size: 32px;
}
@media screen and (max-width: 1080px) {
.foot_tel {
font-size: 2.831vw;
}
}

@media screen and (max-width: 640px) {
.foot_tel {
font-size: 24px;
}
}



.copy {
display: block;
color: #FFF;
background-color: #000;
text-align: center;
padding: 16px 0;
line-height: 1.2;
}
.copy p {
margin-bottom: 0;
}

@media screen and (max-width: 780px) {
.copy {
padding-top: 16px;
padding-bottom: 16px;
}
}

/*フッターモバイルポップアップ*/
.mobile-footer-menu-buttons .menu-button .fas {
  color: #f9b54f;
}


.footer-bottom {
display: block;
  margin: 0;
  padding: 0;
}
.foot_flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.foot_flex_left {
order: 1;
display: block;
width: 40%;
}
.foot_flex_right {
order: 2;
display: block;
width: 60%;
}

@media screen and (max-width: 1024px) {
.foot_flex {
  display: block;
}
.foot_flex_left {
max-width: inherit;
padding: 0 0;
width: auto;
margin: 0 auto;
margin-left: 0;
margin-top: 16px;
}
.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: 780px) {
.logo.logo-footer.logo-image,
.logo.logo-footer.logo-image a {
  margin: 0 auto!important;
text-align: center;
}
.site-logo-image.footer-site-logo-image {
  margin: 0 auto!important;
}
}

.foot_logo {
display: block;
max-width: 320px;
margin-bottom: 8px;
}
p.foot_company {
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.foot_logo {
display: block;
max-width: auto;
margin: 0;
margin-bottom: 8px;
}
p.foot_company {
padding-left: 0;
}
}



.footer_menu_box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

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





ul.foot_menu {
margin: 0;
padding: 0;
width: calc(100% / 3 - 8px);
}
@media screen and (max-width: 1032px) {
ul.foot_menu {
max-width: inherit;
}
}
ul.foot_menu li {
position: relative;
list-style: none;
line-height: 200%;
font-weight: 500;
margin: 0;
padding: 0;
margin-bottom: 1em;
}
ul.foot_menu li a {
position: relative;
display: block;
font-weight: 700;
color: #FFF;
text-decoration: none;
}
ul.foot_menu li:last-child {
margin-bottom: 0;
}
ul.foot_menu li a:hover {
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: 4px;
}
ul.foot_menu li ul li:first-child {
margin-top: 4px;
}
ul.foot_menu li ul li:last-child {
margin-bottom: 0;
}
ul.foot_menu li ul li a {
padding-left: 1em;
font-weight: 400;
}


ul.foot_menu li ul li a:before {
  position: absolute;
  content: "-";
  margin: 0;
  margin-left: -1em;
  padding: 0;
}

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

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

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

ul.foot_menu li a {
display: block;
padding: 12px 8px;
color: #FFF;
	background: #333; /* Old browsers */
	background-repeat: repeat;
	background-position: ltop;
	background-size: auto;
margin-bottom: 0;
}
ul.foot_menu li a:before {
  margin-left: -1.2em;
}
ul.foot_menu li a:hover {
text-decoration: underline;
}
ul.foot_menu li ul {
margin: 0;
padding: 0.75em 8px;
background-color: #333;
}

ul.foot_menu li ul li {
display: block;
background: none;
padding: 0.2em 0;
min-width: 4em;
border-top: none;
}
ul.foot_menu li ul li a {
display: block;
padding: 0.25em 16px;
background: none;
border-top:  none;
}

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

ul.foot_menu li ul li {
margin-right: 0;
min-width: 8.0em;
}
ul.foot_menu li ul li a {
padding: 0.2em 16px;
padding-right: 0;
}
}

ul.foot_menu li ul li a:before {
  margin-left: -1em;
}
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 a:hover {
text-decoration: none;
background-color: #F9F9F9;
color: #45484d !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
}







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


.grid_top_news {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}
    
.grid_top_news_title {
    grid-column: span 3 / span 3;
}

.grid_top_news_txt {
    grid-column: span 9 / span 9;
    grid-column-start: 4;
}
@media only screen and (max-width: 640px) {
.grid_top_news {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
    
.grid_top_news_title {
    grid-column: span 6 / span 6;
    grid-column-start: 4;
}

.grid_top_news_txt {
    grid-column: span 12 / span 12;
    grid-row-start: 2;
}
}


.bt-contact {
	display: inline-block;
  padding: 0 0;
  min-width: 10em;
 white-space: nowrap;
}
.bt-contact a {
	display: block;
	margin: 0;
	padding: 0.5em 1.5em;
	text-decoration: none;
	background-color: #F90;
	color: #FFF;
	text-align: center;
	font-weight: 700;
  border-radius: 30px;
	box-shadow: none;
}




ul.top_news {
	margin: 0;
	padding: 0;
	border-top: 1px solid #FFF;
}
ul.top_news li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 8px 8px;
	border-bottom: 1px solid #FFF;
}
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: #FFF;
	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: #FFF;
	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: #CCC;
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;
  }



.bt_more {
margin-top: auto;
display: inline-block;
}

.bt_more a {
position: relative;
display: block;
color: #194092;
text-decoration: none;
}

.bt_more a::after {
position: absolute;
left: 3.5em;
top: 0.6em;
content: "";
        margin-left: 4px;
        width: 40px;
        height: 8px;
        border-bottom: 1px solid #194092;
        border-right: 1px solid #194092;
        transform: skew(45deg);
}
.bt_more a:hover::after {
left: 4em;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}


ul.bt_pdf {
  margin: 0;
  padding: 0;
}
ul.bt_pdf li {
  display: inline-block;
  list-style: none;
  margin: 5px;
  padding: 0;
}
ul.bt_pdf li a {
  position: relative;
  display: block;
  padding: 8px 16px;
  min-width: 126px;
  background-color: #fff;
  border: 1px solid #555;
  color: #000;
  text-decoration: none;
  padding-left: 2.5em;
}

ul.bt_pdf li a:before {
  position: absolute;
  top: 50%;
transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  content: "\f1c1";
  color: #f00;
  margin-left: -1em;
  font-weight: 900;
}

ul.bt_pdf li a:hover {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0.8;
}



/* ================================
   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;
        }
    }
}
