@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
*/

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

.scrollanime {
  /*ここで全体のアニメーション秒数を設定*/
  transition: all ease 1.5s;
  /*出現前は全て透明に*/
  opacity: 0;
}
/*classに応じて出現前の位置や大きさを設定*/
.toUp {
  transform: translateY(50px);
}
.toDown {
  transform: translateY(-50px);
}
.toLeft {
  transform: translateX(50px);
}
.toRight {
  transform: translateX(-50px);
}
.toBig {
  transform: scale(0.8);
}
/*画面に入った後は元の位置や大きさに戻る*/
.fadeIn.scrollanime {
  opacity: 1;
}
.fadeIn.toUp {
  transform: translateY(0);
}
.fadeIn.toDown {
  transform: translateY(0);
}
.fadeIn.toLeft {
  transform: translateX(0);
}
.fadeIn.toRight {
  transform: translateX(0);
}
.fadeIn.toBig {
  transform: scale(1);
}

/************************************
** text
************************************/
/*Googlefont*/
.oswald-<uniquifier> {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
/*英語見出し*/
.en {
	font-family: "Oswald", sans-serif;
}
.en_t {
	line-height:2;
	font-family: "Oswald", sans-serif;
	font-size:1.2em;
	font-weight:400;
}
/*明朝体*/
.min {font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;}

/*834px以下*/
@media screen and (max-width: 834px){
.en_t {
	font-size:1em;
}
	}
/*カスタムテキスト*/
.cocoon-custom-text-1 {
 color:#e0544f;
}
/*H3*/
.article h3 {
    border-left: 7px solid #0c2856;
    border-right: none;
    border-top: none;
    border-bottom: none;
    font-size: 22px;
    padding: 12px 20px;
}
/*H4*/
.article h4 {
    border: none;
    font-size:18px;
    background-color: #f6f6f6;
	padding: 10px 5px 10px 15px;
}


/************************************
** 余白
************************************/
.mg_b10 {
	margin-bottom:1em !important;
}
.mg_t10 {
	margin-top:1em !important;
}
.pd_l {
	padding-left:2em;
}
.pd_r {
	padding-right:2em;
}
/*834px以下*/
@media screen and (max-width: 834px){
/*余白*/
.mg_b10 {
	margin-bottom:0.5em !important;
}
.pd_l {
	padding-left:0;
}
.pd_r {
	padding-right:0;
}
/*テーブルの文字サイズ*/
	    table th, table td {
        padding: 3px;
        font-size: 0.9em;
    }
}

/************************************
** btn
************************************/
/*リンクボタンセンター*/
.wg_cta a {
    background: #3d9fe0;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #ffffff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	width:100%;
	 border-radius: 100px;
}
.wg_cta a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.wg_cta a:hover {
  background: #0c2856;
  color: #FFF;
}
.wg_cta a:hover:after {
  right: 1.4rem;
}
@media screen and (max-width: 834px){
.wg_cta a {
    max-width: 100%;
	width:100%;
}
}
/*リンクボタンレフト*/
.wg_cta_l a {
    background: #3d9fe0;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*margin: 0 auto;*/
    max-width: 280px;
    padding: 10px 25px;
    color: #ffffff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	width:100%;
	 border-radius: 100px;
}
.wg_cta_l a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.wg_cta_l a:hover {
  background: #0c2856;
  color: #FFF;
}
.wg_cta_l a:hover:after {
  right: 1.4rem;
}
@media screen and (max-width: 834px){
.wg_cta_l a {
    max-width: 100%;
	width:100%;
}
}
/*リンクボタンセンター*/
.wg_cta_big a {
    background: #ffffff;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 20px 25px;
    color: #3d9fe0;
    transition: 0.3s ease-in-out;
    font-weight: 600;
	font-size:1.4em;
	width:100%;
	 border-radius: 100px;
}
.wg_cta_big a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 1rem !important;
  font-size: 120%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 10px;
  height: 10px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(135deg);
}
.wg_cta_big a:hover {
  background: #ffffff;
	opacity:0.5;
  color: #3d9fe0;
}
.wg_cta_big a:hover:after {
  right: 1.4rem;
}
@media screen and (max-width: 834px){
.wg_cta_big a {
    max-width: 100%;
	width:100%;
}
}
/************************************
** images
************************************/
/* リンク画像共通の設定 */
a img {
  opacity: 1.0; /* 通常時は不透明 */
  transition: opacity 0.3s ease; /* ふんわり変化させるアニメーション */
}
/* マウスを乗せた時の設定 */
a:hover img {
  opacity: 0.7; /* マウスオーバー時に半透明（0.0～1.0で調整可能） */
}
.full_img {
	width:100%;
}

/************************************
** ヘッダー
************************************/
/* 画像ロゴ */
.header-container-in.hlt-top-menu .logo-header img {
    width: 280px;
}
@media screen and (max-width: 834px) {
.header-container-in.hlt-top-menu .logo-header img {
    width: 230px;
}
	}
/* SPのヘッダーの高さ */
@media screen and (max-width: 834px) {
    .header div.header-in {
        min-height: 60px;
    }
}
/* ヘッダー下の線 */
#header-container {
    border-bottom: 1px solid #ccc;
}
.home #header-container {
    border-bottom: none;
}

/************************************
** TOPページ
************************************/
.home .slide_txt1 {
    width:20vw;
    max-width: 50vw !important;
}
.home .slide_txt2 {
    width:20vw;
    max-width: 50vw !important;
}

/* アニメーション */
.img-wrap {
  overflow: hidden;
  position: relative;
}
.img-wrap::before {
  animation: img-wrap 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #fff;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
@keyframes img-wrap {
  100% {
    transform: translateX(100%);
  }
}


/* TOP見出し */
.home h3 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
	border:none;
	margin:0 auto;
	color:#000000;
}
.home h3:before, .home h3:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #000000;
}
.home h3:before {
  left:0;
}
.home h3:after {
  right: 0;
}


@media screen and (max-width: 1023px) {
    .header-container-in.hlt-top-menu {
        flex-direction: row;
    }
}

/* メニューの文字色 */
.navi-in a, .header-logo a {
    color: #000;
}
#navi .navi-in>ul>li>a {
    padding: 0 1.4em;
    color: #000;
}
#navi .navi-in>ul>li>a:hover {
    padding: 0 1.4em;
    color: #3d9fe0;
}
/* お問い合わせボタン */
#navi .navi_contact a {
    background-color: #3d9fe0;
    padding: 0 1.4em;
    color: #fff !important;
    border-radius: 100px;
}
#navi .navi_contact a:hover {
    background-color: #8bccf7;
	color: #fff !important;
}

/* メニューの余白 */
.navi-in > ul {
    padding: 20px 0;
}
/* メニューの左右余白 */
.navi-in > ul li {
    display: block;
    width: 110px;
    height: 60px;
    position: relative;
}

/* スマホ用ハンバーガーメニューのアイコンを白に */
@media only screen and (max-width: 1024px) {
    .mobmenur-container i {
        color: #3d9fe0;
    }
}


/* Full画面幅 */
.full-width {
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50%);
	padding-top: 10px; /* 不要なら削除または、任意の数値を設定してください */
	padding-bottom: 10px; /* 不要なら削除または、任意の数値を設定してください */
}
/* フロント固定ページのタイトルを非表示 */
.home.page .entry-title {
    display: none;
}
/* slider上の余白調整 */
.home .content {
    margin-top: 0;
}
.home .entry-content {
    margin-top: 0;
    margin-bottom: 0;
}
.home .main {
	border:none;
}

/* フロントページ実績横幅 */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%; 
    margin-left: auto !important;
    margin-right: auto !important;
}
/* フロントページ実績画像下余白 */
.wp-block-latest-posts__featured-image img {
margin-bottom:10px;
}

/* フロントページ実績画像スマホ */
@media screen and (max-width: 834px){
.wp-block-latest-posts.is-grid li {
    margin: 0 0 1.25em 0;
    width: 100%;
}
	}

/* フロントページお知らせ */
.news {
	width:70%;
    text-align:center;
}
.news_info {
	width:70%;
	margin:0 auto;
	 text-align:left;
}
.news_info li {
    border-bottom: solid 1px #ccc;
    padding: 10px 0;
}
@media screen and (max-width: 834px) {
.news {
	width:100%;
}	
.news_info {
	width:100%;
}
}
/* お知らせ左余白削除 */
@media screen and (max-width: 834px) {
.home .article ul, .article ol {
        padding-left: 0px;
    }
}

/* フロントページ挨拶 */
.bg1 {
  /* 背景画像の設定 */
  background-image: url('http://wp2.watarigraphic.com/wp-content/uploads/2026/06/bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
}
.about {
	padding:4em 0;
}

/* フロントページ情報 */
.info_box_all {

}
.info_box {
    color: #000000;
    background:rgba(255,255,255,0.9);
    border: none;
    padding: 15px 15px 20px 15px;
    border-radius: 0px;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
	border-radius:8px;
	min-height:450px;
	margin:0;
}
.info_box img {
    width:100%;
}
@media screen and (max-width: 1023px){
	.info_box {
    margin-top: 20px !important;
}
	}

@media screen and (max-width: 780px){
.parallax-bg {
  height: 100%;
}	
		}

/* フロントページパララックス */
.parallax-bg {
  /* 背景画像の設定 */
  background-image: url('http://wp2.watarigraphic.com/wp-content/uploads/2026/06/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    /* 背景を固定するプロパティ */
  background-attachment: fixed;
   /* 領域の確保 */
  height: 100%;
  position: relative;
}
@media screen and (max-width: 780px){
.parallax-bg {
  height: 100%;
}	
		}

/* フロントページFAQ */
.is-style-accordion > .faq > .faq-question {
    background-color: #E8F3FA;
    border-color: none;
	padding: 1em 1.5em;
}
.is-style-accordion > .faq > .faq-answer {
    padding: 1em 1.5em;
}

/************************************
** 投稿一覧ページ
************************************/
/* パンクずのアイコン非表示 */
.breadcrumb .fa-home,
.breadcrumb .fa-folder,
.breadcrumb .fa-file-o,
.breadcrumb .fa-file {
  display: none;
}
/* タイトル */
.archive-title span {
    margin-right: 10px;
    display: none;
}
.archive .entry-title, .archive-title {
    font-size: 26px;
    margin: 16px 0;
    line-height: 1.3;
}
.archive .entry-title, .archive-title {
  position: relative;
  padding: .3em 0; /* 内側余白 */
  border-bottom: solid 1px #b3b3b3; /* 下線1: 実線・太さ・色 */
  color: #000; /* 文字色 */
}
.archive .entry-title, .archive-title::after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: solid 1px #002959; /* 下線2: 実線・太さ・色 */
  bottom: -1px;
  width: 30%; /* 下線2の幅 */
}
/* 日付 */
.e-card-info{
	justify-content:flex-start;
}
/* フッターリンク */
.navi-footer-in > .menu-footer li {
    width: 120px;
    border: none;
}
.navi-footer-in > .menu-footer li:last-child {
    border: none;
}

/************************************
** 投稿ページ
************************************/
/* 日付を最上部に表示する設定 */
.article-header {
  display: flex;
  flex-direction: column;
}
.single .date-tags { order: 2; }        /* 日付を1番上に */
.single .entry-title { order: 1; }      /* タイトルを2番目に */
.single .eye-catch-wrap { order: 3; }   /* アイキャッチを3番目に */
.single .sns-share { order: 4; }   
.single .article-header .date-tags {
    text-align: left;
    margin-bottom: 1em;
}
/* SPタイトル余白 */
@media screen and (max-width: 480px) {
    .entry-title, .article h2 {
        /*font-size: 18px;*/
        padding: 1em 0 0.5em 0;
    }
}

/************************************
** サイドバー
************************************/
/* 検索アイコン変更 */
.search-box{
  --search-bg:#f5f7f7; /* 入力欄背景 */
  --search-icon:#B2ABA1; /* アイコン色 */
  max-width:350px;
  margin-inline:auto;
}
/* 入力欄 */
.search-box .search-edit{
  padding:11px 40px 11px 15px;
  border:none;
  background:var(--search-bg);
  border-radius:6px;
}
/* 検索ボタン */
.search-box .search-submit{
  right:10px;
  color:var(--search-icon);
  background:none;
}
/* フォーカス */
.search-box .search-edit:focus{
  outline:none;
}
/* サイドバー新着情報のカテゴリアイコン非表示 */
.info-list-item-categorys{
	display:none;
}
/* サイドバー新着情報のpadding */
.sidebar .info-list {
    padding: 0px;
}
/* サイドバー新着記事のテキストエリアを縦並びのFlexboxにする */
.sidebar .info-list-item {
  display: flex !important;
  flex-direction: column !important;
}
/* 日付とカテゴリーのコンテナ（entry-item-meta）の表示順を一番上にする */
.sidebar .info-list-item .info-list-item-meta {
  order: -1 !important;
  margin-bottom: 3px !important; 
}
/* タイトルの表示順を2番目（日付の下）にする */
.sidebar .info-list-item .info-list-item-content {
  order: 1 !important;
}
/* サイドバー見出し */
.sidebar h3 {
  background: none; /* 背景色なし */
  border: none;     /* 枠線なし */
  border-radius: 0; /* 丸みなし */
}
.sidebar h3 {
  position: relative;
  padding: .3em 0; /* 内側余白 */
  border-bottom: solid 1px #b3b3b3; /* 下線1: 実線・太さ・色 */
  color: #000; /* 文字色 */
	    font-size: 1em;
}
.sidebar h3::after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: solid 1px #002959; /* 下線2: 実線・太さ・色 */
  bottom: -1px;
  width: 30%; /* 下線2の幅 */
}

/* お問い合わせBOX */
/* カード全体 */
.service-card {
    width: 100%;
    margin: 0 auto;
    background: #f3f3f3;
    border: 1px solid #ddd;
}
/* 画像 */
.service-card__image img {
    width: 100%;
    height: auto;
    display: block;
}
/* コンテンツ */
.service-card__content {
    padding: 20px;
    text-align: left;
}
/* タイトル */
.service-card__title {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
	text-align: center;
}
/* 説明文 */
.service-card__text {
    font-size: 0.8em;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
}
/* ボタン */
.service-card__button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: #3d9fe0;
    color: #fff;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 500;
    transition: 0.3s;
	text-align: center;
	border-radius: 100px;
	position: relative;
	display: flex;
    justify-content: space-around;
    align-items: center;
}
.service-card__button:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.service-card__button:hover {
    opacity: 0.65;
	color: #fff;
}
.service-card__button:hover:after {
  right: 1.4rem;
}

/* スマホ */
@media (max-width: 768px) {
    .service-card__content {
        padding: 30px 6%;
    }

    .service-card__title {
        margin-bottom: 20px;
    }

    .service-card__text {
        line-height: 1.8;
        margin-bottom: 30px;
    }

    .service-card__button {
        padding: 16px;
    }
}
/* 関連記事 */
.related-list .a-wrap {
    text-decoration: none;
    display: block;
    color: var(--cocoon-text-color);
    padding: 0;
    transition: all 0.3s ease-in-out;
}

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
/*　フォーム全体　*/
#cf7-area {
width:100%;
margin: 0 auto;
}

.cf7-item {
display: flex;
align-items: flex-start;
justify-content: flex-start;
margin: 0 0 1.75em;
}

.cf7-q {
width: 30%;
margin: 0 0 0 10px;
}

.cf7-a {
width: 60%;
}

/*　見出し　*/
.form-heading {
    width: 100%;
    background-color: #eeeeee;
    /* border-left: 1em solid #6495ED; */
    /* border-radius: 2px; */
    color: #000;
    font-weight: 600;
    padding: 0.5em .8em;
    margin: 0 0 2em;
}

.form-heading p {
margin: 0;
}

/* 各項目共通 */
#cf7-area label{
font-weight:bold;
}

#cf7-area input[type="text"],#cf7-area input[type="email"],#cf7-area input[type="tel"],#cf7-area textarea {
    background: #ffffff;
    width: 100%;
    margin-left: 10px;
}

#cf7-area input[type="text"]:focus,#cf7-area input[type="email"]:focus,#cf7-area input[type="tel"]:focus,#cf7-area textarea:focus {
background: #F0F8FF;
border: 1px solid #919191;
outline: 0;
}

#cf7-area input[type="checkbox"], #cf7-area input[type="radio"]{
appearance: auto;
}

#cf7-area .wpcf7-list-item {
display: block;
}

#cf7-area textarea{
height:200px;
padding: 0.625em 0.4375em;
}

.cf7-accept-check{
text-align: center;
margin: 50px auto;
}

.cf7-submit {
width: 40%;
margin: 0 auto;
text-align: center;
}

#cf7-area input[type="submit"]
{
width: 100%;
background-color: #3d9fe0;
color: #ffffff;
border-radius: 100px;
font-size: 1em;
padding: 1em 10px;
transition: 0.3s ease-in-out;
}
#cf7-area input[type="submit"]:hover
{
background-color:#0c2856;
color:#ffffff;
}
#cf7-area input[type="submit"]a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.cf7-btn{
width: 40%;
margin: 0 auto;
text-align: center;
}

/*　必須ラベル　*/
.required {
font-size: 0.7em;
padding: 1px 6px;
background: #ff6600;
color: #ffffff;
border-radius: 2px;
margin-left: 10px;
margin-bottom: 5px;
display: inline-block;
}

@media screen and (max-width:768px){
.cf7-item {
display: block;
}
		.cf7-item p {
	margin: 0 0 0.5em;
}

#cf7-area label{
display: block;
margin-bottom: 10px;
}

.cf7-q {
width: 100%;
margin: 0;
}

.cf7-a {
width: 100%;
}

#cf7-area input[type="text"], #cf7-area input[type="email"], #cf7-area input[type="tel"], #cf7-area textarea{
margin-left: 0;
width:100%;
}

.cf7-submit{
width: 90%;
}
}

/************************************
** 日付非表示
************************************/
.post-294 .date-tags {
display: none;
}
.page .date-tags {
display: none;
}


/************************************
** 固定ページ
************************************/
.main {
    padding: 0 1em 0 1em;
}

/* 特定のページのフッタ上の余白削除 */
/* .page-id-308 .article, .page-id-308 .main, .page-id-468 .article, .page-id-468 .main, .page-id-747 .article, .page-id-747 .main {
    margin-bottom: 0;
	padding-bottom:0;
	border:none;
}
.page-id-308 .entry-content, .page-id-468 .entry-content, .page-id-747 .entry-content {
    margin-bottom: 0;
}
.page-id-308 .footer, .page-id-468 .footer, .page-id-747 .footer {
    margin-top: 0px;
} */
.body .article, .body .main {
    margin-bottom: 0;
	padding-bottom:0;
	border:none;
}
.entry-content {
    margin-bottom: 0;
}
.footer {
    margin-top: 0px;
}
.content-top, .content-bottom {
    margin: 0;
}
.body .widget {
	margin: 0;
}

/* フッターナビの余白 */
.wp-block-navigation {
	margin:0 !important;
	padding: 1em 0;
	background-color:#f1f1f1;
}
.wp-block-navigation ul, .wp-block-navigation ul li {
    list-style: none;
    padding: 0;
}
.wp-block-navigation ul li a {
    color: #000000;
	transition: opacity 0.3s ease;
}
.wp-block-navigation ul li a:hover {
	text-decoration:underline;
	opacity: 0.5;
}
@media screen and (max-width: 480px){
	.wp-block-navigation {
    margin: 0 0 0.5em 0!important;
}
	.wp-block-navigation__container {
    gap: 1.5em;
    justify-content: center;
}
	}
/* フッターの余白 */
.footer-bottom {
    margin-top: 0;
    padding: 8px;
}

/* タイトル */
.page .article-header {
    display: flex;
    flex-direction: column;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: url(http://wp.watarigraphic.com/wp-content/uploads/2026/06/ct_bg-1-scaled.jpg);
	margin-bottom: 4em;
	background-position: center;
}
.home .article-header {
    background-image: none;
	display:none;
}
/* パンくず */
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
    background-color: var(--cocoon-white-color);
    margin: 0px auto 0;
    padding: 0.5em 1em 0 1em;
}
/* 見出しh2 */
.article h2  {
    position: relative;
    padding: .3em 0;
    padding-top: 0.3em;
    padding-right: 0px;
    padding-bottom: 0.3em;
    padding-left: 0px;
    border-bottom: solid 2px #b3b3b3;
    color: #000;
    font-size: 1.5em;
	background-color: transparent;
}
.article h2::after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: solid 2px #002959; /* 下線2: 実線・太さ・色 */
  bottom: -2px;
  width: 20%; /* 下線2の幅 */
}
/* ラベルボックス */
.label-box-content {
    margin-top: -0.9em;
    border-width: 1px;
    border-style: solid;
    border-color: var(--cocoon-custom-border-color);
    background-color: var(--cocoon-custom-background-color);
    padding: 2em 2em 1.5em 2em;
    border-radius: 0 ;
}
/* アイコンボックス */
.is-style-question-box, .question-box, .question {
    background: #eef2f7;
    border: none;
}
.is-style-question-box::before, .question-box::before, .question::before {
    content: "\f059";
    color: #0c2856;
    border-right: 1px solid #0c2856;
}
@media screen and (max-width: 480px) {
	    .is-style-question-box, .question-box, .question {
    padding: 5em 1.5em 1.5em;
}
  .is-style-question-box::before, .question-box::before, .question::before {
    font-size: 40px;
	  line-height: 1.5;
	  border-right: none;
}  
    }
/* 数字アイコン */
.ic_number {
background-color: #e0544f;
    padding: 0.3em 1.3em;
    border-radius: 100px;
    display: inline;
    color: #fff;
	margin-bottom:1.5em;
}

@media screen and (max-width: 834px) {
    main.main {
        padding: 0px 16px;
        margin: 12px 0;
        border-width: 0;
    }
	/* タイトル */
.page .article-header {
    padding-top:30px;
    padding-bottom: 30px;
    background-image: url(http://wp.watarigraphic.com/wp-content/uploads/2026/06/ct_bg-1-scaled.jpg);
	margin-bottom: 2em;
}
.home .article-header {
    background-image: none;
		padding: 1em 0 0 0;
}
	/* パンくず */
.breadcrumb.sbp-main-before, .breadcrumb.sbp-footer-before, .breadcrumb.pbp-main-before, .breadcrumb.pbp-footer-before {
    padding: 0.5em 1em 0 1em;
}

	/* パンくず */
.home .wp-block-media-text>.wp-block-media-text__content {
    padding: 0 2em;
}
.wp-block-media-text>.wp-block-media-text__content {
    padding: 1.5em 0 0 0;
}
	/* 見出しh2 */
.article h2  {
    font-size: 1.3em;
}
}

/************************************
** Mobile Menu
************************************/
.mobmenu-content ul {
  list-style: none; /* デフォルトの黒丸を消す */
padding: 0 2em;
}
.mobmenu-content ul li {
  position: relative;
  padding-left: 0.2em; /* 矢印のスペースを確保 */
  line-height: 1.5;
}

/* 境界線（border）で矢印を作る */
.mobmenu-content ul li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 50%;
  transform: translateY(-50%) rotate(45deg); /* 中央配置して45度回転 */
  
  /* 矢印のサイズと太さ */
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;   /* 矢印の色と太さ */
  border-right: 2px solid #333; /* 矢印の色と太さ */
}

@media screen and (max-width: 834px) {
  .for-pc { display: none !important; } /* スマホではPC用を非表示 */
}
@media screen and (min-width: 835px) {
  .for-sp { display: none !important; } /* PCではスマホ用を非表示 */
}

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

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

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