@charset "UTF-8";

/*!
Theme Name: leapal会計事務所
Description: leapal会計事務所 ブログ用テーマ
Template: cocoon-master
Version:    1.1
*/

@import url("../cocoon-master/style.css");

/* ===== リセット・基本設定 ===== */

*{
  box-sizing: border-box;
}

.flex {
  display: flex;
}

:root{

}

/************************************
** 子テーマ用のスタイルを書く
************************************/
.top-header .header.change-color h1 .common-logo {
  display: inline-block;
}
.top-header .header.change-color .nav-textchange .nav-translate a .ja {
  color: #000;
}
header {
  z-index: 999;
   font-family: kozuka-gothic-pr6n, sans-serif;
  line-height: 1.6;
    color: #333;
}
.tell {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
footer a span {
  color: #000;
  font-size: 14px;
}
.tell a span {
  font-size: 14px;
}
.top_text {
  text-align: center;
  padding: 180px 60px 40px;
  width: 90%;
  margin: 0 auto;
}

.top_text p strong {
  border-bottom: 3px solid #265bb2;
  line-height: 4rem;
  font-size: 38px;
  padding: 10px;
}

.top_text p {
  margin-bottom: 20px;
}

/*------------------------------------------------ footer ここから ------------------------------------------------ */
.footer_nav a span {
  font-size: 14px;
}
footer .logo {
  width: 45%;
  height: auto;
}

.footer_form {
  text-align: center;
}

.footer_form p {
  border-radius: 15px;
  margin-top: 32px;
}

.footer_form p a {
  color: #fff;
}

.footer_nav {
  width: 50%;
  justify-content: space-between;
  align-items: center;
  margin: 80px auto;
}

footer nav {
  width: 90%;
  margin: 0 auto 80px;
}

footer nav ul{
  justify-content: space-around;
  font-size: 16px;
  padding: 0;
}

footer nav ul li{
  list-style: none;
}

footer p {
  text-align: center;
  line-height: 3rem;
  background-color: #ff7908;
  color: #fff;
}

.footer_form .light {
  /*キラッと光る基点とするためrelativeを指定*/
  position: relative;
  display:inline-block;
  color: #fff;
  /* text-decoration: none;
  outline: none; */
  /* ここ4行追加した */
  width: 100%;
  line-height: 3rem;
  overflow: hidden;
  vertical-align: middle;

}

/*キラッと光る*/
.footer_form .light::before {
  content: '';
  /*絶対配置でキラッと光るの位置を決める*/
  position: absolute;
  top: 0;
  left: -75%;
  /*キラッと光る形状*/
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
  transform: skewX(-25deg);
}

/*hoverした際の移動のアニメーション*/
.footer_form .light:hover::before {
  animation: shine 0.7s;
}

@keyframes shine {
  100% {
    left: 100%;
  }
}

nav ul li a:not(.current_page):hover {
  color: #2ca58d;
}

footer nav ul li a,
nav ul ul li a {
  color: #ff7908;
}

nav ul li a:not(.current_page) {
  color: black;
}
/* leapalkun ここから */
.leapalkun {
  font-size: 12px;
}
.leapalkun_parent {
  position: relative;
  width: 100%;
  height: 100px;
}
.leapalkun {
  position: absolute;
  bottom: 0%;
  right: 40px;
}
.leapalkun img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.leapalkun p {
  line-height: 1.6;
  background-color: #fff;
  color: #000;
}
/* leapalkun ここまで */
/* ------------------------------------------------ footer ここまで ------------------------------------------------ */

/*                 header ここから                  */

header {
  position: relative;
  width: 100%;
  height: 100%;
}

header .navi .logo {
  width: 260px;
  height: auto;
  z-index: 20;
}

header ul li{
  list-style: none;
}

.top_form {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  justify-content: space-between;
  margin-top: 20px;
}

footer ul ul li:first-child {
  border-bottom: 2px solid #2697b2;
  font-weight: 500;
}

/*                    header navi                 */

.header-fixed {
  height: 128px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
header h1 {
  margin: 0;
}
header h1 img {
  height: 128px;
  padding: 16px;
}
header nav {
  display: flex;
  width: 100%;
}
header nav ul {
  display: flex;
  justify-content: space-evenly;
  height:100%;
  margin: 0;
  width: 100%;
  padding: 0;
}
header nav ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.menu li a {
  font-size: 16px;
}

.navi {
  z-index: 300;
  width: 100%;
  position: fixed;
  transition: .8s;
}


/* お問合せボタン */
.nav-contact {
  margin: 0;
}
.nav-contact a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 100%;
  background-color: #ed6103;
  color: #fff;
}
.nav-contact a:hover {
  background-color: #FC812F;
}
/* プルダウンメニュー */
.nav-decoration span::after {
  padding-left: 4px;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 18px;
  content: "\f078";
  }
.nav-recruit {
   position: relative;
   width: 100%;
}
.nav-recruit a {
   width: 100%;
   padding: 10px;
}
.menu .nav-recruit:hover > ul {
  display: block;
}
.menu .nav-recruit ul {
 display: none;
 position: absolute;
 top: 128px;
 width: 100%;
}
.menu .nav-recruit ul li {
  background-color: #ed6103;
  color: #fff;
  font-size: 1.6rem;
}
.nav-downlist a {
  font-size: 1.4rem;
  /* 追加 */
  font-size: 16px;
}
.nav-downlist a:hover {
  background-color: #FC812F;
}

/*---------------------
参考サイトから引用ここから
------------------------ */

.nav-textchange .nav-translate a {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 8px 16px;
}
.nav-textchange .nav-translate a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  content: "";
  width: 0;
  height: 2px;
  background: #ed6103;
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.nav-textchange .nav-translate a span {
  display: block;
  width: 100%;
  margin: 0 auto;
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.nav-textchange .nav-translate a .en {
  position: absolute;
  top: 100%;
  left: 0;
  font-weight: bold;
  white-space: nowrap;
  color: #ed6103;
}

/*---------------------
参考サイトから引用ここまで
------------------------ */

.nav-textchange .nav-translate a span.contact-hover {
  color: #fff;
} 
.nav-textchange .nav-translate a:hover::after {
  width: 100%;
}
.nav-textchange .nav-translate a:hover span.ja {
  transform: translate(0%, -300%);
}
.nav-textchange .nav-translate a:hover span.en {
  top: 35%;
}


/* ナビ固定 */
.header-fixed {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  background-color: rgba(255,255,255,0.8);
}

/*---------------------
参考サイトから引用
------------------------ */
/* headerの色を変える */
.header.change-color {
    background-color: rgba(255,255,255,0.8);
/*---------------------
参考サイトから引用ここまで
------------------------ */
}

.navi {
  display: none;
}

/*                  header ハンバーガーメニュー                  */
/* ハンバーガーメニュー */

.openbtn1 {
  background: #269781;
  cursor: pointer;
  width: 45px;
  height: 100px;
  padding-top: 5px;
  border-radius: 5px 0 0 5px;
  right: 0;
  z-index: 999;
  text-align: center;
}

.openbtn1 span {
  color: #fff;
}

.header_nav {
  justify-content: space-between;
  align-items: center;
}

.form_wrapper {
  height: 100%;
  display: grid;
  grid-template-rows: 45% 15% 30%;
  text-align: center;
}

.form_wrapper p:first-child {
  grid-row: 2 / 3;
}

.form_wrapper p:last-child {
  grid-row: 3 / 4;
}

.openbtn1 {
  text-orientation: upright;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: fixed;
  top: 5%;
  right: 0;
}

.hide {
  opacity: 0;
}

.formlink a {
  text-align: center;
  display: inline-block;
  border-radius: 15px;
  width: 220px;
  line-height: 3rem;
  background-color: #ff7908;
  color: #fff
}



.formlink {
  /*キラッと光る基点とするためrelativeを指定*/
  position: relative;
}

/*キラッと光る*/
.formlink::before {
  content: '';
  /*絶対配置でキラッと光るの位置を決める*/
  position: absolute;
  top: 0;
  left: -75%;
  /*キラッと光る形状*/
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
  transform: skewX(-25deg);
}

/*hoverした際の移動のアニメーション*/
.formlink:hover::before {
  animation: shine 0.7s;
} 



.header_nav .formlink_sp {
  text-align: center;
}

.header_nav .formlink_sp i {
  font-size: 30px;
}

.formlink_sp {
  position: fixed;
  margin: 0 auto;
  top: 20%;
  right: 0;
}

.header_nav .formlink_sp a {
  background-color: #ff7908;
  width: 45px;
  border-radius: 5px;
  z-index: 999;
  color: #fff;
}

.header_nav .formlink_sp a p {
  font-size: 18px;
  line-height: 2.5;
  text-orientation: upright;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  height: 130px;
}

/* スクロールで表示 */
.scroll_active {
  opacity: 1;
  visibility: visible;
}

.scroll_passive {
  opacity: 0;
  visibility: hidden;
}

/*ボタン内側*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  line-height: 1;
}

.openbtn1 span:nth-of-type(1),
.openbtn1 span:nth-of-type(3) {
  height: 2px;
  background: #fff;
  width: 62%;
  left: 20%;
}

.openbtn1 span:nth-of-type(1) {
  top: 10px;
}

.openbtn1 span:nth-of-type(2) {
  top: 16px;
  left: 12px;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
}

.openbtn1 span:nth-of-type(3) {
  top: 91px;
}

/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
.openbtn1.active span:nth-of-type(1) {
  top: 45px;
  left: 12px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 57px;
  left: 12px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}

/*========= レイアウトのためのCSS ===============*/
a {
  color: #333;
  text-decoration: none;
}

.lead {
  margin: 20px 0 0 0;
}

.btn-block {
  width: 200px;
  padding: 30px;
}

.navi .openbtn_fixed {
  position: fixed;
  right: -100%;
  transform-origin: top;
  transition: 0.5s;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  height: 100vh;
  visibility: hidden;
}

.navi .text_fixed {
  right: 0%;
  height: 100vh;
  visibility: visible;
}
.openbtn_fixed .arrangement {
  width: 60%;
  height: 100%;
  margin: 20px;
  display: grid;
  grid-template-columns: 45% 45%;
  grid-template-rows: 30% 30% 30%;
  justify-content: space-between;
}

.arrangement li:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.arrangement li:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.arrangement li:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.arrangement li:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.arrangement li:last-child {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}
/* 追従ナビ */
/* ナビの配置 */
.navi {
  position: fixed;
  top: 0;
}

.header_nav .logo {
  display: none;
}

.formlink_sp .tell_sp,
.formlink_sp i {
  display: none;
}

/* 追従ナビ end */
/* ハンバーガーメニュー end */
/*                   header ここまで                  */


#footer{
  height: 55px;
  margin: 0;
  background-color: #f08033;
}

.footer-bottom{
  margin: 0;
  padding: 0;
  font-size: 80%;
}



/* --------------------------

メインコンテンツ

-------------------------- */
.content{
  background-color: #f1f3f1;
  margin-top: 0;
  padding-top: 33px;
}

.home main{
  background: #f1f3f1;
}

.wrap{
  width: 100%;
  max-width:1196px;
}

.main{
  width: 74%;
  max-width: 890px;
}

.container{
  background-color: #fff;
}

.home.wrap,
.home main,
#footer-in.wrap{
  width: 100%;
  max-width: 1080px;
}

/* -------------記事一覧------------- */

.ect-3-columns .entry-card-wrap {
    width: 31%;
    margin-bottom: 55px;
}

/* ホームページでサイドバーを完全に非表示 */
.home .sidebar,
.front-page .sidebar {
    display: none !important;
}

/* タイトル下のカテゴリースタイル */
.entry-card-category-under-title {
    margin: 8px 0 12px 0;
}

.cat-label{
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
  width: fit-content;
}

.e-card-info{
  justify-content: flex-start;
}

.entry-card-content .post-date,
.entry-card-content .entry-card-title,
.entry-card-content .cat-label{
  font-size: 16px;
}

.ect-vertical-card{
  justify-content: flex-start;
  gap: 3%;
}

.recommended-posts{
  background: #fff6e9;
  width: 100%;
  padding: 124px 0 135px;
  border-top: 63px solid #fff;
}

.deco_title{
  width: fit-content;
  text-align: center;
  color: #f08033;
  margin: 0 auto 65px;
  font-size: 1.9rem;
}

.deco_title span{
  display: block;
  border-top: solid 3px #f08033;
  color: #595757;
  font-size: 0.74em;
}

#recommended-list{
  margin: 0 auto;
  width: 90%;
  max-width: 1080px;
}


/* ページネーション */
.page-numbers,
.page-numbers.dots{
  border-radius: 0;
  border: solid 1px #000;
  height: 50px;
  height: 50px;
  margin: 0 2px;
  display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.page-numbers.dots{
  border: none;
  background: none;
}

.home .pagination{
  margin-top: 0 ;
} 

.pagination .current{
  background-color: #f08033;
  color: #fff;
  border: solid 1px #000;
}

.pagination i{
  font-size: 1.5em;
  margin-left: 2px;
}

.last-page-link,
.first-page-link{
  width: 80px;
}

.single_news_wrap{
  background: #f1f3f1;
  padding: 100px 0 90px;
}

.single_news_wrap #list{
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

.page_category_wrap{
  background: #f1f3f1;
  padding-bottom: 100px;
}

.page_category_wrap .home_category{
  margin: 0 auto;
}

/* -------------記事単体------------- */

.entry-title{
  font-size:1.6rem ;
}

.date-tags{
  text-align: left;
}

.date-tags .post-date{
  font-size: 1em;
}

.date-tags .fa-clock-o{
  display: none;
}

.cat-link{
  font-size: 16px;
}

.entry-categories-tags .fa-folder{
  display: none;
}

.article h2 {
  font-size: 28px;
  padding: 20px 0;
  border-top: solid 2px #3e3a39;
  border-bottom: solid 2px #3e3a39;
  background: none;
  color: #4d4d4d;
}
.article h3 {
  border: none;
  font-size: 28px;
  padding: 0 20px;
  position: relative;
}

.article h3::after {
  content: '';
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 11px;
  height: 0.8em;
  background-color: #3e3a39;
}

.article ul li{
  margin-bottom: 1em;
}

table tr:nth-of-type(2n+1),
table tr,
table th,
table td,
.wp-block-table td,
.wp-block-table th {
  background: #fff;
  border: none;
  border-top: solid 1px #aeaeae;
  border-bottom: solid 1px #aeaeae;
}

.toc{
  width: 100%;
  border: none;
  background: #f0efee;
}

.toc-title{
  text-align: left;
  padding: 0;
  font-weight: 700;
  font-size: 22px;
}

.toc-list li{
  padding-left: 0.5em;
}

.toc-list li::marker {
    content: "\f105";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #4d4d4d;
    font-size: 1.2em;
}

.blog_top_btn{
  display: block;
  border: solid 1px #000;
  width: 255px;
  font-size: 16px;
  padding: 1em 0;
  text-align: center;
  margin: 0 auto;
  transition: all 0.3s;
}

.blog_top_btn:hover{
  background-color: #f08033;
  color: #fff;
}

/* -------------サイドバー------------- */

.sidebar{
  max-width: 280px;
  width: 23%;
  padding: 0;
}

.sidebar h2, .sidebar h3 {
    background-color: #595757;
    padding: 12px;
    margin-top: 0;
    border-radius: 0;
    color: #fff;
    text-align: center;
}

.sidebar .entry-card{
  width: 90%;
  margin: 0 auto;
}

.sidebar .entry-card-thumb{
  width: 100%;
  margin-bottom: 0;
}

.sidebar .entry-card-content{
  margin: 0;
}

.sidebar .entry-card h4{
  font-size: 12.8px;
  line-height: 1.4;
}

.sidebar .post-date,
.sidebar .entry-date{
  margin: 0;
}



/* -------------パンくずリスト------------- */

#breadcrumb{
  width: 100%;
  margin-top: 128px;
}

#breadcrumb .breadcrumb_inner{
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

.breadcrumb a,
.breadcrumb,
.breadcrumb .sp{
  color: #000;
}

/* -------------ブログヘッダー------------- */

.blog_header{
  background: url(./assets/images/blog_header.webp) no-repeat center center / cover;
  height: 300px;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.blog_header h1{
  width: 90%;
  max-width: 830px;
  color: #fff;
  line-height: 1.4;
  font-feature-settings: "palt";
  font-size: 2rem;
}


.blog_header.header_category h1{
  max-width: 800px;
  font-size: 1.5rem;
}

.blog_header.header_category h1 span{
  font-size: 1.28em;
}

/* -------------カテゴリー------------- */

.home_category{
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 19px;
  padding: 50px 0;
  margin: 24px 0 123px;
}

.home_category h3{
  font-size: 1.4rem;
  color: #f08033;
  margin-bottom: 1.3rem;
}

.widget_categories ul{
  width: 90%;
  margin: 0 auto;
}

.home_category ul,
.widget_categories ul{
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  max-width: 901px;
  gap: 4px;
  padding: 0;
}

.cat-link,
.cat-label{
  background: #f08033;
}

.home_category ul li,
.widget_categories ul li{
  background: #f08033;
  color: #fff; 
  font-size: 16px;
  display: inline-block;
  margin-bottom: 8px;
  transition: all 0.3s;
}


.home_category ul li a,
.widget_categories ul li a{
  display: inline-block;
  color: #fff;
  display: block;
  padding: 0.5em 1em;
}


.home_category ul li:hover,
.widget_categories ul li:hover{
  opacity: 0.7;
}

.blog_pc{
    display: block;
  }

  .mobile_recommended_wrap{
    display: none;
  }

  .single_news_wrap{
    display: block;
  }

  .mobile_recommended_wrap .archive-title,
.mobile_recommended_wrap h1 {
    display: none !important;
}

.form_sp_wrapper {
  display: none;
}

/* デスクトップ表示（769px以上） */
@media (min-width: 769px) {
    .desktop-news,
    .desktop-recommended {
        display: block;
    }
    
    .mobile-news,
    .mobile-recommended {
        display: none;
    }
}

/* モバイル表示（768px以下） */
@media (max-width: 768px) {
    .desktop-news,
    .desktop-recommended {
        display: none;
    }
    
    .mobile-news,
    .mobile-recommended {
        display: block;
    }
}

/* アーカイブタイトルを非表示 */
.mobile-news .archive-title,
.mobile-recommended .archive-title {
    display: none !important;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .content-in{
    display: flex;
    flex-wrap: nowrap;
  }
}

/*834px以下*/
@media screen and (max-width: 768px){

  .content-in{
    display: block;
    flex-wrap: wrap;
  }

  .blog_pc,
  .single_news_wrap{
    display: none;
  }

  .mobile_recommended_wrap{
    display: block;
  }

   .form_sp_wrapper,
  .formlink_sp,
  .feature_wrapper .grid,
  .service01,
  .navi {
    display: block;
  }

    .flex {
    display: block;
  }

  .notflex .flex {
    display: flex;
  }
  .tell {
    font-size: 18px;
  }
  .paragraph {
    display: inline-block;
  }
  .form_sp_wrapper,
  .formlink_sp,
  .feature_wrapper .grid,
  .service01,
  .navi {
    display: block;
  }

  .link_wrapper,
  .openbtn2,
  .openbtn_top,
  .form_wrapper,
  .footer_nav,
  .header-fixed {
    display: none;
  }

  /*                  header ここから                  */

  header .navi .logo {
    z-index: 0;
    width: 160px;
  }

  .home section h2::before {
    background: url(../images/h2_icon_32px.png) no-repeat left center /contain;
  }
  .formlink_sp {
    display: flex;
    position: fixed;
    margin: 0 auto;
    top: 1%;
    right: 30%;
    width: 20%;
  }

  .header_nav .formlink_sp a {
    background-color: #fff;
    color: #000;
    width: 100%;
    border-radius: 5px;
    z-index: 999;
  }

  .header_nav .formlink_sp {
    transform: translateX(0);
    right: 59px;
    width: 145px;
    top: 16px;
    justify-content: space-between;
    align-items: center;
  }

  .navi .header_nav {
    background-color: #fff;
  }

  .formlink_sp .tell_sp,
  .formlink_sp i {
    display: inline-block;
  }
  .header_nav .formlink_sp i {
    font-size: 25px;
  }
  .openbtn1 {
    text-orientation: upright;
    -ms-writing-mode: tb-rl;
    writing-mode: horizontal-tb;
    position: fixed;
    bottom: 5%;
    right: 0;
  }
  .header_nav .logo {
    display: block;
  }
  header nav {
    background-color: rgba(255, 255, 255, .96);
  }
  
  /* --------.naviここから --------- */
  /* ゆりーかここから */
  .top-catchcopy {
    display: block;
    width: initial;
    height: 800px;
    margin: 0;
    position: relative;
}
.top-catchcopy::before {
  content: url(../images/top01-mb.png);
  position: absolute;
  top: 15%;
  left: 3%;
}
.top-catchcopy::after {
  content: url(../images/top02-mb.png);
  position: absolute;
  top: 44%;
  left: 57%;
}
.top-bg .catch {
  top: 25%;
  left: 15%;
  font-size: 40px;
}

.top-bg .catch_sub {
  top: 50%;
  left: 10%;
}
.top-bg .catch_sub::after {
  width: 100px;
}
  .navi .header_nav {
    position: relative;
    z-index: 200;
  }

  .openbtn_fixed {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .openbtn_fixed ul {
    flex-basis: auto;
  }

.top-bg {
  background: url("../images/top-bg.jpg") no-repeat top right / cover;

}

  /* --------.naviここまで --------- */
  /* ハンバーガーメニュー */
  .openbtn1 {
    position: absolute;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    top: 15px;
    right: 3.5%;
    z-index: 999;
  }

  .hide {
    transform: translateY(-130px);
  }

  /*ボタン内側*/
  .openbtn1 span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    line-height: 1.4;
  }

  .openbtn1 span:nth-of-type(1),
  .openbtn1 span:nth-of-type(3) {
    height: 2px;
    background: #fff;
    width: 70%;
    left: 9px;
  }

  .openbtn1 span:nth-of-type(1) {
    top: 8px;
    left: 7px;
  }

  .openbtn1 span:nth-of-type(2) {
    top: 14px;
    left: 4px;
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
  }

  .openbtn1 span:nth-of-type(3) {
    top: 34px;
    left: 7px;
  }

  /*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
  .openbtn1.active span:nth-of-type(1) {
    top: 15px;
    left: 11px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 27px;
    left: 11px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }

  /*========= レイアウトのためのCSS ===============*/
  .lead {
    margin: 20px 0 0 0;
  }

  .btn-block {
    width: 200px;
    padding: 30px;
  }

  .navi .openbtn_fixed {
    width: 100%;
    transform-origin: top;
    transition: 0.5s;
    right: 0;
    top: -100%;
  }

  .text_top,
  .navi .text_fixed {
    top: 70px;
  }

  .navi .text_fixed {
    height: calc(100vh - 70px);
    font-size: 14px;
    line-height: 1.8;
    right: 0;
    z-index: 100;
  }

  /* 追従ナビ */
  /* ナビの配置 */
  .navi {
    position: fixed;
    top: 0;
  }

  .scroll_passive {
    opacity: 1;
    visibility: visible;
  }

  .openbtn_fixed .arrangement {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 45% 45%;
    grid-template-rows: auto 30% 30%;
    justify-content: space-between;
    padding: 32px 14px 0;
  }

  .arrangement li:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .arrangement li:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .arrangement li:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .arrangement li:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .arrangement li:last-child {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  /* 追従ナビ end */

  ul ul li:first-child {
    width: 90%;
    margin-top: 20px;
  }

  .header_nav {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top_text {
    text-align: center;
    padding: 60px 0;
    width: 80%;
    margin: 0 auto;
  }

  .form_sp_wrapper {
    display: block;
  }

  .header_nav .formlink_sp a p {
    font-size: 11px;
    line-height: 1;
    text-orientation: upright;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: auto;
  }

  header nav ul {
    display: block;
  }

  header nav ul li a {
    display: block;
  }
  ul ul li:first-child {
    border-bottom: 2px solid #2697b2;
    font-weight: 500;
  }
  /*                    header ここまで                   */
/* Gutenbergテーブルのセル内改行を無効にして横スクロールを強制 */
.wp-block-table table {
    table-layout: fixed;
    width: 100%;
    min-width: 600px; /* 最小幅を設定 */
}

.wp-block-table td,
.wp-block-table th {
    white-space: nowrap; /* 改行を無効 */
    overflow: hidden;
    text-overflow: ellipsis; /* 長い文字は省略記号で表示 */
}

/* ------------------------------------------------ footer ここから ------------------------------------------------ */
  .form_sp_wrapper p {
    margin: 0 auto;
    width: 90%;
  }

  footer nav {
    display: flex;
    align-items: flex-end;
  }

  footer nav ul {
    flex-basis: 50%;
    font-size: 14px;
  }

  footer nav div {
    flex-basis: 50%;
    text-align: center;
  }

  footer nav div p {
    width: 70%;
    border-radius: 15px;
  }

  footer nav div p a {
    color: #fff;
  }

  .footer_form_sp p {
    font-size: 14px;
  }

  footer a span {
    font-size: 12px;
  }

  footer p {
    position: static;
  }

  /*キラッと光る*/
  footer p::before {
    position: static;
  }

  footer .logo {
    margin-bottom: 20px;
    width: 85%;
  }

  .footer_form_sp p {
    margin-top: 20px;
  }

  footer nav ul li:nth-child(2),
  footer nav ul li:nth-child(3),
  footer nav ul li:nth-child(4) {
    padding-left: 0rem;
  }

  
  /*------------------------------------------------ footer ここまで ------------------------------------------------ */

/*--------------------------------
メインコンテンツ
----------------------------------*/

.content,
.home main{
  background: #fff;
  padding-top: 0;
}

#breadcrumb{
  margin-top: 70px;
}

.blog_header{
  background: url(../images/sp_blog_header.webp) no-repeat cover;
  height: 150px;
  font-size: 34px;
}

.blog_header h1{
  text-align: center;
}

.home_category{
  padding: 0;
  margin-bottom: 66px;
}

.home_category ul, .widget_categories ul{
  width: 100%;
}

.blog_header.header_category h1{
  font-size: clamp(20px,3.94vw,1.75rem);
}

.blog_header.header_category h1 span{
  font-size: clamp(22px, 4.79vw ,2.1rem);
}

.home_category ul li, .widget_categories ul li{
  font-size: clamp(16px,3.94vw ,1.75rem);
}

.blog_header h1{
  font-size: clamp(20px, 4.51vw ,2rem);
}

.home_category h3{
  font-size: clamp(20px, 4.79vw ,2.1rem);
  border: solid 1px #f08033;
  padding: 0.5em 0;
  width: 100%;
  text-align: center;
}

.deco_title{
  border: none;
  margin: 0 auto;
  font-size: clamp(20px, 4.79vw ,2.1rem);
}

.deco_title span{
  display: none;
}

.ect-vertical-card{
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ect-3-columns .entry-card-wrap{
  width: 100%;
  margin-bottom: 0;
}

.ect-vertical-card .entry-card-wrap .entry-card{
  flex-direction: row;
  border-top: solid 1px #f08033;
  padding: 28px 0;

}

.ect-vertical-card .entry-card-wrap .entry-card-thumb{
  width: 33%;
  min-width: 100px;
  max-width: 240px;
   display: flex;
  align-items: center;
}

.recommended-posts{
  background:#fff;
  padding: 0 0 97px;
  border: none;
}

.toc {
    width: 105%;
    position: relative;
    left: -2.5%;
}

#sidebar{
  display: none;
}

.single_news_wrap{
  background: #fff;
  padding-top: 0;
}

.page_category_wrap{
  width: 90%;
  margin: 0 auto;
  background: #fff;
}

.article h3 {
  color: #f08033;
}

.article h3::after {
  background-color: #f08033;
}

.home #list{
  margin-bottom: 0;
}

.home .pagination{
  margin-top: 0;
}

.entry-card-content .entry-card-title{
  font-size: clamp(18px, 3.38vw ,1.5rem);
}

.entry-date,
.entry-card-content .cat-label{
  font-size: clamp(14px, 3.1vw ,1.3rem);
}

.cat-link{
  font-size: clamp(16px, 2.82vw ,1.25rem);
}

.article h2,
.article h3{
  font-size: clamp(20px, 4.79vw ,2.1rem);
}

.article p{
  font-size: 16px;
}

.blog_top_btn{
  max-width: 768px;
  width: 100%;
  font-size: clamp(22px, 5.21vw ,2.3rem);
}

.entry-title{
  font-size: clamp(20px, 4.79vw ,2.1rem);
  padding-left: 0;
  padding-right: 0;
}

}

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