/*
Theme Name: e-連携カスタムテーマ
Version: 1
Template: twentytwentyfive
*/

body,
html,
.wp-site-blocks {
    overflow-x: hidden;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    line-height: 1.6;
    position:relative;
    color: #040E3C;
}
body a,
body a:hover {
    text-decoration: none;
}
h1, h2, h3, h4 {
    font-weight: bold;
}
a {
    color: #2D6EB3;
}
/* フォントサイズ */
.fs_12 {
    font-size: 12px;
}
.fs_13 {
    font-size: 13px;
}
.fs_14 {
    font-size: 14px;
}
.fs_15 {
    font-size: 15px;
}  
.fs_16 {
    font-size: 16px;
}
.fs_18 {
    font-size: 18px;
}
.fs_20 {
    font-size: 20px;
    font-size: clamp(18px, 15.500px + 0.313vw, 20px);
}
.fs_22 {
    font-size: 24px;
}
.fs_26 {
    font-size: 26px;
}
.fs_28 {
    font-size: 28px;
}
.fs_30 {
    font-size: 30px;
}
.fs_32 {
    font-size: 32px;
}
.fs_34 {
    font-size: 34px;
}
.fs_36 {
    font-size: 36px;
}
.fs_38 {
    font-size: 38px;
}
.fs_40 {
    font-size: 40px;
}
.fs_42 {
    font-size: 42px;
    font-size: clamp(30px, 15.000px + 1.875vw, 42px);
}
.fs_44 {
    font-size: 44px;
}
.fs_46 {
    font-size: 46px;
}
.fw_normal {
    font-weight: 400;
}
.fw_semi {
    font-weight: 500;
}
.fw_bold {
    font-weight: 700;
}
.color_blue {
    border: thin solid rgba(38, 81, 165, 1);
    background-color: rgba(38, 81, 165, 1);
}
.text_blue,
.richtext {
    color: rgba(38, 81, 165, 1);
}
p.center,
.block-center {
    text-align: center;
}
.color_orange {
    border: thin solid rgba(255, 136, 86, 1);
    background-color: rgba(255, 136, 86, 1);
}
.text_orange {
    color: rgba(255, 136, 86, 1);
}
/* ダミーの固定ヘッダー（最初は非表示） */
.fixed-clone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* height: 140px; */
    background-color: #fff;
    /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); */
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* スクロールで固定ヘッダー */
.fixed-clone.visible {
    background-color: #fff;
    opacity: 1;
    pointer-events: auto;
}
.entry-content.main_wrapper.wp-block-post-content.is-layout-flow.wp-block-post-content-is-layout-flow {
    margin-block-start: 0;
}
/* ロゴ */
.wp-block-column.header__logo--button {
    margin: 10px auto 0;
}
.wp-block-site-logo img {
    transition: 0.3s ease;
}
.wp-block-site-logo img:hover {
    opacity: .6;
}
.wp-block-site-logo a:focus,
.wp-block-site-logo a:focus-visible,
.wp-block-site-logo a:focus-within {
    outline: none;
    box-shadow: none;
    border: none;
}
a:focus,
a:focus-visible,
a:focus-within {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: none !important;
}
/* ヘッダーのボタン */
.wp-block-columnsis-layout-flexwp-container-core-columns-is-layout-28f84493wp-block-columns-is-layout-flex {
    justify-content: flex-end !important;
}
.button.button-cont {
    width: 200px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: auto !important;
    /* padding: 0 1em; */
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: auto !important;
}
.button.button-cont a {
    color: #fff;
    font-size: 14px;
    display: block;
}
.button.button-cont a i {
    padding-right: .5em;
}
.button.button-cont.left:hover {
    background-color: #fff; /* ホバー時の背景色 */
}
.button.button-cont.left:hover a {
    color: rgba(38, 81, 165, 1);
}
.button.button-cont.right:hover {
    background-color: #fff; /* ホバー時の背景色 */
}
.button.button-cont.right:hover a {
    color: rgba(255, 136, 86, 1);
}
:where(.wp-block-columns) {
    margin-bottom: 0;
}
:where(.wp-block-columns.is-layout-flex) {
    gap: 1em;
}
.button.button-cont.left.color_blue {
    margin-right: -120px !important;
}
.button-cont a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ナビゲーション */
.header-nav {
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.custom-global-nav {
  position: relative;
  background: #fff;
  font-size: 14px;
}
.custom-global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* ハンバーガー（スマホ） */
.custom-global-nav .nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9999;
}
/* 親メニュー */
.custom-global-nav .nav-menu {
  display: flex;
  justify-content: center;
  max-width: 1140px;
  margin: -20px auto 0;
  padding: 0;
  height: 56px;                   /* メニュー全体の高さ指定 */
  align-items: stretch;          /* li高さにフィットさせる */  
}
.custom-global-nav .nav-menu > li {
  position: relative;
  width: calc(100% / 7);
  height: 100%; 
  text-align: center;
  white-space: nowrap;
}
.custom-global-nav .nav-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 20px 10px;
    font-size: 14px;
    color: #000;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    height: 100%;
    box-sizing: border-box;
}
.custom-global-nav .nav-menu > li > a > span.menu-label {
  flex: 1;
  text-align: center;
}
/* SVGアイコンのラッパー */
.custom-global-nav .nav-arrow {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
}
/* SVG のサイズ制御 */
.custom-global-nav .nav-arrow svg {
  width: 10px;
  height: auto;
  display: block;
}
/* ホバー時にアイコンを回転 */
.custom-global-nav .nav-menu > li:hover .nav-arrow svg {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* 通常時に回転を防止（明示） */
.custom-global-nav .nav-arrow svg {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.custom-global-nav .nav-menu > li:hover > a,
.custom-global-nav .nav-menu > li:hover svg path {
  background-color: #003b9f;
  color: #fff;
  stroke: #fff;
}

/* 子メニュー */
.custom-global-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  padding: 0;
  white-space: normal; /* ← nowrap継承を打ち消す！ */
}

.custom-global-nav .nav-menu li:hover .sub-menu li {
  display: block;
  border-top: none;
}
.custom-global-nav .nav-menu li:hover .sub-menu li:focus {
  outline: none !important;
  box-shadow: none !important;
}

.custom-global-nav .sub-menu li a {
  display: block;
  padding: 14px 10px 14px 30px;
  text-align: left;
  font-size: 14px;
  color: #002d80;
  background-color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.custom-global-nav .sub-menu li a:hover {
  color: #fff;
  background-color: #002d80;
}
.custom-global-nav a:focus,
.custom-global-nav a:focus-visible,
.custom-global-nav a:focus-within {
    outline: none;
    box-shadow: none;
    border: none;
}

/* PC表示用：hover時に子メニューを表示 */
@media screen and (min-width: 799px) {
  .custom-global-nav .nav-menu li:hover > .sub-menu {
    display: block;
  }
}

/* main */
.wp-block-columns.main__wrapper {
    height: 450px;
    margin-top: 0;
    margin-top: 2px;
}
.header_mv {
    height: 450px;    
    position: relative;
    object-fit: cover;
}
.header_mv img {
    height: 450px; 
    object-fit: cover;
}
.mv__block {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    min-height: 240px;
    margin: auto;
    padding: 0 20px;
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
}
.mv__block--text {
    width: 61%;
    max-width: 630px;
}
.mv__block--text h2.wp-block-heading {
    font-size: 42px;
    font-size: clamp(30px, 15.000px + 1.875vw, 42px);
    color: #040E3C;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}
.mv__block--text h2 span {
    font-size: 46px;
    font-size: clamp(34px, -5.429px + 5.042vw, 46px);
}
.mv__block--text h3.wp-block-heading {
    font-size: 18px;
    font-size: clamp(14px, 9.000px + 0.625vw, 18px);
    color: #040E3C;
    line-height: 1.6;    
    text-align: left;
}
.mv__block--text h3 span {
    font-size: 22px;
}
.mv__block--text p {
    margin-top: 50px;
    font-size: 18px;
    text-align: center;
}
.mv__block--right {
    width: 100%;
    position: absolute;
    left: 55%;
    top: 135px;
    top: clamp(125px, 98.333px + 3.333vw, 135px);
}
.mv__block--img {   
    max-width: 800px;  
    flex-shrink: 0;
}

@media screen and (min-width: 769px) {
    .mv__block--text {
        margin-top: -40px !important;
    }    
}

@media screen and (min-width: 799px) {
    .pc__displey--none,
    .header__hamburger.hamburger {
        display: none;
    }  
}

/* スマホ対応 */
@media screen and (max-width: 798px) {
    .wp-block-columns.main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 55px;
        background-color: #fff;
        z-index: 9999; /* メニューを最前面に表示 */ 
    }
    .button.button-cont {
        display: none;
    } 
    .wp-block-columns.main-header {
        margin-bottom: 0 !important;
    }
    /* ハンバーガーメニュー */
    .header__hamburger.hamburger {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        background-color: #003b9f;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }   
    .header__hamburger {
        background-color: #003b9f; /* ← ここで背景色を指定 */
        width: 60px;
        height: 60px;
        border: none !important;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        margin-left: auto;
        border: none !important;
        z-index: 9999;
    }
    /* ハンバーガーメニューのアイコンにボーダーが追加されないようにする */
    .header__hamburger {
        border: none; /* ボーダーを削除 */
        outline: none; /* アウトラインを削除 */
    }
    /* ハンバーガーアイコンのホバー時に枠線が表示されないように */
    .header__hamburger:focus,
    .header__hamburger:hover {
        outline: none; /* アウトラインを削除 */
        border: none; /* ボーダーを削除 */
    }
    .hamburger {
        background-color: #003b9f; /* ← 背景色を追加（お好みで） */
        width: 60px;
        height: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        border: none;
        z-index: 9999;
    }
    /* ハンバーガーメニューの線 */
    .hamburger span {
        width: 100%;
        height: 1px;
        background-color: #000;
        position: relative;
        transition: ease .4s;
        display: block;
    }
    .hamburger span:nth-child(1) {
        top: 0;
    }
    .hamburger span:nth-child(2) {
        margin: 8px 0;
    }
    .hamburger span:nth-child(3) {
        top: 0;
    }
    /* ハンバーガーの3本線 */
    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #fff; /* ← 線の色を白にして見やすく */
        display: block;
        transition: 0.3s;
        position: relative;
    }

    .hamburger span:nth-child(2) {
        margin: 5px 0;
    }    
    /* ハンバーガーメニュークリック後のスタイル */
    .header__nav.active {
        transform: translateX(0);
        height: auto;
        margin-top: 70px;
    }
    .hamburger.active span:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        top: -8px;
        transform: rotate(-45deg);
    }
    /* メニューが開いたときに固定 */
    .custom-global-nav.active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin-top: 60px;
        z-index: 9999; /* メニューを最前面に表示 */
        height: auto; /* メニューが画面いっぱいに表示されるようにする */
        overflow-y: auto; /* スクロール可能にする */
        background-color: #fff; /* 背景色 */
        transition: transform 0.3s ease; /* 開くときのスムーズなアニメーション */
    }

    /* ナビゲーション */
    .custom-global-nav {
        position: relative;
        background: #fff;
        font-size: 14px;
    }
    /* 親メニューリンク */
    .custom-global-nav .nav-menu {
        display: flex;
        flex-flow: column;
        max-width: 100%;
        margin: 0 auto;
        height: auto;
        align-items: stretch;
    }
    .custom-global-nav .nav-menu > li {
        position: relative;
        width: 100%;
        height: 60px;
        max-height: 80px;
        border-bottom: dotted thin rgba(38, 81, 165, 1);
    }
    .custom-global-nav .nav-menu > li > a {
        display: flex; /* テキストとアイコンを並べる */
        align-items: center;
        justify-content: space-between; /* テキストとアイコンを左右に分ける */
        font-size: 16px;
        color: #000;
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
        height: 100%;
        box-sizing: border-box;
    }
    /* アイコン（nav-arrow）を右寄せ */
    .custom-global-nav .nav-arrow {
        display: inline-flex;
        align-items: center;
        margin-left: 10px;
        padding: 20px 0 20px 20px;
        cursor: pointer; /* アイコンをクリックできるようにする */
    }
    .custom-global-nav .nav-arrow svg {
        width: 20px;
        height: auto;
        display: block;
        transition: transform 0.3s ease; /* スムーズに回転するアニメーション */
        transform: rotate(0deg); /* 初期状態でアイコンは回転していない */        
    }
    /* サブメニューが開いたとき、アイコンを回転させる */
    .custom-global-nav .sub-menu.open + .nav-items__item .nav-arrow svg {
        transform: rotate(180deg); /* サブメニューが開くとアイコンが180度回転 */
    }    
    /* サブメニューの初期状態（非表示） */
    .custom-global-nav .sub-menu {
        display: none;
        opacity: 0;
        max-height: 0;
        transition: opacity 0.3s ease, max-height 0.5s ease; /* アニメーション */
    }
    .custom-global-nav .sub-menu li a {
        border-top: dotted thin rgba(38, 81, 165, 1);
        border-bottom: dotted thin rgba(38, 81, 165, 1);
    }
    /* サブメニューが開いたとき */
    .custom-global-nav .sub-menu.open {
        display: block;
        opacity: 1;
        height: 60px;
        max-height: 500px; /* 必要に応じて調整 */
    }
    /* サブメニューが開くと下のメニューが下にスライド */
    .custom-global-nav .nav-items__item {
        transition: margin-top 0.3s ease;
    }
    /* サブメニューが開くときに、その隣接アイテムにスペースを空ける場合 */
    .custom-global-nav .nav-items__item.open + .nav-items__item {
        margin-top: 60px; /* 20pxで隣接アイテムを下げる */
    }
    /* ハンバーガーメニューのスタイル（追加分） */
    .header__nav {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: auto;
        transform: translateX(100%);
        background-color: #fff;
        transition: ease .4s;
        z-index: 9;
    }
    .nav-items {
        padding-top: 250px;
        padding-bottom: 200px;
        padding: 40px;
        z-index: 9999;
    }
    /* メニューリンク */
    .nav-items__item a {
        color: black;
        width: 100%;
        display: block;
        text-align: center;
        font-size: 20px;
        margin-bottom: 24px;
    }
}

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

    .wp-block-columns.main-header {
        height: 60px !important;
        overflow: hidden;
        align-items: center;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }
    .wp-block-columns.main-header > .wp-block-column {
        height: 100%;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }  
    .wp-block-columns.header-nav {
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }  
        .mv__block--text {
        margin-top: 0 !important;
    }  
}

@media screen and (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 0 !important;
    }
    .wp-block-columns.main-header {
        height: 60px !important;
        overflow: hidden;
        align-items: center;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }
    .wp-block-columns.main-header > .wp-block-column {
        height: 100%;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }  
    .wp-block-columns.header-nav {
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }    
}

@media screen and (max-width: 799px) {  
    .wp-block-site-logo,
    .wp-block-site-logo img {
        max-height: 35px;
        max-width: 128px;
        margin-top: 3px;
        object-fit: cover;
    }
    .header_mv {
        position: relative;
        top: 60px;
        left: 0;
        height: 50vh;
        padding: 30px 0 67px;
        background-image: url(images/mv_bg-sp.avif);
        background-size: cover;
        background-position: center center;        
    }
    .header_mv img {
        display: none;
    }
    .mv__block {
        display: block;
        top: 100px;
    }
    .mv__block--text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .mv__block--text h2.wp-block-heading {
        font-size: 28px;
        color: #040E3C;
        line-height: 1.6;
        text-align: center;
        padding-top: 20px;
    }
    .mv__block--text h2 span {
        font-size: 32px;
    }
    .mv__block--text h3.wp-block-heading {
        font-size: 18px;
        margin-top: 20px;
        line-height: 1.6;
        text-align: center;
    }
    .mv__block--right {
        position: relative;
        width: 100%;
        text-align: center;
        left: 0;
        top: 0;
        bottom: 0;
    }
    .mv__block--right img {
        max-width: 335px;
    }
}

@media screen and (max-width: 798px) {
    .header_mv {
        height: 40vh;
    }
}

/* About */
.richtext.center {
    margin-top: 100px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
h2.rich-heading {
    font-size: 36px;
    font-size: clamp(30px, 22.500px + 0.938vw, 36px);
    line-height: 1.6;
    text-align: center;
    margin-top: 10px;
}
p.second.center {
    font-size: 17px;
    font-size: clamp(14px, 10.250px + 0.469vw, 17px);
    line-height: 1.6;
}
.efficiency {
    max-width: 1100px;
    padding: 20px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
h3.rich-heading {
    font-size: 24px;
    font-size: clamp(18px, 10.500px + 0.938vw, 24px);
    line-height: 1.6;
    text-align: center;
}
.block-center img {
    max-width: 260px;
}

/* 資料ダウンロードボタンのラッパー */
.wp-block-button.download-button {
    margin: auto;
    width: 350px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

/* ボタンの中のリンク部分 */
.wp-block-button.download-button .wp-block-button__link {
    display: inline-block;
    width: 100%;
    padding: 16.5px 20px;
    border-radius: 30px;
    background-color: rgba(255, 136, 86, 1); /* オレンジ色 */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時 */
.wp-block-button.download-button .wp-block-button__link:hover {
    background-color: #fff;
    color: rgba(255, 136, 86, 1);
}
/* アイコンに余白 */
.wp-block-button.download-button i {
    padding-right: .75em;
}
/* e連携ボタンのラッパー */
.wp-block-button.e-renkei {
    margin: 30px auto;
    width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}
/* ボタンの中のリンク部分 */
.wp-block-button.e-renkei .wp-block-button__link {
    display: inline-block;
    width: 100%;
    padding: 16.5px 20px;
    border-radius: 30px;
    background-color: rgba(255, 136, 86, 1); /* オレンジ色 */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
/* ホバー時 */
.wp-block-button.e-renkei .wp-block-button__link:hover {
    background-color: #fff;
    color: rgba(255, 136, 86, 1);
}
/* 資料ダウンロードボタンのラッパー */
.wp-block-button.setumei-button {
    margin: auto;
    width: 350px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

/* ボタンの中のリンク部分 */
.wp-block-button.setumei-button .wp-block-button__link {
    display: inline-block;
    width: 100%;
    padding: 16.5px 20px;
    border-radius: 30px;
    background-color: rgba(38, 81, 165, 1); /* */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(38, 81, 165, 1);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時 */
.wp-block-button.setumei-button .wp-block-button__link:hover {
    background-color: #fff;
    color: rgba(38, 81, 165, 1);
}
/* アイコンに余白 */
.wp-block-button.setumei-button i {
    padding-right: .75em;
}

/* Problem */
.problem {
    background-color: rgba(244, 246, 250, 1);
    padding: 5px 0 80px;
    margin-top: 50px;
}
.white-wrapper {
    max-width: 1100px;
    display: flex;
    gap: 24px;
    padding: 20px;
    margin: 24px auto 20px;    
}
.white-box {
    max-width: 337px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: center;  
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    padding: 26px 36px;
    position: relative;
    margin-top: 10px;   
}
.white-box h3 {
    line-height: 1.6;
}
.white-box i {
    display: block;
    font-size: 1.8em;
    margin-bottom: 0.1em;    
    color: rgba(255, 136, 86, 1);
    text-align: center; 
}
.white-box h3 {
    font-size: 24px;
    font-size: clamp(16px, 6.000px + 1.25vw, 24px);
    color: rgba(38, 81, 165, 1);
}

/* Solution */
.solution {
    max-width: 1440px;
    margin: 20px auto;
}
.solution-flex {
    max-width: 1440px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.solution-flex .solution-block {
    max-width: 400px;
    width: 100% !important;
    margin-right: -150px;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    padding: 20px 64px;
    position: relative;    
}
.solution-wrapper:nth-of-type(odd) .solution-flex {
    flex-direction: row-reverse;
}
.solution-wrapper:nth-of-type(odd) .solution-flex .solution-block {
    margin-left: -150px;  
}
.solution-wrapper.second .solution-block {
    max-width: 480px !important;  
}
.solution-wrapper.third .solution-block {
    max-width: 460px !important;  
}
.solution-block .solution-num {
    font-size: 78px;
    font-weight: bold;
    color: rgba(38, 81, 165, 1);
    margin-top: -78px;
}
.solution-wrapper:nth-of-type(odd) .solution-flex .solution-block .solution-num {
    text-align: right;
}
.solution-block h3.wp-block-heading {
    font-size: 24px;
    color: #040E3C;
    line-height: 1.4;
    padding-bottom: 32px;
    border-bottom: thin solid rgba(255, 136, 86, 1);
    margin: 5px 0 0;
}
.solution-block .sub-title {
    font-size:18px;
    color: #2651a5;
    font-weight: bold;
    padding-top: 32px;
}
.solution-block p {
    font-size:16px;
}
.solution-img {
    max-width: 770px;
    width: 100% !important;
}
.solution-img img {
    mwidth: 770px;
    max-width: 100%;   
}

@media screen and (max-width: 799px) {
    .solution-flex,
    .solution-wrapper:nth-of-type(odd) .solution-flex {
        flex-flow: column;
    }
    .solution-flex .solution-block,
    .solution-wrapper:nth-of-type(odd) .solution-flex .solution-block,
    .solution-wrapper.third .solution-block {
        max-width: 82% !important;
        margin-left: 0;
        margin-right: 0;
        margin-top: 30px;
        margin-bottom: 0 !important; 
    }
}

/* 続きを読むボタンのラッパー */
.wp-block-button.more-button {
    margin-top: 5px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-radius: 30px;
}

/* ボタンの中のリンク部分 */
.wp-block-button.more-button .wp-block-button__link {
    display: inline-block;
    width: 150px;
    padding: 5px 10px;
    border-radius: 30px;
    border: thin solid rgba(38, 81, 165, 1);
    background-color: rgba(38, 81, 165, 1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時の配色反転 */
.wp-block-button.more-button .wp-block-button__link:hover {
    background-color: #fff;
    color: rgba(38, 81, 165, 1);
}

/* 導入事例 */
.case-wrapper {
    background-color: rgba(244, 246, 250, 1);
    padding: 5px 0 80px;
    margin-top: 50px;
}
.case-box {
    margin: 40px 0;
    line-height: 0;
}
.case-inner {
    max-width: 1040px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16) !important;
    border: 0 !important;
    margin: 20px auto;
    padding: 0 !important;
    background-color: #fff;
    overflow: hidden;
    min-height: 200px;
}
.case-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    overflow: hidden;
}
.case-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.case-image:hover img {
    transform: scale(1.2); /* 20%拡大 */
}
.case-content {
    width: 60%;
    padding: 0 20px;
    /*
    display: flex;
    flex-direction: column;
    justify-content: center;
    */
}
.case-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8;
    color: #040E3C;
    margin-bottom: 10px;
}
.case-title a,
.case-title:hover {
    color: rgba(4, 14, 60, 1);   
}
.case-date {
    font-size: 14px;
    padding: 0;
    color: #040E3C;
    margin-bottom: 0;
}
.case-excerpt {
    font-size: 16px;
    color: rgba(4, 14, 60, 1);
    line-height: 1.8;
    margin-bottom: 1em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden; 
}

@media screen and (max-width: 799px) {
    .case-inner {
        margin: 20px 20px;
    }
}

/* 続きを読むボタン */
.more__button {
    width: 180px;
    margin-left: auto;
    margin-top: 10px;
}
.more__button .more__button--link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(38, 81, 165, 1);
    border-radius: 30px;
    background-color: rgba(38, 81, 165, 1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.more__button .more__button--link:hover {
    background-color: #fff;
    color: rgba(38, 81, 165, 1);
}

/* 一覧ページへのリンク */
.case-list-link {
    display: block;
    text-align: center;
    margin-top: 60px;
}

.case-list-link__button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(38, 81, 165, 1);
    border-radius: 30px;
    background-color: rgba(38, 81, 165, 1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.case-list-link__button:hover {
    background-color: #fff;
    color: rgba(38, 81, 165, 1);
}

/* お知らせ一覧 */
.news-wrapper {
    width: 100%;
    margin: 30px auto;
}
.news-inner {
    max-width: 1040px;
    margin: auto;
    padding: 0 !important;
    background-color: #fff;
    overflow: hidden;
    min-height: 200px;
}
.news-list {
    margin: 30px auto;
}

.news-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 1em 0;
}

.news-date {
    font-size: 14px;
    color: #040E3C;
    margin-right: 20px;
    width: 100px;
}

.news-title {
    font-size: 16px;
    color: rgba(4, 14, 60, 1);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title:hover {
    color: rgba(38, 81, 165, 1);
}

.news-list-link {
    text-align: center;
    margin-top: 30px;
}
.news__more--button {
    margin-top: 30px;
    text-align: center;
}

.news__button {
    display: inline-block;
}

.news__button--link {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(38, 81, 165, 1);
    border-radius: 30px;
    background-color: rgba(38, 81, 165, 1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.news__button--link:hover {
    background-color: #fff;
    color: rgba(38, 81, 165, 1);
}

/* パンくず */
body.home .breadcrumb-wrapper {
    display: none; 
}
.breadcrumb-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: auto;  
}
.breadcrumb {
    font-size: 14px;
    margin-bottom: 1em;
}
.breadcrumb a {
    text-decoration: none;
    color: #040E3C;
}
.breadcrumb .current {
    font-weight: bold;
}
.breadcrumb span {
    padding: 0 .5em;
}

/* エレメント全体 */
section.content-elements {
  width: 100%;
  background: #f5f5f5;
  padding: 80px 0;
}

section.content-elements .content-elements__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

section.content-elements .element {
  display: block;
  overflow: hidden;
  width: calc(100% / 3 - 20px);
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  margin-right: 20px;
}
section.content-elements .element__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 20px 0;
}
section.content-elements .element:last-child {
    margin-right: 0;
}
section.content-elements .element:hover {
  transform: translateY(-5px);
}

section.content-elements .icon {
  font-size: 32px;
  margin-bottom: 12px;
  text-align: center;
}
section.content-elements .icon img {
  width: 40px;
  height: auto;
  display: inline-block;
}
section.content-elements .title {
  font-size: 24px;
  font-weight: bold;
  color: #040E3C;
  margin-bottom: 8px;
  text-align: center;
}

section.content-elements .text {
  font-size: 16px;
  line-height: 1.6;
  color: #040E3C;
  text-align: left;
}

@media screen and (max-width: 768px) {
  section.content-elements .content-elements__inner {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  section.content-elements .element {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
  }

  section.content-elements .element:last-child {
    margin-bottom: 0;
  }
}


/* 固定ページのヘッダーを表示 */
.page-hero {
    background-image: url('images/header-bg.avif');
    background-size: cover;
    background-position: center;
    height: 300px;
    height: 240px;
    min-height: auto;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

h1.page-hero__title,
h2.page-hero__title {
    font-size: 46px;
    font-size: clamp(36px, 23.535px + 1.56vw, 46px);
    color: #fff;
    font-weight: bold;
}
h1.page-hero__subtitle {
    color: #fff;
    font-weight: bold;
}
h1.page-hero__subtitle,
h2.page-hero__title {
    font-size: 38px;
    font-size: clamp(32px, 24.521px + 0.936vw, 38px);
    line-height: 1.6;
    margin: 0;
}

/* 固定ページ */
.first_wrapper {
    margin: 0 auto;
    width: 100%;
    background-color: rgba(244, 244, 244, 1);

}
.first_block {
    padding: calc(80px - 30px) 0 calc(80px - 40px);   
}
.first__flex {
    max-width: 1100px;
    padding: 20px;
    margin: 30px auto;
    display: flex;
    align-items: flex-start;
}
.first__flex--first {
    padding: 24px 10px 14px;
    border-top: 2px solid rgba(38, 81, 165, 1);
}
.first__flex--first h3::before {
    content: "●";
    color: rgba(255, 136, 86, 1);
}

.first__flex--second {  
}
.first__flex--second h3 {
    font-size: 20px;
    font-size: clamp(18px, 15.500px + 0.313vw, 20px);
    border-top: 2px solid rgba(38, 81, 165, 1);
    padding: 24px 10px 14px 0; 
}
.first__flex--second h3.text_orange {
    color: rgba(255, 136, 86, 1) !important;
}
.first__flex--second p {
    font-size: 16px;
    margin-top: -.5em;
}
.reserve-flow {
    text-align: center;
    margin: 20px auto 30px;
    max-width: 1100x;
    padding: 20px;
}
.reserve-flow img {
    max-width: 1100px;
    padding: 20px;
}
.second_wrapper {
    margin: 0 auto;
    width: 100%;    
}
}
.second_wrapper .second_block {
    padding: calc(80px - 30px) 0 calc(80px - 40px);   
}
.second_wrapper .point_flex {
    max-width: 1100px;
    padding: 20px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.second_wrapper .point_flex.wrap-reverse {
    flex-direction: row-reverse;
}
.second_wrapper .point_flex .point-block {
    max-width: 600px;
    width: 100% !important;
    margin-left: -120px;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    padding: 20px 64px 30px;
    position: relative;    
}
.second_wrapper .point_flex .point-block.revers {
    margin-left: 0; 
    margin-right:-120px;  
}
.second_wrapper .point-block h3.wp-block-heading {
    font-size: 24px;
    color: #040E3C;
    line-height: 1.6;
    padding-bottom: 32px;
    border-bottom: thin solid rgba(255, 136, 86, 1);
}
.second_wrapper .point-block .sub-title {
    font-size:18px;
    color: #2651a5;
    font-weight: bold;
    padding-top: 32px;
}
.second_wrapper .point-block p {
    font-size:16px;
    line-height: 1.8;
}
.second_wrapper .point_img {
    max-width: 400px;
    width: 100% !important;
    z-index: 1;
    align-self: flex-start;
    margin-top: -30px;
}
.rich-heading {
    font-size: 36px;
    line-height: 1.6;
    text-align: center;
}

/* Feartures */
.feature_wrapper {
    width: 100%;
    padding: 0 0 50px;
    background-color: rgba(244, 244, 244, 1);    
}
.feature_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;
}
.feature_flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px; /* 追加：スマホ対応にも有効 */
}
.feature_box .white-box{
    height: 270px;
}
.feature_box h3 {
    font-size: 20px;
}
.feature_box p {
    font-size: 16px;
    text-align: left;
    min-height: 100px;
}

@media (max-width: 900px) {
  .feature_flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature_box {
    flex: 0 1 calc((100% - 30px) / 2); /* 2列に */
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .feature_box {
    flex: 0 1 100%; /* 1列に */
  }
}

/* Functions */
.functions_wrapper {
    width: 100%;
    padding: 0 0 50px;
    background-color: #fff;    
}
.functions_title {
    text-align: center;
}
.functions_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;
}
.functions_flex {
    max-width: 1100px;
    padding: 20px;
    margin: auto !important;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 24px; /* 追加：スマホ対応にも有効 */
}
.functions_flex .white-box{
    min-height: 210px;
    margin-bottom: 24px;
}
.functions_flex h3 {
    font-size: 20px;
    margin-bottom: -10px;
}
.functions_flex p {
    font-size: 16px;
    text-align: left;
    padding-top: 10px;
    border-top: 4px double rgba(255, 136, 86, 1);
}
.image_wrapper {
    max-width: 1100px;
    margin: 30px auto !important;
    padding: 0 20px 50px;
    background-color: #fff;   
}
.image_box {
    margin: auto !important;
}
.image_box img {
    border: thin solid #ccc;
    margin-top: 20px;
}
.image_wrapper h3 {
    font-size: 18px;
    font-weight: 600;
    color: #040E3C;
}

/* Option */
.option_wrapper {
    width: 100%;
    padding: 50px 0 50px;
    background-color: rgba(244, 244, 244, 1);    
}
.option_wrapper.paid {
    width: 100%;
    padding: 50px 0 50px;
    background-color: #fff;    
}
.option_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;
}
.option_wrapper h2.rich-heading {
    margin-bottom: 50px;
}
.option_block .first__flex--second p {
    font-size: 15px;
}
.option_wrapper.paid .first_wrapper {
    margin: 0 auto;
    width: 100%;
    background-color: #fff;
}

/* 選ばれる理由 */
hr.type01 {
    background-image: -webkit-linear-gradient(left, transparent, rgba(255, 178, 3, 1), transparent);
    border: 0;
    height: 1px;
    margin-bottom: 20px;
}
p.has-text-align-center.reason_text {
    font-size: 16px;
    margin-bottom: 30px;
}

/* セキュリティ */
.security_wrapper {
    width: 100%;
    padding: 0 0 50px;  
}
.security_wrapper .first_block {
    padding: 100px 0;
}
.security_wrapper .first_block.bg_white {
    background-color: #fff;
}
.security_wrapper .first_block.bg_white.first {
    padding-top: 0;
}
.security_wrapper .first_block.bg_white.last {
    padding-bottom: 40px;
}
h3.wp-block-heading.text_blue {
    color: rgba(38, 81, 165, 1) !important;
}
h3.wp-block-heading.text_blue span {
    font-size: 16px;
    font-weight: 400;
    color: #040E3C !important;
}

/* 料金 */
.price_wrapper {
    width: 100%;
    padding: 50px 0 50px;  
}
.system_wrapper {
    width: 100%;
    padding: 50px 0 50px;
    background-color: rgba(244, 244, 244, 1);    
}
.system_wrapper .system_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;   
}
.custom-price-table {
  border: 1px solid #007cba;
  border-collapse: collapse;
  width: 100%;
  background-color: #e6f3ff;
}

.custom-price-table td {
  border: 1px solid #007cba;
  padding: 16px;
  font-size: 16px;
  color: #111;
}
.custom-price-table td {
  background-color: #e6f3ff;
}
.custom-price-table td.has-text-align-center {
    background-color: #fff;
}

.cost_wrapper {
    width: 100%;
    padding: 50px 0 50px;     
}
.cost_wrapper .cost_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;;   
}
.cost_wrapper .cost_block p {
    line-height: 2;
}
.cost_wrapper .cost_block p.border-top-bottom {
    padding: 1em 0;
    border-top: thin solid #000;
    border-bottom: thin solid #000;
}
.option__price--wrapper {
    width: 100%;
    padding: 50px 0 50px;
    background-color: rgba(244, 244, 244, 1);    
}
.option__price--wrapper .option__price--block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;   
}
.explanation_block {
    padding: 0.5em 0 1em;
    border-bottom: thin solid rgba(0, 0, 0, 0.16);
}
.price_wrapper .richtext.center,
.system_wrapper .richtext.center,
.cost_wrapper .richtext.center,
.option__price--wrapper .richtext.center {
    margin-top: 0;
}

/* 導入フロー */
.flow_wrapper {
    width: 100%;
    padding: 50px 0 50px;  
}
.flow_title {
    max-width: 1100px;
    margin: auto !important;
    padding: 40px 20px;
    border-top: thin solid rgba(38, 81, 165, 1);
    border-bottom: thin solid rgba(38, 81, 165, 1);
}
.flow-block-wrapper {
    max-width: 1100x;
    padding: 20px;
    margin: 0 auto;   
}
.flow-block {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.flow-step {
    display: flex;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 32px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}
.flow-step-left {
    width: 140px;
    background-color: #003087;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.flow-step-left::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 12px solid #003087;
    z-index: 1;
}
.step-number {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
}
.step-number span {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-top: 4px;
}

/* 三点リーダー（縦） */
.flow-dot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: -16px 0 24px;
    margin-left: 70px;
}
.flow-dot span {
    width: 6px;
    height: 6px;
    background-color: #003087;
    border-radius: 50%;
    display: block;
}
.flow-step-right {
    flex: 1;
    padding: 48px 32px;
    position: relative;
    z-index: 2;
}
.triangle {
    display: none;
}
.flow-step-right h3 {
    font-size: 24px;
    font-size: clamp(20px, 15.000px + 0.625vw, 24px);
    font-weight: bold;
    color: #040E3C;
    margin: 0;
    margin-bottom: 2em;
}
.flow-step-right p {
    font-size: 18px;
    color: #1a3c8b;
    margin: 0;
}

@media screen and (max-width: 799px) {
    h1.page-hero__title {
        font-size: 36px;
    }    
    h1.page-hero__subtitle,
    h2.page-hero__title {
        font-size: 32px;
    }
    .page-hero {
        height: 180px;
        margin-top: 60px;
    }
    .page-id-15 .richtext.center {
        margin-top: 30px;
    }
    .page-id-15 .feature_wrapper .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
    .page-id-15 .feature_wrapper .white-box {
        display: flex;
        align-items: stretch; /* ← 高さを揃える！ */
        justify-content: space-between;
        padding: 10px;
    }
    .page-id-15 .feature_wrapper .feature_box h3 {
        font-size: 18px;
    }
    .feature_block {
        max-width: 1060px;
        margin: 0 auto;
        padding: 20px;
    }

    .feature_flex {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-between;
        align-items: stretch; /* ← 高さを揃える */
    }
    .feature_box {
        flex: 1 1 calc((100% - 48px) / 3); /* ← 3列でgap 24px×2を考慮 */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* ← 内容が伸びても揃う */
    }

    .feature_wrapper .white-box {
        display: flex;
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .feature_wrapper .white-box i.fa-check {
        padding: 10px 0;
    }
    .feature_wrapper .white-box h3 {
        height: 48px;
        padding: 0;
        display: flex;
        justify-content: center;       
    }
    .feature_wrapper .white-box p {
        min-height: 130px;
    }
    .functions_flex .white-box {
        height: 100%;
        padding: 10px;
        min-height: 210px;
        margin-bottom: 24px;
    }
    .functions_flex h3 {
        font-size: 16px;
    }
    .functions_flex .white-box p {
        min-height: 130px;
    }
    /*.first__flex,*/
    .second_wrapper .point_flex,
    .second_wrapper .point_flex.wrap-reverse {
        flex-direction: column;
    }
    .wp-block-image.size-full.wrap-reverse,
    .second_wrapper .point_img {
        max-width: 100% !important;
        width: 100% !important;
        z-index: 1;
        align-self: stretch;
        margin-top: -20px;
    }
    .first__flex .point-block,
    .second_wrapper .point_flex .point-block,
    .second_wrapper .point_flex .point-block.revers {
        max-width: 82%;
        margin-left: 0;
        margin-right: 0;
    }
    .reserve-flow img {
        max-width: 100%;
        padding: 20px;
    }
    .first__flex--second h3 {
        font-size: 18px;
    }
    .flow-step-right h3 {
        font-size: 20px;
    }
    .page-id-23 .case_block {
        margin: -60px auto !important;
        padding: 20px 20px;
    }
    .page-id-23 .case-inner {
       flex-direction: column;
       padding: 20px 0; 
    }
    .page-id-23 .case-inner .case-image {
        width: 80%;
        padding: 20px 0;
    }
    .page-id-23 .case-inner .case-content {
        width: 80%;
        padding: 0 0 20px;
    }
    .page-id-23 figure {
        padding: 0 20px;
    }
    .page-id-23 .case_block p {
        padding-right: 20px;
    }
    .case__wrapper--block h2 {
        font-size: 24px;
    }
    .case__wrapper--block .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-7.wp-block-columns-is-layout-flex,
    .case__wrapper--block .wp-block-columns {
        flex-direction: column;
    }
    .case__wrapper--block .image__left--img,
    .case__wrapper--block .image__right--img {
        width: 100%;
    }

    section.content-elements .content-elements__inner {
        margin-left: 10px;
    }
    
}


@media screen and (max-width: 768px) {
  .flow-step {
    flex-direction: column;
  }

  .flow-step-left {
    width: 100%;
    background-color: #003087;
    text-align: center;
    padding: 24px 0;
    position: relative;
    border-radius: 4px 4px 0 0;
    overflow: visible;
  }
  .step-number {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
    }
    .flow-step-left::after {
        display: none;
    }
  .triangle {
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #003087;
    z-index: 10;
    }
  .flow-step {
    flex-direction: column;
    position: relative; /* ← 三角の基準に */
    overflow: visible;
  }

  .flow-dot {
    display: flex;
    flex-direction: column;
    align-items: center; /* ← 中央寄せ！ */
    justify-content: center;
    gap: 4px;
    margin: 24px auto 24px; /* ← 左右中央に */
  }

  .flow-dot span {
    width: 6px;
    height: 6px;
    background-color: #003087;
    border-radius: 50%;
    display: block;
  }

  .flow-step-right {
    padding: 24px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .flow-step-right h3 {
    font-size: 20px;
    font-size: clamp(20px, 15.000px + 0.625vw, 24px);
    margin-top: 1em;
    margin-bottom: 1.5em;
  }

  .flow-step-right p {
    font-size: 16px;
  }
}


/* 導入事例 */
.case_wrapper {
    width: 100%;
    padding: 0 0 50px;  
}
.case_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px 20px 50px;
}
h2.mar30-50 {
    padding-top: 50px;
    margin-bottom: 80px;
}
.case__table {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px;
    border: none;
}
/* テーブル全体のボーダーをリセット */
.case_block table.has-fixed-layout,
.case_block table.has-fixed-layout th,
.case_block table.has-fixed-layout td {
    border: none;
    border-collapse: collapse;
}

/* 奇数行の1列目（都道府県） */
.case_block table.has-fixed-layout tr td:first-child {
    width: 30%;
    font-size: 17px;
    font-weight: bold;
    border-bottom: 2px solid #1d3f87; /* 濃いブルー */
    white-space: nowrap;
    vertical-align: middle;
    padding: 15px 10px;
}

.case_block table.has-fixed-layout tr td:last-child > *::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #040E3C;
}

/* 各行の2列目（病院リスト） */
.case_block table.has-fixed-layout tr td:last-child {
    font-size: 17px;
    line-height: 2;
    border-bottom: 1px solid #ddd; /* 薄いグレー */
    vertical-align: top;
    padding: 15px 10px;
}

/* 病院名を改行ベースで分けてドット表示 */
.case_block table.has-fixed-layout tr td:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.case_block table.has-fixed-layout tr td:last-child span::before {
    content: "•";
    margin-right: 0.5em;
    color: #001e60;
    position: relative;
}

@media screen and (max-width: 768px) {
    .case_block table.has-fixed-layout {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        word-break: break-word;    
        padding: 0 16px;
    }
  .case_block table.has-fixed-layout,
  .case_block table.has-fixed-layout thead,
  .case_block table.has-fixed-layout tbody,
  .case_block table.has-fixed-layout tr,
  .case_block table.has-fixed-layout td {
    display: block;
    width: 100%;
  }

  .case_block table.has-fixed-layout tr {
    margin-bottom: 2em;
    border-bottom: none;
  }

    .case_block table.has-fixed-layout td {
      box-sizing: border-box;
    }
  .case_block table.has-fixed-layout tr td {
    border-bottom: none;
    padding: 10px 0;
  }

  /* 都道府県（1列目） */
  .case_block table.has-fixed-layout tr td:first-child {
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 2px solid #1d3f87;
  }

  /* 病院（2列目） */
  .case_block table.has-fixed-layout tr td:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    font-size: 15px;
    padding-left: 1em;
    border-bottom: 1px solid #ddd;
  }

  .case_block table.has-fixed-layout tr td:last-child span::before {
    content: "•";
    margin-right: 0.5em;
    color: #001e60;
    position: relative;
  }
}

/* 導入事例詳細 */
.case__wrapper  {
    max-width: 1100px;
    margin: auto;
    padding: 20px 0;    
}
.case__wrapper--block {
    max-width: 1100px;
    padding: 20px 0;
    margin: auto;
    color: rgba(4, 14, 60, 1);
}
.social-share-buttons {
    margin: 20px 0 10px;
}
.case__wrapper--block h2 {
    font-size: clamp(24px, 16.521px + 0.936vw, 30px);
    line-height: 1.6;
    color: rgba(4, 14, 60, 1);

}
.case__wrapper--block h3 {
    line-height: 1.6;
    color: rgba(4, 14, 60, 1);
}
.case__wrapper--block p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(4, 14, 60, 1);
}
.margin-30 {
    margin: 30px 0;
}
.grey__back {
    background-color: rgba(244, 244, 244, 1);
    padding: 32px 80px;
    margin: 12px auto;    
}
.grey__back h3 {

}
.image__left--title {
    margin-top: 50px;
}
.image__left {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}
.image__right {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 30px;
    gap: 20px;    
}
.image__left--img,
.image__right--img {
    width: 50%;
    flex-shrink: 0;
}
.image__left--cont p,
.image__right--cont p {
    font-size: 16px;
}

/* よくある質問 */
.faq_wrapper {
    width: 100%;
    padding: 0 0 50px;  
}
.faq_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px 20px 0;    
}
.white-box.wide {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    margin-bottom: -50px;
}
hr.type02 {
    background-image: -webkit-linear-gradient(left, #ccc, #ccc, #ccc);
    border: 0;
    width: 100% !important;
    height: 1px;
}
.question .left {
    color: rgba(38, 81, 165, 1);
    text-align: left;
}
.answer .left {
    color: rgba(255, 136, 86, 1);
    text-align: left;
}
.faq_block .left {
    width: 1.5em;
    font-size: 24px;
    font-weight: 700;
    padding: 0;
    margin-top: -5px;
}
.faq_block .right {
    width: calc(100% - 1.5em);
    font-size: 16px;
    padding: 0;
    margin-left: -40px;
}

@media (min-width: 782px) {
  .faq_wrapper .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: auto;
    flex-grow: 0;
  }
}

/* プライバシーポリシー */
.policy_wrapper {
    width: 100%;
    padding: 0 0 50px;  
}
.policy_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px 20px 0;    
}
.policy_block p {
    font-size: 16px;
    line-height: 2.3;
}
.policy_block p span {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    border-bottom: thin solid #222;
    margin-top: 1em;
    margin-bottom: -2em;
}
.policy_block p img {
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.policy_block .custom-price-table {
    margin-top: 80px;
}
.policy_block table tr td:nth-child(1) {
  width: 35%;
}
.policy_block table tr td:nth-child(2) {
  background-color: #fff;
}

/* 会社概要 */
.company_wrapper  {
    width: 100%;
    padding: 0 0 50px;
    margin: 0;
}
.company_block {
    max-width: 1100px;
    margin: auto !important;
    padding: 20px 20px 0;    
}
.company_block .richtext.center {
    margin-top: 0;
}
.company__flex {
    margin-top: 30px;
}
.company__flex--img {
    max-width: 270px;
    max-height: 300px;
}
.company__flex--img img {
    max-height: 300px;
    object-fit: contain;
}
.company_block table.has-fixed-layout,
.company_block table.has-fixed-layout th,
.company_block table.has-fixed-layout td {
    border: none;
    border-collapse: collapse;
}
.company_block table.has-fixed-layout tr td:first-child {
    width: 25%;
    font-size: 17px;
    font-weight: bold;
    border-bottom: 2px solid #1d3f87;
    white-space: nowrap;
    vertical-align: middle;
    padding: 15px 10px;
}
.company_block table.has-fixed-layout tr td:last-child > *::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #001e60;
}
.company_block table.has-fixed-layout tr td:last-child {
    font-size: 17px;
    line-height: 2;
    border-bottom: 1px solid #ddd; /
    vertical-align: top;
    padding: 15px 10px;
}
.company_block table.has-fixed-layout tr td:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.company_block table.has-fixed-layout tr td:last-child span::before {
    content: "•";
    margin-right: 0.5em;
    color: #001e60;
    position: relative;
}
.company_block table tr:last-child td:last-child {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1.5em;
  line-height: 1.8;
  font-size: 16px;
}
.company_block table tr:last-child td:last-child img {
  display: block;
  width: 150px;
  height: auto;
  flex-shrink: 0;
}
.company_block table tr:last-child td:last-child img::before {
    display: none;
}
.history_block,
.access_block {
    margin-top: 100px !important;
}
.company_block .history table.has-fixed-layout tr td:first-child {
    width: 15%;
    font-size: 17px;
    font-weight: bold;
    border-bottom: 2px solid #1d3f87;
    white-space: nowrap;
    vertical-align: middle;
    padding: 15px 10px;
}
.wp-block-columns.access_map {
    margin-top: 30px;
}
.wp-block-column.map_wrapper.is-layout-flow.wp-block-column-is-layout-flow {
    flex-basis: 100% !important;
}

@media screen and (max-width: 768px) {
    .company_block table.has-fixed-layout {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        word-break: break-word;    
        padding: 0 16px;
    }
  .company_block table.has-fixed-layout,
  .company_block table.has-fixed-layout thead,
  .company_block table.has-fixed-layout tbody,
  .company_block table.has-fixed-layout tr,
  .company_block table.has-fixed-layout td {
    display: block;
    width: 100%;
  }

  .company_block table.has-fixed-layout tr {
    margin-bottom: 2em;
    border-bottom: none;
  }

    .company_block table.has-fixed-layout td {
      box-sizing: border-box;
    }
  .company_block table.has-fixed-layout tr td {
    border-bottom: none;
    padding: 10px 0;
  }
  .company_block table.has-fixed-layout tr td:first-child {
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 2px solid #1d3f87;
  }
  .company_block table.has-fixed-layout tr td:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    font-size: 15px;
    padding-left: 1em;
    border-bottom: 1px solid #ddd;
  }

  .company_block table.has-fixed-layout tr td:last-child span::before {
    content: "•";
    margin-right: 0.5em;
    color: #001e60;
    position: relative;
  }
}

/* 新着 */
.news_wrapper {
    width: 100%;
    padding: 0 0 50px;
    margin: 0;
}
.news_block {
    max-width: 1100px;
    margin: -50px auto 0 !important;
    padding: 20px 20px 0;    
}
/* ページネーション */
.news-pagination {
    text-align: center;
    margin: 40px 0;
}
.news-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 4px 20px;
    border: 2px solid #1d3f87;
    border-radius: 50px;
    font-size: 14px;
    color: #1d3f87;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.news-pagination .page-numbers:hover {
    background-color: #1d3f87;
    color: #fff;
}
.news-pagination .page-numbers.current {
    background-color: #1d3f87;
    color: #fff;
    cursor: default;
}

/* お問い合わせ */
.contact_wrapper {
    width: 100%;
    padding: 0 0 50px;
    margin: 0;
}
.contact_block {
    max-width: 1100px;
    margin: 0 auto 0 !important;
    padding: 20px 20px 0;    
}
.margin_zero {
    margin-top: 0;
}
.contact__cont--wrapper {
    max-width: 1100px;
    margin: 30px auto 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    border: 1px solid #eee; 
    width: 100%;
    box-sizing: border-box;
}
.contact__cont--wrapper .wp-block-list {
    list-style: disc;
    padding: 0;
    margin-left: 40%;
    font-size: 20px;
    color: #040E3C; 
    text-align: left;
}
.contact_box {
    background-color: rgba(244, 244, 244, 1);
    padding: 30px;
}

/* ContactForm7 全体のスタイル */
.wpcf7 {
    padding: 20px;
    border-radius: 10px;
    margin: auto;
}
/* ラベルのスタイル */
.wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}
/* 必須フィールドのラベルスタイル */
.wpcf7-form .required {
    background-color: #c70909;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 10px;
    font-size: 12px;
}
/* インプットフィールドのスタイル */
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 18px;
    background-color: #ffffff;
}
/* テキストエリアのスタイル */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}
/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
    background-color: rgba(38, 81, 165, 1);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}
.wpcf7-form input[type="submit"]:hover {
    background-color: rgba(38, 81, 165, 0.6);
}
/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
    color: red;
    font-size: 14px;
}
.wpcf7-form .wpcf7-mail-sent-ok {
    color: green;
    font-size: 16px;
    margin-bottom: 20px;
}
/* Contact Form 7のinputフィールドの幅と高さを調整 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"] {
  width: 100%;            /* 幅を100%に設定、親要素に合わせて広がります */
  padding: 10px;          /* 内側の余白を設定 */
  font-size: 16px;        /* フォントサイズを調整 */
  line-height: 1.5;       /* 行の高さを調整 */
  border: 1px solid #ccc; /* 枠線の色を薄いグレーに設定 */
  border-radius: 5px;     /* 角を丸くする */
  box-sizing: border-box; /* パディングとボーダーを含めた幅の設定 */
}
/* テキストエリアと入力フィールドの間の隙間を空ける */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  margin-top: 10px;  /* 上に10pxの隙間を追加 */
  padding: 10px;     /* 内側の余白を調整 */
  font-size: 16px;   /* フォントサイズを調整 */
}
/* チェックボックスとラジオボタンの位置調整 */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  margin-top: 0;           /* 上の余白を削除 */
  margin-right: 8px;       /* チェックボックスやラジオボタンとラベルの間にスペースを追加 */
  vertical-align: middle;  /* チェックボックスとラジオボタンをテキストと縦に揃える */
  transform: none;         /* translateYを解除して位置調整を削除 */
}

/* チェックボックスとラジオボタンのラベル（テキスト） */
.wpcf7 label {
  line-height: 2;
}

/* option要素の文字サイズを調整 */
.wpcf7 select option {
  font-size: 18px;         /* optionのフォントサイズを調整 */
  padding: 20px;           /* option内の余白を調整 */
}
/* フォーカス時のスタイルを変更 */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus {
  border-color: #5b9bd5;  /* フォーカス時の枠線の色を変更 */
  outline: none;          /* フォーカス時のアウトラインを削除 */
}

/* ボタンのサイズ調整 */
.wpcf7 input[type="submit"] {
    display: block;           /* ブロック要素にして幅を指定できるように */
    margin: 30px auto;           /* 左右のマージンを自動で設定し、中央に配置 */
    background: rgba(38, 81, 165, 1);
    min-width: 280px;
    min-height: 55px;
    font-family: inherit;
    font-size: 20px;
    border: 1px solid rgba(38, 81, 165, 1);
    border-radius: 50vh;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    margin-bottom: 0;
    padding: 15px;
}

.wpcf7 input[type="submit"]:hover {
    background: #fff;
    color: rgba(38, 81, 165, 1);
}
/* Contact Form 7のselectフィールドのサイズを調整 */
.wpcf7 select {
  width: 100%;             /* 幅を100%に設定 */
  padding: 10px;           /* 内側の余白を調整 */
  font-size: 18px;         /* フォントサイズを調整 */
  line-height: 2;        /* 行の高さを調整 */
  border: 1px solid #ccc;  /* 枠線を薄いグレーに設定 */
  border-radius: 10px;      /* 角を丸く設定 */
  box-sizing: border-box;  /* パディングとボーダーを含めて幅の計算 */
}

/* フォーカス時のスタイルを変更 */
.wpcf7 select:focus {
  border-color: #5b9bd5;   /* フォーカス時の枠線の色 */
  outline: none;           /* フォーカス時のアウトラインを削除 */
  margin-top: 10px;
}

/* お役立て記事一覧 */
.post__archive--wrapper {
    width: 100%;
    padding: 0 0 50px;
    margin: 0;
}
.post__archive--block {
    max-width: 1100px;
    margin: -50px auto 0 !important;
    padding: 20px 20px 0;    
}
.blog_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog_item {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.blog_thumbnail,
.blog_thumbnail img {
    width: 216px; /* アイキャッチ画像の幅 */
    height: 113px; /* 高さを設定 */
    object-fit: cover; /* 画像の縦横比を保ちつつ、指定サイズに合わせて表示 */
}

.blog_content {
    flex-grow: 1;
}

.blog_title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 10px;
}

.blog_date {
    display: block;
    font-size: 14px;
    color: #040E3C;
    margin-top: 10px;
}

.blog_excerpt {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
}

.post__archive--block a.read_more {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    font-size: 16px;
    color: #0073aa;
}

.post__archive--block a.read_more:hover {
    text-decoration: underline;
}

.wpp-ajax h2 {
    font-size: 24px;
    font-size: clamp(20px, 15.014px + 0.624vw, 24px);
    margin-top: 0;
}


/* 個別投稿 */
.post__main--wrapper {
    max-width: 1100px;
    margin: 0 auto 0 !important;
    padding: 20px 20px 0;
    font-size: 17px;
}
.post__main--wrapper .post_thumb,
.post__main--wrapper .post_thumb img {
    max-width: 1100px;
    padding: 20px 0;
}
.post__main--wrapper h2.post_title {
    max-width: 1100px;
    padding: 0 20px;
    margin: 0;
    font-size: 46px;
    line-height: 1.4;
}
.post__main--wrapper .wp-block-columns.post_meta {
    max-width: 1100px;
    padding: 0 20px 20px;
    display: flex;
    justify-content: flex-start;   
}
.post__main--wrapper .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #040E3C;
}
.post__main--wrapper .has-text-align-left.wp-block-post-date {
    margin-left: 0 !important;
}

.post__main--wrapper .wp-block-columns.post_meta {
    display: flex;
    gap: 20px;
}
..post__main--wrapper wp-block-columns.post_meta .wp-block-column {
    display: flex;
    flex-direction: row;
}
.post__main--wrapper .wp-block-columns.post_meta .wp-block-post-date,
.post__main--wrapper .wp-block-columns.post_meta .taxonomy-category {
    margin: 0;
}
.post__main--wrapper .wp-block-columns.post_meta .wp-block-post-date time {
    font-size: 16px;
    color: #040E3C;
}
.post__main--wrapper .wp-block-columns.post_meta .taxonomy-category a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(38, 81, 165, 1);
    margin-left: 10px;
}
/* 日付にカレンダーアイコンを追加 */
.post__main--wrapper .wp-block-post-date::before {
    content: "\f133"; /* FontAwesomeのカレンダーアイコン */
    font-family: 'FontAwesome';
    margin-right: 8px; /* アイコンとテキストの間にスペースを追加 */
}

/* カテゴリーにフォルダーアイコンを追加 */
.post__main--wrapper .taxonomy-category a::before {
    content: "\f07c"; /* FontAwesomeのフォルダーアイコン */
    font-family: 'FontAwesome';
    margin-right: 8px; /* アイコンとテキストの間にスペースを追加 */
}

body.post-template-single-sidebar .wp-container-core-post-content-is-layout-1 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
}
body.single-format-standard .wp-block-group .decimal {
    list-style-type: decimal;
}
#ez-toc-container {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 40px;
    border: 1px solid #ccc;
    color: rgba(4, 14, 60, 1);
    background-color: #fff;
    margin-top: 60px;
}
.ez-toc-title-container {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    color: rgba(4, 14, 60, 1);
}
#ez-toc-container li a {
    font-weight: 400;
    color: rgba(4, 14, 60, 1); 
    line-height: 2;
}
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h1 {
    font-size: 36px;
    font-size: clamp(24px, 9.042px + 1.872vw, 36px);
    margin-top: -30px;
    margin-bottom: 30px;
    line-height: 1.4;

}
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h2 {
    font-size: clamp(20px, 7.535px + 1.56vw, 30px);
    margin: 20px 0;
    background: #f6f6f6;
    padding: 20px !important;
    border-left: solid 5px #888;
    border-bottom: none !important;
    margin-top: 80px;
    margin-bottom: 40px;
}
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h3 {
    font-size: clamp(18px, 5.535px + 1.56vw, 28px);
    border-bottom: solid 1px #ccc;
    border-top: solid 1px #ccc;
    padding: 10px;
    margin: 40px 0 !important;
}
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group p {
    font-size: 16px;
}
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group .wp-block-image.aligncenter>figcaption {
    text-align: right;
}
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group table,
body:not(.post-template-single-sidebar).single-format-standard .wp-block-group table td  {
    border-color: #ccc;
}
blockquote.wp-block-quote.is-layout-flow.wp-block-quote-is-layout-flow {
    position: relative;
    padding: 60px 40px;
    margin: 20px 0;
    background-color: #eee;
    font-size: 1em;
    color: rgba(4, 14, 60, 1);
    line-height: 1.6;
    border-left: none;
}

blockquote::before {
    content: "\201C"; /* 開始引用符 */
    content: '“';
    font-size: 5em;
    font-family: 'Times New Roman', 'ＭＳ Ｐゴシック', sans-serif;
    color: #fff;
    position: absolute;
    top: -16px;
    left: 10px;
}

blockquote li {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(4, 14, 60, 1); 
}

blockquote li a {
    margin: 0;
    font-size: 12px;
    color: #2D6EB3;
    margin-left: -40px;
}

blockquote footer {
    text-align: right;
    font-style: italic;
    font-size: 0.9em;
    color: #555;
}



/* 前の記事　次の記事 */
.post__navigation--wrapper {
    width: 100%;
    margin: 100px 0 50px;
}
.post__navigation--block {
    max-width: 1100px;
    margin: 0 auto 0 !important;
    padding: 20px 0 0;    
}
.wp-block-column.post__navigation--block.is-layout-flow.wp-block-column-is-layout-flow {
    display: block;
}
.wp-block-columns.post__navigation--wrapper.is-layout-flex.wp-container-core-columns-is-layout-8.wp-block-columns-is-layout-flex {
    max-width: 1100px;
}
.post-navigation {
    max-width: 1100px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.post-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #040E3C;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    width: 460px;
    max-width: 100%;
    border-radius: 8px;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.post-nav-link:hover {
    background-color: rgba(38, 81, 165, 0.7);
    color: #fff;
}

.nav-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.nav-icon {
    font-size: 24px;
}

.nav-icon i {
    color: #0073aa;
}
.post-nav-link:hover .nav-icon i {
    color: #fff;
}
.post-thumbnail {
    width: 130px;
    height: auto;
    padding: 0 10px;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.post-title {
    font-size: 14px;
    text-align: left;
}


/* アーカイブページ */
main.wp-block-group.archive__block.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    max-width: 1100px;
    margin: 0 auto 0 !important;
    padding: 20px 20px 0;     
}
body.archive .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1100px;
    padding: 20px;
}
.archive__block .wp-block-query.alignfull.is-layout-flow.wp-block-query-is-layout-flow {
    max-width: 1100px;
    padding: 20px;
    margin: 50px 0;
}
.archive__block .has-global-padding {
    padding-right: 0;
    padding-left: 0;
    display: flex;
}
body.archive .wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-top: 10px !important;
    padding-bottom: 30px!important;
    border-bottom: thin solid #ccc; 
}
/* 投稿リストアイテムを横並びに */
.archive__block .wp-block-post {
    display: flex; /* 横並びにするためにflexを使う */
    gap: 20px; /* アイキャッチ画像とコンテンツの間隔 */
    align-items: flex-start; /* アイキャッチとテキストの上下を合わせる */
    flex-wrap: wrap; /* レスポンシブ対応のために折り返しを有効に */
    width: 100%;
}

/* アイキャッチ画像（figure） */
.archive__block .wp-block-post-featured-image {
    flex-shrink: 0; /* 画像が縮小しないようにする */
    width: 312px; /* アイキャッチ画像の幅 */
    height: auto; /* 高さは自動で調整 */
    margin-right: 20px; /* 画像とコンテンツの間に隙間を作る */
}

/* アイキャッチ画像の画像に対する設定 */
.archive__block .wp-block-post-featured-image img {
    width: 100%; /* アイキャッチ画像が親要素に合わせて100%になるように */
    height: auto; /* 高さは自動で調整 */
    aspect-ratio: 16 / 9; /* アスペクト比の設定 */
}

/* コンテンツ部分（タイトル、本文、日付） */
.archive__block .wp-block-post-title,
.archive__block .wp-block-post-date {
    flex-grow: 1; /* コンテンツ部分が残りのスペースを埋める */
}

/* タイトルのカスタマイズ */
.archive__block .wp-block-post-title {
    font-size: 20px !important;
    line-height: 1.6;
    margin: 0;
    padding: 10px 30px;
}

.wp-block-group.archive__meta--block {
    margin-left: 0 !important;
    margin-right: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
/* 日付部分のスタイル */
.archive__block .archive__meta--date {
    padding: 0 30px 8px;
}
.archive__block .archive__meta--date::before {
    content: "\f133"; /* FontAwesomeのカレンダーアイコン */
    font-family: 'FontAwesome';
    margin-right: 8px; /* アイコンとテキストの間にスペースを追加 */
}
.archive__block .archive__meta--cat {
    padding: 10px 0;
}
.archive__block .archive__meta--cat a::before {
    content: "\f07c"; /* FontAwesomeのフォルダーアイコン */
    font-family: 'FontAwesome';
    margin-right: 8px; /* アイコンとテキストの間にスペースを追加 */
}

/* コンテンツ部分全体のスタイル調整 */
.archive__block .wp-block-group.post__flex--box.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    display: flex; /* flexboxを使って横並びに */
    flex-direction: column;
}

/* レスポンシブ対応（横幅が狭い場合にアイキャッチ画像とテキストを縦に並べる） */
@media (max-width: 768px) {
    .archive__block .wp-block-post {
        flex-direction: column; /* 横並びを縦並びに変更 */
        align-items: center; /* コンテンツを中央寄せ */
    }

    .archive__block .wp-block-post-featured-image {
        width: 100%; /* アイキャッチ画像が全幅になるように */
        margin-bottom: 10px; /* 画像とタイトル・本文の間に隙間を作る */
    }

    .archive__block .wp-block-post-title {
        text-align: center;
    }

    .archive__block .wp-block-post-content {
        display: block; /* 本文を表示 */
    }
}


/* 投稿記事 */
body.single .main_wrapper {
    max-width: 1100px;
    margin: 0 auto 0 !important;
    padding: 20px 20px 0;  
}
body.single .main_wrapper .page__title--wrapper {
    margin: auto;
}
body.single .main_wrapper h1.page__title--wrapper.wp-block-post-title {
    font-size: 33px;
    font-size: clamp(26px, 17.275px + 1.092vw, 33px);
    line-height: 1.6;
    padding-top: 10px;
}
body.single .main_wrapper .wp-block-post-content {
    display: flow-root;
    font-size: 16px;
    line-height: 2;
    padding-top: 50px;
}
body.single .main_wrapper .wp-block-post-content a {
    color: rgba(38, 81, 165, 1);
}
body.single .main_wrapper h2.wp-block-heading {
    padding-bottom: 10px;
    border-bottom: thin solid #ccc;
}



/* 人気記事ランキング */
.wpp-cards li h3.wpp-post-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
}
.wpp-cards li {
    position: relative;
}
.ranking-number {
    position: absolute; /* 画像の左上に配置 */
    top: 0;  /* 画像からの縦方向の位置調整 */
    left: 0; /* 画像からの横方向の位置調整 */
    background-color: #0073aa; /* 背景色を青に設定 */
    color: white; /* 文字色を白に設定 */
    padding: 5px 10px; /* パディング調整 */
    font-size: 16px; /* 数字のサイズ */
    font-weight: bold; /* 数字を太字に */
    border-radius: 50%; /* 丸い背景 */
    z-index: 10; /* 画像の上に表示させるため */
}




/* Footer */
fotter .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-top: 0 !important;
    padding-bottom:: 0 !important
}
.wp-block-columns.footer-contact {
    width: 100%;
    height: 426px;
    background-image: url(images/footer_bg.avif);
    background-size: cover;
    background-position: center;
    padding-bottom: 50px;
    margin-top: 50px;
    color: #fff;
}
.footer-contact .richtext {
    color: #fff;
}
p.has-text-align-center.contact-block.fs_16 {
    font-size: 16px;
    margin: 26px 0 0;
}
.footer-button {
    max-width: 890px;
    margin: auto;
    display: flex;
    justify-content: space-around;    
}
.contact-link {
    text-align: center;
    margin-top: 50px;
}
.contact-link a {
    color: #fff;
    font-weight: bold;
    text-align: center;
}
/*
footer .wp-block-columns.is-style-default {
    display: none;
}
*/
footer .wp-block-button.setumei-button .wp-block-button__link,
footer .wp-block-button.download-button .wp-block-button__link {
    font-size: 20px;
}
body.home footer .wp-block-columns.is-style-default {
    display: flex;
    max-width: 1100px;
    margin: auto;   
}
footer .wp-block-columns.is-style-default {
    display: flex;
    max-width: 1100px;
    margin: auto; 
    padding-top: 80px;  
}
footer.wp-block-template-part {

}
footer .footer_logo img {
    max-width: 250px !important;
    width: 100% !important;
}
footer .footer_menu a {
    color: inherit;
}
footer .footer_menu a:hover {
    opacity: .4;
}
footer .footer_menu .menu_one,
footer .footer_menu .menu_two,
footer .footer_menu .menu_three {
    font-size: 16px;
    line-height: 2.5;
    border-left: 1px solid rgba(38, 81, 165, 1);
    padding-left: .5em;
}
footer .footer_menu .menu_one p,
footer .footer_menu .menu_two p,
footer .footer_menu .menu_three p {
    margin-top: -.5em;
    margin-bottom: -.5em;
}
footer .wp-block-column.footer_copyright {
    width: 100vw;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin: 100px 0 0;
    padding: 0;    
}
footer .wp-block-column.footer_copyright p {
    font-size: 12px;
    line-height: 1.3;
    color: #fff;
    text-align: center;    
}
.go-to-top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}

.go-to-top img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0;
    padding: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}
.wp-block-comments,
.wp-block-group.alignwide.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    display: none;
}

@media screen and (min-width: 799px) {
    .bottom__menu--wrapper {
        display: none;
    }
}


@media screen and (max-width: 799px) {
    .single .breadcrumb-wrapper {
        padding-top: 65px;
        padding-bottom: 5px;
        border-bottom: thin dotted #ccc;
    }
    .blog_item {
        display: flex;
        flex-direction: column;
    }
    .post__archive--block h2.wp-block-heading.has-text-align-center.rich-heading {
        display: none;
    }
    .blog_thumbnail,
    .blog_thumbnail img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }    
    .wpp-ajax h2 {
        font-size: 20px;
    }
    .post-navigation {
        flex-direction: column;
        margin-right: 20px;
    }
    .post-nav-link {
        width: 100%;
        margin-bottom: 30px;
    }
    body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h1 {
        font-size: 24px;

    }
    body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h2 {
        font-size: 20px;
    }
    body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h3 {
        font-size: 18px;
    }    
    body.single .main_wrapper h1.page__title--wrapper.wp-block-post-title {
        font-size: 26px;
        line-height: 1.6;
        padding-top: 10px;
    }
    footer .wp-block-columns.is-style-default {
        flex-direction: column;
        padding: 30px 20px 0;
        margin-bottom: -50px;
    }

    .mini-text {
        font-size:14px;    
    }
}

@media screen and (max-width: 798px) {
    footer .wp-block-column.footer_copyright,
    .go-to-top {
        bottom: 0;
        margin-bottom: 70px;
    }
    .bottom__menu--wrapper {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 70px;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
        z-index: 30;
        display: flex;
        justify-content: space-around;
        align-items: center; 
    }
    .bottom__menu--wrapper .bottom__menu--block {
        width: 33%;
        text-align: center;
        font-size: 30px;
    }
    .bottom__menu--wrapper .bottom__menu--block i {
        font-size: 30px;
        display: block;
        color: rgba(38, 81, 165, 1);
    }
    .bottom__menu--wrapper .bottom__menu--block a {
        display: block;
        color: rgba(38, 81, 165, 1);
        padding-top: 10px;
        padding-bottom: 5px;
        line-height: 10px;
        text-decoration: none;
    }
    .bottom__menu--wrapper .bottom__menu--block a:hover {
        color: rgba(38, 81, 165, .7)
    }  
    /* 初期状態では非表示 */
    .go-to-top,
    .bottom__menu--wrapper {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    /* .showクラスが追加されたときに表示 */
    .go-to-top.show,
    .bottom__menu--wrapper.show {
        display: flex;
        opacity: 1;
    }    
}

@media screen and (max-width: 781px) {
    .white-box.wide {
        display: flex;      
    }
 
    .faq_block .left {
        max-width: 30px !important;
        font-size: 24px;
        font-weight: 700;
        padding: 0;
        margin-top: -5px;
    }
    .faq_block .right {
        width: 100%;
        font-size: 16px;
        padding: 0;
        margin-left: 0;
    }
    .page-id-27 .entry-content {
        margin-top: 30px;
    }
    .breadcrumb {
        padding: 0 0.5em;
    }
    .breadcrumb span.for_top {
        padding-left: 0;
        margin-left: -0.5em;
    }
    .page-id-27 .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
    }
    body.post-template-single-sidebar .main_wrapper .is-layout-flex {
        display: block;
    }
    body.post-template-single-sidebar .wp-block-heading {
        margin-top: 50px; 
    }
}

@media screen and (min-width: 768px){
    a[href^="tel:"]{
        pointer-events: none;
    }
}

@media screen and (max-width: 768px) {
    .about__section {
        padding-left: 10px;
        padding-right: 10px;
    }
}


@media screen and (max-width: 767px) {
    .efficiency {
        flex-direction: column;
    }
    .white-wrapper {
        width: 350px;
        display: block !important;
    }
    .feature_flex,
    .functions_flex {
        width: 350px;
        display: block !important;
        margin: 20px auto;
    }
    .white-wrapper .white-box,
    .feature_flex .feature_box {
        margin-bottom: 20px;
    }
    .feature_images .is-layout-flex {
        flex-direction: column !important;
    }
    .case-inner {
        padding: 0 10px !important;
    }
     section.content-elements .element {
        width: 350px;
    }
    body.page-id-183 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 0 !important;
    }
    .company__flex--img {
        align-items: center;
        max-width: 80px;
    }
    .company__flex--cont {
        max-width: calc(100% - 80px);
    }
    .wp-block-columns.footer-contact {
        height: auto;
    }
    .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
    }
    .company_block table.has-fixed-layout tr {
        margin-bottom: 0.5em;
    }
    .footer-button {
        flex-direction: column;
    }
    .contact-link {
        margin-top: 50px !important;
    }
    footer .footer_logo img {
        max-width: 150px !important;
    }
}

@media screen and (min-width: 500px){
  .breadcrumb {
        margin-left: 30px;
    }
}

@media screen and (max-width: 500px) {
    .header_mv {
        height:  65vh;
        padding: 30px 0 30px;
    }
    .mv__block--text h2.wp-block-heading {
        font-size: 20px;
    }
    .mv__block--text h2.wp-block-heading span {
        font-size: 26px;
        font-size: clamp(22px, 10.000px + 3.2vw, 26px);
    }
    h2.rich-heading {
        font-size: 24px;
        font-size: clamp(20px, 8.000px + 3.2vw, 24px);
    }
    .solution-flex .solution-block,
    .solution-wrapper:nth-of-type(odd) .solution-flex .solution-block,
    .solution-wrapper.third .solution-block {
        max-width: 90% !important;
    }
    .second_wrapper .point_flex {
        padding: 20px 0;
    }
    .reserve-flow {
        max-width: 100%;
        padding: 0;
    }
    .first__flex .point-block,
    .second_wrapper .point_flex .point-block,
    .second_wrapper .point_flex .point-block.revers {
        max-width: 63%;
        max-width: clamp(80%, calc(7.2vw + 61.2%), 86%);
        max-width: clamp(80%, calc(5.6vw + 58%), 87%);
        margin-left: 0;
        margin-right: 20px;
    }
    .solution-block h3.wp-block-heading,
    .second_wrapper .point-block h3.wp-block-heading {
        font-size: clamp(20px, 8.000px + 3.2vw, 24px);
    }
    .wp-block-columns.access_map {
        margin-top: 30px;
        flex-direction: column;
    }   
    .reason_text,
    .price_wrapper {
        padding-left: 10px;
        padding-right: 10px;        
    }
    .second_wrapper .point_flex .point-block {
        padding: 20px 30px;
    }
    .solution-flex .solution-block {
        padding: 20px;
    }
    p.second.center {
        padding-left: 20px;
        padding-right: 20px;
        /* text-align: left; */
    }
    .solution-block .sub-title {
        padding-top: 20px;
    }
    .case-inner {
        flex-direction: column;
        min-height: 100px;
    }
    .case-image {
        width: 98%;
        max-width: 100%;
        padding-top: 3%;
    }
    .case-content {
        width: 98%;
    }
    h1.page-hero__title {
        font-size: 28px;
    }
    .page-id-191 h2.wp-block-heading,
    .page-id-189 h2.wp-block-heading,
    .page-id-193 h2.wp-block-heading,
    .policy_block h2.wp-block-heading {
        display: none;
    }
    .case__wrapper {
        padding: 0;
    }
    .case__wrapper--block {
        padding: 0;
    }
    .social-share-buttons li {
        padding: 10px !important;
    }
    .case__wrapper--block h2 {
        font-size: clamp(20px, 8.000px + 3.2vw, 24px);
    }
    .grey__back {
        padding: 20px;
    }
    .news-date {
        width: 80px;
        flex-shrink: 0;
    }
    .news-title {
        padding-right: 1em;
    }
    .contact__cont--wrapper .wp-block-list {
        list-style: disc;
        padding: 0;
        margin-left: 0;
        font-size: 18px;
        color: #040E3C;
        text-align: left;
    }
    body:not(.post-template-single-sidebar).single-format-standard .wp-block-group h2 {
        font-size: 20px;
        line-height: 1.6;
    }
    .wp-block-button.setumei-button .wp-block-button__link,
    .wp-block-button.download-button .wp-block-button__link {
        width: 90vw;
    }
    .wp-block-columns.footer_menu.wp-block-columns-is-layout-flex {
        display: flex;
        flex-direction: column;
        flex-basis: 0 !important;
        margin-left: 20px;
    }
    h1.page-hero__subtitle, h2.page-hero__title {
        font-size: clamp(20px, 2.000px + 4.8vw, 26px);
    }
    footer .footer_menu .menu_one,
    footer .footer_menu .menu_two,
    footer .footer_menu .menu_three {
        border-left: none;
    }
    footer .footer_menu p {
        line-height: 2;
    }     
    footer .footer_menu a {
        font-size: 16px;
        padding-bottom: 1em;
    }
    body.page-id-11 .fs_28 {
        font-size: clamp(22px, 4.000px + 4.8vw, 28px);
    }
    body.page-id-11 .fs_42 {
        font-size: clamp(20px, -10.000px + 8vw, 30px);/
    }
    body.page-id-11 .fs_20 {
        font-size: clamp(15px, 6.000px + 2.4vw, 18px);
    }
}

@media screen and (width: 799px) {
    .header_mv {
        top: 0;
    }
    .mv__block {
        top: 200px;
    }
    .page-hero {
        height: 180px;
        margin-top: 0;
    }
}