@charset "UTF-8";

body {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  color: #161616;
  font-weight: 400;
  background-color: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}

a:link {
  color: #161616;
}

a:visited {
  color: #161616;
}

a {
  color: #161616;
  text-decoration: none;
  cursor: pointer;
}


img {
width:100%;
max-width: 100%;
height: auto;
}

strong{
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5{
  line-height: 1.25;
}

:root{
  /* color */
  --main-color: #161616;
  --accent-color01: #4B4B4B;
    --accent-color02: #9A9999;
   --bg-color01: #EEEEEE;
  --bg-color02: #F2F5F7;
  --color-blue: #5AAEE0;
  --color-red: #C84A4A;  
  --font-EN: "Roboto", sans-serif;

/* サイズ */
--container-lg: min(90%,1380px);
--container-mid: min(90%,1080px);

}

/* 調整
======================================== */
body .is-layout-flex{
  align-items: center !important;
}

.has-vivid-red-color{
  color: var(--color-red) !important;
  font-weight: bold;
}

 .wp-block-separator{
  border-bottom: solid 1px;
  width: 100% !important;
  margin: 10px 0;
 }

 .lh-18{
  line-height: 1.8;
}

 .lh-2{
  line-height: 2;
}

.postid-806 .wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
  height: 1px;
}

/*  Gutenberg用 
======================================== */


/* 外部リンク（ライン）で登録　*/
.is-style-link-i a{
  display: inline;
  color: var(--accent-color01);
  font-weight: bold;
  padding: 0 2px;
  text-decoration: underline;
  text-decoration-color: var(--accent-color01);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: 0.3s ease-in-out;
}

.is-style-link-i a:hover{
  color: var(--accent-color02);
  text-decoration-color: var(--accent-color02);
}



/* 下付き文字・上付き文字の共通設定 */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

/* 下付き文字の個別設定 */
sub {
    bottom: -0.25em;
}

/* 上付き文字の個別設定 */
sup {
    top: -0.5em;
}


/*==================================================

common

====================================================*/
.page-sec__block02{
  max-width: var(--container-mid);
  margin: 120px auto;
}

.page-sec__block01{
width: var(--container-lg);
margin: 120px auto;
}

.page-sec__block03{
width: var(--container-lg);
margin: 80px auto;
}

.page-sec__bg{
 background-color: var(--bg-color01);
  margin: 96px auto;
  padding: 96px 0;
}

.top-main__wrap{
  margin-top: 160px;
}

.page-main__post{
  margin-top: 160px;
}


.link-i{
  display: block;
  border-bottom: solid 1px var(--accent-color01);
  width: fit-content;
  padding: 0 2px;
  color: var(--accent-color01);
  transition: 0.3s ease-in-out;
}

.link-i:hover{
  color: var(--accent-color02);
  border-bottom: solid 1px var(--accent-color02);
}

.nlc-text{
  display: block;
}

/* ページネーション */
.nav-links{
  margin-top: 40px;
}

.page-numbers{
  display: flex;
  gap: 1em;
  justify-content: center;
  padding: 8px 16px;
}

.page-numbers li{
  border: solid 1px var(--accent-color01);
}

.page-numbers li .current{
  color: #fff;
  background-color: var(--main-color);
}

.page-numbers li:has(.current){
  border: none;
}

.page-numbers a{
  color: var(--accent-color01);
}

.page-numbers li:has(.dots){
  border: none;
}



/* ページ全体 */
.aioseo-breadcrumbs{ 
  margin-bottom: 40px; 
}

.entry-content{ margin-top: 40px; 
}

/* 本文の基本 */
.entry-content > * + *{
  margin-top: 1em;
}

.entry-content .wp-block-column p{
  margin-bottom: 1em;
}

.entry-content .wp-block-column p:last-child{
  margin-bottom: 0;
}

.contents-desc__wrap{
  line-height: 2.5;
  width: fit-content;
  margin: 64px auto;
}

/* 見出し */
.entry-content > h2{
  margin-top: 56px;
  margin-bottom: 24px;
}

.entry-content h2:first-of-type {
  margin-top: 40px;
}

.entry-content > h3{
  margin-top: 56px;
  margin-bottom: 24px;
}

.entry-content h2 + h3 {
  margin-top: 0.5em;
}

/* 重い要素 */
.entry-content > figure,
.entry-content > .wp-block-table,
.entry-content > .wp-block-embed,
.entry-content > .wp-block-vk-blocks-border-box{
  margin-top: 24px;
  margin-bottom: 24px;
}

 /* パンクズ */
.aioseo-breadcrumbs{
  display: flex;
  gap: 0 1em;
  padding: 1em;
  font-size: 13px;
  margin: 0 auto 48px auto;
  border-bottom: solid 1px var(--bg-color01);
  flex-wrap: wrap;
 }

/* ボタン
======================================== */
      .base-btn {
        position: relative;
        max-width: 300px;
        padding: 1em 0;
        transition: all 0.3s ease;
        background-color: var(--main-color);
        color: #fff;
        display: block;
        text-align: center;
        margin: 64px auto 0 auto;
      }

      a.base-btn{
        color: #fff;
        max-width: 300px;
      }

      .base-btn svg {
        position: absolute;
        top: 27px;
        right: 24px;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke: #fff; /* 矢印の色 */
        stroke-width: 2;
        transform: translateX(-5px);
        transition: all 0.3s ease;
      }


      .base-btn:hover svg {
        transform: translateX(0);
        stroke: #fff;
      }

      .base-btn:hover{
        opacity: 0.9;
      }

  .btn-flash{
    overflow: hidden;
  }    

  .btn-flash::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 80%);
  transition: .5s;
}

/* ホバー時のスタイル */
.btn-flash:hover::before {
  top: 0;
  left: 100%;
}


/* 基本リスト */

.contents-list__ttl{
  margin: 1em 0 0.5em;
}

.contents-list__ttl + .contents-list {
  margin-top: 0;
}

.contents-list{
  margin: 1em 0;
}

.contents-list li{
  position: relative;
  margin-left: 1.25em;
}

.contents-list li::before{
  content: "";
  position: absolute;
  left: -1em;
  top: 1em;
  transform: translateY(-50%);
  width: 0.25em;
  height: 0.25em;
  background-color: var(--main-color);
  border-radius: 50%;
}


/* 基本テーブル */

.base-table__wrap{
width: fit-content;
    margin: 40px auto 0;
}

.base-table th,
.base-table td{
padding: 0.5em;
border: solid 1px var(--accent-color02);
}

.base-table th {
  text-align: left;
  background-color: var(--bg-color02);
}

.base-table td:first-child {
width: 400px;
}

.base-table td:not(:first-child) {
  width: 300px;
}

.base-table td{
  vertical-align: middle;
white-space: pre-line;	
}

.base-table td .span-item{
  display: flex;
  margin-right: 12px;
}

.base-table__wrap .text{
  margin: 1em 0;
}



/* クライアントが作成したリンク（classなし）のみ */
.entry-content a:not([class]) {
  display: inline;
  color: var(--accent-color01);
  font-weight: bold;
  padding: 0 2px;
  text-decoration: underline;
  text-decoration-color: var(--accent-color01);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: 0.3s ease-in-out;
}

.entry-content a:not([class]):hover {
  color: var(--accent-color02);
  text-decoration-color: var(--accent-color02);
}




/* お問い合わせ誘導（mid）
======================================== */

.induce-contact__wrap__mid {
background: var(--main-color);  
padding: 40px;
max-width: var(--container-mid);
margin: 80px auto;  
}

.induce-contact__aligned__mid{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
}

.induce-contact__btn{
  width: 360px;
  max-width: 100%;
  margin: 0px;
background-color: #fff;
}

a.induce-contact__btn{
  color: var(--main-color);
}

.induce-contact__btn svg{
  stroke: var(--main-color);
}

.induce-contact__btn:hover svg{
  stroke: var(--main-color);
}

.induce-contact__aligned__mid .text{
  margin-top: -10px;
  color: #fff;
}

.induce-contact__heading {
  color: #fff;
}

.induce-contact__heading .top-heading__EN{
  font-size: 36px;
}



/* ヘッダー
======================================== */
  .header-nav__sp{
    display: none;
  }
      .header-logo {
        position: relative;
        margin-left: 2%;
        z-index: 1200;
      }

      .logo-img {
        width: 160px;
      }

      .header-nav__wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 80px;
        position: fixed;
        top: 0px;
        z-index: 1300;
        background-color: #fff;
      }

      .top-nav__list {
        display: flex;
        align-items: center;
        column-gap: 2.5em;
        font-weight: 500;
        margin-right: 2.5em;
      }

      .top-nav__list li{
        line-height: 1.5;
        font-size: 15px;
      }


      .top-nav__list li:nth-child(7) a,
      .header-nav__list02 li:nth-child(7) a{
        display: block;
        padding: 0.5em 2em;
        color: #fff;
        font-size: 13px;
        transition: 0.3s;
        border: solid 1px var(--main-color);
        background-color: var(--main-color);
        text-align: center;
      }


.top-nav__list li:not(:last-child):not(:nth-child(7)) a{
  position: relative;
  display: inline-block;
  transition: 0.3s;
}

.top-nav__list li:not(:last-child):not(:nth-child(7)) a:hover{
  opacity: 0.8;
}

.top-nav__list li:not(:last-child):not(:nth-child(7)) a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--main-color);
  bottom: -5px;
  display: block;
  transform: scaleX(0);
  transform-origin: left top;
  transition: transform 0.3s;
}


/* hoverで表示 */
.top-nav__list li:not(:last-child):not(:nth-child(7)) a:hover::after{
  transform: scaleX(1);
}

.top-nav__list li:nth-child(7) a:hover, 
.header-nav__list02 li:nth-child(7) a:hover {
  background-color: #fff;
  color: var(--main-color);
  border-color: var(--main-color);
}

/* カレント表示 */
.top-nav__list li.current:not(:last-child):not(:nth-child(7)) > a::after{
  transform: scaleX(1);
}

      /* メニューのドロップダウン */

      .brand-menu__pc {
        position: absolute;
        z-index: 10;
        top: 40px;
        display: flex;
        justify-content: center;
        padding: 24px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(154, 153, 153, 0.5);
        visibility: hidden;
        opacity: 0;
        transition: 0.3s ease-in-out;
      }

      .has-child:hover > .brand-menu__pc {
        visibility: visible;
        opacity: 1;
      }

      .brand-menu__items li a{
        display: block;
        margin-bottom: 1.5em;
        white-space: nowrap;
      }

      .brand-menu__items li:last-child a{
        margin-bottom: 0;
      }

      .has-child {
        position: relative;
        margin-right: 1em;
      }

      .has-child::after {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin: 2px 4px;
        border-bottom: 2px solid;
        border-right: 2px solid;
        transform: rotate(45deg);
        position: absolute;
        top: 6px;
        right: -20px;
        transition: 0.3s ease;
      }

      .has-child:hover:after {
        transform: rotate(-135deg);
      }


/* 検索窓 */
.search-icon{
  width: 20px;
}

.search-panel{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-110%);
  transition: transform .35s ease;
  z-index: 3000;
  background: #fff;
}

.search-panel.open{
  transform: translateY(0);
}

.search-panel__inner{
  padding: 20px;
}

.search-form{
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.search-form input{
  width: 100%;
  height: 50px;
  padding: 0 12px;
  border: 1px solid var(--accent-color02);
  background: #fff;
}

.search-form button{
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: none;
}

.search-close{
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

/* ラベルを見えなくする（必要なら） */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* iOSの角丸を消す */
.search-form input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Safariの×ボタンを消す */
.search-form input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

/* 自作×ボタンの色 */
.search-close {
  color: #161616;
}



/* フッター
======================================== */
.footer-wrap{
  margin-top: 120px;
}
/* お問い合わせ */
.footer-contact__wrap{
  background-color: var(--main-color);
  padding: 56px;
}

.footer-contact__heading{
color: #fff;
}

.footer-contact__heading .top-heading__EN{
font-size: 36px;
}

.footer-contact__aligned{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
}

.footer-conact-text__wrap{
  color: #fff;
}

.footer-conact-text__wrap .HL-text{
  font-size: 20px;
  font-weight: bold;
}

.footer-problem__wrap{
  width: fit-content;
  margin: 48px auto 0;
}

.footer-problem__ttl{
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border-bottom: solid 1px #fff;
  padding: 4px 12px;
}


.footer-problem__list{
  width: fit-content;
  margin: 1em auto 0;
}

.footer-problem__list li{
  color: #fff;  
  position: relative;
  margin-left: 38px;
  margin-bottom: 8px;
}

.footer-problem__list li::before{
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  display: inline-block;
  width: 18px;
  height: 16px;
  background: url(../images/check.png) no-repeat;
  background-size: contain;
}



/* パネル */
.footer-panels{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--accent-color02);
  border-bottom: 1px solid var(--accent-color02);
}

.panel-unit{
  position: relative;
  display: block;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.panel-unit:first-child{
  border-right: 1px solid var(--accent-color02);
}


/* 背景画像用（hover表示） */
.panel-unit::before{
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 0;
}

/* hoverで画像表示 */
.panel-company::before{
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)),
    url("https://www.regsol.jp/wp-content/uploads/2026/04/panel-img__company.jpg");
    background-position: center center;
    background-size: 120%;
}

.panel-news::before{
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)),
 url("https://www.regsol.jp/wp-content/uploads/2026/04/panel-img__news.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 70% center;
} 

.panel-unit:hover::before{
  opacity: 1;
}

.panel-unit:first-child:hover {
  border-right: 1px solid transparent;
}


  /* inner */
.panel-inner{
  position: relative;
  z-index: 1; /* 背景より前 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 64px;
}


  /* text */
.panel-text{
  line-height: 1;
  letter-spacing: 2px;
}

.panel-en{
  font-size: 48px;
  font-weight: 700;
  letter-spacing: .05em;
  margin: 0 0 8px;
  font-family: var(--font-EN);
}

.panel-jp{
  margin: 0;
  font-weight: bold;
}

.panel-arrow{
  width: 40px;
  height: 10px;
  fill: none;
  stroke: var(--main-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-6px);
  transition: transform .25s ease;
  flex-shrink: 0;
}

.panel-unit:hover .panel-arrow{
  transform: translateX(0);
  stroke: var(--bg-color02);
}

.panel-unit:hover .panel-en,
.panel-unit:hover .panel-jp {
  color: var(--bg-color02);
}

.panel-unit:hover .panel-jp{
  font-weight: normal;
}

.footer-conact-text__wrap .text{
  text-align: center;
}

/* フッターメニュー */
.footer-menu__aligned{
  display: flex;
  justify-content: space-between;
  padding: 48px 64px;
  border-bottom: solid 1px var(--accent-color02);
  background-color: var(--bg-color02);
}

.footer-menu__unit01{
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: space-between;
}

.footer-menu__unit02{
  display: flex;
  gap: 64px;
}

.footer-service__list li,
.footer-menu__list li{
  position: relative;
}

.footer-service__list li,
.footer-menu__list li{
  margin-bottom: 1.5em;
  font-size: 15px;
  position: relative;
width: fit-content;
transition: 0.3s;
}

.footer-service__list li:last-child,
.footer-menu__list li:last-child{
  padding-bottom: 0;
}

.footer-service__list li:not(:first-child){
  font-size: 13px;
  margin-left: 1em;
}

.footer-service__list li:not(:first-child) a{
  color: var(--main-color);
}

.footer-menu__privacy{
  font-size: 14px;
  display: block;
  position: relative;
}

.footer-menu__list li a::after,
.footer-service__list li a::after,
.footer-menu__privacy::after  {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--main-color);
  bottom: -4px;
  display: block;
  transition: transform 0.3s;
  transform: scaleX(0) scaleY(0.75);
  transform-origin: left center;	
}



.footer-menu__list li a:hover::after,
.footer-service__list li a:hover::after,
.footer-menu__privacy:hover::after{
  transform: scaleX(1) scaleY(0.75);
}

.footer-service__list li:hover,
.footer-menu__list li:hover,
.footer-menu__privacy:hover {
  opacity: 0.8;
}

/* hover時のピクセル丸めの細さを回避 */
.footer-service__list li a:hover::after {
  transform: scaleX(0.999);
}

.copyrights{
  font-size: 14px;
  padding: 1em 64px;
  background-color: var(--main-color);
  color: #fff;
}


/* ページ
======================================== */
.page-top__wrap{
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: var(--bg-color01);
}

.page-top__img .page-top__ttl,
.page-top__img__text {
  z-index: 1;
  position: relative;
}

.page-top__img__text{
  text-align: center;
  margin-top: 1em;
}

.page-top__ttl{
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.2;
}

.page-top__wrap .ttl-en{
  display: block;
  color: var(--accent-color02);
  text-align: center;
}

.page-main__wrap{
  margin-top: 80px;
}

.page-top__wrap .text{
  text-align: center;
  margin-top: 40px;
}

 /* パンくず */
 .breadcrumbs{
  display: flex;
  gap: 1em;
  padding: 1em;
  font-size: 13px;
  margin: 0 auto 48px auto;
  border-bottom: solid 1px var(--bg-color01);
 }

/*==================================================

トップページ

====================================================*/
.top-sec__wrap{
  margin: 120px auto;
  width: var(--container-lg);
}

.top-heading__wrap{
  text-align: center;
}

.top-heading{
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.top-heading__EN{
  display: block;
  font-size: 56px;
  font-family: var(--font-EN);
  letter-spacing: 2.5px;
}

.hero-area__copy .main-copy{
font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.25;
  font-weight: bold;
  margin-bottom: 24px;
}


.hero-area__aligned{
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--container-lg);
  margin: 0 auto;
  gap: 120px;
}

.hero-area__copy{
  width: 608px;
}

.hero-area__news{
  max-width: 520px;
  margin-top: 24px;
}



.intro-aligned{
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--container-lg);
  margin: 0 auto;
  gap: 120px;
}

.intro-text__wrap{
  width: 608px;
  line-height: 2;
}

.intro-imgf{
  width: 380px;
  max-width: 380px;
}


.fv-btn{
  margin: 24px 0 0 0;
}


.hero-area__news__ttl{
  font-size: 28px;
  font-weight: bold;
}

.fv-news__item{
  display: flex;
  gap: 1em;
  border-bottom: solid 1px var(--accent-color02);
  padding: 1.5em;
  position: relative;
  align-items: center;
}

.fv-news__item::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  line-height: 2;
  background-color: var(--main-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: 0.3s ease;
}

/* hover時に出現 */
.fv-news__item:hover::after{
  transform: scaleX(1);
}

.fv-news__item:hover{
  opacity: 0.8;
}

  /* fv画像
======================================== */
.fv-img__wrap {
  position: relative;
  overflow: hidden;
  height: 400px;
  margin: 96px 0;
}

.fv-img__inner{
  width: 100%;
  height: 100%;
}

/* 画像 */
.fv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


  /* intro
======================================== */    
.intro-aligned{
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--container-lg);
  margin: 0 auto;
  gap: 120px;
}

.intro-text__wrap{
  width: 608px;
  line-height: 2;
}

.intro-text__wrap .text:not(:last-child){
  margin-bottom: 2em;
}

.intro-imgf{
  max-width: 380px;
}



  /* サービス
======================================== */ 
.top-service__list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 80px;
  max-width: var(--container-mid);
  margin: 0 auto;
}

.top-service__list li a{
display: block;
max-width: 400px;
}

.top-service__link{
  overflow: hidden;
}

.top-service__imgwrap{
  position: relative;
  display: block;
  box-shadow:
    4px 4px 4px rgba(0, 0, 0, .08),
    4px 8px 18px rgba(0, 0, 0, .08);
}

/* 右の影 */
.top-service__imgwrap::after{
  content: "";
  position: absolute;
  top: 6px;
  right: -6px;
  width: 6px;
  height: calc(100% - 6px);
  background: rgba(0, 0, 0, .01);
}

.top-service__img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
   overflow: hidden;
  transition: transform 0.3s ease-in-out; 
}



.top-service__img:hover{
    transform: scale(1.1);
}

.top-service__img:hover .top-service__ttl::after{
  transform: scaleX(1);
}

.top-nav__list li:not(:last-child):not(:nth-child(7)) a:hover{
  opacity: 0.8;
}



.top-service__ttl{
  font-size: 24px;
  font-weight: bold;
 width: fit-content;
 margin: 8px auto;
 position: relative;
 transition: 0.3s ease-in-out;
}

.top-service__ttl::after{
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--main-color);
  bottom: -5px;
  display: block;
  transform: scaleX(0) scaleY(0.75);
  transform-origin: left center;
  transition: transform 0.3s;
}

.top-service__ttl:hover::after{
  transform: scaleX(1) scaleY(0.75);
}

.top-service__ttl:hover{
  opacity: 0.8;
}

.top-service__list li:hover .top-service__ttl::after{
  transform: scaleX(1) scaleY(0.75);
}

.top-service__list li:hover .top-service__ttl{
  opacity: 0.8;
}


  /* 強み
======================================== */
.top-features__wrap{
  margin: 0 auto;
  background-color: var(--bg-color02);
  padding: 120px 0;
}

.top-features__inner{
  margin: 0 auto;
}

.top-features__aligned{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.top-features__unit{
  width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-features__ttl{
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0.5em 0;
  text-align: center;
}

.features-icon__bg{
  background-color: var(--accent-color01);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  position: relative;
}

.features-icon01::before{
  content: '';
  display: inline-block;
  width: 52px;
  height: 42px;
  background: url(../images/features-icon01.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
transform: translate(-50%,-50%);
}

.features-icon02::before{
  content: '';
  display: inline-block;
  width: 36px;
  height: 42px;
  background: url(../images/features-icon02.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
transform: translate(-50%,-50%);
}

.features-icon03::before{
  content: '';
  display: inline-block;
  width: 42px;
  height: 46px;
  background: url(../images/features-iocn03.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: 52%;
  left: 50%;
transform: translate(-50%,-50%);
}


  /* 事例
======================================== */

.top-case__list{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 28px;
  max-width: var(--container-mid);
  margin: 0 auto;
}

.top-case__list li{
  overflow: hidden;
  border: solid 1px var(--bg-color01);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  position: relative;
  background-color: #fff; 
}

.case-industry__top{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background-color: var(--main-color);
  letter-spacing: .02em;
  color: #fff;
}

.top-case__inner{
  padding: 1em;
  display: flex;
  flex-direction: column;
}

.case-ttl{
  margin: 8px 0;
  font-size: 22px;
  letter-spacing: .02em;
  font-weight: bold;
  height: 64px;
}

.case-ttl .ttl-sup{
  display: block;
}

.case-industry{
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: .02em;
  font-weight: bold;
}

.top-case__list .desc-text{
  font-size: 15px;
  line-height: 1.85;
  height: 112px;
}

 .top-case__list .case-meta__unit{
  display: flex;
  align-items: center;
  gap: 4px 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
 }

.top-case__inner .case-meta__unit .heading{
  font-size: 12px;
  color: var(--accent-color01);
  margin-bottom: 0;
}

.top-case__inner .case-meta__unit .case-meta{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.top-case__line{
  all: unset;
  display: block;
  margin: 10px 0;
}

/*==================================================

法規制 一覧

====================================================*/

.reg-tab__list{
  width: var(--container-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  margin: 0 auto;
}

.reg-tab__list li a {
  border-right: none;
  background-color: var(--bg-color02);
  color:  var(--accent-color01);
  font-weight: bold;
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
}

.reg-tab__list li a::after{
content: "";
height: 50%;
width: 1px;
background-color: var(--accent-color02);
position: absolute;
right: 0;
}

.reg-tab__list li:last-child > a::after{
  content: none;
}

/* カレント表示 */

.reg-tab__list li.current a.base-btn{
  background-color: var(--main-color);
  color: #fff;
}

.reg-tab__list li.current a.base-btn::after{
  content: none;
}

 .page-reg-list__block .reg-ttl{
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 24px;
  background-color: var(--bg-color01);
  padding: 0.5em;
  margin-bottom: 40px;
text-align: center;	 
}

.reg-tab__list li.current a::before {
  content: none;
}

/* 通常ホバー（current以外） */
.reg-tab__list li:not(.current) a:hover {
  background: #4b4b4b;
  color: #fff;
}

/* currentはhoverしても変化させない */
.reg-tab__list li.current a:hover {
  background: var(--main-color);
  color: #fff;
  cursor: default;
  opacity: 1;
}

/* フラッシュアニメーション無効 */
.reg-tab__list li.current a::before {
  display: none;
}

.reg-tab__list li:not(.current) a:hover::after {
  display: none;
}


  /* カテゴリー
======================================== */
.page-reg-list__block{
  margin: 40px auto 120px auto;
}

 .reg-list__aligned{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 48px;

 }
.reg-list__contents a{
  display: block;
  border: solid 1px var(--bg-color01);
  padding: 32px;
  transition: 0.3s ease;
  height: 100%;
  position: relative;  
}

.reg-list__unit{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* 通常時のスタイル */
.reg-list__contents .ttl {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  
  /* 下線の基本設定 */
  text-decoration: underline;
  text-decoration-color: transparent; /* 初期状態は「透明」にして見えなくする */
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  
  /* アニメーションの設定（透明→色付きへの変化を0.3秒で行う） */
  transition: text-decoration-color 0.3s ease;
}

/* ホバー時のスタイル */
.reg-list__contents a:hover .ttl {
  /* 透明だった下線に色をつける */
  text-decoration-color: var(--main-color);
}

.reg-list__contents .reg-list__img{
  max-width: 140px;
  object-fit: cover;
  border: solid 1px var(--bg-color01);
  line-height: 0;
flex-shrink: 0;	
}

.reg-list__contents .card-excerpt {
margin-top: 1em;
position: relative;
}

/* hover時：枠線を黒に */
.reg-list__contents a:hover{
  border-color: var(--main-color);  
}

.reg-list__contents a:hover {
  opacity: 0.8;
}

.reg-list__btn{
  margin: 0;
  font-size: 13px;
  width: 140px;
  padding: 4px;
  left: calc(100% - 140px);
}

.reg-list__btn svg{
  top: 11px;
  right: 2px;
}



/*==================================================

支援事例

====================================================*/

.case-card__aligned{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  max-width: var(--container-lg);
}

.case-ttl__unit .case-ttl{
  height: auto;
  font-size: 21px;
}

.case-card__aligned li{
  height: auto;
}

.case-img__wrap{
  position: relative;
  line-height: 0;
}

.case-img__notes{
  font-size: 10px;
  color: var(--accent-color02);
  position: absolute;
  bottom: 20px;
  right: 6px;
}

.case-img{
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  position: relative;
  transform: scale(0.8);
}

.case-card__aligned .desc-text{
  height: 124px;
}

.case-ttl__unit{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.case-card__aligned .case-meta__unit{
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 12px;
}

.case-sup{
  font-size: 13px;
  font-weight: bold;
  background-color: var(--bg-color02);
  padding: 2px 8px;
}

.case-sup:empty{
  display: none;
}

/*==================================================

カテゴリーページ

====================================================*/
.info-cat__aligned{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  /* width: var(--container-lg); */
  margin: 0 auto;
}


.info-cat__item .post-time::before{
  margin: 6px;
}

.info-cat__item > a{
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* border: solid 1px var(--bg-color01); */
}

.info-cat__item .cat-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.4s ease;
  border: solid 1px var(--bg-color01);
}

.info-cat__item > a:hover .cat-img{
 transform: scale(1.08);
}

.info-cat__item .cat-ttl{
  margin-top: 0.5em;
}

/* hover時に下線 */
.info-cat__item .cat-ttl a{
  font-size: 18px;
  font-weight: bold;
  position: relative;
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(var(--main-color), var(--main-color));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  line-height: 1.5;
}

.info-cat__item .cat-ttl a:hover{
  background-size: 100% 1px;
}

.info-cat__item:hover .cat-ttl a{
  background-size: 100% 1px;
}

.info-cat__item .cat-ttl:hover{
  opacity: 0.8;
}

.info-cat__item .cat-item{
  display: block;
  background-color: var(--accent-color01);
  color: #fff;
  font-size: 13px;
padding: 2px 12px;
width: fit-content;
/* margin-top: 8px; */
}

.info-cat__item .cat-item a{
  color: #fff;
}

.info-cat__item .entry-meta__unit{
  margin-top: 8px;
}

/*==================================================

会社情報

====================================================*/


  /* 挨拶
======================================== */

.message-contents__inner{
  width: var(--container-mid);
  margin: 0 auto;
}

.message-wrap__aligned{
  display: flex;
  gap: 80px;

}

.message-text__unit{
  line-height: 1.85;
  flex: 1 1 60%;
}

.message-text__unit .text + .text{
  margin-top: 2em;
}

.profile-img{
 flex: 1 1 280px;
}

.message-text__unit .ttl{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1em;
  padding: 4px 8px;
  width: fit-content;
  border-bottom: solid 1px;
}

.company-position__unit span{
  display: block;
}

.company-position__unit{
  margin-top: 2em;
}

.company-position__unit .company-name{
  font-size: 14px;
}

.company-position__unit .company-position{
  font-weight: bold;
  font-size: 20px;
  line-height: 1.2;
}


  /* 概要
======================================== */

.company-info__wrap {
  border: solid 1px var(--bg-color01);
}

.company-info__unit{
  display: flex;
  justify-content: center;
}

.company-info__unit dt {
  font-weight: bold;
  width: 40%;
  background: var(--bg-color02);
  padding: 20px;
  border-bottom: solid 1px var(--bg-color01);
}

.company-info__unit dd {
  padding: 24px;
  width: 100%;
  border-bottom: solid 1px var(--bg-color01);
}

.company-info__unit:last-child dt,
.company-info__unit:last-child dd {
  border-bottom: none;
}

.company-info__list{
  margin-top: 0;
}

.company-info__list li{
  margin-left: 1em;
}

.google-map__wrap{
  width: 100%;
  margin: 40px auto 0;
}

.google-map__link{
  margin: 0.5em auto;
  padding: 0 12px;
}


  /* 経歴
======================================== */

.profile-contents__wrap .profile-unit dt{
  background: none;
  width: 25%;
  padding: 24px;
}

.profile-contents__wrap .profile-unit dd .text-HL{
  background-color: var(--bg-color02);
  padding: 4px 16px;
  margin-top: 0.5em;
  width: fit-content;
}

.profile-unit .profile-item dt,
.profile-unit .profile-item dd {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

.profile-unit .profile-item:not(:first-child) {
  margin-top: 1em;
}


/*==================================================

サービス案内

====================================================*/

.service-desc__wrap{
  max-width: 960px;
  width: 90%;
  margin:  0 auto;
}

.service-desc__wrap .service-text {
  margin-top: 1.5em;
  font-size: 18px;
}

.page-sec__block02.service-page__adj{
  margin-top: 80px;
}

.service-list__aligned{
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  margin-top: 80px;
}

.service-list__unit .ttl{
  font-size: 28px;
  font-weight: bold;
  margin: 8px 0 16px;
  background-color: var(--bg-color01);
  padding: 0.5em;
}

.service-list__img__wrap{
  border: solid 1px var(--bg-color01);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-list__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.4s ease;
}


.service-list__img__wrap > a:hover .service-list__img{
 transform: scale(1.08);
}

.service-list__btn{
  margin: 16px 0 0 auto;

  padding: 0.5em;
}

a.service-list__btn{
    max-width: 200px;
}

.service-list__btn svg{
  top: 18px;
  right: 12px;
}

/*==================================================

各サービス

====================================================*/

.page-sec__service01{
  background-color: var(--bg-color01);
}

.page-sec__service02{
  background-color: var(--bg-color02);
}

.page-service__inner{
  width: var(--container-mid);
  margin: 0 auto;
  padding: 80px 0;
}

.service-desc__aligned{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 80px auto;
}

.service-desc__img__wrap{
  max-width: 400px;
  border: solid 1px var(--bg-color01);
  line-height: 0;
}

.service-desc__img{
  aspect-ratio: 16 / 9;
}

.service-desc__text{
  width: 520px;
  font-size: 18px;
}

.service-desc__text .service-text:not(:first-child){
  margin-top: 1em;
}

.service-ttl{
  font-size: 36px;
  padding: 8px;
  margin: 0 auto;
  border-bottom: solid 1px var(--main-color);
  text-align: center;
  font-weight: 500;
}

.service-ttl__en{
  display: block;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  font-family: var(--font-EN);
}


  /* 強み
======================================== */

.features-aligned{
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 48px auto;
padding-left: 24px;
}

.num{
  display: block;
  font-size: 24px;
  font-weight: bold;
  width: 24px;
  flex: 0 0 24px;
  line-height: 1;
}

.features-aligned .ttl{
  width: 300px;
  flex: 0 0 300px;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  background-color: var(--main-color);
  color: #fff;
  white-space: pre-line;
  padding: 8px;
  display: inline-block;
  font-feature-settings: "palt";
letter-spacing: 1px;
text-align: center;
line-height: 1.5;
}

/* .features-aligned .ttl-adj{
  font-size: 22px;
} */

.features-aligned:last-child{
  margin-bottom: 0;
}

.features-aligned .text{
  flex: 1;
  margin: 0;
  white-space: pre-line;
}


  /* フロー
======================================== */

.flow-unit .service-text{
white-space: pre-line;
margin-top: 1em;
}


.service-flow__list {
  margin-top: 48px;
}

.service-flow__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.service-flow__item + .service-flow__item {
  margin-top: 48px;
}

/* 左の縦ライン */
.service-flow__item::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: -54px;
  width: 4px;
  background-color: var(--main-color);
  z-index: 0;
}

.service-flow__item:last-child::before {
  display: none;
}

.service-flow__num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.service-flow__card {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 24px 80px;
  padding-right: 0;
  max-width: 950px;
}

.service-flow__ttl {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  color: var(--main-color);
}

.service-flow__text {
  color: var(--accent-color01);
white-space: pre-line;
margin-top: 1em;
}

.service-flow__card .contents-list__ttl,
.service-flow__card .contents-list li{
  color: var(--accent-color01);
}

.service-flow__card .contents-list li::before{
  top: 16px;
  background-color: var(--accent-color01);
}

/*==================================================

お問い合わせ

====================================================*/

.page-top__contact .top-heading__EN{
  font-size: 64px;
}

.page-top__contact .top-heading{
  font-size: 20px;
}

.contact-desc__wrap{
  line-height: 2.5;
  width: fit-content;
  margin: 64px auto;
}

.contact-text__HL{
  font-weight: bold;
}

.contact-desc__list{
  margin-bottom: 1em;
}

.contact-desc__list li::before{
  top: 20px;
}

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

input[type="button"],
input[type="text"],
input[type="submit"],
input[type="image"],
input[type="tel"],
input[type="email"],
textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  font-size: 16px;
}

select {
  -webkit-appearance: none;
  appearance: none;
}

input,
select,
textarea {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
}

input::placeholder,
textarea::placeholder {
  font-size: 16px;
  color: var(--accent-color02);
  font-weight: normal;
  font-family: "Noto Sans JP", sans-serif;
}

select:invalid {
  font-size: 16px;
  color: var(--accent-color02);
}

.wpcf7-spinner {
  display: none !important;
}

/* フォーム設定 */

form {
  margin: 40px auto;
  width: min(90%, 900px);
  padding: 0 40px;
}

.form-box {
  margin: 1em 0;
  padding-bottom: 1em;
}

form .must::after {
  content: "必須";
  display: inline-block;
  font-size: 70%;
  color: var(--color-red);
  padding-left: 1em;
  font-weight: bold;
}

.form-box dt {
  width: 35%;
  margin: 4px 8px;
  font-weight: bold;
}

.form-box__type dt{
  width: 38%;
}

.form-box dd {
  width: 100%;
}

input {
  outline: none;
}

.form-input {
  box-sizing: border-box;
  border: solid 1px var(--accent-color02);
  width: 100%;
  background-color: var(--bg-color02);
  height: 3.5em;
  padding-left: 0.5em;
}


.form-box__checkbox {
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top: 20px;
  margin-left: 20px;
}

.form-box__checkbox {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
  margin-left: 20px;
}

/* label全体をクリック可能に */
.checkbtn {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  cursor: pointer;
  padding-left: 28px;
  line-height: 1.6;
  width: fit-content;
}

/* 元のcheckboxを非表示 */
.checkbtn input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 外側の四角 */
.checkbtn-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent-color01);
  background: #fff;
  box-sizing: border-box;
}

/* チェックマーク */
.checkbtn-text::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.35em;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--accent-color01);
  border-bottom: 2px solid var(--accent-color01);
  transform: rotate(45deg);
  opacity: 0;
}

/* checked時だけチェック表示 */
.checkbtn input[type="checkbox"]:checked + .checkbtn-text::after {
  opacity: 1;
}

/* 補足テキスト */
.checkbtn-note {
  margin-left: 1em;
  font-size: 13px;
  color: var(--accent-color02);
  font-weight: normal;
  line-height: 1.6;
}


#comment {
  height: 400px;
}

/* ファイルアップロード */
.form-box__file{
  margin: 1em 0;
}

.form-box__file .notes-list { 
margin-top: 1em;
}

.form-box__file .notes-list li{
  font-size: 13px;
  color: var(--color-red);
}

.form-box__file .notes-list li:before{
  content: "※";
}


/* プライバシーポリシーに同意 */

input[type="checkbox"]{
  display:none;
}

 .wpcf7-list-item label{
  position:relative;
}

/* 枠 */
.wpcf7-list-item label::before{
  content:"";
  position:absolute;
  left: 0;
  top:50%;
  transform:translateY(-50%);
  width:16px;
  height:16px;
  border: 1px solid var(--accent-color01);
}

/* チェックマーク */
input[type="checkbox"]:checked + .wpcf7-list-item-label::after{
  content:"";
  position:absolute;
  left: -18px;
  top: 50%;
  transform:translateY(-60%) rotate(45deg);
  width:6px;
  height:10px;
  border-right:2px solid var(--accent-color01);
  border-bottom:2px solid var(--accent-color01);
}

.form-comment {
  box-sizing: border-box;
  border: solid 1px var(--accent-color02);
  width: 100%;
  background: var(--bg-color02);
  height: 12em;
  padding: 0.5em;
}


.agree-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
}

.agree-link {
  width: fit-content;
  font-size: 14px;
  border-bottom: solid 1px;
  margin: 0.5em auto;
}

.agree-link a:hover {
  opacity: 0.8;
}

.agree-unit .must::after{
  padding: 6px;
}

.agree-unit .wpcf7-list-item label::before{
left: -24px;
}

/* フォームボタン */
.form-btn__wrap {
  margin-top: 40px;
  text-align: center;
}

.form-btn {
  width: 280px;
  height: 50px;
  border: 0;
  background-color: var(--main-color);
  color: #fff;
  transition: 0.3s ease;
  cursor: pointer;
}

.form-btn:hover {
  background-color: #fff;
  color: var(--main-color);
  border: solid var(--accent-color01) 1px;
}

.form-btn__notes{
  display: block;
  font-size: 13px;
  color: var(--accent-color02);
  margin-bottom: 0.5em;
}

.submit-btn {
  border: 0;
  background-color: var(--main-color);
  color: #fff;
  transition: 0.3s;
  padding: 0 4em;
}

.back-btn:hover,
.submit-btn:hover {
  opacity: 0.7;
}


.wpcf7-not-valid-tip {
color: var(--color-red)!important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
  border: var(--accent-color02) solid 1px;
  background-color: var(--bg-color02);
  color: var(--color-red);
}


/* 送信完了画面 */
.to-top {
  display: block;
  margin: 48px auto;
  padding: 0.5em;
}


/* お問い合わせフォーム変更（ファイル選択ボタンのデザインを全端末で統一）ここから */

/* ファイルアップロード周りのレイアウト */
.file-upload-wrapper {
  display: flex;
  align-items: center; /* 縦の中央揃え */
  gap: 10px; /* ボタンとテキストの隙間 */
  margin-bottom: 15px; /* 注釈リストとの余白 */
}

/* デザインされるボタン（label要素） */
.custom-file-upload {
  cursor: pointer;
}

/* スタンダードなボタンのデザイン */
.custom-file-upload .btn-text {
  display: inline-block;
  padding: 4px 12px;
  background-color: #efefef; /* 標準的なグレー */
  color: #000000;
  font-size: 14px;
  border: 1px solid #767676; /* 標準的なボーダー */
  border-radius: 3px; /* わずかな角丸 */
  box-sizing: border-box;
  transition: background-color 0.2s;
}

/* パソコンでのマウスホバー時の動作 */
.custom-file-upload:hover .btn-text {
  background-color: #e5e5e5;
}

/* CF7が出力する本来のファイル選択ボタンを非表示にする */
.custom-file-upload input[type="file"] {
  display: none;
}

/* ファイル名のテキストデザイン */
.selected-file-name {
  font-size: 15px;
  color: #000000;
}

/* 注釈リストのデザイン（画像の赤文字に寄せる場合） */
.notes-list {
  list-style: none;
  padding-left: 0;
  color: #a04040; /* 画像に近い赤系の色 */
  font-size: 14px;
  margin: 0;
}



/*==================================================

投稿ページ

====================================================*/
.article-contents__aligned{
   display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  /* width: var(--container-lg); */
  margin: 0 auto;
  max-width: 1160px;
  width: 90%;
}

/* 見出し */

.page-article__wrap .entry-title{
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 18px;
}

h2.wp-block-heading{
  background-color: var(--bg-color01);
  font-size: 24px;
  font-weight: bold;
  padding: 0.5em;
  display: block;
  margin-bottom: 1em;
}

h2.wp-block-heading span{
  background: none;
  padding: 0;
  display: inline;
}


h3.wp-block-heading{
  position: relative;
  border-bottom: solid 1px var(--main-color);
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
  padding: 0.5em;
}


h3.wp-block-heading::after{
  content: "";
  width: 80%;
  border-bottom: solid 1px var(--bg-color01);
  position: absolute;
  right: 0;
  bottom: -1px;
  overflow: hidden;
}


/* リスト */

.wp-block-list{
  margin-left: 1.5em;
}

.wp-block-list > li{
  margin: 0.5em 0;
  position: relative;
}

/* ==================================================
   Gutenberg リストブロック (.wp-block-list) の調整
================================================== */

/* -------------------------------------------
   ul (順序なしリスト) の設定
------------------------------------------- */
/* 第1階層の● */
ul.wp-block-list > li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.8em;
  transform: translateY(-50%);
  width: 0.25em;
  height: 0.25em;
  background-color: var(--accent-color01);
  border-radius: 50%;
}

/* 入れ子になっているリスト調整（共通） */
.wp-block-list li li {
  position: relative;
}
.entry-content .wp-block-list > li > .wp-block-list {
  margin: 1em 0;
  padding-left: 1em;
}

/* 第2階層以降の○（白抜き） */
/* ulの中のulにのみ適用させる */
ul.wp-block-list ul.wp-block-list > li::before {
  content: "";
  position: absolute;
  left: -0.8em;
  top: 0.9em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent-color01);
  border-radius: 50%;
  background: transparent;
  transform: none; /* 親のtranslateYをリセット */
}

/* -------------------------------------------
   ol (順序付きリスト) の設定
------------------------------------------- */
/* カウンターの初期化 */
ol.wp-block-list {
  counter-reset: number-counter;
}

/* 数字の表示 */
ol.wp-block-list > li::before {
  counter-increment: number-counter;
  content: counter(number-counter) ".";
  position: absolute;
  left: -1.5em; /* 数字とテキストの距離 */
  top: 0;
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  border-radius: 0;
  transform: none;
  color: inherit;
}

/* 入れ子のolがある場合、カウンターを再リセット */
ol.wp-block-list ol.wp-block-list {
  counter-reset: number-counter;
}

/* WordPressエディタで「小文字のローマ数字（i, ii...）」を指定した際の重複回避 */
ol.wp-block-list[style*="lower-roman"] {
  list-style-type: none !important; /* ブラウザ標準のローマ数字を強制非表示 */
}

ol.wp-block-list[style*="lower-roman"] > li::before {
  content: counter(number-counter, lower-roman) "."; /* CSSカウンターをローマ数字で出力 */
  left: -1.8em; /* ローマ数字は文字幅を取るため、少し左にずらす */
}

.wp-block-list .wp-block-list {
  margin-top: 1.5em;
}

  /* 投稿・更新日
======================================== */
.article-contents-wrap{
  margin-top: 24px;
}

.page-article__wrap .post-time,
.page-article__wrap .updated{
  font-size: 14px;
}

.info-cat__item .post-time::before,
.article-contents-wrap .post-time::before{
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(../images/post-icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 6px;
}

.page-article__wrap .updated::before{
  content: '';
  display: inline-block;
  width: 18px;
  height: 16px;
  background: url(../images/update-icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 6px;
}

.entry-meta__unit{
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.article-contents-wrap .cat-wrap a{
  color: #fff;
  background-color: var(--accent-color01);
  padding: 0.5em;
  font-size: 12px;
  line-height: 1;
  margin-left: 8px;
}

  /* 目次
======================================== */
#toc_container{
position: relative;
border-top: solid 4px var(--accent-color01) !important;
border: solid 1px var(--bg-color01);
padding: 1em;
width: 100%;
background-color: var(--bg-color02);
margin: 24px 0;
}

#toc_container a {
  display: inline;
}


#toc_container p.toc_title{
  font-size: 18px;
  font-weight: bold;
}

.toc_title::before{
  content: '';
  display: inline-block;
  width: 24px;
  height: 18px;
  background: url(../images/table-of-contents.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right:  1em;
}

.no_bullets .toc_toggle{
  margin-left: 8px;
}

.toc_toggle a:hover{
  color: var(--accent-color02);
}

.toc_toggle a:hover .toc_brackets{
  color: var(--accent-color02);
} 

.no_bullets .toc_list{
  margin-top: 1em;
}

.no_bullets .toc_list li{
  margin-bottom: 0.5em;
  position: relative;
  width: fit-content;
}

.no_bullets .toc_list li:last-child{
  margin-bottom: 0;
}

.toc_number::after{
  content: "-";
  margin-left: 0.2em;
}

.entry-content .toc_list a{
  color: inherit;
  text-decoration: none;
  font-weight: normal;
}

/* hover時に下線 */
.no_bullets .toc_list li::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px; /* ← 太さ */
  background-color: var(--main-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: 0.3s ease;
}

.no_bullets .toc_list li:hover::after{
  transform: scaleX(1);
}

.no_bullets .toc_list li a:hover{
  opacity: 0.8;
  color: var(--accent-color01);
}


  /* ブログカード
======================================== */
.blog-card{
  background-color: var(--bg-color02);
  padding: 40px;
  box-shadow: 4px 4px 8px rgba(219,219,219,0.8);
  margin: 40px 0;
}

.blog-card-body-outer{
  display: flex;
  align-items: center;
gap: 40px;
margin-top: 1em;
}

.blog-card-title{
  font-size: 24px;
  font-weight: bold;
}

.blog-card-image-outer{
  max-width: 240px;
  flex-shrink: 0;
}


/* hoverで下線 */
.entry-content .blog-card-title a{
  position: relative;
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(var(--main-color), var(--main-color));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
color: var(--main-color);	
}

.entry-content .blog-card-title a:hover{
  background-size: 100% 1px;
  text-decoration: none;
  color: var(--main-color);
opacity: 0.8;	
}

/* ボタン・誘導 */
.btn-ext{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  max-width:  100%;
  padding: 0.5em 1em;
  background: var(--main-color);
  margin-top: 1em;
  transition: transform .25s ease;
   position: relative; /*btn-flashの効果 */
}

.btn-ext__text{
  color: #fff;
  font-size: 14px;
}

.btn-ext__icon{
  width: 16px;   /* 添付の比率に近い */
  height: 16px;
  flex: 0 0 auto;
  color: #fff;
}


/* お問い合わせ誘導
======================================== */
.post-contact-induce__wrap{
  width: 100%;
  background-color: var(--bg-color01);
  padding: 24px;
  margin-top: 40px;
  box-shadow: 2px 2px 4px rgba(154,153,153,0.5);
}

.post-contact-induce__wrap .contact__en{
  display: block;
  font-family: var(--font-EN);
  font-weight: bold;
  text-align: center;
  margin: 0 0 4px;
  line-height: 1.2;
}

.post-contact-induce__wrap .contact__ttl{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin: 0;
}

.post-contact-induce__wrap .contact-unit{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.post-contact-induce__wrap .contact-unit > .text{
  margin: 0;
  line-height: 1.5;
}

.post-contact-induce__wrap .wp-block-button.base-btn{
  width: 240px;
  height: 56px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.post-contact-induce__wrap .contact-post-induce__btn{
  width: 240px;
  height: 56px;
  margin: 0;
  padding: 0;
}

.post-contact-induce__wrap .contact-post-induce__btn .wp-block-button__link{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: 0 48px 0 24px;
  background: var(--main-color);
  color: #fff;
  border-radius: 0;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
  box-sizing: border-box;
}

/* テキスト */
.post-contact-induce__wrap .contact-post-induce__btn .text{
  display: inline-block;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

/* 矢印 */
.post-contact-induce__wrap .contact-post-induce__btn .wp-block-button__link::after{
  content: "→";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

/* hover */
.post-contact-induce__wrap .contact-post-induce__btn .wp-block-button__link:hover{
  opacity: 0.85;
}

.post-contact-induce__wrap .contact-post-induce__btn .wp-block-button__link:hover::after{
  transform: translateY(-50%) translateX(2px);
}


  /* フロー
======================================== */
.flow-all__wrap{
  position: relative;
  margin: 40px 0 80px;
}

.flow-contents__aligned{
  position: relative;
  z-index: 1;
}

.flow-number__parts{
  position: relative;
  z-index: 2;
}

.flow-contents__wrap{
  position: relative;
  padding-right: 24px;
  padding-bottom: 80px;
}

.flow-contents__wrap:last-of-type{
  padding-bottom: 0;
}

/* 左の縦ライン */
.flow-contents__wrap::before{
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  bottom: -34px;
  width: 4px;
  background: var(--accent-color01);
  z-index: 0;
}

.flow-contents__wrap:last-child::before{
  bottom: 0;
  background: none;
}

.flow-contents__aligned{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 68px 1fr;
  column-gap: 24px;
  align-items: start;
}

/* STEP番号 */
.flow-number__parts{
  width: 56px;
  height: 56px;
  background: var(--accent-color01);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

/* 文章側 */
.flow-unit{
  padding: 14px 0 0;
}

.flow-ttl{
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.flow-unit .text{
  margin-top: 1em;
}

.flow-unit .text + .text{
  margin-top: 18px;
}


/* ボタン位置調整 */
/* .flow-unit .wp-block-button{
  margin-top: 28px;
} */

.flow-unit .wp-block-button__link{
  min-width: 240px;
  text-align: center;
  padding: 16px 24px;
}


  /* ブロックボタン
======================================== */
/* ボタン本体 */



.wp-block-button.base-btn__post{
  width: fit-content;
}

.wp-block-button.base-btn__post .wp-block-button__link{
  position: relative;
  min-width: 240px;
  width: auto;
  padding: 0.8em 48px 0.8em 24px;
  background-color: var(--main-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: opacity .3s ease;
  overflow: hidden;
  border-radius: 0;
  margin-top: 24px;
  white-space: pre-line;
}


/* hover */
.wp-block-button.base-btn__post .wp-block-button__link:hover{
  opacity: .9;
}

/* 矢印 */
.wp-block-button.base-btn__post .wp-block-button__link::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 15px;
  height: 10px;
  transform: translate(-5px, -50%);
  transition: transform .3s ease;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 15 12'%3E%3Cpath d='M1,5 L11,5' stroke='black' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3Cpolyline points='8 1 12 5 8 9' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 15 12'%3E%3Cpath d='M1,5 L11,5' stroke='black' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3Cpolyline points='8 1 12 5 8 9' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  pointer-events: none;
}

.wp-block-button.base-btn__post .wp-block-button__link:hover::after{
  transform: translate(0, -50%);
}

.wp-block-button.base-btn__post .wp-block-button__link{
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}

.wp-block-button.base-btn__post .wp-block-button__link::before{
  content:'';
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background-image: linear-gradient(
    130deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0) 80%
  );
  transition: left .5s ease;
  z-index: 0;
  pointer-events:none;
}
.wp-block-button.base-btn__post .wp-block-button__link:hover::before{
  left:120%;
}

.wp-block-button.base-btn__post .wp-block-button__link{
  z-index: 1;
}

/* 前後ページ遷移
======================================== */
.post-nav{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 80px;
}

.post-nav__item--prev{
  grid-column: 1;
}

.post-nav__item--next{
  grid-column: 2;
}

.post-nav__item{
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.post-nav__label{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0.5em 2em;
  font-size: 14px;
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  letter-spacing: .04em;
  width: fit-content;
}

.post-nav__item--prev .post-nav__label{
  justify-self: start;
}
.post-nav__item--next .post-nav__label{
  justify-self: end;
}

/* サムネイル */
.post-nav__thumb{
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.post-nav__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: solid 1px var(--bg-color01);
  transition: transform 0.3s ease;
}

.post-nav__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  transform: translateY(18%);
  /* transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1); */
  transition: all .3s ease;
}

.post-nav__cover{
  position: absolute;
  left: 1px;   /* 左の枠線1pxを避ける */
  bottom: 1px; /* 下の枠線1pxを避ける（ここを追加） */
  width: calc(100% - 2px);  /* 左右の枠線2px分を引く */
  height: calc(100% - 2px); /* 上下の枠線2px分を引く（ここを変更） */
  background: rgba(22, 22, 22, 0.8);
  transform: scaleY(0.4);
  transform-origin: bottom;
  /* transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1); */
  transition: all .3s ease;
}

/* ★ここを調整（タイトル） */
.post-nav__title{
  position: relative;
  left: auto;
  right: auto;
  bottom: 3%;
  transform: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.5em 12%;
  z-index: 1;
}

/* hover時 */
.post-nav__item:hover .post-nav__overlay{
  transform: translateY(0);
}

.post-nav__item:hover .post-nav__cover{
  transform: scaleY(1);
}

.post-nav__overlay {
  justify-content: flex-start;
}


.post-nav__item:hover .post-nav__overlay {
  align-items: center;
  padding-top: 0;
}

.post-nav__item:hover .post-nav__title{
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  bottom: auto;
  padding: 0 0.5em;
}

 /* 著者情報
======================================== */
.author-wrap{
  margin-top: 80px;
}

.author-wrap .author-ttl{
  font-size: 20px;
  font-weight: bold;
}

.author-wrap .author-unit{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 12px;
}

.author-img__wrap{
  flex: 0 0 24%;
  max-width: 200px;
  margin-top: 32px;
}

.author-text__wrap .author-name{
  font-weight: bold;
  margin-bottom: 0.5em;
}

.author-text__wrap .text{
  font-size: 14px;
  line-height: 2;
}

/*==================================================

サイドバー

====================================================*/
.sidebar-wrap{
  max-width: 320px;
}

aside .widget:not(:first-of-type){
margin-top: 40px;
}

h4.widget-title{
  position: relative;
  border-bottom: solid 1px var(--main-color);
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 2;
  padding: 0 0.5em;
}

h4.widget-title::after{
  content: "";
  width: 70%;
  border-bottom: solid 1px var(--bg-color01);
  position: absolute;
  right: 0;
  bottom: -1px;
  overflow: hidden;
}

.widget-unit__sidebar{
  padding: 32px 8px 0;
}

.contact-induce__sidebar{
  margin-top: 32px;
}


  /* コンテンツ・目次
======================================== */

.toc_widget{
padding: 24px;
background-color: var(--bg-color02);
margin-top: 24px;
border-top: solid 4px var(--accent-color01);
}

.toc_widget_list{
  padding-top: 1em;
}

.toc_widget_list li{
  margin-bottom: 0.5em;
    line-height: 1.2;
    position: relative;
}

.toc_widget_list li a{
display: block;
padding: 0.35em 0.5em 0.35em 1.5em;
text-decoration: none;
text-indent: -1em;
}

/* hoverで下線 */
.toc_widget_list li a:hover{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--main-color);
  opacity: 0.8;
}

/* activeで表示 */
#toc-widget-9 .toc_widget_list li a.active{
  background-color: var(--accent-color01);
  color: #fff;
}

/* 目次スクロール・マージン調整 */
.single-regulations .entry-content span[id] {
  scroll-margin-top: 120px;
}

/* ========================================================== サイドバーの目次 ========================================================== */
/* サイドバー目次エリアのスクロール追従設定 */
#toc-widget-9 {
    position: sticky;
    top: 80px; /* 固定ヘッダーがある場合は、その高さに合わせて数値を大きくしてください（例：80pxなど） */
    max-height: calc(100vh - 40px); /* 画面の高さに収める */
    overflow-y: auto; /* 縦にはみ出した場合はスクロールバーを表示 */
   background-color: var(--bg-color02); /* 背景色を指定（スクロール時の文字重なり防止） */
    z-index: 10; /* 他の要素より手前に表示 */
    padding-bottom: 20px; /* 下部の余白 */
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* 見出し2つ以内は削除 */
.toc_widget:empty {
  display: none;
}

.sidebar-sticky{
  position: sticky;
  top: 120px;
}

.sidebar-sticky .toc_widget{
  position: static;
}

.sidebar-sticky .contact-induce__sidebar{
  margin-top: 24px;
}

 /* お問い合わせ誘導
======================================== */

.contact-induce__sidebar .sidebar-contact__wrap{
  width: 100%;
  background: var(--main-color);
  padding: 24px;
  /* margin-top: 24px; */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-induce__sidebar  .sidebar-contact__en{
  display: block;
  font-family: var(--font-EN);
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.contact-induce__sidebar  .sidebar-contact__ttl{
  font-size: 22px;
  font-weight: bold;
    text-align: center;
  line-height: 1.2;
    color: #fff;  
}

.contact-induce__sidebar .base-btn{
  margin: 24px auto 0 auto;
  max-width: 250px;
  background-color: #fff;
  padding: 0.5em 0;
}

.contact-induce__sidebar .text{
  text-align: center;
  margin: 1em auto 0 auto;
  line-height: 1.5;
  color: #fff;
}

.contact-induce__sidebar .base-btn .text{
font-size: 14px;
color: var(--main-color);
margin-left: -0.5em;
}

.contact-induce__sidebar .base-btn svg{
  stroke: var(--main-color);
  top: 19px;
	right: 8px;
}

 
  /* 関連・新着
======================================== */
.article-list__sidebar li{
  padding: 8px 0;
  border-bottom: solid var(--bg-color01);
  display: flex;
 justify-content: center;
 align-items: center;
 gap: 24px;
}

.article-list__sidebar .article-ttl {
font-weight: bold;
line-height: 1.25;
position: relative;
}

.article-list__sidebar .article-img,
.widget-unit__sidebar .postlist-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  border: solid 1px var(--bg-color02);
}

.widget-unit__sidebar .postlist-img{
  object-fit: contain;
  border: solid 1px var(--bg-color01);
}

.article-list__sidebar .article-img:hover,
.widget-unit__sidebar .postlist-img:hover {
    transform: scale(1.1);
}



.article-list__sidebar .article-list__unit{
  flex: 1;
  min-width: 0;
}


/* hover時に下線 */
.article-list__sidebar .article-ttl a{
  position: relative;
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(var(--main-color), var(--main-color));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}

.article-list__sidebar .article-ttl a:hover{
  background-size: 100% 1px;
}

.article-list__sidebar .article-ttl:hover{
  opacity: 0.8;
}


 /* カテゴリー
======================================== */
.cat-list__sidebar li a {
padding: 0.5em;
font-weight: bold;
position: relative;
transition: 0.3s ease-in-out;
display: block;	
}

/* くの字矢印 */
.cat-list__sidebar li a::after{
  content:"";
  position:absolute;
  top:50%;
  right: 8px;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  transform: translateY(-50%) rotate(45deg);
}

.cat-list__sidebar li a:hover{
  background-color: var(--accent-color01);
	cursor: pointer;
  color: #fff;
 -webkit-text-fill-color: #fff;  
}

.cat-list__sidebar li a:hover::after{
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}


/* リスト全体（必要に応じて） */
.caseList{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 28px;
}

/* カード本体 */
.caseCard{
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* 画像エリア */
.caseCard__media{
  position: relative;
  height: 190px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

/* 画像の下に白が乗ってくる「抜け」 */
.caseCard__media::after{
  content:"";
  position:absolute;
  inset: 0;
  background:
    /* 下方向に白くフェード */
    linear-gradient(to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 42%,
      rgba(255,255,255,.85) 78%,
      rgba(255,255,255,1) 100%
    ),
    /* ほんの少し空気感 */
    radial-gradient(700px 220px at 50% 100%,
      rgba(255,255,255,.9) 0%,
      rgba(255,255,255,0) 60%
    );
  pointer-events: none;
}

/* 左上のカテゴリタグ */
.caseCard__tag{
  position:absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(0,0,0,.82);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ボディ */
.caseCard__body{
  padding: 18px 18px 20px;
}

/* タイトル */
.caseCard__title{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: .02em;
  font-weight: 800;
  color: #111;
}

/* 本文 */
.caseCard__text{
  margin: 0 0 16px;
  color: rgba(0,0,0,.78);
  font-size: 15px;
  line-height: 1.85;
}

/* メタ（適用指令） */
.case-meta__unit{
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.12);
}

.case-meta__unit .heading{
  font-size: 13px;
  color: var(--accent-color01);
  font-weight: 700;
  margin-bottom: 8px;
}

.case-meta__unit .case-meta{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}


/*==================================================

検索結果

====================================================*/
.search-wrap{
  margin: 80px auto;
}

.search-result{
  font-size: 28px;
  font-weight: bold;
  margin: 40px -0.5em;
}

.search-result__unit{
  margin-bottom: 40px;
}

.search-result__unit:last-of-type{
  margin-bottom: 0;
}


.search-result__unit .search-ttl{
  font-size: 22px;
  color: var(--accent-color01);
}

.search-result__unit .search-ttl a {
    display: inline;
    text-decoration: underline;
    text-decoration-color: var(--accent-color01);
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: 0.3s;
    line-height: 1.5;
}

a.search-link {
    display: inline-block;
    color: var(--accent-color01);
    line-height: 1.5;
    font-size: 14px;
    margin: 0.5em 0;
    font-weight: bold;
    padding: 2px 8px;
    transition: 0.3s ease-in-out;
    background-color: var(--bg-color02);
    overflow-wrap: anywhere;
}


.search-result__unit .search-ttl a:hover{
  color: var(--accent-color02);
  border-color: var(--accent-color02);
  opacity: .9;
}

.search-result__unit .search-text{
  font-size: 14px;
}

.search-result__unit .search-ttl a:hover,
.search-link:hover{
  color: var(--accent-color02);
   border-color: var(--accent-color02);
  opacity: .9;
  background-color: none;
}

.search-result__sup{
  display: block;
  font-size: 14px;
  margin: 0.5em 1em;
font-weight: normal;
color: var(--accent-color01);
}


/*==================================================

プライバシーポリシー

====================================================*/
.privacy-contents__wrap{
  margin-bottom: 40px;
}


.privacy-ttl{
  position: relative;
  border-bottom: solid 1px var(--main-color);
  padding: 0;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1em;
  padding: 0.5em;
}

.privacy-ttl::after{
  content: "";
  width: 60%;
  border-bottom: solid 1px var(--bg-color01);
  position: absolute;
  right: 0;
  bottom: -1px;
  overflow: hidden;
}

/*==================================================

公告

====================================================*/

.koukoku-wrap .is-style-link-i{
  margin-bottom: 1em;
  font-size: 18px;
  font-weight: bold;
}

.koukoku-wrap .is-style-link-i a{
padding: 0 10px;  
}

/*==================================================

404ページ

====================================================*/

.page-top__contact .top-heading__404{
  font-size: 18px;
  letter-spacing: 1px;
}




/*==================================================

〜1240px　ヘッダー

====================================================*/

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

  .top-nav__list{
    display: none;
  }

  .header-nav__sp{
    display: block;
  }
 
#header__ham.ham-btn{
  position: fixed;
  z-index: 1300;
  top: 20px;
  right: 2%;
  width: 94px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

#header__ham.ham-btn:focus-visible{
  outline: 2px solid rgba(0,0,0,.35);
  outline-offset: 4px;
  border-radius: 6px;
}

.ham-text{
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--main-color);
}


.ham-icon{
  width: 34px;
  height: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 線 */
.ham-line{
  width: 24px;
  height: 2px;
  background-color: var(--main-color);
  border-radius: 999px;
  transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
}

/* hover */
#header__ham.ham-btn:hover .ham-text{
  color: var(--accent-color01);
}
#header__ham.ham-btn:hover .ham-line{
  background-color: var(--accent-color01);
}

#header__ham.is-open .ham-text{
  color: var(--accent-color01);
}
#header__ham.is-open .ham-line{
 background-color: var(--accent-color01);
}
#header__ham.is-open .ham-line:nth-child(1){
  transform: translateY(5px);
}
#header__ham.is-open .ham-line:nth-child(2){
  transform: translateY(-4px);
}

/* SPメニュー */
.sp-nav{
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  transition: opacity .3s ease, visibility .3s ease, z-index .3s ease;
}

.sp-nav.is-open{
  z-index: 999;
  opacity: 1;
  visibility: visible;
}

.sp-nav__wrap{
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.header-nav__list02{
  margin: 0;
  padding: 40px 20px;
  list-style: none;
  position: fixed;
  top: 80px;
  width: 100%;
  box-sizing: border-box;
}

.header-nav__list02 li{
  list-style: none;
}

/* 親メニューの高さを統一 */
.header-nav__list02 > li > a,
.menu-parent-row > a{
  display: block;
  width: 100%;
  padding: 16px 0.5em;
  line-height: 1.4;
  border-bottom: solid 1px var(--accent-color02);
  box-sizing: border-box;
  margin: 0;
}

/* 子を持たない通常メニュー */
.header-nav__list02 > li:not(.has-child02) > a{
  position: relative;
  padding-right: 2.2em;
}

/* 親行 */
.menu-parent-row{
  position: relative;
  display: flex;
  align-items: stretch;
}

/* 親リンク */
.menu-parent-row > a{
  flex: 1;
  padding-right: 60px;
}

/* トグルボタン */
.menu-toggle{
  position: absolute;
  top: 0;
  right: 12px;
  width: 40px;
  height: 100%;
  min-height: 56px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* くの字矢印 */
.menu-toggle::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.menu-toggle::before{
  content: none;
}

.has-child02.open .menu-toggle::after{
  transform: translate(-50%, -20%) rotate(-135deg);
}

/* SPドロップダウン */
.child-menu{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  margin: 0;
  padding: 0;
}

.has-child02.open .child-menu{
  max-height: 500px;
  opacity: 1;
}

.child-menu li a{
  display: block;
  padding: 0.5em 3em;
  font-size: 14px;
  font-weight: bold;
  border: none !important;
  margin: 1em 0;
  width: 100%;
  box-sizing: border-box;
   text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.3s ease, opacity 0.3s ease;
}

/* hover時に下線 */
  .child-menu li a:hover{
    text-decoration-color: var(--main-color);
    opacity: 0.8;
  }


.child-menu li:last-child{
  padding-bottom: 1em;
}

/* メニュー右上の検索ボタン */
/* 右上配置（スマホメニュー内の検索ボタン） */
.search-btn{
  position: fixed;
  top: 12px;
  right: 124px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  z-index: 1300;
}

.search-btn img{
  width: 20px;
  height: 20px;
  display: block;
}

/* ハンバーガーメニューのお問い合わせボタン */
.header-nav__list02 li:nth-child(7) a{
  padding: 1em 0;
  margin-top: 40px;
  font-size: 15px;
}

a.contact-btn__sp{
 width: 200px;
 font-size: 14px;
 margin: 12px 0 0 0;
 position: fixed;
 top: 0;
 right: 180px;
 padding: 0.5em;
 z-index: 1300;
}

.contact-btn__sp svg{
  top: 1em;
  right: 8px;
}

/* hover時に下線 */

.header-nav__list02 > li:not(:nth-child(7)) > a,
  .menu-parent-row > a{
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
    transition: text-decoration-color 0.3s ease, opacity 0.3s ease;
  }

  .header-nav__list02 > li:not(:nth-child(7)) > a:hover,
  .menu-parent-row > a:hover{
    text-decoration-color: var(--main-color);
  }


/* FV */
.hero-area__aligned{  
  gap: 0px;
}

.hero-area__news{
    max-width: 450px;
  }

.base-btn svg {
  right: 8px;
}

/* END   */
}

/*==================================================

〜1024px
小さめノートPC・タブレット横

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

  /* common
======================================== */

  :root{
    --container-lg: min(92%, 1000px);
    --container-mid: min(92%, 920px);
  }

  .page-sec__block01,
  .page-sec__block02,
  .top-sec__wrap{
    margin: 96px auto;
  }

  .page-sec__bg{
    margin: 80px auto;
    padding: 80px 0;
  }

  .top-main__wrap{
    margin-top: 140px;
  }

  .page-main__post{
    margin-top: 140px;
  }

  .contents-desc__wrap{
    margin: 56px auto;
  }


  /* フッター */
  .footer-contact__wrap{
    padding: 48px 32px;
  }

  .footer-contact__aligned{
    gap: 24px;
  }

  .footer-problem__ttl{
    font-size: 18px;
  }

  .panel-inner{
    padding: 56px 32px;
  }

  .panel-en{
    font-size: 38px;
  }

  .footer-menu__aligned{
    padding: 40px 32px;
    gap: 32px;
  }

  .footer-menu__unit02{
    gap: 40px;
  }

  .copyrights{
    padding: 1em 32px;
  }  

/* トップページ
======================================== */  

  /* FV */
  .hero-area__aligned{
    gap: 48px;
    align-items: flex-start;
  }

  .hero-area__copy{
    width: 56%;
  }

  .hero-area__news{
    width: 44%;
    margin-top: 0;
  }

  .hero-area__copy .main-copy{
    font-size: clamp(36px, 4.8vw, 54px);
  }

  .hero-area__news__ttl{
    font-size: 24px;
  }

  .fv-news__item{
    padding: 1.25em 1em;
  }

  /* intro */
  .intro-aligned{
    gap: 64px;
  }

  .intro-text__wrap{
    width: 55%;
  }

  .intro-imgf{
    max-width: 300px;
  }

  /* サービス */
  .top-service__list{
    gap: 32px;
    padding: 32px;
  }

  .top-service__list li{
    width: calc(50% - 16px);
  }

  .top-service__list li a{
    max-width: 100%;
  }

  .top-service__ttl{
    font-size: 21px;
  }

  /* 強み */
  .top-features__aligned{
    gap: 32px;
  }

  .top-features__unit{
    width: auto;
    max-width: 280px;
  }

  .top-features__ttl{
    font-size: 18px;
  }

  /* 中段お問い合わせ */
  .induce-contact__wrap__mid{
    padding: 32px 24px;
  }

  .induce-contact__aligned__mid{
    gap: 24px;
  }

  .induce-contact__btn{
    width: 320px;
  }

  /* 事例 */
  .home .top-case__list{
display: block;
  } 

  .case-ttl{
    font-size: 20px;
    height: auto;
    min-height: auto;
  }

  .top-case__list .desc-text{
    height: auto;
    min-height: auto;
  }

  .top-case__list li{
    margin-bottom: 40px;
  }


/* サービス案内
======================================== */  
  .service-list__aligned{
    grid-template-columns: 320px 1fr;
    gap: 24px;
  }

  .service-list__unit .ttl{
    font-size: 24px;
  }

/* 各サービス
======================================== */

  .service-desc__aligned{
    width: 90%;
    gap: 24px;
  }

  .service-desc__img{
    max-width: 320px;
  }

  .service-desc__text{
    width: auto;
    flex: 1;
  }

  .service-ttl{
    font-size: 32px;
  }

  .features-aligned{
    gap: 16px;
    padding: 0 16px;
  }

  .features-aligned .ttl{
    width: 240px;
    flex: 0 0 240px;
    font-size: 20px;
  }

  .features-aligned .ttl-adj{
    font-size: 19px;
  }

  .service-flow__card{
    padding: 24px 32px 24px 64px;
  }

  .service-flow__ttl{
    font-size: 22px;
  }


/* 会社情報
======================================== */  
  .message-wrap__aligned{
    gap: 40px;
  }

  .message-text__unit .ttl{
    font-size: 22px;
  }


/* 法規制一覧
======================================== */  
  .reg-list__aligned{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reg-list__contents .ttl{
    font-size: 22px;
  }


/* 事例
======================================== */  
  .case-card__aligned{
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    max-width: 100%;
  }


/* お問合わせフォーム
======================================== */  
  .form{
    padding: 0 24px;
  }

  .contact-desc__wrap{
    margin: 56px auto;
  }


/* カテゴリー
======================================== */  
  .info-cat__aligned{
    gap: 32px;
    width: var(--container-lg);
  }

  .info-cat__item .cat-ttl a{
    font-size: 17px;
    line-height: 1.7;
  }

  .info-cat__item .cat-item{
    font-size: 12px;
    padding: 2px 10px;
  }

/* 投稿ページ
======================================== */  
  .article-contents__aligned{
    grid-template-columns: 1fr 280px;
    gap: 48px;
  }

  .page-article__wrap .entry-title{
    font-size: 28px;
    line-height: 1.4;
  }

  h2.wp-block-heading span{
    font-size: 22px;
    margin-bottom: 1.25em;
  }

  h3.wp-block-heading{
    font-size: 18px;
    margin-bottom: 1.25em;
  }

  /* 目次 */
  #toc_container{
    margin: 32px 0;
    padding: 1em;
  }

  #toc_container p.toc_title{
    font-size: 17px;
  }

  /* ブログカード */
  .blog-card{
    padding: 32px 24px;
  }

  .blog-card-body-outer{
    gap: 24px;
  }

  .blog-card-title{
    font-size: 22px;
    line-height: 1.5;
  }

  .blog-card-image-outer{
    max-width: 240px;
    flex: 0 0 240px;
  }

  /* 記事内お問い合わせ */
  .post-contact-induce__wrap .contact__ttl{
    font-size: 22px;
  }

  .post-contact-induce__wrap .contact-unit{
    gap: 20px;
  }

  .post-contact-induce__wrap .base-btn{
    width: 200px;
    flex-shrink: 0;
  }

  /* フロー */
  .flow-all__wrap{
    margin: 32px 12px;
  }

  .flow-contents__aligned{
    grid-template-columns: 60px 1fr;
    column-gap: 20px;
  }

  .flow-contents__wrap::before{
    left: 22px;
  }

  .flow-number__parts{
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .flow-ttl{
    font-size: 21px;
  }

  /* 著者情報 */
  .author-wrap .author-unit{
    gap: 24px;
  }


  .author-text__wrap .text{
    line-height: 1.9;
  }

  /* 前後ページ遷移 */
  .post-nav{
    gap: 24px;
  }

  .post-nav__label{
    padding: 0.5em 1.25em;
    font-size: 13px;
  }

.post-nav__title{
    font-size: 14px;
  }

/* サイドバー
======================================== */  
  .sidebar-wrap{
    max-width: 280px;
  }

  h4.widget-title{
    font-size: 18px;
  }

  .toc_widget{
    padding: 20px;
  }

  .contact-induce__sidebar .sidebar-contact__wrap{
    padding: 20px;
  }

  .contact-induce__sidebar .sidebar-contact__ttl{
    font-size: 21px;
  }

  .contact-induce__sidebar .base-btn{
    max-width: 220px;
  }

  .article-list__sidebar li{
    gap: 16px;
  }

  .article-list__sidebar .article-img{
    width: 72px;
    height: 72px;
  }

/* お問合わせフォーム
======================================== */  
  .caseList{
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
  }

  .caseCard__title{
    font-size: 20px;
  }

  .caseCard__text{
    font-size: 14px;
    line-height: 1.8;
  }
}

/*==================================================

〜920px　サイドバー　1カラム

====================================================*/

@media screen and (max-width: 920px){
  .article-contents__aligned{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sidebar-wrap{
    max-width: 100%;
  }

  .sidebar-sticky{
    display: none;
  }

  
  /* end   */  
}
/*==================================================

〜767px


====================================================*/
@media screen and (max-width: 767px) {

/* common
======================================== */    
  :root{
    --container-lg: min(90%, 100%);
    --container-mid: min(90%, 100%);
  }

  body{
    line-height: 1.7;
    font-size: 14px;
  }

  .top-main__wrap{
    margin-top: 80px;
  }

  .page-main__post{
    margin-top: 120px;
  }

  .page-sec__block01,
  .page-sec__block02,
  .top-sec__wrap{
    margin: 80px auto;
  }

  .page-sec__bg{
    margin: 80px auto;
    padding: 64px 0;
  }

  .top-heading{
    margin-bottom: 32px;
  }

  .top-heading__EN{
    font-size: 40px;
    letter-spacing: 1.5px;
  }

  .top-heading{
    font-size: 15px;
  }

  .contents-desc__wrap{
    margin: 40px auto;
    padding: 0;
    line-height: 2;
  }

  .page-numbers{
    font-size: 13px;
    padding: 6px 12px;
  }

  /* ボタン */
  .base-btn,
  a.base-btn{
    width: 90%;
    margin: 40px auto 0;
    padding: 12px;
  }

  .base-btn svg{
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
  }

  .base-btn:hover svg{
    transform: translateY(-50%);
  }

  a.induce-contact__btn{
    margin: 0 auto;
  }

  .logo-img{
    width: 140px;
  }

  .search-btn{
    right: 108px;
  }


  /* お問い合わせ誘導 */
  .induce-contact__wrap__mid{
    padding: 32px 20px;
    margin: 40px auto;
  }

  .induce-contact__aligned__mid{
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
  }

  .induce-contact__aligned__mid .text{
    margin-top: 0;
    font-size: 14px;
  }

  .induce-contact__heading .top-heading__EN{
    font-size: 30px;
  }

  .induce-contact__btn{
    width: 100%;
  }

  
  
/* テーブル*/
/* 文字サイズ調整 */
table td,
table th{
  font-size: 12.5px !important;
  -webkit-text-size-adjust: 100%;
}
  
.article-contents-wrap{
  min-width: 0;
}

.entry-content{
  min-width: 0;
}

/* テーブル横スクロール */
  .entry-content figure.wp-block-table{
    display: block;
    max-width: 100%;
    overflow-x: visible;
    margin: 24px 0;
  }

  .entry-content figure.wp-block-table table{
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .entry-content figure.wp-block-table.is-scrollable-table{
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    position: relative;
    max-width: 100%;
  }

  .entry-content figure.wp-block-table.is-scrollable-table table{
    width: 600px !important;
    min-width: 600px !important;
    max-width: none !important;
    table-layout: auto;
  }

  .entry-content figure.wp-block-table.is-scrollable-table th,
  .entry-content figure.wp-block-table.is-scrollable-table td{
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .entry-content figure.wp-block-table::before,
  .entry-content figure.wp-block-table::after{
    content: none;
  }

  .entry-content figure.wp-block-table.is-scrollable-table::before,
  .entry-content figure.wp-block-table.is-scrollable-table::after{
    content: "← 横スクロールできます →";
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--accent-color02);
    letter-spacing: 0.05em;
  }

  .entry-content figure.wp-block-table.is-scrollable-table::before{
    margin-bottom: 8px;
  }

  .entry-content figure.wp-block-table.is-scrollable-table::after{
    margin-top: 8px;
  }

  /* へッター */
  .menu-toggle{
    right: 0px;
  }

  .child-menu li a{
    padding: 0.5em 1em;
  }

  .header-nav__list02 > li:not(:nth-child(7)) > a,
  .menu-parent-row > a, 
   .child-menu li a {
    text-decoration: none;
    transition: opacity 0.3s ease;
  }

  .header-nav__list02 > li:not(:nth-child(7)) > a:active,
  .menu-parent-row > a:active,
  .child-menu li a:hover {
    opacity: 0.7;
  }

  /* フッター */
  .footer-wrap{
    margin-top: 80px;
  }

  .footer-logo .logo-img{
    margin-left: -10px;
  }

  .footer-contact__wrap{
    padding: 40px 20px;
  }

  .footer-contact__heading .top-heading__EN{
    font-size: 30px;
  }

  .footer-contact__aligned{
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
  }

  .footer-conact-text__wrap .HL-text{
    font-size: 16px;
    text-align: center;
  }

  .footer-conact-text__wrap .text{
    font-size: 14px;
  }

  .footer-problem__wrap{
    width: fit-content;
    margin-top: 32px;
  }

  .footer-problem__ttl{
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
  }

  .footer-problem__list{
    width: 100%;
  }

  .footer-problem__list li{
    font-size: 14px;
    line-height: 1.8;
    margin-left: 28px;
  }

  .footer-problem__list li::before{
    left: -24px;
    width: 14px;
    height: 14px;
  }

  .footer-panels{
    grid-template-columns: 1fr;
  }

  .panel-unit:first-child{
    border-right: none;
    border-bottom: 1px solid var(--accent-color02);
  }

  .panel-inner{
    padding: 32px 20px;
  }

  .panel-en{
    font-size: 30px;
  }

  .panel-jp{
    font-size: 14px;
  }

  .footer-menu__aligned{
    flex-direction: column;
    gap: 32px;
    padding: 32px 20px;
    position: relative;
  }

  .footer-menu__unit01{
    gap: 16px;
  }

  .footer-menu__unit02{
    flex-direction: column;
    gap: 24px;
  }

  .footer-menu__privacy{
    position: absolute;
    bottom: 32px;
  }

  .copyrights{
    padding: 1em 20px;
    font-size: 12px;
  }

  .footer-menu__list li:last-child{
    margin-bottom: 40px;
  }

  .footer-service__list li, .footer-menu__list li{
    margin-bottom: 1em;
  }

 /* ページ上部 */
  .page-top__wrap{
    padding: 32px 0;
  }

  .page-top__ttl{
    font-size: 24px;
  }

  .page-top__img__text{
    font-size: 14px;
    line-height: 1.8;
  }

  .page-top__wrap .text{
    margin-top: 24px;
    font-size: 14px;
    padding: 0 1em;
  }

  .breadcrumbs{
    flex-wrap: wrap;
    gap: 0.5em;
    font-size: 12px;
    margin-bottom: 32px;
  }

  .aioseo-breadcrumbs{
    margin-bottom: 24px;
  }

  
/* トップページ
======================================== */  
  .hero-area__aligned{
    flex-direction: column;
    gap: 32px;
    width: var(--container-lg);
  }

  .hero-area__copy,
  .hero-area__news{
    width: 100%;
  }

  .hero-area__copy .main-copy{
    font-size: 32px;
    margin-bottom: 1em;
  }

  .hero-area__copy .text{
    font-size: 14px;
  }

  .hero-area__news__ttl{
    font-size: 22px;
  }

  .fv-news__item{
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 1em;
    padding: 1em 0.5em;
  }

  .fv-news__date{
    font-size: 13px;
  }

  .fv-news__ttl{
    font-size: 14px;
    line-height: 1.6;
  }

  a.fv-btn{
  max-width: 240px;
  margin: 24px 0 0 0;
  }

  a.contact-btn__sp{
    display: none;
  }

  /* スライダー */
.fv-img__wrap{
  margin: 64px 0;
  height: 320px;
}

  .slider__item{
    height: 42vh;
    min-height: 260px;
  }

  /* .slider-image{
    height: 100%;
  } */

  /* intro */
  .intro-aligned{
    flex-direction: column;
    gap: 24px;
    width: var(--container-lg);
    margin-top: 24px;
  }

  .intro-text__wrap{
    width: 100%;
    line-height: 1.9;
  }

  .intro-imgf{
    max-width: 240px;
  }

  /* サービス */
  .top-service__list{
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }

  .top-service__list li{
    width: 90%;
    margin: 0 auto;
  }

  .top-service__ttl{
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
  }

  /* 強み */
  .top-features__aligned{
    flex-direction: column;
    gap: 40px;
  }

  .top-features__unit{
    max-width: 100%;
    width: 100%;
  }

  .top-features__ttl{
    font-size: 18px;
  }

  .top-features__text{
    font-size: 14px;
    line-height: 1.8;
  }

  .features-icon__bg{
    width: 76px;
    height: 76px;
  }

  .features-icon01::before{
    width: 44px;
    height: 36px;
  }

  .features-icon02::before{
    width: 30px;
    height: 36px;
  }

  .features-icon03::before{
    width: 34px;
    height: 38px;
  }

  .top-case__inner{
    padding: 16px;
    padding-top: 12px;
  }

  .case-ttl .ttl-sup{
    display: inline-flex;
  }

  .case-industry__top{
    font-size: 13px;
    padding: 6px 10px;
  }

  .case-ttl{
    font-size: 18px;
    line-height: 1.5;
    min-height: auto;
  }

  .top-case__list .desc-text{
    font-size: 14px;
    line-height: 1.8;
    min-height: auto;
    height: auto;
  }

/* 法規制一覧
======================================== */
 .page-reg-list__block{
  margin-top: 40px;
 }
  .reg-tab__list{
    width: var(--container-lg);
    grid-template-columns: 1fr;
  }

  .reg-tab__list li a::after{
    content: none;
  }

  .page-reg-list__block .reg-ttl__wrap{
    font-size: 18px;
    margin-bottom: 24px;
  }

  .reg-list__contents a{
    padding: 20px;
  }

  .reg-list__unit{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .reg-list__contents .reg-list__img{
    width: 100%;
    max-width: 100%;
  }

  .reg-list__contents .ttl,
.page-reg-list__block .reg-ttl{
    font-size: 20px;
  }

  .reg-list__text{
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.5px;
  }

  .reg-list__btn{
    position: static;
    width: 100%;
    max-width: 180px;
    left: auto;
  }

/* 事例
======================================== */
  .case-card__aligned{
    grid-template-columns: 1fr;
  }

  .case-card__aligned .desc-text{
    height: auto;
    margin-bottom: 12px;
  }

  .case-ttl__unit{
    gap: 12px;
    margin-bottom: 12px;
  }

  .case-ttl__unit .case-ttl{
    margin: 0;
  }

/* 会社情報
======================================== */
  .page-sec__message{
    padding: 24px 0 0 0;
  }

  .message-wrap__aligned{
    flex-direction: column;
    gap: 24px;
  }

  .message-text__unit{
    flex: 1 1 auto;
    padding: 0.5em;
  }

  .profile-img{
    flex: 1 1 auto;
    max-width: 350px;
    margin: 0 auto;
  }

  .message-text__unit .ttl{
    font-size: 18px;
    padding: 0.5em 0;
  }

  .company-position__unit .company-position{
    font-size: 18px;
  }

  .company-info__unit{
    flex-direction: column;
  }

  .company-info__unit dt,
  .company-info__unit dd{
    font-size: 15px;
    width: 100%;
    padding: 1em;
  }

  .profile-contents__wrap .profile-unit dt{
    width: 100%;
    padding: 1em 1em 0;
    border-bottom: none;
  }

.profile-unit .profile-item dt{
    padding-left: 0;
  }

/* お問い合わせ
======================================== */
  .page-top__contact .top-heading__EN{
    font-size: 40px;
  }

  .page-top__contact .top-heading{
    font-size: 16px;
  }

  .contact-desc__wrap{
    margin: 40px auto;
    width: 90%;
    padding: 0;
    line-height: 2;
  }

  .contact-desc__list li::before{
    top: 12px;
  }

  form{
    padding: 0;
    margin: 32px auto;
  }

  .form-box dt,
  .form-box dd{
    width: 100%;
    margin: 0;
  }

  .form-box{
    margin: 1.25em 0;
  }

  .form-box dt{
    margin-bottom: 8px;
  }

  .form-box__checkbox{
    margin-left: 0;
    gap: 16px;
  }

  #comment{
    height: 240px;
  }

  .agree-unit{
    align-items: flex-start;
    margin-left: 24px;
  }

  .form-btn02__wrap{
    width: 100%;
    height: auto;
    gap: 12px;
    flex-direction: column-reverse;
  }

  .back-btn,
  .submit-btn,
  .form-btn{
    width: 100%;
    height: 48px;
  }

/* サービス一覧
======================================== */
  .service-desc__wrap .service-text{
    font-size: 16px;
  }

  .service-list__aligned{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-list__unit .ttl{
    font-size: 22px;
  }

  a.service-list__btn{
    margin: 16px 0 0 auto;
    width: 100%;
    max-width: 180px;
  }

/* 各サービス
======================================== */
  .page-service__inner{
    padding: 40px 0;
  }

  .service-desc__aligned{
    flex-direction: column;
    gap: 24px;
    margin: 40px auto;
  }

  .service-desc__img{
    max-width: 100%;
  }

  .service-desc__text{
    width: 100%;
    font-size: 16px;
  }

  .service-ttl{
    font-size: 22px;
    line-height: 1.4;
  }

  .features-aligned{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 32px auto;
    padding: 0;
  }

  .features-aligned .num{
    width: auto;
    flex: none;
    margin: 0 auto;
  }

  .features-aligned .ttl{
    width: 100%;
    flex: none;
    font-size: 18px;
  }

  .features-aligned .ttl-adj{
    font-size: 18px;
  }

  .features-aligned .text{
    width: 100%;
  }

  .service-flow__list{
    margin-top: 32px;
  }

  .service-flow__card{
    padding: 16px 24px 16px 42px;
  }

  .service-flow__item{
    grid-template-columns: 24px 1fr;
  }

  .service-flow__item + .service-flow__item{
    margin-top: 32px;
  }

  .service-flow__item::before{
    left: 20px;
    bottom: -38px;
    width: 3px;
  }

  .service-flow__num{
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .service-flow__ttl{
    font-size: 18px;
    line-height: 1.5;
  }
	
.service-flow__card .contents-list li::before{
  top: 13px;
}	


/* 検索結果
======================================== */
.page-sec__search{
  margin: 40px auto;
}

  .search-close{
    grid-column: 1 / -1;
    justify-self: end;
  }

  .search-form{
  display: flex;
  gap: 0;
  align-items: center;
   padding: 0;
   width: 100%;
}

.search-form input{
  flex: 1;
  min-width: 0;
}

.search-panel__inner{
  padding: 10px;
}

.search-result__unit .search-ttl,
.search-result{
  font-size: 18px;
}

a.search-link{
  font-size: 13px;
  margin: 1em 0;
}



/* カテゴリー
======================================== */ 
  .info-cat__aligned{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-cat__item .cat-ttl a{
    font-size: 16px;
    line-height: 1.7;
  }

  .info-cat__item .cat-item{
    font-size: 12px;
    padding: 2px 10px;
  }

/* 投稿ページ
======================================== */ 
  .article-contents__aligned{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .page-article__wrap .entry-title{
    font-size: 24px;
    line-height: 1.5;
  }

  h2.wp-block-heading {
    font-size: 20px;
    padding: 0.5em 0.75em;
    margin-bottom: 1em;
  }

  h3.wp-block-heading{
    font-size: 18px;
    padding: 0.5em 0;
    margin-bottom: 1em;
  }

  h3.wp-block-heading::after{
    width: 55%;
  }


  /* 投稿日 */
  .page-article__wrap .post-time,
  .page-article__wrap .updated{
    display: inline-block;
    font-size: 13px;
    margin-right: 0.75em;
    margin-bottom: 0.25em;
  }

  .entry-meta__unit{
    flex-wrap: wrap;
    gap: 0px;
  }

	.article-contents-wrap .cat-wrap a{
		font-size: 10px;
	}	

  /* 目次 */
  #toc_container{
    margin: 24px 0 32px;
    padding: 16px;
  }

  #toc_container p.toc_title{
    font-size: 16px;
  }

  .toc_title::before{
    width: 20px;
    height: 16px;
    margin-right: 0.75em;
  }

  .no_bullets .toc_list li{
    width: 100%;
    line-height: 1.6;
  }

  /* ブログカード */
  .blog-card{
    padding: 20px 16px;
  }

  .blog-card-title{
    font-size: 18px;
    line-height: 1.6;
  }

  .blog-card-body-outer{
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }

  .blog-card-image-outer{
    max-width: 100%;
    width: 100%;
    flex: none;
  }

  .blog-card-body{
    width: 100%;
    align-items: stretch;
  }

  /* 外部リンクボタン */
  .btn-ext{
    justify-content: center;
    padding: 0.75em 1em;
    font-size: 14px;
  }

  /* 記事内お問い合わせ */
  .post-contact-induce__wrap{
    padding: 20px 16px;
  }

  .post-contact-induce__wrap .contact__ttl{
    font-size: 20px;
  }

  .post-contact-induce__wrap .contact-unit{
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }

  .post-contact-induce__wrap .text{
    text-align: center;
  }

  .post-contact-induce__wrap .base-btn{
    width: 100%;
    max-width: 100%;
  }

  /* フロー */
  .flow-all__wrap{
    margin: 24px 0;
  }

  .flow-contents__wrap{
    padding-right: 0;
    padding-bottom: 40px;
  }

  .flow-contents__wrap::before{
    left: 18px;
    width: 3px;
    bottom: -20px;
  }

  .flow-contents__aligned{
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
  }

  .flow-number__parts{
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .flow-unit{
    padding-top: 6px;
  }

  .flow-ttl{
    font-size: 18px;
    line-height: 1.5;
  }

  .flow-unit .text{
    margin-top: 0.75em;
    font-size: 14px;
    line-height: 1.8;
  }

  .flow-unit .wp-block-button{
    margin-top: 20px;
  }

  .flow-unit .wp-block-button__link{
    min-width: 100%;
    width: 100%;
    padding: 14px 16px;
  }

  /* 著者情報 */
  .author-wrap .author-ttl{
    font-size: 18px;
  }

  .author-wrap .author-unit{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .author-img__wrap{
    flex: none;
    max-width: 140px;
    margin-top: 24px;
  }

  .author-text__wrap .author-name{
    font-size: 16px;
    line-height: 1.6;
  }

  .author-text__wrap .text{
    font-size: 13px;
    line-height: 1.9;
  }

  /* 前後ページ遷移 */
  .post-nav{
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 80px;
  }

  .post-nav__item{
    min-width: 0;
  }

  .post-nav__item--prev,
  .post-nav__item--next{
    grid-column: auto;
  }

  .post-nav__thumb{
    width: 100%;
  }

  .post-nav__thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .post-nav__cover{
    width: 100%;

  }



/* サイドバー
======================================== */ 
  .sidebar-wrap{
    max-width: 100%;
  }

  aside .widget:not(:first-of-type){
    margin-top: 32px;
  }

  .widget-unit__sidebar{
    padding: 24px 0 0;
  }

  h4.widget-title{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 8px;
  }

  h4.widget-title::after{
    width: 55%;
  }

  .toc_widget{
    padding: 16px;
    margin-top: 16px;
  }

  .toc_widget_list{
    padding-top: 0.75em;
  }

  .toc_widget_list li a{
    padding: 0.4em 0.5em 0.4em 1.25em;
    font-size: 14px;
  }

  .contact-induce__sidebar .sidebar-contact__wrap{
    padding: 20px 16px;
    margin-top: 16px;
  }

  .contact-induce__sidebar .sidebar-contact__ttl{
    font-size: 20px;
  }

  .contact-induce__sidebar .text{
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-induce__sidebar .base-btn{
    max-width: 100%;
    width: 100%;
  }

  .article-list__sidebar li{
    gap: 12px;
    align-items: flex-start;
  }

  .article-list__sidebar .article-img, .widget-unit__sidebar .postlist-img{
    width: 64px;
    height: 64px;
  }

  .article-list__sidebar .article-ttl{
    font-size: 14px;
    line-height: 1.5;
  }

  .cat-list__sidebar li{
    padding: 0.75em 2em 0 0.5em;
    font-size: 14px;
  }

    .cat-list__sidebar li a:active,
  .cat-list__sidebar li a:focus{
    color: #fff;
    -webkit-text-fill-color: #fff;
    background-color: var(--accent-color01);
    opacity: 0.8;
  }

  .cat-list__sidebar li a:active::after,
  .cat-list__sidebar li a:focus::after{
    border-top-color: #fff;
    border-right-color: #fff;
  }



/* 支援事例
======================================== */ 
  .caseList{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .caseCard__media{
    height: 180px;
  }

  .caseCard__tag{
    font-size: 12px;
    padding: 6px 10px;
  }

  .caseCard__body{
    padding: 16px;
  }

  .caseCard__title{
    font-size: 18px;
    line-height: 1.5;
  }

  .caseCard__text{
    font-size: 14px;
    line-height: 1.8;
  }

  .case-meta__unit .heading{
    font-size: 12px;
  }

  .case-meta__unit .case-meta{
    font-size: 14px;
    line-height: 1.7;
  }  


/* プライバシーポリシー 
======================================== */

.privacy-ttl{
  font-size: 20px;
}

/* 404
======================================== */

.page-top__contact .top-heading__404{
  font-size: 14px;
}

/* end   */    
}





