@charset "utf-8";

/*
Theme Name: ビズオール
Author: hironori hashimoto
Author URI: https://bizall.mjeinc.co.jp/
Description: ビズオールのオリジナルテンプレート
*/

/****************************
共通
****************************/

html {
  font-size: 100%;
    height: 100%;
    overflow: hidden;
	scroll-behavior: smooth;
}
[id] {
  scroll-margin-top: 80px; 
}
.smooth-scroll-container {
  scroll-behavior: smooth;
}
body {
    font-size: 1rem;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* -webkit-font-feature-settings: 'palt';
    font-feature-settings: 'palt'; */
    line-height: 28.8px;
    letter-spacing: 0.07em;
    color: #000;
    font-family: 'Noto Sans JP', "ヒラギノ角ゴシック Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
    font-weight: 500;
}

@media screen and (min-width: 560px) {
    body {
        line-height: 28.8px;
    }
}
html, body {
    overflow: visible!important;
    height: auto;
  }
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ::-webkit-scrollbar {
    width: 6px;
    height: 10px;
    background: #F89898;
      scrollbar-width: 6px;
  scrollbar-color:#F89898;
}

::-webkit-scrollbar-track {
    border-radius: 4px;
    box-shadow: 0 0 4px #aaa inset;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #F89898;
} */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

body p,
body span,
body dl,
h2,
h3,
h4,
h5,
h6 {
    transform: rotate(0.03deg);
    -moz-transform: rotate(0.03deg);
    -ms-transform: rotate(0.03deg);
    -o-transform: rotate(0.03deg);
    -webkit-transform: rotate(0.03deg);
}

h1,
h2,
h3,
h4 {
    line-height: 1.5;
    font-weight: bold;
}
h2{
  font-weight: 900;
}
h3,
h4 {
  font-weight: 800;
}
h1 a{
    display: inline-block;
}
h1 a:hover{
    opacity: 0.6;
}
ul {
    list-style-type: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .3s;
    display: block;
}

/********テキスト********/
.en {
    font-family: "Open Sans", sans-serif;
    font-display: swap;
    letter-spacing: 0px;
}

.jp {
    font-family: 'Noto Sans JP', "ヒラギノ角ゴシック Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
    font-display: swap;
}
@media screen and (min-width: 560px) {
.p-intro__body{
  text-align: center;
}
}
hr {
    border-top: 1px solid #ACB1B9;
    margin: 0;
}

.sp-block {
    display: block;
}

@media screen and (min-width: 560px) {
    .pc-block {
        display: block !important;
    }

    .sp-block {
        display: none;
    }

    .sp-br {
        display: none !important;
    }
}

/* 画面幅が560px以下の時*/

@media screen and (max-width: 559px) {
    .pc-block {
        display: none !important;
    }

    .sp-br {
        display: block !important;
    }
}

/********background********/

main {
    position: relative;
    overflow: hidden;
}

/************************************
** ヘッダー
************************************/
header {
  width: 100%;
  position: relative;
  transition: transform .4s ease;
}
#header-desktop {
  display: none;
}
#header-spacer {
  height:85px;
}
@media screen and (min-width: 960px) {
#header-desktop {
  display: block;
}
#header-spacer {
  height:auto;
}
#header-mobile{
  display: none;
}
}
  .p-sp__action-area {
        display: flex;
        align-items: center;
        gap: 11px; /* ハンバーガーメニューからの距離 */
    }
    .p-sp__contact-btn {
        display: block;
        background-color: #0095EE;
        color: #fff;
        text-align: center;
        font-size: 13px;
        font-weight: bold;
        line-height: 44px; /* 背景の高さに合わせる */
        height: 44px;
        width: 110px;
        border-radius: 22px; /* 見本に合わせて角を丸く */
        text-decoration: none;
        white-space: nowrap;
        transition: opacity 0.3s;
    }
    #sp-menu.panelactive ~ .p-sp__fixed-bar .p-sp__contact-btn {
        opacity: 0;
        pointer-events: none; /* クリック無効化 */
    }

#header-mobile .p-header__ticker {
        display: block;
        padding: 5px 15px;
        height: 25px;
            font-size: 10px;
    color: #707684;
    background: #F5F5F5;
    padding: 0px 20px;
        text-align: left;
        /* position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001; */
    }

    .p-sp__full-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    transform: translateY(0); 
        transition: transform 0.4s ease;
}
.p-sp__full-header.is-hidden {
        transform: translateY(-100%);
    }
.p-sp__fixed-bar {
    width: 100%;
    height: 60px; /* 高さは維持 */
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    }
    /* .p-header__logo img {
        max-height: 33px;
    } */
/* ハンバーガーボタンの配置 */
    .p-nav__toggle {
        display: block; 
        width: 44px; 
        height: 44px;
background-color: transparent;
        border: none;
        cursor: pointer;
        font-size: 24px;
        line-height: 40px;
        text-align: center;
        border-radius: 50%;
    }
    #sp-menu.panelactive ~ #header-mobile .p-nav__toggle {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}
.p-nav__toggle .icon-menu path {
    stroke: #F30F1D;
}
.p-nav__toggle .icon-close path {
    stroke: #F30F1D;
}

    .p-nav__toggle-icon {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.p-nav__toggle--close {
    background-color: #fff;
    color: #F30F1D;
}
.p-nav__toggle--close .icon-close {
    opacity: 1 !important; 
    transform: translate(-50%, -50%) rotate(0deg) !important;
}

.p-nav__toggle--close .icon-menu {
    opacity: 0 !important; 
    transform: translate(-50%, -50%) rotate(90deg) !important;
}
.p-nav__toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
    color:#F30F1D;
}
.p-nav__toggle .icon-menu {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}
.p-nav__toggle .icon-close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}
/* .p-sp__drawer-topbar{
      display: flex;
    justify-content: flex-end;
    margin-left: auto;
} */
.p-sp__drawer-topbar .p-nav__toggle--close .icon-menu {
        opacity: 0 !important;
        transform: translate(-50%, -50%) rotate(90deg) !important;
    }
    .p-sp__drawer-topbar .p-nav__toggle--close .icon-close {
        opacity: 1 !important;
        transform: translate(-50%, -50%) rotate(0deg) !important;
    }
    .p-sp__drawer-topbar .p-nav__toggle--close {
        background-color: #fff !important; 
        color: #F30F1D !important; /* SVGの線の色 */
    }
    .p-nav__toggle .p-nav__toggle-icon svg {
        position: absolute;
        top: 50%;
        left: 50%;
      }
.p-sp__drawer-header{
  position: relative;
    max-width: 90%;
    margin: 0 auto;
    padding: 40px 0px 20px;
            display: flex;
        justify-content: space-between;
}
    #sp-menu {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0px; 
        left: 0;
        z-index: 1002;
        background: rgb(245 246 247);
        transition: transform 0.3s ease-in-out;
        transform: translateY(-100%); 
        overflow-y: hidden;
    }
    #sp-menu.panelactive { 
        transform: translateX(0); 
        height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    }
    .p-header__bizuo{
      max-width: 117px;
      margin-left: auto;
    }
    #g-nav-list {
        display: block; 
        padding-top: 0;
    }
    .c-sp__global-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .c-sp__nav-item {
        background: #fff;
        border-radius: 4px;
        max-width: 90%;
        margin: 0 auto 12px;
    }
    
    .c-sp__nav-link {
        display: block;
        padding: 15px 30px; 
        font-weight: bold;
        font-size: 18px;
        position: relative;
    }
    .c-sp__nav-link.is-accordion-trigger::after {
        content: '\2212';
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: var(--font-size-l-fluid);;
        transition: transform 0.3s;
        color:#F30F1D;
    }
    .c-sp__nav-link.is-accordion-trigger.is-closed::after {
        content: '\2b';
    }
    .c-sp__sub-nav {
        list-style: none;
        padding: 0px 20px;
        margin: 0;
        background: #fff;
        font-weight: 800;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }
    
    .c-sp__sub-nav[hidden] {
        display: none !important;
    }
    .c-sp__sub-title {
      font-weight: bold;
        font-size: 15px;
        padding: 5px 0px;
    }
    
    .c-sp__sub-nav li a {
        display: block;
        padding: 5px 0;
        position: relative;
        color: #707684;
        font-size: 14px;
        line-height: 1.8;
    }
    .c-sp__sub-link::after {
              font-family: 'Material Icons';
        content: '\e5cc';
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        transition: .3s;
        font-size: var(--font-size-l-fluid);;
        font-weight: normal;
        color: #707684;
    }
    .p-header-link__inner{
      border-bottom: 1px solid #E7E8E8;
    }
    .p-header-link__inner:last-child{
      border-bottom: none;
    }
    .p-child__list{
      padding:16px 10px;

    }
    .c-sp__sub-link.is-red-top {
background-color: #f30f1d;
        color: white;
        padding: 15px 20px;
        font-weight: bold;
        display: flex;
        gap: 5px;
    }
    .c-sp__sub-link.is-red-top::after {
        color:#fff;
        right: 15px;
    }
    .p-sp__utilnav-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }
    .p-sp__utilnav-list {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .p-sp__utilnav-list li{
      flex:0 0 48.5%;
      max-width: 48.5%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 12px;
    }
    .p-sp__utilnav-list li .ico{
      display: flex;
      align-items: center;
    }
    .p-sp__utilnav-list li .ico .material-symbols-outlined{
      font-size:20px;
    }
    .p-sp__utilnav-list a {
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap:5px;
        color: #707684;
        padding:10px 5px;
        background: #fff;
        border-radius: 4px;
                width: 100%;
        height: 100%;
        letter-spacing: 0px;
    }
    @media screen and (min-width: 960px) {
      .p-sp__utilnav-list a {
        font-size: 12px;
        padding:10px;
      }
    }
    .ico img{
      vertical-align: middle;
    }
    .u-window__icon{
      max-width: 13px;
    }
/* @media screen and (min-width: 960px) {
  .header--unpinned {
    transform: translateY(0);
  }
}

@media screen and (min-width: 960px) {
  .header--unpinned .l-header__inner {
    position: relative;
  }
} */
.fixed header {
  position: fixed;
  top: 0px;
  left: 0px;
}
.l-header__items {
  position: relative;
  background-color: #fff;
}

#header.HeightMin {
  position: fixed;
  z-index: 10;
}
@media screen and (min-width: 960px) {
  #header.HeightMin {
    animation: DownAnime 0.5s forwards;
  }
}
.l-header__utility{
background-color: #F5F5F5;
}
.p-header__ticker{
    font-size:1rem;
    color: #707684;
}
@media screen and (min-width: 960px) {
  .p-header__ticker{
    padding-left: 28px;
    font-size:12px;
  }
}
@media screen and (min-width: 1280px) {

}
.p-header__tel--sm{
    color:#fff;
    background-color: #F30F1D;
    display: flex;
  justify-content: center;
  align-items: center;
  /* max-width: 400px;
  width: 100%; */
  padding: 7px 10px;
  height: 40px;
}
.p-header__tel-number .ico{
  display:inline-block;
  vertical-align:baseline;
  margin-right:0px;
  max-width: 20px;
}
@media screen and (min-width: 1280px) {
  .p-header__tel-number .ico{
    margin-right:6px;
    max-width: 100%;
  }
}
.l-header__inner {
  position: relative;
  transition: .3s;
  display: flex;
    justify-content: space-between;
    align-items: center;
}
.l-header__utility-grid{
  display:grid;
  grid-template-columns: auto 1fr 400px;
  align-items:center;
  column-gap:16px;
  width:100%;
  margin:0 auto;
}
.p-header__upper-link{
  display:contents;
}
.l-header__inner02{
  display:grid;
  grid-template-columns: auto 1fr 400px;
  align-items:center;
  column-gap: 20px;
      border-bottom: 1px solid #E7E8E8;
}
.l-header__contact{
    margin: 0 auto;
    padding-top: 50px;
}
@media screen and (max-width: 959px) {
  .l-header__contact{
    max-width: 90%;
  }
}
.p-nav--desktop{
  justify-self:end;
}
@media screen and (min-width: 960px) {
  .l-header__utility-grid,
  .l-header__inner02{
      grid-template-columns: auto 1fr minmax(auto, 25%);
  }
  .l-header__inner02{
  column-gap: 1%;
}
.u-header__right{
  background-color: #fff;
    border-radius: 50%;
    color: #0095EE;
    max-width: 26px;
    width: 100%;
    height: 26px;
    line-height: 26px!important;
    font-size: 15px!important;
    margin-left: 4%;
}
  }
@media screen and (min-width: 1280px) {
  .u-header__right{
    font-size: 16px!important;
    max-width: 34px;
    height: 34px;
    line-height: 34px!important;
    margin-left: 7%;
  }
  .l-header__utility-grid,
  .l-header__inner02{
      grid-template-columns: auto 1fr minmax(auto, 30%);
  }
  }
  @media screen and (min-width: 1280px) {
.p-nav--desktop{
  margin-right: 20px;
}
  }
@media screen and (min-width: 1441px) {
  .l-header__utility-grid,
  .l-header__inner02{
    grid-template-columns: auto 1fr 400px;
  }
.p-nav--desktop{
  margin-right: 35px;
}
}
.p-header__tel-hours{
    font-size:8px;
    text-align: center;
    line-height: 13px;
    margin-right: 0%;
}
@media screen and (min-width: 1280px) {
.p-header__tel-hours{
  margin-right: 20px;
  font-size:10px;
}
}
.p-header__tel-number{
    font-size:28px;
    line-height: 26px;
    font-weight: bold;
}
@media screen and (min-width: 960px) {
.p-header__tel-number{
font-size: clamp(16px, 2.5vw, 1vw);
}
}
@media screen and (min-width: 1280px) {
  .p-header__tel-number{
    font-size: clamp(16px, 2.5vw, 28px);
  }
}
@media screen and (min-width: 960px) {
  .p-nav__toggle{
    display: none;
  }
}
.p-header__utilnav-list{
    display: flex;
    font-size:12px;
    justify-content: flex-end;
}
@media screen and (min-width: 960px) {
  .p-header__utilnav-list{
    font-size:12px;
    margin-right: 2%;
    gap:6%;
  }
}
@media screen and (min-width: 1441px) {
  .p-header__utilnav-list{
    font-size:14px;

    margin-right: 35px;
    gap:30px;
    line-height: 1.8;
  }
}
.p-header__utilnav-list li{
    position: relative;
        display: flex;
    align-items: center;
}
.p-header__utilnav-list li + li::before{
    content:'';
    position:absolute;
    left:10px;
    width:1px;
    height: 20px;
    background: #CACCCE;
    left:-15px;
    top:50%;
    transform:translateY(-50%);
}
@media screen and (min-width: 1280px) {
  .p-header__utilnav-list li + li::before{
    left: -20%;
  }
}
@media screen and (min-width: 1441px) {
  .p-header__utilnav-list li + li::before{
    left:-15px;
  }
}
.p-header__utilnav-list .ico{
  display:inline-flex;
  margin-right:8px;
}
.p-header__utilnav-list li:nth-child(2) .ico{
  margin-right: 1px;
}
@media screen and (min-width: 560px) {
.p-header__utilnav-list .ico.u-window__icon{
  max-width: 15px;
  margin-left: 3px;
}
}
.p-header__utilnav-list li a{
display:inline-flex;
align-items:center;
color: #707684;
font-weight: 800;
}
.p-header__utilnav-list li a:hover{
  color:#000;
}
.p-header__contact-block,
.l-header__conversion-button{
  display: none;
}
@media screen and (min-width: 960px) {
  .p-header__contact-block{
    margin:0px;
  }
}

.p-header__logo img {
  transition: .3s;
  vertical-align: text-top;
  max-width: 160px;
}
@media screen and (min-width: 560px) {
  .p-header__logo img {
    max-width: 227px;
  }
}
@media screen and (min-width: 960px) {
  .p-header__logo {
    max-width: 200px;
    transition: .3s;
    padding-left: 28px;
  }

  .p-header__logo:hover{
    opacity: 0.6;
  }
}
@media screen and (min-width: 1280px) {
.p-header__logo {
  max-width: 272px;
}
}
/************************************
** ヘッダーナビゲーション
************************************/
.p-nav {
  position: relative;
}

.u-global__nav-link{
  display: block;
  padding: 16px 0;
  font-size: 15px;
  position: relative;
}
@media screen and (min-width: 960px) {
  .p-header__links{
width:auto;
display:contents;
  }
}
@media screen and (min-width: 960px) {
    .p-nav .c-global__nav {
display:flex;
justify-content:flex-end;
gap: clamp(14px, 2.2vw, 15px);
    font-weight: 900;
  }
@media screen and (min-width: 1441px) {
.p-nav .c-global__nav {
  gap: clamp(14px, 2.2vw, 28px);
}
}
  .p-nav .c-global__nav .p-global__nav-list {
flex:0 0 auto;
  }
.u-global__nav-link {
    text-align: center;
    padding: 11px 0;
    position: relative;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: none;
    transition: .3s;
    width:100%;
    font-weight: 700;
    overflow: hidden;
  }
  .u-global__nav-link span{
    position: relative;
    z-index:3;
    transition: .2s;
  }
.u-global__nav-link:hover span{
  color:#F30F1D;
  text-decoration: underline;
}

.u-global__nav-link:hover .material-icons{
  text-decoration: none!important;
}
.u-global__nav-link.is-current {
    position: relative;
    color:#F30F1D;
    text-decoration: underline;
}
  .l-header__conversion-button{
    /* max-width: 400px; */
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self:end;
    height:82px;
    font-weight: 900;
    overflow: hidden;
  }
.u-header__conversion-bgleft span:first-child{
  margin-right: 5px;
}

  .u-header__conversion-bgleft{
    text-align: center;
    font-size: var(--font-size-s-fluid);
    background-color: #0095EE;
    color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 24px 20px;
  }
  @media screen and (min-width: 1280px) {
      .u-header__conversion-bgleft{
        font-size: 1rem;
      }
  }
}
@media screen and (min-width: 1441px) {
.l-header__conversion-button{
  max-width: 400px;
}
}
.l-header__tel-number {
  font-weight: 700;
display: flex;
    justify-content: center;
    align-items: center;
        gap:5px;
}
.u-sp__header--inner{
  position: relative;
}
@media screen and (min-width: 960px) {
  .l-header__tel {
    font-size: 30px;
    font-weight: 900;
    text-align: right;
    margin-right: 4rem;
    line-height: 1.3;
    transition: .3s;
  }

  /* #header.HeightMin .l-header__tel {
    font-size: 2.5rem;
  } */

  /* #header.HeightMin .l-header__tel i {
    font-size: var(--font-size-l-fluid);
  } */
  .p-header__contact{
    font-size:11px;
    margin-right: 1vw;
  }
  /* .p-header__contact a:hover,
  .p-header__login a:hover{
    opacity: 0.7;
  } */
  .l-header__tel-number{
    font-size:11px;
  }

  .l-header__tel i {
    margin-right: 4px;
    line-height: 1;
    font-size: 25px;
  }
  .p-header__contact .fa-phone-alt{
    font-size:11px;
  }
}
.openbtn2{
  display: none;
}
.openbtn3{
  display: none;
}

/* ====================================
   Mega Menu (Dropdown) - Center Fix
   ==================================== */
@media screen and (min-width: 960px) {
/* --- 親要素の基準解除（中央表示用） --- */
    .p-global__nav-list--has-child,
    .p-nav,
    .l-header__inner02 {
        position: static;
    }
    .l-header__items {
        position: relative;
    }
    /* 下矢印アイコン（変更なし） */
    .u-nav-arrow {
        font-size: 16px;
        vertical-align: middle;
        transition: transform 0.3s;
    }
    
    /* ホバー時に矢印を回転 */
    .p-global__nav-list--has-child:hover .u-nav-arrow {
        transform: rotate(180deg);
    }

    /* --- メガメニュー本体 --- */
    .p-megamenu {
        position: absolute;
        top: 100%;
        /* ▼ 修正4: 画面中央（親基準の中央）に配置する魔法の記述 */
        left: 0;
        right: 0;
        margin: 0 auto;  
        width: 1244px; /* 指定の幅 */
        max-width: 100%; /* 画面からはみ出さないように */
        
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 15;
        text-align: left;
        padding: 56px 0px 88px;
        border-radius: 16px;
    }

    /* ホバーで表示 */
    .p-global__nav-list--has-child:hover .p-megamenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* --- レイアウト（以下、デザイン調整済み） --- */
    .p-megamenu__inner {
        display: flex;
        justify-content: space-between;
        gap: 40px;
    }

    /* 左側：CTAエリア */
    .p-megamenu__cta {
        flex: 0 0 304px;
    }

    .p-megamenu__cta-link {
           display: flex;
    flex-direction: column;
        background-color: #F30F1D;
        color: #fff !important;
        font-weight: 800;
        font-size: 18px;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        transition: opacity 0.3s;
        gap: 6px;
                padding: 24px 0px 0px;
        text-decoration: none;
        height: 100%;
    }
    /* .p-megamenu__cta-link:hover .p-megamenu__cta-image{
      scale: ;
    } */
    .p-megamenu__cta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
            padding: 0px 24px 0;
}
.p-megamenu__cta-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
}
.p-megamenu__cta-title img {
    width: 18px; /* アイコンの大きさに合わせて微調整してください */
    height: auto;
}
.p-megamenu__cta-arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #F30F1D;
    width: 42px;
    height: 42px;
    border-radius: 50%;
}
.p-megamenu__cta-arrow-circle .material-icons {
    font-size: 18px;
}
/* 複合機画像エリア */
.p-megamenu__cta-image {
    margin-top: auto; /* ★魔法のコード：余った空間を押し上げて、画像を必ず一番下に配置する */
    width: 100%;
    text-align: center;
    transition: .3s;
}

.p-megamenu__cta-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transition: .3s;
}

    .p-megamenu__cta-link .material-icons-outlined {
        font-size: 32px;
    }
    .p-megamenu__cta-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* 右側：コンテンツエリア */
    .p-megamenu__content {
        flex: 1;
    }

    /* 各行のレイアウト */
    .p-megamenu__row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #E7E8E8;
    }
 .p-megamenu__row:last-child {
        border-bottom: 1px solid #E7E8E8;
    }
    
    /* ランキング行 */
    .p-megamenu__row--rank {
        padding-top: 0;
        padding-bottom: 20px;
    }
    .p-megamenu__rank-link {
        display: inline-flex;
        align-items: center;
        font-weight: 800;
        font-size: 16px;
        gap: 8px;
        text-decoration: none;
    }
    .p-megamenu__rank-link img{
        max-width: 20px;
    }
    .u-icon-crown {
        color: #F30F1D;
        font-size: 24px;
    }
    .p-megamenu__circle-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #F30F1D;
        color: #fff;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        margin-left: 10px;
    }
    .p-megamenu__circle-arrow .material-icons {
        font-size: 18px;
    }

    /* 見出し（条件・メーカー等） */
    .p-megamenu__label {
        width: 160px;
        font-weight: 800;
        font-size: 14px;
        flex-shrink: 0;
        margin: 0;
    }
    
    .p-megamenu__label-group {
        width: 160px;
        flex-shrink: 0;
    }
    .p-megamenu__sub-link {
        display: inline-flex;
        align-items: center;
        font-size: 12px;
        color: #0095EE; /* 青色リンク */
        font-weight: 700;
        margin-top: 5px;
        text-decoration: none;
    }
    .p-megamenu__sub-link .material-icons {
        font-size: 14px;
        vertical-align: middle;
        
    }

    /* リンクのリスト */
    .p-megamenu__list {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
gap: 0px 30px; /* 縦12px, 横30pxの隙間 */
        padding: 0;
        margin: 0;
        list-style: none;
        max-width: 64.4%;
        flex:0 0 64.4%
    }
.p-megamenu__list li,
.p-guide__view-all a{
        width: calc(50% - 15px);
        margin: 0;
    }
    .p-megamenu__list .p-guide__view-all a{
      width: calc(50% - 15px)!important;
    }
    .p-megamenu__list li a {
display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        line-height: 1.8;
        color: #707684;
        transition: color 0.3s;
        width: 100%;
        text-decoration: none;
        font-weight: 800;
        padding:5px 0px;
    }
    .p-megamenu__list li a:hover {
        color: #F30F1D;
    }
    .p-megamenu__list li a .material-icons {
        font-size: 20px;
        color: #F30F1D; /* 赤い矢印 */
    }
}

/* ====================================
   Floating Menu Button & Full Overlay
   ==================================== */

/* --- 1. フローティングボタン（変更なし） --- */
.p-float-btn {
    display: none;
}
@media screen and (min-width: 960px) {
.p-float-btn {
      position: fixed;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-20px);
}
}
.p-float-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.p-float-btn__inner {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.p-float-btn__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #F30F1D; /* 赤色 */
    transition: all 0.3s;
}

/* ====================================
   Full Screen Menu (Final Fix v3)
   ==================================== */

/* --- 基盤設定 --- */
.p-full-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 背景グレー (#F5F5F5) */
.p-full-menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F5F5F5;
}

.p-full-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- レイアウト（1920px基準での比率再現） --- */
.p-full-menu__layout {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* ロゴとメニューの間隔 */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 40px; /* 上下の余白 */
    box-sizing: border-box;
    min-height: 100vh;
}

/* 左側：ロゴエリア (基準幅 227px) */
.p-full-menu__side-logo {
    flex: 0 0 227px; /* 幅固定 */
    max-width: 227px;
    padding-top: 15px; /* メニュー上部との位置合わせ */
}
.p-full-menu__side-logo img {
    width: 100%;
    height: auto;
}

/* 右側：白いメニューボックス (基準幅 1558px) */
.p-full-menu__container {
    flex: 1; /* 残りの幅を使用 */
    max-width: 1558px; /* デザインデータの最大幅 */
    background: #fff;
    border-radius: 16px; /* 角丸 16px */
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    max-height: calc(100vh - 120px); 
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}
.header-hambager__wrap {
    height: 100%;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 60px; /* 一番下までスクロールした時の余白 */
}
.p-full-menu.is-open .p-full-menu__container {
    transform: translateY(0);
}
.header-hambager__wrap::-webkit-scrollbar {
    width: 8px;
}
.header-hambager__wrap::-webkit-scrollbar-track {
    background: transparent; /* 背景になじませる */
}
.header-hambager__wrap::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
.header-hambager__wrap::-webkit-scrollbar-thumb:hover {
    background: #aaa; 
}
/* --- スマホ対応時の調整 --- */
@media screen and (max-width: 1440px) {
    .p-full-menu__layout {
        padding: 20px; /* スマホは余白を狭く */
    }
    
    .p-full-menu__container,
    .header-hambager__wrap { /* ⭕ カンマ区切りで追加 */
        max-height: calc(100vh - 40px);
    }
}

/* 閉じるボタン */
.p-full-menu__close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #F30F1D;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.p-full-menu__close-btn:hover {
    border-color: #F30F1D;
}
.p-full-menu__close-btn .material-icons {
    color: #F30F1D; /* 赤色 */
    font-size: 28px;
}

/* --- メニュー内部デザイン --- */
.p-full-menu__header {
    padding: 100px 0px 20px;
    border-bottom: 1px solid #CACCCE;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (min-width: 1600px) {
  .p-full-menu__header {
    max-width: 1116px;
    margin-left: 64px;
    margin-right: 0px;
  }
}
.p-full-menu__title {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: #F30F1D;
    margin: 0;
    display: flex;
    align-items: baseline;
}
.p-full-menu__title .ja {
    font-weight: bold;
    color: #F30F1D;
    margin-left: 15px;
    vertical-align: bottom;
    font-size: 16px;
}

/* スクロールエリアのパディング */
.p-full-menu__scroll {
    padding: 40px 0px 60px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.p-full-menu__scroll .cta__telnum{
  font-size: clamp(32px, 7vw, 48px);
}
@media screen and (min-width: 1441px) {
.p-full-menu__scroll {
  padding: 40px 0px 60px;
    max-width: 1116px;
    margin-left: 64px;
    margin-right: 64px;
        font-size: clamp(32px, 7vw, 55px);
}
}

/* 1. 総合TOPリンク (ボーダー下線) */
.p-menu-general-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid #CACCCE;
    margin-bottom: 32px;
    transition: color 0.3s;
    width: calc(50% - 30px);
}
.p-menu-general-top:hover {
    color: #F30F1D;
}
.p-menu-general-top .material-icons {
    color: #F30F1D;
    font-size: 20px;
}

/* 2. コピー機を探す (左右分割セクション) */
.p-menu-split-section {
    display: flex;
    gap: 60px;
    margin-bottom: 0; /* 下のセクションとくっつけるため0 */
    border-bottom: 1px solid #CACCCE;
    padding-bottom: 40px;
}

/* 左：見出し "コピー機を探す" */
.p-menu-split__head {
    flex: 0 0 200px; /* 固定幅 */
    font-weight: 800;
    font-size: 20px;
    padding-top: 15px; /* 上位置調整 */
}

/* 右：詳細コンテンツ */
.p-menu-split__body {
    flex: 1;
}
.p-menu-btns-row {
    margin-bottom: 24px;
  }
@media screen and (min-width: 960px) {
.p-menu-btns-row {
    display: flex;
    gap: 55px;
    margin-bottom: 24px;
}
}
.p-menu-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: opacity 0.3s;
}
.p-menu-btn:hover {
    opacity: 0.8;
}
.p-menu-btn__icon{
    margin-right: 5px;
}
.p-menu-btn__icon img{
    vertical-align: middle;
}
.p-menu-circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #F30F1D;
    color: #fff;
    margin-left: 15px;
}
.p-menu-circle-arrow .material-icons {
    font-size: 17px;
}

/* 各行 (条件・メーカーなど) */
.p-menu-row {
    display: flex;
    border-top: 1px solid #CACCCE;
    padding: 20px 0;
}
.p-menu-row.u-no-border {
    border-bottom: none;
    padding-bottom: 0;
}

.p-menu-label {
    font-weight: 800;
    font-size: 14px;
    margin: 0;
    /* padding-top: 4px; */
}
@media screen and (min-width: 960px) {
  .p-menu-label {
    flex: 0 0 20%;
  }
}
@media screen and (min-width: 1441px) {
  .p-menu-label {
    flex: 0 0 22%;
  }
}
@media screen and (min-width: 960px) {
.p-menu-label-wrap {
  flex: 0 0 20%;
}
}
@media screen and (min-width: 1441px) {
.p-menu-label-wrap {
    flex: 0 0 22%;
}
}
.p-menu-sub-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #0095EE;
    margin-top: 8px;
    text-decoration: none;
}
.p-menu-sub-link .material-icons {
    font-size: 14px;
    vertical-align: middle;
}
@media screen and (max-width: 559px) {
.p-full-menu__layout .cta__grid{
  margin-top: 50px;
}
}
/* リストアイテム */
.p-menu-list-row, .p-menu-list-grid {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 40px; /* 縦横の隙間 */
}
.p-menu-list-row li {
    width: calc(50% - 20px); /* 2列 */
}
.p-menu-list-grid li {
    width: calc(33.333% - 27px); /* 3列 */
}

.p-menu-list-row li a, .p-menu-list-grid li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #707684; /* 指定色 */
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s;
    letter-spacing: 0px;
}
.p-menu-list-row li a:hover, .p-menu-list-grid li a:hover {
    color: #F30F1D;
}
.p-menu-list-row li a .material-icons,
.p-menu-list-grid li a .material-icons {
    color: #F30F1D;
    font-size: 24px;
}

/* 3. 2カラムエリア (選ばれる理由〜) */
.p-menu-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px; /* 左右の間隔 */
    margin-top: 0;
    border-bottom: 1px solid #CACCCE;
}
.p-menu-grid-item {
    border-bottom: 1px solid #CACCCE
}
/* 最後の2つは下の線を消す */
.p-menu-grid-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.p-menu-big-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}
.p-menu-big-link:hover {
    color: #F30F1D;
}
.p-menu-big-link .material-icons {
    color: #F30F1D;
    font-size: 24px;
}

/* 4. フッターリンク */
.p-menu-footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding:20px;
    margin-bottom: 40px; /* 下部余白 */
    border:1px solid #CACCCE;
    margin-top: 50px;
}
.p-menu-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #707684;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 800;
}
.p-menu-footer-links a:hover{
  color:#000;
}
.p-menu-footer-links a img {
    vertical-align: middle;
}

/* --- レスポンシブ対応 (SP/Tablet) --- */
@media screen and (max-width: 1200px) {
  .p-menu-general-top {
        width: 100%;
    }
    .p-full-menu__layout {
        flex-direction: column; /* 縦積みに変更 */
        align-items: center;
        padding: 20px;
    }
    .p-full-menu__side-logo {
        flex: auto;
        padding: 0 0 20px;
        text-align: center;
    }
    .p-full-menu__container {
        width: 100%;
        max-width: 100%;
    }
    .p-menu-split-section {
        flex-direction: column;
        gap: 20px;
    }
    .p-menu-split__head {
        flex: auto;
        border-bottom: 2px solid #F30F1D;
        display: inline-block;
        width: auto;
        margin-bottom: 10px;
    }
    .p-menu-row {
        flex-direction: column;
    }
    .p-menu-label {
        margin-bottom: 10px;
    }
    .p-menu-list-row li, .p-menu-list-grid li {
        width: 100%; /* 全て1列に */
    }
    .p-menu-grid-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .p-menu-grid-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #EAEAEA;
    }
    .p-menu-footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

/************************************
** スマートフォンヘッダーナビゲーション
************************************/
#sp-menu{
  position: fixed;
    width: 100%;
    height: 100%;
    top:-120%;
    background: rgb(245 246 247);
    left: 0px;
    transition: .3s;
}
@media screen and (min-width: 960px) {
  #sp-menu{
    display: none;
  }
}
  #sp-menu.panelactive {
    top: 0;
  }
  #g-nav-list {
    display: none;
    margin-left: 0px;
    margin-right: 0px;
  }

  #sp-menu.panelactive #g-nav-list {
    display: block;
    position: relative;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  #sp-menu .c-global__nav {
    opacity: 0;
    position: relative;
    z-index: 999;
    /* left: 50%;
    transform: translate(-50%, 0%); */
    width: 100%;
    padding: 0 30px;
    /* margin-top: 60px; */
  }

  #sp-menu.panelactive .c-global__nav {
    opacity: 1;
  }
  .btn-hiden{
    opacity: 0;
  }

  .u-sp__tel--link{
    font-size: var(--font-size-xxl-l-fluid);
    font-weight: bold;
    color:#F30F1D;
    line-height: 1.2;
  }
  .u-sp__reserved--button{
        background-color: #0095EE;
        border-radius: 30px;
        height: 60px;
        line-height: 60px;
        margin: 20px auto;
            display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
        color: #fff;
        text-align: center;
        font-weight: 800;
        max-width: 90%;
  }
  .u-sp__reserved--button-login{
    background-color: #fff;
    border-radius: 4px;
    height:60px;
    line-height: 60px;
    margin:20px auto;
    display: block;
    text-align: center;
    font-weight: 900;
    border: 1px solid #444;
  }
  .u-sp__reserved--button i{
    margin-right: 4px;
  }
  .l-header__times {
    font-weight: normal;
    font-size: 12px;
    color:#707684;
    text-align: center;
  }

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

footer {
    position: relative;
    border-top:1px solid #707684;
    padding-top: 50px;
    font-size: 12px;
    /* margin-top: 90px; */
}
/* --- 上段：会社情報・コンタクト --- */
.p-footer__top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.p-footer__info {
    max-width: 477px;
    gap:20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.p-footer__logo{
  max-width: 80px;
}

.p-footer__company-name {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.65;
}
.p-footer__company-name span{
  display: block;
  font-size:12px;
  font-weight: normal;
}
.p-footer__company-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
}
.p-footer__company-desc li {
    padding-left: 1em;  /* 全体を1文字右へ */
    text-indent: -1em;  /* 1行目の「・」だけ1文字左へ引っ張り戻す */
}
.p-footer__link {
    color: #0095EE !important; /* リンク色 */
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
}
.p-footer__link .l-footer__window-icon {
  display: block;
    width: 14px;
    min-width: 14px; /* ← 絶対に縮まないように念押し */
    height: 14px;
    min-height: 14px;
    margin-left: 4px;
    flex-shrink: 0;
}
.p-footer__link .l-footer__window-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* 右側：コンタクト */
.p-footer__contact {
    max-width: 492px;
    width: 100%;
    text-align: center;
}

.p-footer__contact-head {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.p-footer__contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.p-footer__tel {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 28px; /* 電話番号大きく */
    line-height: 1;
    text-decoration: none !important;
}
.p-footer__tel-time {
    font-size: 12px;
    color:#707684;
}

/* --- ボタンコンポーネント (共通) --- */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 27px;
    transition: all 0.3s;
    cursor: pointer;
}

/* 指定：ボタンカラー #0095EE */
.c-btn--primary {
background-color: #0095EE;
    color: #fff;
    border:1px solid #0095EE;
    max-width: 248px;
    width: 100%;
    font-size: 15px;
    padding: 19px 36px;
    font-size: 15px;
}

.c-btn--primary:hover {
    background-color: #fff;
    color:#0095EE;
}

/* --- 区切り線 --- */
.p-footer__divider {
    border: 0;
    border-top: 1px solid #E7E8E8;
    margin: 30px 0;
}

/* --- 中段：サイトマップ --- */
.p-footer__sitemap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.l-footer__window-icon {
    display: inline-block;
    width: 12px;
    height: 11px;
    margin-left: 4px; /* テキストとの隙間 */
    flex-shrink: 0; /* Flexbox等で潰されるのを防ぐ */
}

.l-footer__window-icon img{
  vertical-align: text-top;
}
.p-footer__sitemap.wrap{
  margin-top:30px!important;
  margin-bottom: 60px!important;
}

.p-footer__nav-col {
    flex: 1;
    min-width: 140px;
}

.p-footer__nav-head {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    line-height: 1.8;
}
.p-footer__nav-head .material-icons {
  margin-right: 4px; /* アイコンの右側の余白（デザインに合わせて調整してください） */
  font-size: 18px; /* アイコンの大きさをテキストの高さに合わせる */
  color: inherit; /* テキストと同じ色を引き継ぐ（白） */
}
.p-footer__nav-list li a.p-footer__nav-head{
  font-weight: 500;
}
.p-footer__nav-list li a{
  color:#707684;
  font-size:12px;
  line-height: 18px;
}
.p-footer__nav-list li a:hover{
  color: #000;
}
.p-footer__nav-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* 外部リンク等のアイコン調整 */
.u-icon-sm {
    font-size: 14px;
    vertical-align: middle;
    line-height: 1.8;
}

/* ユーティリティ */
.u-mt-20 { margin-top: 20px; }
.u-mt-30 { margin-top: 30px; }
.u-font-bold { font-weight: 700; }


/* =========================================
   フッター：関連事業・サービスバナー一覧
   ========================================= */
.p-footer__banners {
  background-color: #f5f5f5; /* 見本画像通りの薄いグレー背景 */
  padding: 40px 0;
}
.p-footer__banners-wrap{
  max-width: 1700px;
  width: 100%;
  margin:0 auto;
  padding:0px 16px;
}
.p-footer__banner-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* PCはきれいに6列で並べる */
  gap: 24px;
}

.p-footer__banner-list li a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background-color: transparent;
  transition: opacity 0.3s ease;
}

.p-footer__banner-list li a:hover {
  opacity: 0.6; /* ホバーで少しフワッと透ける */
}

/* 白い箱の中にロゴを入れる設定 */
.p-footer__banner-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 下部のテキスト */
.p-footer__banner-text {
  font-size: 12px;
  color: #707684;
  text-align: center;
  margin-top: 5px;
  line-height: 1.4;
}

/* =========================================
   スマホ・タブレット対応
   ========================================= */
@media screen and (max-width: 959px) {
  .p-footer__banner-list {
    grid-template-columns: repeat(3, 1fr); /* タブレットは3列×2行 */
  }
}

@media screen and (max-width: 559px) {
  .p-footer__banner-list {
    grid-template-columns: repeat(2, 1fr); /* スマホは2列×3行 */
    gap: 10px;
  }
  .p-footer__banner-img {
    height: 60px; /* スマホ時は少し箱を小さくする */
    padding: 10px;
  }
  .p-footer__banner-text {
    font-size: 10px;
  }

  .l-footer .p-footer__sitemap .p-footer__nav-col:nth-child(5) .p-footer__nav-list:first-child {
    margin-top: 0; /* スマホでは縦並びになるので、上マージンをリセット */
    border-top: 1px solid #E7E8E8;
    padding-top: 10px; /* 線と文字の間のパディングを微調整 */
  }

}


/* --- 最下部：コピーライト --- */
.p-footer__copyright-area {
    text-align: center;
    padding: 15px 0 10px;
    background: #ffff;
}

.p-footer__note {
    font-size: 12px;
    line-height: 18px;
}
copyright {
    display: block;
}
.home .common-faq,
.home .solution ~ .solution {
  display: none;
}
/* ====================================
   SP Responsive
   ==================================== */
@media screen and (max-width: 559px) {
    .p-footer__top {
        flex-direction: column;
        text-align: center;
    }
    
    .p-footer__info {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .p-footer__company {
        text-align: left; /* 会社情報は左寄せの方が見やすい場合あり */
    }

    .p-footer__contact {
        width: 100%;
        text-align: center;
    }
    .p-footer__contact-row {
        flex-direction: column;
        gap: 15px;
    }
    .p-footer__nav-col {
        padding-bottom: 5px;
    }
    /* .p-footer__banner-list li {
        flex:0 0 48.5%;
        max-width: 48.5%;
        margin-bottom: 15px;
    } */
}
/************************************
** サイドバー
************************************/
.sidebar-top a{
  padding: 0px 23px;
}
.sidebar-top > a {
  background-color: #F30F1D;
  color:#fff;
  font-size: 18px;
  height: 76px;
  line-height: 76px;
  padding: 0px 23px;
  position: relative;
  display: flex;
  font-weight: 900;
  margin-bottom: 15px;
}
.sidebar-top > a::before{
  content:'';
  position: relative;
  left:0px;
  transform:translateY(-50%);
  top:50%;
  background-image:url("/wp-content/themes/MJE/images/sidebar-copy.svg");
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 10px;
}
.sidebar-top > a::after{
  content:'';
  font-family: 'Material Icons';
    content: '\e5cc';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    transition: .3s;
    font-size: var(--font-size-l-fluid);
    font-weight: bold;
}
.l-sidebar{
  display: none;
}
@media screen and (min-width: 960px) {
.l-sidebar{
  display: block;
 position: sticky;
  top: 0;
  width: var(--sidebar-w);
  box-sizing: border-box;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #F89898 #ffffff;
  border-right: 1px solid #E7E8E8;
  padding-bottom: 150px;
}
}
.l-sidebar::-webkit-scrollbar {
  width: 10px;    /* 縦バーの太さ */
  height: 10px;   /* 横バーの高さ（今回は縦のみ対象ならそのまま）*/
}

.l-sidebar::-webkit-scrollbar-track {
  background: #F0F2F5;
  border-radius: 6px;
}

.l-sidebar::-webkit-scrollbar-thumb {
  background: #F89898;
  border-radius: 6px;
  min-height: 378px;
  /* box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); */
  background-clip: padding-box;
}

@media screen and (max-width: 959px) {
.l-sidebar{
  position: relative;
    order: 2;
    height: auto;

} 
}
.sub-menu{
  padding:15px 0px 25px;
  border-bottom: 1px solid #E6EAEA;
}
.side-menu > li:last-child .sub-menu {
    border-bottom: none;
}

.sub-menu a{
  padding:3px 23px;
  position: relative;
  font-size:14px;
  line-height: 1.8;
  color: #707684;
  font-weight: 800;
  letter-spacing: 0px;
}
.sub-menu a::after{
  font-family: 'Material Icons';
   content: '\e5cc';
   position: absolute;
   right: 20px;
   top:50%;
   transform: translateY(-50%);
   color: #7E868F;
   transition: .3s;
  font-size: var(--font-size-l-fluid);
  font-weight: bold;
}
.sub-menu a:hover{
  text-decoration: underline;
}
.sub-menu a:hover,
.sub-menu a:hover::after{
  color:#F30F1D;
}
.l-siderbar__title{
  font-size:18px;
  font-weight: 900;
  margin-top: 30px;
  padding:0px 23px;
}

aside .current-menu-item > a{
    color: #F30F1D;
    text-decoration: underline;
}
aside .current-menu-item > a::after{
  color: #F30F1D;
}
.l-sidebar__mfp-link{
  color:#fff!important;
  text-decoration: none!important;
}
.l-sidebar__mfp-link::after{
  color:#fff!important;
}

/* 親メニューがカレントの場合の背景色などの指定も可能 */
/* aside li.sidebar-top.current-menu-item {
    background-color: #f9f9f9;
} */

/************************************
** コラムのサイドバー
************************************/
.l-sidebar__banner{
  margin-bottom: 16px;
  padding:0px 23px;
}
.l-side__title{
  color:#fff;
  background-color: #F30F1D;
  font-size: 18px;
  display: flex;
  align-items: center;
  font-weight: 800;
    gap: 10px;
    padding: 10px 23px;
    line-height: 27px;
    position: relative;
}
.l-side__title::after{
  content: '';
    font-family: 'Material Icons';
    content: '\e5cc';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    transition: .3s;
    font-size: var(--font-size-l-fluid);
    font-weight: bold;
}
.u-first__banner{
  margin-top: 32px;
}
.p-sidebar-block{
  border-top:1px solid #E7E8E8;
  padding-top: 30px;
  margin-top: 30px;
}
.p-sidebar__wrap{
  padding:0px 23px;
}
.p-sidebar-title{
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}
.p-sidebar-img img{
  border-radius: 8px;
}
.p-sidebar-text{
  font-size: 14px;
  line-height: 21px;
  /* color:#707684; */
  font-weight: 500;
  margin-top: 4px;
}
.p-sidebar-item{
  margin-bottom: 24px;
}
/************************************
** フォントサイズ
************************************/
:root{
  --container-max: 1920px;
  --sidebar-w: clamp(240px, 15vw, 284px);
  --font-size-huge-fluid: clamp(1.875rem, 8.2vw, 9.5625rem);

  /* HUGE-S (40px -> 80px) ★新規追加 */
  --font-size-huge-s-fluid: clamp(2.5rem, 2.5rem + 2.1vw, 5.00rem);

/* XXXXXL (36px -> 64px) */
  --font-size-xxxxxl-fluid: clamp(2.25rem, 2.25rem + 1.47vw, 4.00rem); 

  /* XXXXXL-S (32px -> 56px)*/
  --font-size-xxxxxl-s-fluid: clamp(2.0rem, 2.0rem + 1.26vw, 3.50rem);

  /* XXXXL-L (30px -> 52px) ★新規追加 */
  --font-size-xxxxl-l-fluid: clamp(1.875rem, 1.875rem + 1.15vw, 3.25rem);
/* XXXXL-M (28px -> 48px) */
--font-size-xxxxl-m-fluid: clamp(1.75rem, 1.75rem + 1.05vw, 3.00rem);


  /* XXXXL (24px -> 44px) */
  --font-size-xxxxl-fluid: clamp(1.5rem, 1.5rem + 1.05vw, 2.75rem);
  
  /* XXXL (20px -> 38px) */
  --font-size-xxxl-fluid: clamp(1.25rem, 1.25rem + 0.95vw, 2.375rem);
  
  /* XXL-L (18px -> 32px) */
  --font-size-xxl-l-fluid: clamp(1.125rem, 1.125rem + 0.75vw, 2.00rem);

  /* XXL-M (18px -> 28px) ★新規追加：28pxを自然な階層に */
  --font-size-xxl-m-fluid: clamp(1.125rem, 1.125rem + 0.55vw, 1.75rem);
  
  /* XXL (16px -> 26px) */
  --font-size-xxl-fluid: clamp(1rem, 1rem + 0.55vw, 1.625rem);
  
  /* XL (14px -> 22px) */
  --font-size-xl-fluid: clamp(0.875rem, 0.875rem + 0.43vw, 1.375rem);
  
  /* L (16px -> 20px) */
  --font-size-l-fluid: clamp(1rem, 1rem + 0.22vw, 1.25rem);
  
  /* M (14px -> 18px) */
  --font-size-m-fluid: clamp(0.875rem, 0.875rem + 0.22vw, 1.125rem);
  
  /* S (12px -> 14px) */
  --font-size-s-fluid: clamp(0.75rem, 0.75rem + 0.11vw, 0.875rem);
}

.l-container--with-sidebar{
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  column-gap: var(--gap);
}
@media (max-width: 959px){
.l-container--with-sidebar{
  display: block;
    grid-template-columns: 1fr;
  }
  .l-content{
    order: 1;
}

}
.l-content{ min-width: 0; }
/************************************
** タイトルパーツ
************************************/
.p-common__headline{
  text-align: center;
  font-size: 24px;
  position: relative;
  margin-bottom: 56px;
  padding-bottom: 5px;
}
@media screen and (min-width: 560px) {
.p-common__headline{
  font-size: var(--font-size-xxl-l-fluid);
}
}
.p-common__headline::after{
  content:'';
  background-color: #F30F1D;
  width: 44px;
  margin:0 auto;
  text-align: center;
  height: 4px;
  position: absolute;
  bottom:-10px;
  left: 0px;
  right: 0px;
}
.p-common__headline::before{
content:'';
  background-color: #0095EE;
  width: 22px;
  margin:0 auto;
  text-align: center;
  height: 4px;
  position: absolute;
  bottom:-10px;
  left: 22px;
      z-index: 2;
  right: 0px;
}
.p-common__intro-headline{
  font-size: var(--font-size-xxxl-fluid);
  border-bottom: 1px solid #000000;
padding-bottom: 30px;
    margin-bottom: 56px;
}
.p-common__title{
  font-size: 16px;
  font-weight: 800;
}
@media screen and (min-width: 560px) {
  .p-common__title{
  font-size: 20px;
}
}
.u-text__red{
  color:#F30F1D;
  /* font-weight: bold; */
}
.u-text__blue{
  color: #2FBEFC;
}
.u-text__blue02{
  color: #0095EE;
}
.u-text__bold{
  font-weight: 700;
}
.p-common__lead{
  text-align: center;
  font-size: 18px;
  margin-bottom: 24px;
}
@media screen and (min-width: 560px) {
  .p-common__lead{
    font-size: var(--font-size-xxl-fluid);
  }
}
.c-section-title{
  text-align: center;
}
.c-heading-label{
  text-align: center;
  font-size: var(--font-size-m-fluid);
}
.p-common__body{
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}
.p-pickup__header{
  text-align: center;
  margin-bottom: 40px;
}
.p-pickup__header img{
  vertical-align: middle;
}
.c-heading-pickup{
  font-size:var(--font-size-xxxl-fluid);
}
.c-heading-pickup img{
  margin-right: 8px;
  vertical-align: middle;
}
.c-heading-pickup span{
  font-size: var(--font-size-l-fluid);
}
.solution .c-heading-pickup,
.solution .c-heading-label{
  color:#fff!important;
}
/****************************
リスト
****************************/
.p-common__list{
  background-color: #F5F5F5;
  padding:27px 16px;
  font-weight: bold;
  margin-bottom: 35px;
}
@media screen and (min-width: 560px) {
  .p-common__list{
    padding:27px 30px;
  }
}
.p-common__list li{
  padding:3px 0px;
}
/****************************
パンくずリスト
****************************/

.breadcrumb{
  border-bottom: 1px solid #E7E8E8;
}
.breadcrumb__list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #fff;
  gap:8px;
  color:#707684;
  font-size: 10px;
  padding-left: 16px;
  /* border-top: 1px solid #E6EAEA; */
}
@media screen and (min-width: 560px) {
.breadcrumb__list{
  padding-left: clamp(20px, 5.94vw, 114px);
}
}
.breadcrumb__link .material-icons{
  font-size:13px;
}
.single-news .breadcrumb__list,
.post-type-archive .breadcrumb__list,
.post-type-archive-cases .breadcrumb__list,
.error404 .breadcrumb__list,
.page-id-6027 .breadcrumb__list,
.page-template-page-company .breadcrumb__list{
  padding-left: 28px;
}

/************************************
** 通常パーツ
************************************/
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.p-caption__body{
  font-size:12px;
  line-height: 16px;
  color:#707684;
}
.wrap {
    max-width: 1148px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
@media screen and (min-width: 560px) {
    .wrap {
        padding: 0 16px;
    }
}
@media screen and (min-width: 560px) {
.l-main{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
}
.material-icons{
  vertical-align: middle;
  transition: .3s;
}
.material-symbols-outlined{
  transition: .3s;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
.wrap-inner {
    max-width: 1048px;
    margin: 0 auto;
    padding: 0 16px;
}
.wrap-924{
  max-width: 956px;
  width: 100%;
  margin:0 auto;
  padding:0px 16px;

}
.p-sp__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.p-common__image{
  margin-top: 40px;
}
.col-2{
  margin-bottom: 15px;
}
.col-4{
  flex:0 0 49%;
  max-width: 49%;
}
.col-6{
  flex:0 0 32.5%;
  max-width: 32.5%;
}
@media screen and (min-width: 560px) {
    .p-common__inner {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .u-reverse {
        flex-direction: row-reverse;
    }
    .p-common__block{
      flex:0 0 39.78%;
      max-width: 39.78%;
    }
    .p-common__image{
      margin-top: 0px;
      flex:0 0 56.98%;
      max-width: 56.98%;
    }
    .col-2{
      margin-bottom: 0px;
      flex:0 0 48.38%;
      max-width: 48.38%;
    }
    .col-3{
      flex:0 0 31.25%;
      max-width: 31.25%;
    }
    .col-4{
      flex:0 0 23.5%;
      max-width: 23.5%;
    }
    .col-6{
      flex:0 0 15.77%;
      max-width: 15.77%;
    }
}

@media screen and (min-width: 560px) {
    .reverse {
        flex-direction: row-reverse;
    }

    .u-center__inner {
        align-items: center;
    }
}
@media screen and (min-width: 560px) {
.p-text__center{
  text-align: center;
}
}
.p-text__bold{
  font-weight: bold;
}
/************************************
** ページトップへ戻る
************************************/
.p-pagetop {
    position: fixed;
    bottom: 30px; /* 下からの距離（お任せとのことなので30pxに設定） */
    right: 30px;  /* 右からの距離（指定：30px） */
    width: 70px;  /* 指定：幅70px */
    height: 70px; /* 指定：高さ70px */
    background-color: #F30F1D; /* 指定：赤色 */
    color: #fff; /* 矢印の色 */
    border:2px solid #fff;
    border-radius: 50%; /* 丸くする */
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s;
    transform: translateY(20px); /* 最初は少し下に隠しておく */
    pointer-events: none; /* 見えていない時はクリック不可に */
}

/* 表示時のスタイル（JSでクラスがついた時） */
.p-pagetop.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ホバー時の動き（少し浮き上がる演出） */
.p-pagetop:hover {
    opacity: 0.9;
    transform: translateY(-5px);
}

/* 中の矢印アイコンのサイズ調整 */
.p-pagetop .material-icons-outlined {
    font-size: 20px;
}

/* スマホ対応（少し小さくして邪魔にならないようにする） */
@media (max-width: 767px) {
    .p-pagetop {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .p-pagetop .material-icons-outlined {
        font-size: 18px;
    }
}

/* ====================================
   追従バナー
   ==================================== */

.floating-banner {
  max-width: 123px;
    position: fixed;
    right: 0;           /* 右端に配置 */
    bottom: 25%;
    z-index: 2;
    transform: translateX(120%);
    opacity: 0;
    /* 3. アニメーションの設定 */
    /* transform（移動）と opacity（透明度）の両方を0.5秒かけて変化させる */
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.5s ease;
}

/* 画像のレスポンシブ対応 */
.floating-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 66px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 表示時のクラス */
.floating-banner.is-show {
    transform: translateX(0); /* 定位置に戻る（出現） */
    opacity: 1;
}

/* スマホ表示時の調整（任意） */
@media (max-width: 559px) {
    .floating-banner {
        display: none;
    }
}

/****************************
ファーストビュー
****************************/
.SectionSlideshow {
    background: #F5F5F5;
    padding: 50px 0 30px;
    width: 100%;
    overflow: hidden; 
    box-sizing: border-box !important;
}
.SectionSlideshow .swiper {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important; 
    padding: 0;
    margin: 0;
}

.SectionSlideshow .swiper-wrapper {
    display: flex !important; /* Flexboxを強制 */
    width: 100%;
    height: 100%;
    box-sizing: border-box !important;
    align-items: center; 
    margin-top: 24px;
}

.SectionSlideshow .swiper-slide {
    height: auto !important;
    box-sizing: border-box !important;
    width: auto; 
    flex-shrink: 0; 
}
.SectionSlideshow__Main {
    --swiper-navigation-color: #ff0000;
    --swiper-pagination-color: #ff0000;
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: none !important;
    padding: 0 40px; 
    box-sizing: border-box !important;
    border-radius: 16px;
}

.SectionSlideshow__Main img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 16px;
    object-fit: cover;
}
.SectionSlideshow__Main .swiper-slide {
    width: 80vw;
    max-width: 1056px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
}

/* SP調整 */
@media (max-width: 1440px) {
.SectionSlideshow__Main .swiper-slide {
        width: 90%; 
    }
}
@media (max-width: 559px) {
    .SectionSlideshow__Main .swiper-slide {
        width: 90vw; 
    }
    .SectionSlideshow__Main{
      padding:0px;
    }
}
.swiper-slide{
  height: auto!important;
}
.swiper-slide .p-case-item{
  margin-bottom: 0px;
}
.swiper-slide .p-case__wrap{
  padding: 30px;
}
/* -------------------------------------------------------------------- */

.SectionSlideshow__Main a {
    display: block;
    width: 100%;
    transition: opacity .2s ease-in-out;
    border-radius: 16px;
    overflow: hidden;
}

.SectionSlideshow__Main a:hover {
    opacity: 0.9;
}

/* ============================================
   サムネイル（下段）の調整 (前回のバグ修正を引き継ぐ)
   ============================================ */
.SectionSlideshow__Thumbnail {
    margin-top: 30px;
    max-width: 1400px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important; 
}

/* ★★★ サムネイルのwrapper中央寄せはJS設定に任せるためCSSからは削除 ★★★ */
/* .SectionSlideshow__Thumbnail .swiper-wrapper {
    justify-content: center !important; 
} */
/* -------------------------------------------------------------------- */

.SectionSlideshow__Thumbnail .swiper-slide {
    width: 70px !important; 
    height: auto !important;
    margin-right: 20px !important; 
    transition: opacity 0.3s;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
}

/* .SectionSlideshow__Thumbnail .swiper-slide-thumb-active {
    outline-offset: -2px;
} */

.SectionSlideshow__Thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

@media screen and (min-width: 1200px) {
    .SectionSlideshow__Thumbnail .swiper-slide {
        width: 130px !important;
    }
}

/* ============================================
   ナビゲーション（矢印） (変更なし)
   ============================================ */
.SectionSlideshow .swiper-button-next,
.SectionSlideshow .swiper-button-prev {
    /* ★共通のスタイル（白背景、丸、影など）は維持 */
    background-color: #FFF;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%; 
    z-index: 10;
    top: 50% !important;
    /* transform: translateY(-50%); SectionSlideshow__Thumbnailの transform と競合しないよう削除 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    transition: .3s;
}
.SectionSlideshow__Main .swiper-button-next,
.SectionSlideshow__Main .swiper-button-prev {
position: absolute !important;
    top: 50% !important;
    transition: .3s;
    transform: translateY(-50%);
}
.SectionSlideshow__Main .swiper-button-next {
right: calc((100% - min(80vw, 1056px)) / 2 - 110px) !important;
    left: auto !important;
}
.SectionSlideshow__Main .swiper-button-prev {
left: calc((100% - min(80vw, 1056px)) / 2 - 110px) !important;
    right: auto !important;
}
.SectionSlideshow .swiper-button-next:hover,
.SectionSlideshow .swiper-button-prev:hover{
  background-color: #F30F1D;
  color:#fff;
}
.SectionSlideshow .swiper-button-next:hover{
  right: calc((100% - min(80vw, 1056px)) / 2 - 120px) !important;
}
.SectionSlideshow .swiper-button-prev:hover{
left: calc((100% - min(80vw, 1056px)) / 2 - 120px) !important;
}
.SectionSlideshow .swiper-button-next::after,
.SectionSlideshow .swiper-button-prev::after {
    font-family: 'Material Symbols Outlined' !important; /* 必須：アイコンフォントの指定 */
    display: block;
    font-size: 28px;
    color: #F30F1D;
    text-align: center;
    line-height: 1;
    transition: .3s;
}
.SectionSlideshow .swiper-button-next:hover::after,
.SectionSlideshow .swiper-button-prev:hover::after{
  color:#fff;
}
/* 左矢印（←）をSVGで描画（stroke-width='3' で太さを指定） */
.SectionSlideshow .swiper-button-prev::after {
    content: '\e5c4' !important;
}

/* 右矢印（→）をコードポイントで描画 */
.SectionSlideshow .swiper-button-next::after {
    content: '\e5c8' !important;
}
/* ============================================
   レスポンシブ（SP調整） (変更なし)
   ============================================ */
@media (max-width: 559px) {
    .SectionSlideshow {
        padding: 30px 0 45px;
        max-width: none !important; 
    }
    
    .SectionSlideshow .swiper-button-next,
    .SectionSlideshow .swiper-button-prev,
    .SectionSlideshow__Thumbnail {
        display: none !important;
    }

    .SectionSlideshow .swiper-pagination {
        display: block !important;
        bottom: -5px !important;
        position: relative; 
        margin-top: 20px;
    }
    
    .SectionSlideshow .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #ccc;
        opacity: 1;
        margin: 0 5px;
    }
    
    .SectionSlideshow .swiper-pagination-bullet-active {
        background: #eb3223;
    }
}
/****************************
トップページ
****************************/
.p-top__reason-list li{
  background-color: #fff;
  border-radius: 16px;
  padding:20px 20px 32px;
}
@media screen and (min-width: 560px) {
  .p-top__reason-list li{
    padding:32px 40px;
  }
}
.p-top__reason-list li{
  margin-bottom: 24px;
}
.p-top__reason-list li:last-child{
  margin-bottom: 0px;
}
.home .p-pickup__header span{
  display: block;
}
.home .solution{
  padding:64px 0px;
}
.home .p-solution__number{
  position: relative;
  left:auto;
  top:auto;
  text-align: center;
    transform: translateX(0px);
}
.p-pickup__text{
  margin-top: 10px;
}
.p-top__reason-image{
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
.p-top__reason-image{
  flex:0 0 27.4%;
  max-width: 27.4%;
  margin-bottom: 0px;
}
}
.p-top__reason__block{
  text-align: left;
}
.p-top__reason--head-inner{
  display: flex;
  gap:15px;
  align-items: center;
  position: relative;

}
@media screen and (min-width: 560px) {
.p-top__reason__block{
  flex:0 0 70%;
  max-width: 70%;
}
}
.p-top__reason-headline{
  font-size: var(--font-size-xxl-fluid);
  margin-bottom: 16px;
  position: relative;
}
.p-top__head-lead{
  display: flex;
  align-items: center;
  font-weight: 800;
  margin-bottom: 5px;
}
.p-top__head-lead span{
  display: block;
}
.p-top__head-lead::before,
.p-top__head-lead::after {
  content: "";
  display: block;
  width: 1px;       /* 線の太さ */
  height: 26px;     /* 仕様：高さ26px */
  background-color: #000; /* 仕様：カラー#000 */
}

/* 左側の線（\ の形） */
.p-top__head-lead::before {
  transform: rotate(-20deg); /* 角度調整 */
  margin-right: 15px;        /* 文字との間隔 */
}

/* 右側の線（/ の形） */
.p-top__head-lead::after {
  transform: rotate(20deg);  /* 角度調整 */
  margin-left: 15px;         /* 文字との間隔 */
}
.product-lineup{
  background-color: #f5f5f5;
}
.p-lineup__item-title{
  text-align: center;
  font-weight: 800;
  margin:20px 0px 10px;
  font-size: 18px;
  line-height: 27px;
}
.p-lineup__item-desc{
  line-height: 1.8;
  font-size: 14px;
}
.p-lineup__item{
  margin-bottom: 40px;
}
@media screen and (max-width: 559px) {
  .p-lineup__item-title{
    font-size: 16px;
    text-align: left;
  }
  .p-lineup__item{
    flex:0 0 48%;
    max-width: 48%;
  }
}
.p-top__lineup-body{
  margin-top: 20px;
  font-weight: 800;
}
.p-top__lineup-mfp{
  margin-bottom: 64px;
}
.p-top__lineup-mfp a{
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
  padding: 28px 20px;
}
@media screen and (min-width: 560px) {
  .material-icons{
    transition: .3s;
  }
  .p-top__lineup-mfp a{
    padding: 28px 40px;
  }
  .p-top__lineup-mfp a:hover{
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.10);
  }
  .p-top__lineup-mfp a:hover .material-icons{
      background-color: #fff;
      color:#F30F1D;
  }
}
.p-top__lineup-mfp-headline{
  font-size: var(--font-size-xxl-fluid);
  margin-bottom: 10px;
}
.p-top__lineup-image-mfp{
  max-width: 1007px;
  margin:0 auto 20px;
}
/****************************
複合機トップ
****************************/
.l-title__content {
    background-color: #F5F5F5; /* 親要素全体をグレーにする */
    position: relative;
    width: 100%;
    overflow: hidden;         /* 画像が枠外に漏れるのを防ぐ */
    display: flex;
    align-items: center;      /* テキストを垂直中央にする */
    padding:32px 0px;
    background-image: none !important; /* 親自身の背景画像表示をオフにする */
}
@media screen and (min-width: 960px) {
  .l-title__content {
    min-height: 220px;
    padding:0px;
  }
.l-title__content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 36.45vw;           /* 画像を表示させる「枠」の幅 */
    height: 100%;             /* 常にグレー背景の高さに合わせる */
   background-image: var(--bg-url); 
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    z-index: 1;
  }
}

.home .l-title__content,
.home .p-hero-breadcrumb,
.page-id-6089 .l-title__content{
  display: none;
}
.p-page-label{
      display: flex;
    align-items: center;
    font-weight: 800;
    gap:5px;
    margin-bottom: 10px;
}
@media screen and (min-width: 960px) {
  .p-page-label{
    margin-bottom: 15px;
  }
}
.p-page-h1 {
  color: #707684;       /* グレー */
    font-size: 10px;      /* 小さく */
    font-weight:500;
    padding-left: 16px;
    padding-right: 16px;
        padding-top: 8px;
    padding-bottom: 8px;
    border-top:1px solid #E7E8E8;
}
@media screen and (min-width: 560px) {
  .p-page-h1 {
    border-top:none;
    padding-left: clamp(20px, 5.94vw, 114px);
  }
}
@media screen and (min-width: 560px) {
.home .p-page-h1{
  padding-left: 28px;
}
}
.p-hero-image-sp {
        display: block;
        width: 100%;
    }
@media screen and (min-width: 560px) {
  .p-hero-image-sp {
    display: none;
  }
}
.u-lease__header{
  position: relative;
  padding-left: clamp(20px, 5.94vw, 114px);
  z-index: 2;
}
@media screen and (min-width: 560px) {
  .u-lease__header{
    padding-right: 40vw;
  }
}
/* .u-lease__header::after{
  content:'';
  background-image:url("/wp-content/themes/MJE/images/lease-header.webp");
  position: absolute;
  right:0px;
  bottom:0px;
  height:205px;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: right bottom;
  max-width: 370px;
  width: 100%;
} */
 /* ページヘッダーのレイアウト（既存の u-lease__header と同じスタイルがあれば適用） */
.c-page-header__inner {
    /* 必要に応じてレイアウト調整（中央揃えなど） */
    text-align: left; /* または center */
}

/* H1タグ（上の小さい文字）のデザイン */
.c-page-header__sub-title {
    color: #707684;      /* ご指定の色 */
    font-size: 10px;     /* ご指定のサイズ */
    font-weight: normal; 
    margin-bottom: 5px;
    line-height: 1.4;
    display: block;      /* 崩れ防止 */
}

/* ■（青い四角）のデザイン */
.c-page-header__sub-title .u-text__blue {
    color: #0075C2;
    margin-right: 4px;
    font-size: 10px;
    vertical-align: middle;
}

/* PC表示時の調整 */
@media screen and (min-width: 768px) {
    .c-page-header__sub-title {
        font-size: 12px;
    }
}

/* .l-title__content h1{
  color:#F30F1D;
  font-weight: 700;
  margin-bottom: 7px;
  padding-top: 54px;
}
.l-title__content h1 span{
  margin-right: 2px;
} */
.p-page__title{
  /* font-size: clamp(30px, calc(30px + (38 - 30) * ((100vw - 390px) / (1920 - 390))), 38px); */
  font-weight: 800;
  font-size: var(--font-size-xxxxl-fluid);
}
.p-menu__link{
  margin-bottom: 10px;
}
@media screen and (min-width: 560px) {
.p-menu__link{
  margin-bottom: 16px;
  flex:0 0 32.43%;
  max-width: 32.47%;
}
}
.p-menu__link a{
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.10);
padding: 15px 10px 15px 15px;
  font-weight: 700;
  border-radius: 6px;
  position: relative;
  height: 62px;
  line-height: 62px;
  display: flex;
  font-size: 15px;
}
@media screen and (min-width: 560px) {
  .p-menu__link a{
    font-size: 1rem;
    height: 82px;
  line-height: 82px;
    padding: 15px 24px 15px 30px;
  }
  .p-menu__link a:hover{
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.10);
  }
}
.p-menu__link a::after{
  content:'';
  position: absolute;
  right: 0px;
  top:50%;
  transform: translateY(-50%);
  font-family: 'Material Icons';
      content: '\e5db';
      right:7px;
      background-color: #F5F5F5;
      border:1px solid #F5F5F5;
      color:#F30F1D;
      max-width: 34px;
      width: 100%;
      height: 34px;
      line-height: 34px;
      text-align: center;
      border-radius: 50%;
      transition: .3s;
}
@media screen and (min-width: 560px) {
  .p-menu__link a::after{
    right:24px;
  }
  .p-menu__link a:hover::after{
    border:1px solid #F30F1D;
  }
}
.p-menu__text{
max-width: 80%;
  display: flex;
  width: 100%;
  line-height: 24px;
  align-items: center;
}
@media screen and (min-width: 1280px) {
.p-menu__text{
max-width: 240px;
}
}
.p-price__inner{
  margin-bottom: 25px;
}
.p-price__text{
  margin-top:10px;
  font-weight: 800;
}
section{
  padding:48px 0px;
}
@media screen and (min-width: 560px) {
section{
  padding:64px 0px;
}
}
.bg{
  background-color: #F5F5F5;
}
.p-price-section {
  background: #e60012;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}

.p-price-section__title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 30px;
}

.p-price-cards {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
@media screen and (min-width: 560px) {
.p-price-cards {
display: grid;
  grid-template-columns: 1fr 1.3fr 1.5fr;
   gap: 24px;
}
}
.p-price-card {
  background: #fff;
  border-radius: 8px;
  position: relative;
  margin-bottom: 48px;
}
@media screen and (min-width: 560px) {
.p-price-card {
  margin-bottom: 0px;
}
}
.p-price-card__label {
  background: #0095EE;
  color: #fff;
  display: inline-block;
  padding: 3px 20px;
border-radius: 18px;
  font-weight: 700;
  position: absolute;
  top: -30px;
  margin: 0 auto;
  border: 1px solid #FFF;
left: 50%;
z-index: 1;
transform: translateX(-50%);
white-space: nowrap;
}
.p-price-card__label::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 99%;
  transform: translateX(-50%);
  width: 12px;
  height: 8px;
background: #0095EE;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.p-price-card__heading {
background-color: #BBEDFF;
font-size: var(--font-size-m-fluid);
font-weight: bold;
padding:10px 10px;
  color: #000;
  border-radius: 8px 8px 0px 0px;
}

.p-price-card__value {
  font-size: 24px;
  color: #F30F1D;
  font-weight: 800;
}
.p-price-card__value > div{
  display: flex;
  justify-content: center;
align-items: baseline;
padding: 32px 10px 20px;
}
.p-price-card__value > div div{
  position: relative;
}
.p-price-card__value > div div:first-child{
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid #CACCCE;
}
.p-price-card__value > div div:first-child::before{
  content:'モノクロ';
  position: absolute;
  top: -25px;
  font-size: 12px;
  color: #000;
  line-height: 1;
  left: 0px;
  right: 0px;
  text-align: center;
}

.p-price-card__value > div div:last-child::before{
    content:'カラー';
  position: absolute;
  top: -25px;
  font-size: 12px;
  color: #000;
  line-height: 1;
  left: 0px;
  right: 0px;
  text-align: center;

}
.p-price-card__value > div .mono,
.p-price-card__value > div .color{
  position: absolute;
  top:0px;
  font-size:12px;
  color:#000;
  line-height: 1;
  left:0px;
  right:0px;
  text-align: center;
}
.p-price-card__value strong{
  font-size: var(--font-size-xxxxxl-fluid);
  font-weight: bold;
}
.p-price-card__value span{
  font-size: var(--font-size-xxl-fluid);
}
.p-price-note {
  font-size: 12px;
  margin-top: 20px;
}

.p-ranking__inner{
  width:min(1160px,92vw);
  margin:0 auto;
}
.p-ranking__body{
  margin-bottom: 42px;
  font-size: 18px;
  font-weight: 800;
  line-height: 27px;
}
@media (min-width:560px){
  .p-ranking__content .p-ranking__grid{
    position: relative;
  }
  .p-ranking__content .p-ranking__grid::after{
    content:'';
    flex:0 0 31.25%;
    max-width: 31.25%;
  }
  .p-ranking__grid{
    margin-bottom: 30px;
  }
  
  .p-ranking__grid .p-rank__list{
    margin-top: 0px;
    flex:0 0 31.25%;
    max-width: 31.25%;
  }
  .maker-rank .p-ranking__grid .p-rank__list{
    flex:0 0 32.5%;
    max-width: 32.5%;
  }
}

.c-card{
  position:relative;
  background:#fff;
  border-radius:8px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}
.c-card__media{
  margin:0;
  padding:0px;
  text-align:center;
  overflow:hidden;
  display:block;
  height:216px;
}
.c-card__media > img{
  width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    border-radius: 8px 8px 0px 0px;
}
.compare__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
}
@media (max-width:559px){
  .compare__grid{
    grid-template-columns:1fr;
  }
}
.p-counter__inner{
  padding:20px 0px;
}
.p-counter__body:first-child{
  margin-bottom: 10px;
}
.p-counter__body span{
  margin-right: 5px;
}
.p-counter__body img{
  vertical-align: middle;
}
.p-counter__price{
  font-size: 25px;
}
@media (min-width:560px){
.p-counter__price{
  font-size: var(--font-size-xxl-fluid);
}
}
.card{
  display:flex;
  flex-direction:column;
  border: 1px solid #CACCCE;
  border-radius: 16px;
  padding:32px 16px 40px;
  background-color: #fff;
  margin-bottom: 40px;
}
@media (min-width:560px){
  .card{
    margin-bottom: 0px;
    padding:32px 40px 40px;
  }
}
.card__footer{
  text-align: center;
  margin-top: auto;
}
.p-price__block{
  font-weight: 800;
}
.c-card__body{
  padding:16px 20px 20px;
}
@media (min-width:560px){
  .c-card__body{
  padding:16px 24px 24px;
}
}
.c-card__brand{
  font-size:12px;
  line-height: 1;
  margin-bottom: 3px;
  color:#707684;
}
.c-card__title{
  font-size:16px;
  line-height: 24px;
  font-weight:900;
}
.c-card__meta{
  font-size:14px;
  margin:0px 0 4px;
  line-height: 1.8;
}
.u-text__score{
  font-size: 20px;
  font-weight: bold;
    margin-left: 8px;
}
.c-card__stars{
  font-size:16px;
  letter-spacing: 2px;
}
.u-card__stars__full {
    color: #F30F1D;
}
.u-card__stars__gray{
  color:#7E868F;
}
/* 小数点部分の星（グレーの下地に、指定された％だけ色を重ねる） */
.u-card__stars__half {
    position: relative;
    display: inline-block;
    color: #CACCCE; /* 下地になるグレーの色 */
}
.u-card__stars__half::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    color: #F30F1D;
    /* PHPから渡された変数(--star-percent)を使って幅を決める */
    width: var(--star-percent, 0%);
    overflow: hidden;
    white-space: nowrap;
}
.c-card__desc{
  font-size: 18px;
  margin:0 0 10px;
  font-weight: 800;
  line-height: 27px;
}

/* 右下の丸ボタン */
.c-card__cta{
  position:relative;
  margin-left: auto;
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #F30F1D;
  border:1px solid #F30F1D;
  color:#fff;
  font-weight:700;
  line-height: 42px;
  font-size: 14px;
  transition:.3s;
}
@media (min-width:560px){
  .c-card__cta{
    width:42px;
    height:42px;
    line-height: 42px;
  }
}
.c-card__cta .material-icons{
  font-size: 1rem;
}
/* ランキング・リボン（data-rankで色を出し分け） */
.c-card__ribbon{
  position:absolute;
  left:16px;
  top:-7px;
  display:grid;
  place-items:center;

}

/* “もっと見る” */
.p-ranking__more{
  text-align:right;
  margin-top:18px;
  display: flex;
}
.p-ranking__more-link{ position:relative; padding-right:1.5em; text-decoration:none; font-weight:700; }
.p-ranking__more-link::after{
  content:"➜"; position:absolute; right:0; top:50%; transform:translateY(-50%);
}
.u-visually-hidden{
  position:absolute !important; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); width:1px; height:1px; overflow:hidden;
}
.bizall-bg{
  color:#fff;
  background-color: #F30F1D;
  position: relative;
  padding:90px 0px 64px;
  text-align: center;
}
@media (min-width: 560px) {
  .bizall-bg{
    padding:130px 0px 64px;
  }
}
.u-arrow__bg{
  padding:64px 0px 64px;
}
.bizall-bg .wrap-inner{
  position: relative;
  z-index: 1;
}
.u-lease-counter{
  margin-top: -74px;
  z-index: -1;
}
.bizall-bg::after{
  content:'';
  position: absolute;
  left:0px;
  top:0px;
  background-image:url("/wp-content/themes/MJE/images/bizall-bg.webp");
  background-size: auto;
  width: 100%;
  height: 100%;
}

.bizall-bg .p-caption__body{
  text-align: left;
  color:#fff;
}
.p-cta__headline {
  margin-bottom: 54px;
  font-size: 24px;
  text-align: center;
  position: relative;
  font-weight: 900;
  line-height: 1.4;
}
.p-cta__catch {
  display: inline-block;
  white-space: nowrap;
}
.p-cta__catch::before,
.p-cta__catch::after {
    content: "";
    display: inline-block;
    background-color: currentColor;
    width: 4px;
    height: 1.4em;
    vertical-align: sub;
}
.p-cta__catch::before {
  transform: rotate(-25deg);
  margin-right: 8px;
}
.p-cta__catch::after {
  transform: rotate(25deg);
  margin-left: 8px;
}
.p-cta__headline02 {
  font-size: var(--font-size-l-fluid);
}
.p-cta__headline03 {
  font-size: min(28px, 6vw); 
}
@media (min-width: 560px) {
  .p-cta__headline {
    font-size: var(--font-size-xxl-fluid);
  }
  .p-cta__headline02 {
    font-size: var(--font-size-xxl-l-fluid);
  }
  .p-cta__headline03 {
    font-size: var(--font-size-xxxxl-fluid);
  }
}
.p-price__block{
  border-radius:8px;
  margin-top: 40px;
}
.p-price__block.u-lease__market{
    box-shadow: inset 0 0 0 4px #FFCFCF;
}
.p-price__block.u-counter__market{
  box-shadow: inset 0 0 0 4px #BBEDFF;
}
.p-price__market{
  color:#fff;
  padding: 13px 10px;
  border-radius: 8px 8px 0px 0px;
  position: relative;
}
@media (max-width:559px){
  .p-price__market{
    background-color: #0095EE;
  }
}
.u-lease__market .p-price__market::before,
.u-counter__market .p-price__market::before{
  content:'';
  height: 50px;
  top:0px;
  left: 0px;
  width: 100%;
  background-color:#F30F1D;
position: absolute;
  z-index: -1;
  border-radius: 8px 8px 0px 0px;
}
.u-counter__market .p-price__market::before{
  background-color: #0095EE;
}
.p-price__big{
  font-size: 25px;
}
@media (min-width: 560px) {
  .p-price__big{
  font-size: var(--font-size-xxxl-fluid);
}
}
.p-price__month{
  font-size: var(--font-size-l-fluid);
  padding: 19px 15px;
}
/****************************
 CTA周り (最適化版)
****************************/

/* --- ベース（コンテナ） --- */
.cta {
  position: relative;
  background: #F5F5F5;
  padding: 45px 0 0;
  overflow: hidden; /* はみ出し防止の鉄則 */
}

/* フッターとの余白 */
.u-footer__cta {
  margin-bottom: 40px;
}
@media (min-width: 560px) {
  .cta {
    padding: 70px 0 0;
  }
  .u-footer__cta {
    margin-bottom: 88px;
  }
}

/* 下部の白い帯 */
.cta::after {
  content: '';
  background: #fff;
  height: 40px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* --- 背景の英字 --- */
.cta__bgword {
  position: absolute;
  top: 0px;
  left: 0;
  text-align: center;
  font-weight: bold;
  color: #EBEBEB;
  user-select: none;
  z-index: 0;
  line-height: 1; /* 0だと一部ブラウザで表示欠けのリスクあり */
  
  font-size: 9vw;
  white-space: nowrap;
  display: block;
  width: 100%;
  pointer-events: none; /* クリックの邪魔をしない */
}
@media (min-width: 560px) {
  .cta__bgword {
    top: 0px;
    font-size: var(--font-size-huge-fluid, 15vw);
  }
}
@media (min-width: 960px) {
  .cta__bgword {
    top: -30px;
  }
}

/* --- 見出し & 画像 --- */
.p-consultation__headline {
  font-size: var( --font-size-xxl-fluid);
  text-align: center;
  font-weight: 800;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}
@media (min-width: 560px) {
  .p-consultation__headline {
    margin-bottom: 0px;
  }
}
.p-consultation__headline.is-large {
    font-size: 22px;
}
.cta__image {
  margin: 0 auto;
  padding: 0 3px;
  position: relative;
  z-index: 1;
  display: none;
}
@media (min-width: 960px) {
  .cta__image {
    display: block;
  }
}
.cta__image img {
  width: 100%;
  height: auto;
}

/* --- グリッドレイアウト（ここが崩れの肝） --- */
.cta__grid {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .cta__grid {
    display: flex;
    justify-content: space-between;
  }
}

/* --- カード共通設定 --- */
.cta__card {
  text-align: center;
  border-radius: 8px;
  padding: 30px 20px; /* 上下左右に余裕を持たせる */
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 960px) {
  .cta__card {
    padding: 40px 20px;
        flex: 0 0 49.37%;
        max-width: 49.37%;
  }
}

.cta__card--red {
  background: #F30F1D;
  margin-bottom: 40px;
}
@media (min-width: 960px) {
  .cta__card--red {
    margin-bottom: 0px;
  }
}
.cta__card--blue {
  background: #0095ee;
}
.cta__card--blue .cta__arrow{
  background:#0095EE;
}
.cta__card--red .cta__icon { color: #F30F1D; }
.cta__card--blue .cta__icon {
  color: #0095EE;
}

/* アイコン（カード上部） */
.cta__icon {
  background: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; /* アイコンサイズ固定 */
  position: absolute;
  top: -27px; /* 半分埋める */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta__head {
  margin-bottom: 20px;
  width: 100%;
}

.cta__lead {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

/* --- 電話番号エリア --- */
.cta__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  width: 100%;
}

.cta__telnum {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
  margin-bottom: 8px;
  
  /* ★重要：改行禁止＋サイズ可変 */
  white-space: nowrap;
  font-size: clamp(32px, 7vw, 55px); 
}
.cta__telnum span img{
  max-height: 26px;
}
@media (min-width: 560px) {
  .cta__telnum {
    gap: 10px;
  }
  .cta__telnum span img{
        max-height: 100%;
  }
}
.cta__hours {
  font-size: 14px;
  display: block;
  line-height: 1.8;
}


/* --- ボタンエリア（最重要修正箇所） --- */
.cta__button {
  display: flex;
  align-items: center;
  justify-content: center; /* 中身を中央寄せ */
  position: relative; /* バッジ等の基準 */
  
  background: #fff;
  border-radius: 100px; /* 丸み */
  text-decoration: none;
  font-weight: 700;
  color: #000;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  
  /* ★修正：高さ固定をやめて、paddingで高さを出す */
  width: 100%;
  max-width: 440px;
  min-height: 72px; /* 最低でもこの高さ */
  padding: 15px 50px 15px 20px; /* 右paddingは矢印用 */
  box-sizing: border-box;
  
  margin: 0 auto;
  overflow: visible; /* バッジをはみ出させるならvisible */
}
.cta__button:hover{
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}
/* PCサイズでのボタン微調整 */
@media (min-width: 1100px) {
  .cta__button {
    min-height: 82px;
  }
}

/* バッジ（30秒簡単入力） */
.cta__badge {
  position: absolute;
  top: 50%;
  left: 0; /* ボタンの左端に配置 */
  transform: translate(-10%, -50%); /* 少し左にはみ出させる */
  z-index: 5;
  width: clamp(60px, 15vw, 94px);
  pointer-events: none; /* クリック透過 */
}

.cta__badge img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.2));
  display: block;
}

/* ボタン内テキスト */
.cta-body {
  /* ★修正：バッジと重ならないよう左に余白を確保 */
  /* clamp(最小, 推奨, 最大) を使って可変パディング */
  padding-left: clamp(40px, 10vw, 60px);
  
  /* 文字サイズ制御 */
  font-size: clamp(14px, 4vw, 18px);
  white-space: nowrap; /* 改行禁止 */
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

/* 矢印アイコン */
.cta__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #F30F1D;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  transition: .3s;
  justify-content: center;
}
.cta__arrow .material-icons {
  font-size: 20px;
}

/****************************
 共通内部リンク
****************************/
.footer-links{
  padding-top:56px
}
.p-text__link{
  color:#0095EE;
  text-decoration: underline;
  display: inline-block;
}
/* グリッドレイアウト（PC用2列） */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* カード本体の設定 */
.link-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  position: relative;
}


/* リンクエリア全体を押しやすくする */
.link-card a {
  display: block;
  padding: 44px 40px;
  height: 100%; /* 高さを揃える */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* ホバーアニメーション用 */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* タイトル */
.link-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;

}
@media screen and (min-width: 560px) {
  .link-card h2 {
  font-size: var(--font-size-xxl-fluid);
}
.link-card a:hover{
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
}
/* 説明文 */
.link-desc {
  font-size: 13px;
      max-width: 86%;
  padding-right: 20px;
      line-height: 1.6;
}
@media screen and (min-width: 560px) {
  .link-desc {
    font-size: 16px;
    max-width: 394px;
    padding-right: 40px;
        line-height: 28.8px;
  }
}
/* 右側の赤い矢印アイコン */
.link-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: #F30F1D;
  color: #fff;
  border:1px solid #F30F1D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  overflow: hidden; /* はみ出しを隠す */
}
.link-arrow::before,
.link-arrow::after {
  content: '\e5c8'; 
  font-family: 'Material Icons'; 
  font-size: 16px;
  color: #fff; /* 初期色は白 */
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.link-arrow::before {
  left: -150%;
  transform: translateX(0);
}

/* 表示用（中央） */
.link-arrow::after {
  left: 0;
  transform: translateX(0);
}
@media screen and (min-width: 560px) {
  .link-arrow {
    right: 30px;
  }
  
  /* ホバー時の背景色反転 */
  .link-card a:hover .link-arrow {
    background-color: #fff;
  }
  
  /* ホバー時の矢印の色反転 */
  .link-card a:hover .link-arrow::before,
  .link-card a:hover .link-arrow::after {
    color: #F30F1D;
  }
  
  /* ホバー時：2つの矢印を全く同じ距離（150%）右へスライドさせる */
  .link-card a:hover .link-arrow::before,
  .link-card a:hover .link-arrow::after {
    transform: translateX(150%);
  }
}
.link-arrow .material-icons {
  font-size: 16px;
}
/* =========================================
   スマホ・タブレット対応（レスポンシブ）
   ========================================= */
@media screen and (max-width: 559px) {
  .link-grid {
    grid-template-columns: 1fr; /* スマホでは縦1列に変更 */
    gap: 16px;
  }
  .link-card a {
    padding: 20px; /* スマホでは少し余白を詰める */
  }
}

/****************************
リンクやボタンなど
****************************/
.p-common__banner:hover{
  transform: scale(.95);
}
.p-common__link{
  font-size: 14px;
  font-weight: 800;
  margin-left: auto;
  line-height: 1.8;
  text-decoration: underline;
}
.p-common__link .material-icons{
  color:#fff;
  background-color: #F30F1D;
  border:1px solid #F30F1D;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  line-height: 38px;
  margin-left: 10px;
  font-size: 16px;
  text-align: center;
  transition: .3s;
}
@media screen and (min-width: 560px) {
  .p-common__link .material-icons{
    width: 42px;
  height: 42px;
  line-height: 42px;
  }
  .p-common__link:hover .material-icons{
    color:#F30F1D;
  background-color: #fff;
  }
}
/* 装飾画像 */
.cta__agent {
position: absolute;
  left: 20px;
  top: -147px;
  max-width: 164px;
  z-index: -1;
}
.cta__mascot {
  position: absolute;
  right: 20px;
  top: -92px;
  width: 130px;
  z-index: -1;
}
@media (max-width: 768px) {
  .cta__agent, .cta__mascot {
    display: none;
  }
}
.p-link__inner{
  max-width: 420px;
  margin:48px auto 0px;
}

.p-common__cta{
  background-color: #fff;
  font-weight:800;
  height: 74px;
  width: 100%;
  line-height: 74px;
  position: relative;
  border-radius: 41px;
  padding-left: 11%;
  text-align: left;
}
.u-bg-white__link .p-common__cta{
  background-color: #fff;
}
.u-button__border .p-common__cta{
  border:1px solid #CACCCE;
}
.p-common__cta::after{
position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Material Icons';
  content: '\e5c8';
  right: 24px;
  border:1px solid #F30F1D;
  background-color: #F30F1D;
  color: #FFF;
  max-width: 34px;
  width: 100%;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  transition: .3s;

}
@media screen and (min-width: 560px) {
  .p-common__cta::after{
    max-width: 42px;
    height: 42px;
  line-height: 42px;
  }
  .p-common__cta:hover::after{
    background-color: #fff;
  color: #F30F1D;
}
}
/* 共通 */
.u-vh{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); }

/* セクション余白 */
.lease-section{ padding: 48px 0 64px; }

/* 上段カード：2→1カラム */
@media screen and (min-width: 560px) {
  .lease-cards{
    display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  }
}
/* カード本体 */
.lease-card{
  position:relative;
  background:#fff;
  border-radius:8px;
  padding:40px 18px;
  border:1px solid #eee;
}
@media screen and (min-width: 560px) {
  .lease-card{
    padding:50px 44px;
  }
}
.lease-card--pros{
  border-color:#F30F1D;
  margin-bottom: 50px;
}
@media screen and (min-width: 560px) {
  .lease-card--pros{
    margin-bottom: 0px;
  }
}
.lease-card--pros::after,
.lease-card--cons::after {
    /* content: '\ef4a'; font-family: 削除 */
    content: ""; /* テキストは消す */
    position: absolute;
    left: 0;
    right: 0;
    /* top, transform で上下中央配置は維持 */
    top: 50%;
    transform: translateY(-50%);
    
    /* 背景画像の設定 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* 領域内に収める */
    
    /* サイズ指定（元のfont-sizeをheightに置き換え、widthは横幅いっぱい） */
    width: 100%;
    height: 80vw; /* スマホ時の高さ */
}

/* レスポンシブサイズ調整（高さの上書き） */
@media screen and (min-width: 560px) {
    .lease-card--pros::after,
    .lease-card--cons::after {
        /* font-size: 40vw; 削除 */
        height: 40vw;
    }
}

@media screen and (min-width: 960px) {
    .lease-card--pros::after,
    .lease-card--cons::after {
        /* font-size: 17vw; 削除 */
        height: 18vw;
    }
}

/* 〇 メリット側の画像指定 */
.lease-card--pros::after {
    /* ★ご自身のSVGファイルパスに書き換えてください */
    background-image: url('/wp-content/themes/MJE/images/pros_maru.svg');
}

/* ✖ デメリット側の画像指定 */
.lease-card--cons::after {
    /* content: '\e5cd'; 削除 */
    /* ★ご自身のSVGファイルパスに書き換えてください */
    background-image: url('/wp-content/themes/MJE/images/cons_batsu.svg');
}
.lease-card--cons{
  border-color:#0095EE;
}
.lease-card--cons::after{
  content: '\e5cd';
  color:#EBF9FF;
}
/* タブ見出し（赤／青のピル） */
.lease-card__tab{
  position: absolute;
  display:inline-block;
padding: 12px 16px;
  border-radius:27px;
  color:#fff;
  font-weight:800;
  margin: 0 auto;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: -27px;
  font-size:18px;
  max-width: 300px;
  width: 100%;
}
.lease-card--pros .lease-card__tab{
  background:#fff;
  border:1px solid #F30F1D;
  color:#F30F1D;
}
.lease-card--cons .lease-card__tab{
  background:#fff;
  border: 1px solid #0095EE;
  color:#0095EE;
}
.lease-card__list,
.lease-card__list li{
  position: relative;
  z-index: 1;
}
.lease-card__list li strong{
  display:block;
  font-size: 20px;
  color:#F30F1D;
  font-weight: 800;
}
@media screen and (min-width: 560px) {
  .lease-card__list li strong{
    font-size: 22px;
  }
}
.lease-card--cons .lease-card__list li strong{
  color:#0095EE;
}
.lease-card__list li p{
  margin:9px 0 20px;
  font-size:14px;
  line-height: 1.8;
}
.lease-card .p-caption__body{
      position: relative;
    z-index: 1;
}
.p-option__block{
  background-color: #fff;
}
.p-option__headline{
  text-align: center;
  color:#0BB9A4;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom:10px;
}
.p-option__body{
  max-width: 244px;
  width: 100%;
  font-size: 12px;
  line-height: 21.6px;
  margin:0 auto;
  padding-bottom:24px;
}
.p-option__lead{
  margin-top: 24px;
  text-align: center;
  font-weight: 800;
}
.p-option__list{
  text-align: center;
  font-weight: 800;
  background-color: #A3EFE6;
  font-size:14px;
  line-height: 1.8;
  margin-top: 10px;
  flex: 0 0 48.5%;
    max-width: 48.5%;
    padding: 9px 10px;
}
@media screen and (min-width: 560px){
  .p-option__list{
    flex: 0 0 32%;
    max-width: 32%;
  }
  .u-option__inner::after{
    content:'';
    flex: 0 0 32%;
    max-width: 32%;
  }
}
/* 下段：テキスト＋グラフ 2→1 */
.lease-usage{
  position:relative;
  background: #F5F5F5;
  padding-top: 40px;        /* 帯の高さ（必要に応じて）*/
}
.lease-usage::before{
  content:'';
  height: 78px;
  top:-78px;
  width: 100%;
  position: absolute;
  left: 0px;
  width: 100%;
  background: #f3f3f3;
  z-index: -1;
}
.lease-usage::after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;                 /* 帯の下端から出す */
  transform: translateX(-50%);
width: 186px;
  height: 48px;
  background:#f3f3f3;       /* 帯と同じ色 */
  clip-path: polygon(0 0, 50% 100%, 100% 0);  /* ▼ */
}
@media (max-width: 900px){
  .lease-usage{ grid-template-columns: 1fr; }
}
.lease-usage__chart{
  margin-top: 30px;
}
/* 左テキスト */
@media screen and (min-width: 560px){
.lease-usage__text{
  flex:0 0 60.52%;
  max-width: 60.52%;
}
.lease-usage__chart{
  margin-top: 0px;
  flex:0 0 36.14%;
  max-width: 36.14%;
}
}
.p-chart__title{
  margin:0 0 14px;
  font-size: var(--font-size-xxl-fluid);
  font-weight:900;
}
.p-chart__body{
  margin-bottom: 15px;
}
.lease-usage__text .p-chart__body:nth-of-type(2){
  margin-bottom: 30px;
}
/* 断然おすすめ */
.p-recommend{
  padding-bottom: 124px;
}
.p-recommend .p-cta__headline{
  margin-bottom: 24px;
}
/* セクション骨格 */
.lease-points{
  background: #EBFAF7;
  padding: 50px 0 0px;
  position: relative;
}

/* セクションタイトル */
.lp-title{
  text-align:center;
  color:#fff;
  background:#0BB9A4;
  display:inline-block;
padding: 0px 15px 8px;
  border-radius:37px;
  font-weight:900;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  font-size:24px;
  max-width: 93%;
  width: 100%;
  margin:0 auto;
  margin-right: auto;
position: absolute;
  top: -40px;
}
@media screen and (min-width: 560px){
  .lp-title{
    font-size:var(--font-size-xxl-fluid);
    max-width: 660px;
  }
}
.lp-title span{
  color:#FFEE61;
  font-size:var(--font-size-xxxxl-fluid);
}

/* リース料金を左右する3つのポイント */
.p-lease__inner{
  padding-top: 40px;
  padding-bottom:40px;
  border-bottom: 1px solid #CACCCE;
}
.p-lease__inner:last-of-type{
  border-bottom: none;
}
.p-lease__image-block{
  margin-top: 40px;
}
@media screen and (min-width: 560px){
.p-lease__block{
  flex:0 0 39.78%;
  max-width: 39.78%;
}
.p-lease__image-block{
  margin-top: 0px;
  flex:0 0 56.98%;
  max-width: 56.98%;
}
}

.p-lease__speed{
  margin-top: 20px;
  text-align: center;
  background-color: #fff;
  padding:24px;
  border-radius: 8px;
}
.p-speed__headline{
  font-size: var(--font-size-m-fluid);
  font-weight: 800;
  margin-bottom: 10px;
}
.p-speed__body{
  font-size:14px;
  line-height: 1.8;
}
.p-speed__caption{
  background-color: #0095EE;
  padding:8px;
  border-radius: 8px;
  position: relative;
  color:#fff;
font-weight: 800;
  max-width: 154px;
  margin: 18px auto 0px;
}
.p-speed__caption::after{
  content:'';
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  width: 22px;
  height: 10px;
  background: #0095EE;
 clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.u-speed__caption{
  background-color: #F30F1D;
}
.u-speed__caption::after{
background: #F30F1D;
}

/****************************
リース契約を左右する3つのポイント
****************************/

.p-point__title{
  max-width: 91px;
  height: 27px;
  line-height: 27px;
  padding: 0px 15px;
  border-radius: 0px 14px 14px 0px;
  color: #FFEE61;
  font-size: 14px;
  background-color: #0BB9A4;
  font-weight: bold;
}
.p-point__headline{
  font-weight: 900;
  font-size: var(--font-size-xxl-fluid);
  margin:10px 0px 20px;
}
.p-point__body{
  margin-bottom: 20px;
}
.p-point__body:last-child{
  margin-bottom: 0px;
}
.p-maker__body{
  font-weight: 800;
  background: linear-gradient(transparent 70%, #FFEE61 70%);
}
/****************************
「カウンター料金」について　メモ
****************************/
.lp-memo{
  background:#fff;
  border-radius:8px;
   padding:46px 16px;
   margin-top:22px;
   position:relative;
   margin-bottom: 65px;
  }
  .lp-memo::after{
content: "";
  position: absolute;
  left: 50%;
  bottom: -112px;
  transform: translateX(-50%);
  width: 186px;
  height: 48px;
  background: #EBFAF7;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  z-index: 1;
  }
 
  .lp-memo__tag{
    max-width: 82px;
    position: absolute;
    left:24px;
    top:-15px;
  }
  .p-memo__inner{
    max-width: 1037px;
    margin:0 auto;
  }
  .p-memo__lead{
    font-weight: 800;
    color:#0BB9A4;
        margin-bottom: 5px;
  }
  .p-memo__headline{
    font-weight: 900;
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 15px;
  }
  /* .p-memo__image{
    border:1px solid #CACCCE;
  } */
  /* .p-memo__image img{
    max-width: 285px;
    margin:0 auto;
    text-align: center;
  } */
   .p-memo__image{
    margin:25px 0px;
   }
@media screen and (min-width: 560px){
.p-memo__block{
flex:0 0 44.45%;
max-width: 44.45%;
}
.p-memo__image{
  margin:0px;
flex:0 0 52.07%;
max-width: 52.07%;
}
}
/* コンテナ */
.p-lease__container{
  background-color: #fff;
  border-radius: 16px;
  max-width: 95%;
  width: 100%;
  margin:0 auto;
  position: relative;
}
@media screen and (min-width: 560px){
  .p-lease__container{
    max-width: 1116px;
  }
}
.p-lease__wrap{
  max-width: 1069px;
  width: 100%;
  margin:0 auto;
  padding:0px 16px 1px;
}
.p-shinsa__body{
  text-align: center;
  margin-bottom: 10px;
}
/* .p-lease__container::after{
  content:'';
  width: 100%;
  background:#EBF9FF;
  height: 63px;
  position: absolute;
  top:-63px;
  z-index: -1;
} */
/* セクション背景・余白 */
.lease-basics{
  background:#EBF9FF;
  padding:100px 0 54px;
  margin-top:54px;
}
@media screen and (min-width: 560px){
  .lease-basics{
    padding:150px 0 54px;
  }
}
.lease-tips{
  background:#EBF9FF;
  padding:64px 0px 64px;
}
.lease-tips__inner{
  margin-bottom: 40px;
  padding-top: 40px;
}
/* タイトル画像 */
.lb-title{
  position: relative;
  border:4px solid #0095EE;
  text-align:center;
  color:#0095EE;
  background-color: #fff;
  padding: 20px 20px 15px;
  max-width: 700px;
  margin: 0 auto 0px;
  position: relative;
  z-index: 1;
  top: -57px;
}
@media screen and (min-width: 560px){
  .lb-title{
    margin: 0 auto 40px;
    padding: 20px 35px 15px;
  }
}
.lb-title__search{
  position: absolute;
  left:0px;
  right: 0px;
  text-align: center;
  margin:0 auto;
  top:-20px;
}
.lb-title__headline{
  font-size: var(--font-size-m-fluid);
  display: block;
  padding-bottom: 10px;
  font-weight: bold;
}
.lb-title__lead{
  display: block;
  border-top:1px solid #0095EE;
  font-size: var(--font-size-xxl-l-fluid);
  padding-top: 5px;
}
.lb-title__pen{
position: absolute;
right:-20px;
top:25%;
transform:translateY(-50%);
max-width: 55px;
}
@media screen and (min-width: 960px){
.lb-title__pen{
  max-width: 100%;
  right:-40px;
  top:40%;
}
}
.lb-about{
  margin-bottom: 40px;
}
@media screen and (min-width: 560px){
.lb-about__block{
  flex:0 0 44.45%;
  max-width: 44.45%;
}
.lb-about__image{
flex:0 0 52.07%;
  max-width: 52.07%;
}
}
.lb-about__block p{
  margin-bottom: 15px;
}
.lb-about__head{
  text-align: center;
  margin-bottom: 24px;
}
.p-pill__headline{
  text-align: center;
  display: inline-block;
  background-color: #F30F1D;
  border-radius: 18px;
padding: 2px 22px;
  position: relative;
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.p-pill__headline::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 99%;
  transform: translateX(-50%);
  width: 16px;
  height: 12px;
  background: #F30F1D;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.lb-h3{
  font-size:22px;
  font-weight: 900;
}
@media (min-width:560px){
  .lb-h3{
  font-size: var(--font-size-xxl-l-fluid);
}
}
.pill{
  display:inline-block; padding:4px 10px; border-radius:999px;
  background:#ff6257; color:#fff; font-size:12px; font-weight:900;
}
.pill--q{ background:#ff4c9a; }

/* 強調（黄色マーカー） */
.hl{
  background:linear-gradient(transparent 60%, #fff4a6 60%);
}
.p-about__body{
  text-align: center;
  margin-bottom: 32px;
}
/* 「とは？」グリッド */
.lb-about__grid{ display:grid; gap:16px; }
@media (min-width:560px){ .lb-about__grid{ grid-template-columns:1fr 1fr; align-items:start; } }
.lb-about__text{
  background:#fff; border:1px solid #e6eef3; border-radius:10px; padding:16px;
}
.lb-about__fig{
  margin:0; background:#fff; border:1px solid #e6eef3; border-radius:10px;
  padding:12px; text-align:center;
}
.lb-about__fig img{ max-width:100%; height:auto; }

/****************************
リース・購入・レンタルの違い比較表
****************************/
.lb-compare{
  margin-bottom: 40px;
}
.lb-tablewrap{
  text-align: center;
  margin-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* テーブル：PC/タブレット */
.lb-table{
  width:100%;
  border-collapse:collapse;
  /* table-layout:fixed; */
  font-size:14px;
  min-width:720px;
  line-height: 1.8;
}
.lb-table thead th{
background: #0095EE;
  color: #fff;
  font-weight:900;
  padding:13px;
  border-right:1px solid #CACCCE;
}
.lb-table thead th:last-child{ border-right:none; }
.lb-table th.is-item{
  background:#BBEDFF;
  color:#3E6682;
  width:133px;
}
.u-is-item{
  background-color: #0095EE!important;
}
.lb-table th, .lb-table td{
border: 1px solid #CACCCE;
  padding:8px 10px;
  vertical-align:middle; }

.lb-table td{
  font-weight: 800;
}
@media (max-width:560px){
  .lb-table thead{ display: table-header-group !important; }
  /* .lb-table, .lb-table tbody, .lb-table tr, .lb-table th, .lb-table td{
    display: table !important;
  } */
  .lb-table td::before{ content: none !important; }
}


/****************************
再リース・入れ替えのメリット・デメリット
****************************/
.lb-lease{
  margin-top: 40px;
  margin-bottom: 64px;
}
.cmp-table{
  margin: 0 auto;
  border-collapse: separate;
  border-spacing:4px;
}

/* 1セルをカード扱いにして角丸＋線 */
.cmp-table th,
.cmp-table td{
  padding: 13px 18px;
  vertical-align: middle;
}
.cmp-table td{
  padding: 23px 18px;
}
@media (min-width:560px){
.cmp-table td{
  padding: 13px 18px;
}
}
/* 見出し */
.th--merit{
  background: #F30F1D;
  color: #fff;
  text-align: center;
  font-weight: 900;
}
.th--demerit{
  background: #0095EE;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

/* 行見出し（左端のアイコン縦並び） */
.col-label{
  width: 168px;
}            /* アイコン枠の固定幅 */
.rowhead{
  text-align: center;
  border: 1px solid #CACCCE;
  background-color: #EBF9FF;
}
.rowhead__title{
  display:block;
  font-weight:700;
  margin-bottom:8px;
}

/* 本文リスト */
.list{
  margin:0;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
@media screen and (min-width:560px){
  .list{
    padding-left:1.1em;
  }
}
.list li{
  padding-left: 1em;
  text-indent: -1em;
}

/* うっすら入る透かし（擬似要素で） */
.cell{
  position:relative;
  overflow:hidden;
  border: 1px solid #CACCCE;
  position: relative;
}
.cell-maru::after,
.cell-batsu::after {
    content: ""; /* テキストを消去 */
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    
    /* 背景画像の設定 */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* はみ出さないように収める */
    
    /* フォントサイズの代わりに高さを指定 */
    width: 100%;
    height: 21vw;
    
    /* 背景として薄くするための調整（必要に応じて数値を変更してください） */
    opacity: 0.1; 
}

/* PC時のサイズ調整 */
@media (min-width: 560px) {
    .cell-maru::after,
    .cell-batsu::after {
        height: 6vw;
    }
}

/* 〇 マル側の画像指定 */
.cell-maru::after {
    /* ★ご自身のSVGファイルパスに書き換えてください */
    background-image: url('/wp-content/themes/MJE/images/pros_maru.svg');
}

/* ✖ バツ側の画像指定 */
.cell-batsu::after {
    /* ★ご自身のSVGファイルパスに書き換えてください */
    background-image: url('/wp-content/themes/MJE/images/cons_batsu.svg');
}
@media (max-width: 960px){
  .cmp-table{ 
    border-spacing: 0; /* 修正：スマホ時はセル間の隙間をゼロにして密着させる */
    width: 100%;
  }
  .cmp-table thead{ 
    display: none; 
  }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td{
    display: block; 
    width: 100%;
    box-sizing: border-box; /* 画面はみ出しを防止 */
  }
  
  .cmp-table tr {
    margin-bottom: 30px; /* 項目（再リース、入替え）ごとの間隔 */
  }

  .rowhead{ 
    display: flex; 
    flex-direction: column; /* 修正：見本通り「テキストが上、アイコンが下」に */
    align-items: center; 
    justify-content: center; 
    gap: 8px; /* テキストとアイコンの隙間 */
    border-bottom: none; /* 下のセルと罫線がダブらないようにする */
  }
  .rowhead__title{
    margin-bottom: 0; 
  }
  
  .cell { 
    border-top: none; /* 上のセルと罫線がダブらないようにする */
  }
  
  /* スマホ時のみ、各セルの上部にラベル帯を生成 */
  .cell::before {
    display: block;
    color: #fff;
    font-weight: 900;
    text-align: center;
    padding: 10px 0;
    /* tdのpaddingを相殺し、帯をセルの左右・上端にピッタリ密着させる */
    margin: -23px -18px 20px -18px; 
    position: relative;
    z-index: 2; /* 透かしアイコンよりも上に表示 */
  }
  
  .cell-maru::before {
    content: "メリット";
    background-color: #F30F1D;
  }
  
  .cell-batsu::before {
    content: "デメリット";
    background-color: #0095EE;
  }
}



.screening{ background:#e9f5f9; padding:28px 0 56px; }
.screening .pill{
  display:inline-block; padding:4px 10px; border-radius:999px;
  background:#ff6257; color:#fff; font-size:12px; font-weight:900; margin:0 0 8px;
}
.screening .ttl{ margin:0 0 8px; text-align:center; font-weight:900; }
.screening .lead{ text-align:center; margin:0 0 16px; }

/* バナー */
.sc-banner{
  position:relative;
  background:#BBEDFF;
  padding:17px;
  border-top:2px dashed #000;
  border-bottom:2px dashed #000;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width: 940px;
  margin:0 auto;
  width: 100%;
  font-size: var(--font-size-l-fluid);
  top: 35px;
  z-index: 1;
  font-weight: 800;
}
.sc-banner__label{
  position: relative;
}
.sc-banner__illust{
  position:absolute;
right: -87px;
  bottom: -17px;
  width:81px;
}
@media (max-width:560px){
  .sc-banner__illust{
            width: 68px;
        right: -64px;
  }
}

/* 外枠（角丸＋内側余白） */
.sc-box{
  background:#fff;
  border:2px solid #BBEDFF;
  border-radius:16px;
  position:relative;
  padding:74px 0px 0px;
}
.sc-list{
  max-width: 972px;
padding: 0px 16px 0px;
  width: 100%;
  margin:0 auto;
}
.sc-list .p-common__inner{
  margin-bottom: 32px;
}
.p-point__icon{
  text-align: center;
}
.p-point__block{
  margin-top: 30px;
}
@media (min-width:560px){
  .p-point__block{
    margin-top: 0px;
    flex:0 0 82.12%;
    max-width: 82.12%;
  }
.p-point__icon{
  text-align: left;
  max-width: 136px;
  /* margin-bottom: 20px; */
}
}

.sc-point{
  color:#0095EE;
  font-size: 14px;
  line-height: 1.8;
  font-weight:bold;
  text-align: center;
}
@media (min-width:560px){
  .sc-point{
    text-align: left;
  }
}
.sc-h3{
  margin:0 0 8px;
  font-size:18px;
  text-align: center;
  font-weight: 800;
}
@media (min-width:560px){
.sc-h3{
  text-align: left;
}
}

/* CHECK */
.sc-check{
  border-radius:8px;
  background-color:#FCEEEE;
  max-width: 93%;
  margin:60px auto 0px;
  padding:28px 0px;
  position: relative;
}
@media (min-width:560px){
  .sc-check{
    max-width: 924px;
  }
}
.sc-check__badge{
  display:block;
  position: absolute;
    left:24px;
    top:-15px;
}
.sc-check__inner{
  max-width: 892px;
  padding:0px 16px;
  width: 100%;
  margin:0 auto;
}
.sc-check__lead{ 
  color:#F30F1D;
  font-weight: 800;
  margin:0 0 10px;
}
.sc-check__note{
  font-size: 14px;
  line-height: 1.8;
}

.p-cta__link{
  margin:0 auto;
  text-align: center;
}

/* =========================================
   リース審査99% バナーエリア
   ========================================= */
  .p-lease-banner{
    padding-bottom: 0px;
  }
.p-lease-banner__inner {
  background-color: #0095EE; /* 指定の青色 */
  border-radius: 0px 0px 16px 16px;
  padding: 40px 50px 50px;
      margin-right: -1px;
    margin-left: -1px;
    margin-bottom: -1px;
}

/* --- 上部エリア --- */
.p-lease-banner__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.p-lease-banner__content {
  color: #fff;
  flex: 1;
}

.p-lease-banner__title {
  font-size: min(32px, 5vw); 
  color: #fff;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: center;
}
.p-lease-banner__percent{
  font-size:var(--font-size-xxxxl-m-fluid);
}

/* ▼ 修正：元の「span」指定をクラス指定に変更してバグを防ぐ */
.p-lease-banner__num {
  font-size: var(--font-size-xxxxl-l-fluid);
}

/* =======================================
   装飾（＼ ／）の描画と改行防止エリア
   ======================================= */
.p-lease-banner__catch {
  display: inline;
  /* ▼ 追加：この箱全体の基準を「文字の下辺（ベースライン）」にする */
  vertical-align: baseline;
}

/* ▼ 疑似要素で「線」のブロックを作る */
.p-lease-banner__catch::before,
.p-lease-banner__catch::after {
  content: "";
  /* ▼ 修正：inline-block にすることで、文字と一緒に並べつつ下揃えにする */
  display: inline-block;
  
  width: 4px; /* 線の太さ */
  height: 1.1em; /* 線の長さ */
  background-color: currentColor; /* 文字の白を自動取得 */
  vertical-align: sub;
}
@media (max-width:560px){
  .p-lease-banner__percent{
    display: inline-block;
  }
  .p-lease-banner__catch::before,
.p-lease-banner__catch::after {
      position: absolute;
    bottom: 10px;
    height: 2em;
}
}

/* ▼ 左側の線（＼） */
.p-lease-banner__catch::before {
  transform: rotate(-22deg);
  margin-right: 8px;
}

/* ▼ 右側の線（／） */
.p-lease-banner__catch::after {
  transform: rotate(22deg);
  margin-left: 8px;
}
@media (max-width:560px){
  .p-lease-banner__catch::before {
        left: 10px;
  }
  .p-lease-banner__catch::after {
    right: 10px;
  }
}
/* 指示：body文章は14px */
.p-lease-banner__text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
@media (min-width:560px){
  .p-lease-banner__image {
  flex-shrink: 0;
width: clamp(200px, 25vw, 230px);
    margin: 0 50px -31px 20px;
}
}
/* --- 下部CTAボックス --- */
.p-lease-banner__bottom {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2; /* 画像より手前に表示 */
}

.p-lease-banner__lead {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .p-lease-banner__lead {
    font-size:22px;
  }
}
.p-lease-banner__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.p-lease-banner__tel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .p-lease-banner__tel-box {
    margin-bottom: 0px;
  }
}
.p-lease-banner__tel {
  display: flex;
  align-items: center;
  gap: 7px;
}

.p-lease-banner__tel-icon img {
  max-width: 42px;
}
@media screen and (min-width: 560px) {
  .p-lease-banner__tel-icon img {
  max-width: 80px;
}
}
/* 指示：赤文字 #F30F1D / 60px / opensans */
.p-lease-banner__tel-num {
  font-family: 'Open Sans', sans-serif;
  color: #F30F1D;
  font-size: clamp(30px, 4vw, 60px); /* 60pxを基準にしつつ、画面が小さいときは縮小 */
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
}
.p-lease-banner__tel-time {
  font-size: 11px;
}
@media screen and (min-width: 560px) {
  .p-lease-banner__tel-num {
    font-size: clamp(40px, 4vw, 60px);
  }
  .p-lease-banner__tel-time {
  font-size: 15px;
}
}

.p-lease-banner__divider {
  width: 1px;
  height: 83px;
  background-color: #CACCCE;
}
.p-lease-banner__btn-box{
  max-width: 310px;
  width: 100%;
}
/* =========================================
   共通ボタン：青色バージョン（上書きクラス）
   ========================================= */
.c-btn--blue {
  background-color: #0095EE; /* ボタン背景色 */
  color: #fff; /* 文字色 */
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.c-btn--blue.p-common__cta::after{
  background-color: #fff;
  border:1px solid #fff;
  color:#0095EE;
}
@media screen and (min-width: 560px) {
  .c-btn--blue:hover{
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  }
  .c-btn--blue:hover.p-common__cta::after{
    background-color: #0095EE;
    color:#fff;
  }
}
.c-btn--blue .c-btn__arrow .material-icons {
  color: #0095EE; /* 矢印アイコンを青に */
}

/* =========================================
   スマホ対応（レスポンシブ）
   ========================================= */
@media screen and (max-width: 559px) {
  .p-lease-banner__inner {
    padding: 30px 20px;
  }
  .p-lease-banner__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
        margin-bottom: 0px;
  }
  .p-lease-banner__image {
    margin: 20px 0 0px 0;
  }
  .p-lease-banner__bottom {
    padding: 25px 15px;
  }
  .p-lease-banner__action {
    flex-direction: column;
    gap: 20px;
  }
  .p-lease-banner__divider {
    display: none; /* スマホでは縦並びになるため線を消す */
  }
  .c-btn {
    min-width: 100%; /* スマホ時はボタンを全幅に */
  }
}
/****************************
よくある質問共通フッター
****************************/
.c-faq__list{
  background:#fff;
  border:1px solid #CACCCE;
  border-radius:8px;
  margin-bottom:16px;
  font-size:16px;
}
.c-faq__list:last-of-type{
  margin-bottom: 0px;
}
.c-faq__list [itemprop="name"] span,
.c-faq__answer span{
  line-height:1;
  color:#fff;
  background-color: #2FBEFC;
  height: 24px;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
  line-height: 30px;
  display:flex;
  justify-content: center;
  align-items: center;
  font-size:13px;
  font-family: "Open Sans", sans-serif;
  border-radius: 50%;
  font-weight: 800;
}
@media (min-width:560px){
  .c-faq__list [itemprop="name"] span,
.c-faq__answer span{
  height: 30px;
  line-height: 30px;
  width: 30px;
  font-size:16px;
}
}
/* @media (min-width:560px){
  .c-faq__list [itemprop="name"] span,
.c-faq__answer span{
max-width: 30px;
        width: 100%;
}
} */
.c-faq__answer span{
color: #fff;
  background-color: #F30F1D;
}

/* 旧 .summary 相当（button化しても見た目は既存に合わせる） */
.c-faq__summary{
  display:flex;
  line-height: 27px;
  align-items: center;
  gap:15px;
  width:100%;
  cursor:pointer;
  position:relative;
  font-weight:800;
  font-size:16px;
      padding: 32px 40px 32px 15px;
  border: none;
  background: none;
  text-align: left;
  outline: none;
  color: inherit;
}
@media (min-width:560px){
  .c-faq__summary{
    font-size:18px;
    padding-left:30px;
    padding-right:24px;
  }
}
.c-faq__summary:focus-visible{
  outline:2px solid #1968C5;
  outline-offset:2px;
  border-radius:6px;
}

/* プラス/マイナス（フォント依存なし） */
.c-faq__icon{
  position:absolute;
  top:50%;
  right:10px;
  width:24px;
  height:24px;
background-color: transparent !important;
  transform:translateY(-50%);
}
@media (min-width:560px){
  .c-faq__icon{
    right:20px;
  }
}
.c-faq__icon::before,
.c-faq__icon::after{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:17px;
  height:3px;
  background:#F30F1D;
  transform:translateY(-50%);
  transition:transform .25s ease;
  display: block;
}
@media (min-width:560px){
  .c-faq__icon::before,
.c-faq__icon::after{
  width:24px;
}
}
.c-faq__icon::before{
  transform:translateY(-50%) rotate(90deg);
} /* 縦棒 */

/* Aテキスト（元の余白/文字サイズを踏襲） */
.c-faq__answer{
  line-height:1.95;
  padding:0 15px 32px 15px;
  opacity:1; transform:none;  /* テキストアニメは行わない */
  display: flex;
  gap:15px;
  max-width: 1012px;
}
@media (min-width:560px){
  .c-faq__answer{
    padding-left:30px;
    padding-right:20px;
  }
}

/* パネル本体：高さアニメを確実に効かせる */
.c-faq__panel{
  overflow:hidden;
  max-height:0;                 /* 閉 */
  opacity:0;
  transition:max-height .35s ease, opacity .35s ease;
  will-change:max-height, opacity;
}

/* 開状態（JSがaria-expandedで切替） */
.c-faq__summary[aria-expanded="true"] + .c-faq__panel{
  opacity:1;
}
.c-faq__summary[aria-expanded="true"] .c-faq__icon::before{
  transform: translateY(-50%) rotate(45deg);
}
.c-faq__summary[aria-expanded="true"] .c-faq__icon::after{
  transform: translateY(-50%) rotate(-45deg);  /* ← ここがポイント */
}

/* 低モーション配慮（お好みで） */
@media (prefers-reduced-motion: reduce){
  .c-faq__panel{ transition:none; }
  .c-faq__icon::before, .c-faq__icon::after{ transition:none; }
}


.c-text__link{
  display: inline;
}
  .fade-in {
    animation: fadeIn 1s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/****************************
導入事例スライダー
****************************/
/* ====================================================
   1. レイアウト・共通ラッパー
   ==================================================== */
.voices {
  background-color: #F5F5F5;
  /* overflow: hidden; */
  width: 100%;
      overflow: visible;
}
/* .voices::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw; 
    height: 100%;
    background-color: #F5F5F5; 
    z-index: -1; 
  } */
.inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* 既存の共通クラス（他ページへの影響を考慮してそのまま残す） */
.bleed-right {
  position: relative;
  width: 100vw;
  margin-left: 20px;
  overflow: hidden;
}
@media (min-width: 960px) {
  .bleed-right {
    margin-left: calc(50% - 50vw);
    padding-left: calc((100vw - 1000px) / 2 + 16px);
  }
}
@media (min-width: 1441px) {
  .bleed-right {
    padding-left: calc((100vw - 1156px) / 2 + 16px);
  }
}

/* ====================================================
   2. 導入事例スライダー（干渉防止・特殊挙動・サイズ）
   ==================================================== */
/* ★重要：voices内のbleed-rightの二重計算を無効化し、干渉（巨大な空白）を防ぐ */
.voices .bleed-right {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.voices__slider {
  width: 100%; 
    margin-left: 0;
    margin-right: 0;
  /* width: 100vw; */
  /* margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw); */
  /* overflow: hidden; */
}

/* スライダー枠と余白設定 */
.voices__slider .swiper {
  width: 100%;
      max-width: 1148px;
    padding-left: 16px;
  box-sizing: border-box;
  overflow: visible;
  
  /* コンテンツ幅(1032px)の左端・右端に合わせる計算（516px = 1032pxの半分） */
  /* スマホ時は最低16pxの余白を確保 */
  /* padding-left: max(16px, calc(50vw - 556px));
  padding-right: max(16px, calc(50vw - 556px));  */
}

/* スライド（カード）自体のサイズ指定 */
.voices__slider .swiper-slide {
  width: 540px;      /* PC・タブレット時の見本幅 */
  max-width: 85vw;   /* スマホ時は画面幅の85%まで縮小（右端をチラ見せ） */
  height: auto;
  background: #fff;
}

/* スライド内の中央寄せ・幅制限を解除 */
.voices__slider .p-case__wrap {
  max-width: 100%;
  margin: 0;
}

/* ====================================================
   3. スライド内コンテンツ（カード・テキスト）
   ==================================================== */
.voice-card {
  max-width: 476px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 40px;
}
@media (max-width: 560px) {
  .voice-card { 
    grid-template-columns: 1fr;
  }
}

.voice-card__img {
  flex: 0 0 21%;
  max-width: 21%;
}

.voice-card__body {
  flex: 0 0 72.26%;
  max-width: 72.26%;
}

.voice-card__label {
  display: inline-block;
  background: #F5F5F5;
  padding: 3px 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
}

.voice-card__list {
  font-size: 10px;
}
.voice-card__list li a {
  display: inline-block;
}

.voice-card__row {
  display: grid;
  grid-template-columns: 5em 1fr;
}
.voice-card__row dt,
.voice-card__row dd {
  line-height: 16px;
}
.voice-card__row dd {
  color: #707684;
}
.voice-card__row dd a {
  display: inline-block;
}

/* 導入事例アーカイブ用見出し・メタ */
.p-voice__headline {
  border-bottom: 1px solid #CACCCE;
  padding-bottom: 22px;
  margin-bottom: 26px;
  font-size: var(--font-size-m-fluid);
}
.post-type-archive-cases .p-case-headline {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 15px;
}
.post-type-archive-cases .p-case-meta {
  font-size: 12px;
}

/* 本文の行数制限（5行で三点リーダー） */
.swiper-slide .p-case-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; 
  overflow: hidden;
}

/* ====================================================
   4. ナビゲーション（プログレスバー・矢印・もっと見る）
   ==================================================== */
.swiper-pagination {
  display: none;
}

/* ▼ スマホ・PC共通：プログレスバーと矢印のコンテナを横並びにする */
.voices__nav-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 24px; /* スマホ時の「もっと見る」ボタンとの余白 */
}

/* プログレスバー（レール） */
.voices__progress {
  position: relative;
  max-width: 626px;
  height: 4px;
  background: #E5E5E5;
  overflow: hidden;
  flex: 1; /* ▼ スマホ幅でも矢印以外の残りの領域をすべてバーにする */
}

/* レール枠 */
.voices__progress::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px #DADDE3;
  pointer-events: none;
}

/* プログレスバー（動く赤い部分） */
.voices__progress-bar,
.js-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 118px;
  background: #F30F1D;
  border-radius: 9999px;
  transition: width .2s linear;
}

/* 矢印コンテナ */
.voices__arrows {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 20px; /* バーと矢印の隙間 */
  flex-shrink: 0; /* ▼ スマホでも矢印が潰れないように保護 */
}

/* 矢印ボタン本体 */
.voices__arrow {
  appearance: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #F30F1D;
  color: #F30F1D;
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.voices__arrow span {
  font-size: 18px;
}
.voices__arrow:not(:disabled):hover {
  background: #F30F1D;
  color: #FFF;
}
.voices__arrow:disabled {
  opacity: .3;
  cursor: default;
}

/* もっと見るリンク周り */
.p-voice__link {
  width: 100%;
  margin: 0 auto; /* スマホ時の中央寄せ */
}
.voices__more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 12px 18px;
  background: #FFF;
  border: 1px solid #DDD;
  border-radius: 999px;
  font-weight: 700;
}

/* ▼ PC表示用の切り替え */
@media (min-width: 560px) {
  .voices__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
  }
  .voices__nav-block {
    max-width: 743px;
    margin-bottom: 0; /* PC時はもっと見るボタンと横並びになるため下余白をリセット */
    justify-content: flex-start;
    margin-top: 0px;
  }
  .voices__arrows {
    margin-left: 32px;
  }
  .p-voice__link {
    max-width: 342px;
    margin: 0;
  }
}
/****************************
コピー機複合機の導入までの流れ
****************************/
.flow{
  background-color: #fff;
}
.p-flow__block {
  border: 1px solid #CACCCE;
  border-radius: 8px;
  position: relative;
  margin-bottom: 10px;
  /* ▼ スマホ用：横並びカード型にする */
  display: flex;
  align-items: center;
  overflow: hidden; /* 左側の角丸を画像に適用させるため */
}

/* 画像エリア（左側） */
.p-flow__image {
  position: relative;
  flex: 0 0 40%; /* 画像の幅 */
  max-width: 40%;
}

.p-flow__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストエリア（右側） */
.p-flow__inner {
  flex: 1;
  padding: 15px 15px 15px 28px; /* 丸いバッジが被るため左余白を広めに */
}

/* 見出し */
.p-flow__headline {
  text-align: left;
  font-weight: 800;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* 説明文（スマホでは非表示） */
.p-flow__body {
  display: none; 
}

/* 数字バッジ */
.p-flow__number {
  font-size: var(--font-size-m-fluid);
  width: 40px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  /* ▼ スマホ用：画像の右端、上下中央に配置 */
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  text-align: center;
  background: #fff;
  font-weight: bold;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* 浮き出し用の影 */
}

.flow .col-4 {
  flex: 0 0 100%;
  max-width: 100%;
}
/* ====================================================
   PC用（560px以上）
   ==================================================== */
@media screen and (min-width: 560px) {
.flow .col-4 {
    flex: 0 0 23%;
    max-width: 23%;
  }
  .p-flow__block {
    margin-bottom: 0px;
    /* ▼ PC用：縦積みに戻す */
    display: block;
    overflow: visible; 
  }

  .p-flow__image {
    flex: none;
    max-width: 100%;
  }

  .p-flow__inner {
    padding: 27px 24px 27px;
  }

  .p-flow__headline {
    text-align: center;
    margin: 0px 0px 15px;
    font-size: 18px; 
  }

  /* ▼ PC用：説明文を再表示 */
  .p-flow__body {
    display: block;
    line-height: 1.8;
    font-size: 14px;
  }

  .p-flow__number {
    max-width: 46px;
    width: 100%;
    height: 46px;
    line-height: 46px;
    /* ▼ PC用：画像の下端中央に戻す */
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: none; 
  }
}

@media screen and (min-width: 1440px) {
  .p-flow__number {
    top: 86%;
  }
}

.p-support__title{
  margin: 0 0 0px;
    font-size: var(--font-size-xxl-fluid);
    font-weight: 900;
}
@media screen and (min-width: 560px) {
  .p-support__title{
    margin: 0 0 14px;
  }
}
.p-support__title span{
  font-size: 16px;
  display: block;
  font-weight: 800;
}
/****************************
支払方法
****************************/
.pay-area{
  background-color: #F5F5F5;
  padding:64px 0px 70px;
}
.p-iconset__block{
  text-align: center;
}
.p-payarea__headline{
  font-size: var(--font-size-xxl-fluid);
  border-bottom: 1px solid #CACCCE;
padding-bottom: 13px;
  margin-bottom: 35px;
}
.p-icon__headline{
  margin-bottom: 5px;
}
@media screen and (min-width: 560px) {
.p-pay__block{
  flex:0 0 38.5%;
  max-width: 38.5%;
}
.p-area__block{
  flex:0 0 56.5%;
  max-width: 56.5%;
}
}

.u-pay__inner{
  margin-bottom: 40px;
}
.p-pay__icon{
  margin-bottom: 15px;
}
.p-pay__icon{
  flex:0 0 23.3%;
  max-width: 23.3%;
  margin-bottom: 0px;
}
.p-pay__content{
  text-align: left;
}
.p-pay__content{
  flex:0 0 73.5%;
  max-width: 73.5%;
}
.p-pay__headline{
  font-size: 16px;
  margin-bottom: 8px;
}
@media screen and (min-width: 560px) {
  .p-pay__headline{
  font-size: 18px;
}
}
.p-pay__body{
  font-size: 14px;
  line-height: 25.2px;
}
.p-area__headline{
  font-size: var(--font-size-xxl-fluid);
  margin-bottom: 10px;
}
.p-area__body{
  font-size: 14px;
  margin-bottom: 24px;
}
.prefecture-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}
@media screen and (min-width: 560px) {
  .prefecture-table {
    font-size: 14px;
  }
}
.prefecture-table th,
.prefecture-table td {
  border: 1px solid #CACCCE;
  padding: 10px 16px;
  vertical-align: middle;
}

.prefecture-table th {
  background-color: #BBEDFF;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
  width: 20%; /* PC見本に合わせて見出しの幅を固定 */
}

.prefecture-table td {
  background-color: #fff;
}

/* ====================================================
   スマホ用（559px以下）
   ==================================================== */
@media screen and (max-width: 559px) {
  .prefecture-table {
    border: 1px solid #CACCCE;
    border-bottom: none;
  }

  .prefecture-table tr,
  .prefecture-table th,
  .prefecture-table td {
    /* テーブル要素をブロック化して縦積みに強制する */
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .prefecture-table th,
  .prefecture-table td {
    /* 枠線の二重化を防ぐため下線のみに絞る */
    border: none;
    border-bottom: 1px solid #CACCCE;
    padding: 12px 16px;
  }

  .prefecture-table th {
    width: 100%; /* PCの固定幅を解除 */
    white-space: normal; /* スマホで文字がはみ出さないように折り返しを許可 */
  }
}
/****************************
コピー機・複合機のお役立ちコラム
****************************/
.p-point__bg-block{
  background-color: #fff;
}
.column-news-section{
  background-color: #fff;
}
.column-news-section .p-home-col02 .p-column__title{
  font-size:14px;
  line-height: 1.8;
}
.p-column___inner{
  max-width: 668px;
  padding:0px 16px;
  width: 100%;
  margin:0 auto;
}
.p-home-col {
    margin-bottom: 50px;
}
@media screen and (min-width: 560px) {
.p-home-col {
  margin-bottom: 0px;
    flex:0 0 56.98%;
    max-width: 56.98%;
}
.p-home-col02{
flex:0 0 39.78%;
    max-width: 39.78%;
}
  }
.p-column__headline{
  font-size: var(--font-size-xxl-fluid);
  text-align: center;
  margin-bottom: 20px;
}
.p-column__list,
.p-news__list {
    border-top: 1px solid #e5e5e5;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.p-column__list li a,
.p-news__list li a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上揃え */
    border-bottom: 1px solid #e5e5e5; /* 下線のみに統一（見本合わせ） */
    padding: 20px 0;
    text-decoration: none;
    transition: opacity 0.3s;
}
.p-news__list li a {
  border-bottom: none;
}
/* .p-column__list li a:hover,
.p-news__list li a:hover {
    opacity: 0.7;
} */

.p-column__thumbnail{
  flex:0 0 30%;
  max-width: 30%;
  width: 154px;
    height: 87px;
    overflow: hidden;
}
.p-column__thumbnail img{
width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease; /* 追加：拡大を滑らかにする */
}
.p-column__list li a:hover .p-column__thumbnail img,
.p-news__list li a:hover .p-column__thumbnail img {
    transform: scale(1.05); /* 1.05倍（必要に応じて1.1などに調整） */
}

.p-column__block{
  flex:0 0 65%;
  max-width: 65%;
}
.p-column__day{
color: #7E868F;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.8;
}
.p-column__title{
  font-weight: 800;
  line-height: 24px;
}
.p-news__list .p-column__thumbnail {
    display: none; 
}
.p-news__list .p-column__block {
    flex: 0 0 100%;
    max-width: 100%;
}

/****************************
ランキングページ
****************************/
.p-ranking:first-child{
padding-top:0px;
}
.l-ranking{
  text-align: center;
  padding-bottom: 32px;
}
.p-ranking{
  padding-bottom: 0px;
  padding-top: 30px;
}
.p-ranking__link{
  margin-bottom: 25px;
}
@media screen and (min-width: 560px) {
  .p-ranking__link{
  margin-bottom: 0px;
} 
}
.p-ranking__link a{
  background-color: #fff;
  box-shadow: 0px 10px 15px 0 rgba(0,0,0,.1);
  border-radius:8px;
}
@media screen and (min-width: 560px) {
  .p-ranking__link a:hover{
    box-shadow: 0px 2px 2px 0 rgba(0,0,0,.1);
  }
}
.p-ranking__head-link{
  position: relative;
  line-height: 24px;
  background-image:url("/wp-content/themes/MJE/images/hane.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
      padding: 8px 0px;
      font-weight: 800;
      font-size: 16px;

}
/* .p-ranking__head-link::after{

} */
.p-ranking__head-link span{
 /* font-size: var(--font-size-s-fluid); */
  display: block;
}
.p-ranking__icon{
  background-color: #F5F5F5;
  border:1px solid #F5F5F5;
  border-radius: 50%;
  color:#F30F1D;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  margin:10px auto 0px;
  transition: .3s;
}
.p-ranking__link a:hover .p-ranking__icon{
  border:1px solid #F30F1D;
}
.p-ranking__icon span{
  font-size: 16px;
}
.p-ranking__link-inner{
  text-align: center;
  padding: 15px 0px 24px;
}
@media screen and (min-width: 560px) {
  .p-ranking__link-inner{
    padding: 15px 15px 24px;
  }
}
/* ====================================================
   スマホ用（ベーススタイル：559px以下）
   ==================================================== */
.p-ranking__common--headline {
  background-color: #F30F1D;
  color: #fff;
  font-size: 20px;
  margin-bottom: 32px;
  
  /* ▼ Flexboxをやめ、ブロック要素にする */
  display: block;
  line-height: 1.4;

  /* ▼ ぶら下がりインデントの指定 */
  /* 左側に「元々の余白20px ＋ アイコン・数字幅（約3.8em）」のスペースを空ける */
  padding: 11px 20px 11px 20px; 
  /* 1行目だけを左に引っ張り出して、2行目以降と開始位置をずらす */
}

.p-ranking__common--headline span {
  display: inline-block; /* 必須：インデントの影響を受けつつアイコン幅を保つ */
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: -5px; /* アイコンと文字の縦位置を微調整 */
  text-indent: 0;
}

.p-ranking__common--headline img {
  width: 100%;
  height: 100%;
  vertical-align: baseline;
}

/* ====================================================
   PC用（560px以上）
   ==================================================== */
@media screen and (min-width: 560px) {
  .p-ranking__common--headline {
    margin-bottom: 40px;
    font-size: var(--font-size-xxl-l-fluid);
    
    /* ▼ PC時は元の横並び（Flexbox）にリセット */
    display: flex;
    align-items: center;
    padding: 11px 20px; 
    text-indent: 0; 
  }
  
  .p-ranking__common--headline span {
    margin-right: 10px;
    vertical-align: baseline; 
  }
}
/****************************
総合人気ランキング
****************************/
.p-rank__list{
  margin-top: 30px;
}
.p-rank__list a{
  position: relative;
  border-radius: 8px;
  box-shadow: 0px 5px 15px 0 rgba(0,0,0,.1);
}
.p-rank__list a:hover{
  box-shadow: 0px 2px 2px 0 rgba(0,0,0,.1);
}
.p-rank__image{
  background-color: #F5F5F5;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 560px) {
  .p-rank__image{
  flex:0 0 30%;
  max-width:30%;
}
}
.p-rank__image img{
  max-width: 226px;
}
.p-rank__content{
  padding:15px;
}
@media screen and (min-width: 560px) {
  .p-rank__content{
  flex:0 0 70%;
  max-width: 70%;
  padding:30px 30px 20px 30px;
}
}
.p-rank__features{
  display: flex;
  gap:5px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
  font-size: 14px;
}
.p-rank__features li{
  background-color: #BBEDFF;
  border-radius: 4px;
  padding:0px 10px;
}
/* =========================================
   スマホ用（559px以下）：ハッシュタグの横スクロール
   ========================================= */
@media screen and (max-width: 559px) {
  .p-rank__features {
    overflow-x: auto;
    flex-wrap: nowrap; /* 折り返しを禁止 */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
    
    /* スクロールバーを非表示にする（Firefox, IE/Edge対策） */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  /* スクロールバーを非表示にする（Chrome, Safari対策） */
  .p-rank__features::-webkit-scrollbar {
    display: none;
  }

  .p-rank__features li {
    flex-shrink: 0; /* タグが潰れるのを防ぐ */
    white-space: nowrap; /* 文字の改行を防ぐ */
  }
}
.p-rank__icon{
  position: absolute;
  left:15px;
  top:-10px;
}
.p-model__futures{
  display: flex;
  font-size: 12px;
  flex-wrap: wrap;
  gap:4px;
  text-align: center;
  margin-bottom: 20px;
}
.u-bg__red{
  background-color: #F30F1D;
  color:#fff;
}
.u-bg__monochro{
  background-color: #000000;
  color:#fff;
}
.u-bg__pink{
  background-color: #FFCFCF;
}
.u-bg__glay{
  background-color: #E6EAEA;
}
.u-a3a4{
  font-size: 18px!important;
  font-weight: 800;
}
.p-model__list{
  height:60px;
  line-height: 60px;
  max-width: 60px;
  width: 100%;
  line-height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.u-card__tate{
  margin-top: 15px;
}
.u-card__tate .p-model__list{
  height:38px;
  line-height: 38px;
  max-width: 38px;
  line-height: 12px;
  font-size:10px;
  padding:0px 2px;
}
@media screen and (min-width: 560px) {
  .u-card__tate .p-model__list{
  height:54px;
  line-height: 54px;
  max-width: 54px;
}
}
.p-model__price{
  font-size: 14px;
}
.p-model__price span{
  font-weight: 800;
  font-size:1rem;
}
.p-link__icon{
  width: 34px;
  height: 34px;
  line-height: 34px;
  color:#fff;
  background-color: #F30F1D;
  border:1px solid #F30F1D;
  margin-left: auto;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}
.p-rank__list a:hover .c-card__cta{
  color:#F30F1D;
  background-color: #fff;
}
/****************************
総合人気ランキング 縦型カード部分
****************************/
.u-card__bg{
  background-color:#F5F5F5;
}
.u-rank__list{
  font-size: 12px;
}
.p-maker__link{
  margin-bottom: 16px;
}
@media screen and (min-width: 560px) {
.p-maker__link{
  flex:0 0 48%;
  max-width: 48%;
}
}
.p-maker__link a{
  border-radius: 6px;
  padding:0px 15px;
  position: relative;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0 rgba(0,0,0,.15);
  display: flex;
  gap:15px;
  align-items: center;
}
@media screen and (min-width: 560px) {
  .p-maker__link a{
    padding:12px 15px;
  }
}
.p-maker__link a::after{
  content:'';
  position: absolute;
  right: 0px;
  top:50%;
  transform: translateY(-50%);
  font-family: 'Material Icons';
      content: '\e5db';
      right:24px;
      background-color: #F5F5F5;
      color:#F30F1D;
      max-width: 34px;
      width: 100%;
      height: 34px;
      line-height: 34px;
      text-align: center;
      border-radius: 50%;
}
.p-maker__image{
  max-width: 166px;
}
.p-maker__name{
  font-weight: 800;
}
/****************************
メーカー別人気ランキング
****************************/
.maker-rank{
  border-radius: 8px;
  background-color: #EBF9FF;
  padding:40px 16px;
}
@media screen and (min-width: 560px) {
.maker-rank{
  padding:40px;
}
}
.p-maker__rank-headline{
  border-radius: 8px;
  background-color: #0095EE;
  color:#fff;
  padding:11px 14px;
  margin-bottom: 20px;
  font-size: 18px;
}
@media screen and (min-width: 560px) {
  .p-maker__rank-headline{
    margin-bottom: 30px;
    padding:10px 20px;
    font-size: var(--font-size-xxl-fluid);
  }
}
.p-maker__rank-image{
  max-width: 236px;
  width: 100%;
  background-color: #fff;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
@media screen and (min-width: 560px) {
  .p-maker__rank-image{
    margin:0px;
  }
}
.p-maker__lead{
  color:#0095EE;
  font-size: var(--font-size-l-fluid);
  margin-bottom: 10px;
  font-weight: 800;
}
.p-maker__rank-image img{
  max-width: 157px;
}
.p-maker__description{
  max-width: 616px;
}
.p-maker-rank__inner{
  margin-bottom: 30px;
}
@media screen and (min-width: 560px) {
.p-maker-rank__inner{
  display: flex;
  gap:30px;
}
}
/* #sharp{
  padding:0px;
} */

#fujifilm,
#kyocera,
#canon,
#konica,
#sharp,
#ricoh{
  padding:24px 0px 0px;
}
#ricoh{
  padding-bottom:60px;
}
/****************************
コピー機・複合機を選ぶ際の6つのポイント
****************************/
.point6{
  padding: 5px 0px 0px;
}
.p-point__list{
  margin-bottom: 16px;
}
@media screen and (min-width: 560px) {
.p-point__list{
  flex:0 0 48%;
  max-width: 48%;
}
}
.p-point__list a{
  position: relative;
  display: flex;
  align-items: center;
  gap:12px;
  box-shadow: 0px 5px 15px 0 rgba(0,0,0,.1);
  border-radius: 8px;
}
@media screen and (min-width: 560px) {
  .p-point__list a{
    gap:25px;
  }
  .p-point__list a:hover{
    box-shadow: 0px 2px 2px 0 rgba(0,0,0,.1);
  }
}
.p-point__list a::after{
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Material Icons';
  content: '\e5db';
  right: 14px;
  background-color: #F5F5F5;
  border:1px solid #F5F5F5;
  color: #F30F1D;
  max-width: 34px;
  width: 100%;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  transition: .3s;
}
.point6 .p-point__list a::after{
  content: '\e5c8';
}
@media screen and (min-width: 560px) {
  .p-point__list a::after{
    right: 24px;
  }
  .p-point__list a:hover::after{
    border:1px solid #F30F1D;
  }
}
.p-point__image{
  max-width: 104px;
}
@media screen and (min-width: 560px) {
.p-point__image{
  max-width: 156px;
}
}
.p-point__pickup{
border-radius: 11px;
  color: #fff;
  background-color: #4DC9FF;
  font-size: 12px;
  padding: 0px 11px;
  display: inline-block;
  line-height: 22px;
  height: 22px;
  margin-bottom: 0px;
}
.p-point__link-headline{
  font-size: 15px;
  font-weight: 800;
}
@media screen and (min-width: 560px) {
  .p-point__link-headline{
    margin-bottom: 5px;
  font-size: var(--font-size-l-fluid);
}
}
/****************************
メーカー（ＴＯＰ・仮）
****************************/
.fv{
  padding:0px;
}
.trouble{
  text-align: center;
  background-color: #F5F5F5;
  padding-bottom: 60px;
}
@media screen and (min-width: 560px) {
  .trouble{
    padding-bottom: 160px;
  }
}
.u-trouble__inner{
  justify-content: flex-end;
}
.u-trouble__headline{
  margin-bottom: 50px;
}
.p-trouble__list{
  border-radius: 24px;
  background-color: #FFFFFF; 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0px 5px 5px 0 rgba(0,0,0,.1);
  font-size: 16px;
  font-weight: 800;
padding: 31px 20px;
  max-width: 452px;
  width: 100%;
  margin-bottom: 56px;
}
@media screen and (min-width: 560px) {
  .p-trouble__list{
    font-size: 18px;
  }
}
@media screen and (min-width: 560px) {
.p-trouble__inner{
  display: flex;
  gap:15px;
}
}
@media screen and (min-width: 960px) {
.p-trouble__inner{
  gap:20px;
}
}
.p-trouble__list::before,
.p-trouble__list:nth-child(2)::before,
.u-trouble__inner .p-trouble__list::before,
.u-trouble__inner .p-trouble__list:nth-child(2)::before{
content:'';
  background-image:url("/wp-content/themes/MJE/images/people04.svg");
  width: 73px;
  height: 76px;
  position: absolute;
  right: 0px;
  bottom:-20px;
  background-size:100%;
  background-repeat: no-repeat;
}
@media screen and (min-width: 560px) {
  .p-trouble__list::before,
.p-trouble__list:nth-child(2)::before,
.u-trouble__inner .p-trouble__list::before,
.u-trouble__inner .p-trouble__list:nth-child(2)::before{
  right: 20px;
}
}
.p-trouble__list:nth-child(2)::before{
  background-image:url("/wp-content/themes/MJE/images/people03.svg");
}

.u-trouble__inner .p-trouble__list::before{
  background-image:url("/wp-content/themes/MJE/images/people02.svg")!important;
}
.u-trouble__inner .p-trouble__list:nth-child(2)::before{
  background-image:url("/wp-content/themes/MJE/images/people01.svg")!important;
}

.p-trouble__list::after{
  content:'';
  background-image:url("/wp-content/themes/MJE/images/comment.svg");
  position: absolute;
  left:20px;
  top:-10px;
  background-size: 100%;
  background-repeat: no-repeat;
  width: 34px;
  height: 28px;
}
@media screen and (min-width: 560px) {
  .p-trouble__list{
    max-width: 452px;
  }
}
.p-common__top-headline{
  font-size: 24px;
  font-weight: 900;
}
@media screen and (min-width: 560px) {
 .p-common__top-headline{
  font-size: 30px;
} 
}
@media screen and (min-width: 960px) {
 .p-common__top-headline{
  font-size: var(--font-size-xxxl-fluid);
} 
}
.p-trouble__inner:nth-child(2){
  margin-left: auto;
}
/****************************
ビズオールのコピー機が選ばれる理由
****************************/
.solution{
background-color: #F30F1D;
background-image:url("/wp-content/themes/MJE/images/bizall_logo_back3.png");
background-repeat: repeat;
padding:120px 0px 60px;
position: relative;
text-align: center;
}
@media screen and (min-width: 560px) {
  .solution{
    padding:120px 0px 60px;
  }
}
.solution.no-bubble{
  padding-top: 64px; 
}
.solution .p-common__headline,
.solution .c-section-title{
  color:#fff;
}
.solution .p-common__headline::after{
  background-color: #FFFFFF;
}
.p-solution__title-inner {
  position: relative;
  margin: -60px auto 40px;
  border: 2px solid #000000;
  border-radius: 32px;
  text-align: center;
  background-color: #fff;
  padding: 20px 16px;
  width: 100%;
  max-width: 100%;
  z-index: 2;
}
@media screen and (max-width: 559px) {
  .p-solution__title-inner {
    margin: -150px auto 40px;
  }
}
@media screen and (min-width: 960px) {
  .p-solution__title-inner {
    max-width: 924px;
    padding: 40px 16px 30px;
    /* transform: translateY(-30%); を廃止し、マージンのみで制御 */
    margin: -180px auto 60px;
  }
}

/* ▼▼ しっぽ（三角形）は元コードのまま完璧なのでそのまま使います ▼▼ */
.p-solution__title-inner::before,
.p-solution__title-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}
.p-solution__title-inner::before {
  bottom: -36px;
  border-width: 36px 40px 0 40px;
  border-color: #000 transparent transparent transparent;
}
.p-solution__title-inner::after {
  bottom: -33px;
  border-width: 34px 38px 0 38px;
  border-color: #fff transparent transparent transparent;
}

.p-solution__title{
font-size: var(--font-size-l-fluid);
}
.p-solution__title .u-text__red{
  font-size: 24px;
}
@media screen and (min-width: 560px) {
  .p-solution__title{
    font-size: var(--font-size-xxl-fluid);
    line-height: 44px;
}

  .p-solution__title .u-text__red{
  font-size: var(--font-size-xxl-l-fluid);
}
}
.p-solution__title__body{
  line-height: 24px;
  margin-top: 15px;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}
@media screen and (min-width: 560px) {
  .p-solution__title__body{
    text-align: center;
    font-size: 1rem;
  }
}
.solution .p-common__top-headline{
  color:#fff;
  margin-bottom: 65px;
}
@media screen and (min-width: 560px) {
.p-solution__inner{
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  gap:10px;
  margin-top: 70px;
}
}
@media screen and (min-width: 960px) {
.p-solution__inner{
  gap:2%;
}
}
@media screen and (min-width: 1441px) {
.p-solution__inner{
  gap:36px;
}
}
.p-solution__list{
  width: 100%;
  border-radius: 8px;
  background-color: #fff;
  position: relative;
text-align: center;
    padding: 24px 16px 20px;
    margin-bottom: 44px;
}
@media screen and (min-width: 560px) {
  .p-solution__list{
  max-width: 30%;
  padding: 34px 16px 30px;
  margin-bottom: 34px;
}
}
@media screen and (min-width: 1441px) {
  .p-solution__list{
  max-width: 348px;
  margin-bottom: 14px;
}
}
.p-solution__number{
  position: absolute;
  left:50%;
  transform:translateX(-50%);
  background-color: #2FBEFC;
  color:#fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: -25px;
  font-size: 12px;
  line-height: 20px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}
.p-solution__number span{
  font-size: var(--font-size-m-fluid);
}
.p-solution__lead,
.p-solution__footer-lead{
  font-weight: 800;
  position: relative;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
@media screen and (min-width: 560px) {
  .p-solution__lead,
.p-solution__footer-lead{
gap: 8px;
}
}
@media screen and (min-width: 960px) {
  .p-solution__lead,
.p-solution__footer-lead{
gap: 12px;
}
}
.p-solution__footer-lead{
  font-size: var(--font-size-m-fluid);
}
/* ▼ 修正：絶対配置を解除し、フレックスアイテムとして配置 */
.p-solution__lead::before,
.p-solution__footer-lead::before,
.p-solution__lead::after,
.p-solution__footer-lead::after {
  content: '';
  display: block; 
  width: 12px;
  height: 40px;
  background-size: contain; /* 100%より安全なcontainに変更 */
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0; /* 画面が狭くても画像が潰れないようにする */
}
.p-solution__lead::before,
  .p-solution__lead::after{
    height: 20px;
  }
@media screen and (min-width: 560px) {
  .p-solution__lead::before,
  .p-solution__lead::after{
    height: 40px;
  }
}

/* 左側の画像 */
.p-solution__lead::before,
.p-solution__footer-lead::before {
  background-image: url("/wp-content/themes/MJE/images/left.svg");
  transform: translateY(2px); /* 元のtop:10pxの代わり。見本に合わせて縦位置を微調整 */
}

/* 右側の画像 */
.p-solution__lead::after,
.p-solution__footer-lead::after {
  background-image: url("/wp-content/themes/MJE/images/right.svg");
  transform: translateY(2px); /* 見本に合わせて縦位置を微調整 */
}

/* 見出し設定（既存のまま） */
.p-solution__headline {
  font-size: var(--font-size-xxl-fluid);
  font-weight: 900;
}

@media screen and (min-width: 560px) {
  .p-solution__headline {
    font-size: var(--font-size-xxl-l-fluid);
    line-height: 48px;
  }
}

.solution .p-caption__body{
  color:#fff;
  text-align: left;
  margin-top: 60px;
}
.p-solution__caption{
  font-size: 10px;
}
/****************************
どう選べばいい？
****************************/
.guide{
  background-color: #F5F5F5;
  padding:88px 0px 64px;
}
/* 見出し周り */
.u-guide__headline {
    text-align: center;
    margin-bottom: 24px;
}
.p-guide__body {
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* --- 上部 2つのボタンエリア --- */
.p-guide__top-btns {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.p-guide__top-btn {
    display: flex;
    align-items: center;
    background-color: #fff;
    width: 48%; /* 2列 */
    padding: 24px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}
.p-guide__top-btn:hover {
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}

.p-guide__btn-icon img {
    height: 30px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
}

.p-guide__btn-text {
    font-weight: 800;
    font-size: 18px; /* 見出しクラスのボタンなので少し大きく */
    color: #000;
    line-height: 27px;
    flex: 1;
}

.p-guide__circle-arrow {
    width: 42px;
    height: 42px;
    transition: .3s;
    background-color: #F30F1D;
    border:1px solid #F30F1D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.p-guide__top-btn:hover .p-guide__circle-arrow{
background-color: #Fff;
color: #F30F1D;
}
.p-guide__circle-arrow .material-icons {
    font-size: 20px;
    transition: .3s;
}


/* --- メインリストエリア（行レイアウト） --- */
.p-guide__content {
    margin-bottom: 60px;
}

.p-guide__row {
    display: flex;
    border-bottom: 1px solid #CACCCE; /* 行の区切り線 */
    padding: 25px 0;
}
/* .p-guide__row:first-child {
    border-top: 1px solid #CACCCE;
} */
.p-guide__row.u-no-border {
    border-bottom: none;
}

/* 左側：ラベル（赤文字） */
.p-guide__label {
    flex: 0 0 240px; /* 左カラムの幅固定 */
    font-size: 16px; /* 指定サイズ */
    font-weight: 800;
}

/* 右側：リストグリッド */
.p-guide__list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px; /* 縦横の隙間 */
    padding: 0;
    margin: 0;
    list-style: none;
}

.p-guide__list li {
    width: calc(33.333% - 14px); /* 3列計算 (gap分を引く) */
}
.p-guide__view-all{
  width: 100%!important;
}
.p-guide__view-all a{
  width: calc(33.333% - 27px);
}
.p-guide__list .p-guide__view-all a {
    width: calc(33.333% - 14px); 
}

/* --- スマホ(SP)対応の追記 --- */
@media screen and (max-width: 559px) {
    /* スマホではボタンも横幅いっぱいに戻す */
    .p-guide__list li.p-guide__view-all a {
        width: 100%;
    }
}
/* 各リンクボックス（白背景） */
.p-guide__list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #707684; /* 指定のグレー */
    font-size: 16px; /* 指定サイズ */
    font-weight: 800;
    transition: all 0.3s ease;
}

.p-guide__list li a:hover {
    color: #F30F1D;
}

/* 矢印アイコン（赤色） */
.p-guide__list li a .material-icons {
    color: #F30F1D;
    font-size: 18px;
    font-weight: bold;
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
}


/* --- スマホ対応 (SP) --- */
@media screen and (max-width: 559px) {
    /* 上部ボタン */
    .p-guide__top-btns {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 10px;
    }
    .p-guide__top-btn {
        width: 100%;
    }

    /* 行レイアウトを縦積みに */
    .p-guide__row {
        flex-direction: column;
        padding: 30px 0;
    }
    
    .p-guide__label {
        flex: auto;
        margin-bottom: 15px;
        padding-top: 0;
        font-size: 15px;
    }

    /* リストを1列（または2列）に */
    .p-guide__list li {
      padding-left: 15px;
        width: 100%; /* 1列にする場合 */
        /* width: calc(50% - 10px); // 2列にするならこちら */
    }
}
.u-common__button-inner{
  margin:30px auto 60px;
}
.p-common__button a{
  font-weight: 800;
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  font-size: var(--font-size-m-fluid);
  box-shadow: 0px 5px 15px 0 rgba(0,0,0,.1);
  padding:24px 20px 24px 30px;
  display: flex;
  align-items: center;
}
.p-common__button a::after{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Material Icons';
  content: '\e5c8';
  background-color:#F30F1D;
  color:  #fff;
  max-width: 42px;
  width: 100%;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
}
.p-common__button a img{
  vertical-align: middle;
  margin-right: 15px;
  height: 26px;
}
.p-guide__headline{
  color:#F30F1D;
  font-weight: normal;
}
.u-guide__link{
  margin-bottom: 50px;
}
.p-guide__link a{
  border-bottom: 1px solid #CACCCE;
  position: relative;
  font-weight: 800;
  line-height: 24px;
  padding-bottom: 18px;
  margin-bottom: 15px;
  padding-top: 18px;
  margin-top: -18px;
}
.p-guide__link a::after{
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Material Icons';
  content: '\e5c8';
  right: 0px;
  background-color:#FFFFFF;
  color:  #F30F1D;
  max-width: 34px;
  width: 100%;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
}
.p-guide__headline{
  flex:0 0 30%;
  max-width: 30%;
}
.p-guide__link-inner{
  flex:0 0 65%;
  max-width: 65%;
}
@media screen and (min-width: 560px) {
.p-guide__headline{
  flex:0 0 15%;
  max-width: 15%;
}
.p-guide__link-inner{
  flex:0 0 80%;
  max-width: 80%;
}
}
.p-lease__link a{
  margin:0 auto;
  max-width: 924px;
  width: 100%;
background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 5px 15px 0 rgba(0,0,0,.1);
}
.p-lease__link a:hover{
  box-shadow: 0px 2px 2px 0 rgba(0,0,0,.1);
}
.p-lease__link a:hover .p-common__link .material-icons {
      background-color: #fff;
      color:#F30F1D;
}
.p-lease__link-block{
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  padding-bottom: 20px;
}
.p-lease__link-image img{
  border-radius: 8px 8px 0px 0px;
}
@media screen and (min-width: 560px) {
.p-lease__link a{
  display: flex;
  align-items: center;
}
.p-lease__link-image{
  max-width:368px;
  width: 100%;
}
.p-lease__link-image img{
  border-radius: 8px 0px 0px 8px;
}
.p-lease__link-block{
  padding-left: 30px;
  padding-bottom: 0px;
}
}
.p-lease__link-headline{
  font-size: var(--font-size-xl-fluid);
  margin-top: 40px;
  margin-bottom: 40px;
}
.p-lease__textlink .p-common__link{
  /* font-size: var(--font-size-m-fluid); */
  text-decoration: underline;
  text-align: right;
  margin-top: 10px;
}
@media screen and (min-width: 560px) {
  .p-lease__textlink .p-common__link{
    margin-top: 0px;
  }
}
/****************************
メーカー一覧
****************************/
.maker-intro{
  text-align: center;
  background-color: #F5F5F5;
  padding:55px 0px 30px;
}
@media screen and (min-width: 560px) {
  .maker-intro{
    padding:55px 0px 88px;
  }
}
/* ====================================================
   共通・スマホ用（ベース：559px以下）
   ==================================================== */
.p-bubble__headline {
  display: inline-block; 
  position: relative; 
  font-size: var(--font-size-xxl-fluid);
  line-height: 1.6; 
  margin-bottom: 35px;
  text-align: center;
  padding: 0 35px; /* 左右の線が入る余白 */
}

/* ▼ 共通の線スタイル（図形として描画） */
.p-bubble__headline::before,
.p-bubble__headline::after {
  content: '';
  display: block;
  width: 2px; /* 線の太さ */
  height: 1em; /* 線の長さ（文字サイズに比例） */
  background-color: currentColor; /* テキストと同じ色を自動適用 */
  bottom:0.3em;
  position: absolute;
}

/* ▼ 1行目左の斜め線（＼） */
.p-bubble__headline::before {
  left: 10px;
  transform: rotate(-25deg); /* 傾きの角度 */
}

/* ▼ 2行目右の斜め線（／） */
.p-bubble__headline::after {
  right: 10px;
  bottom: 0.3em;
  transform: rotate(25deg); /* 傾きの角度 */
}

/* ====================================================
   PC用（560px以上）
   ==================================================== */
@media screen and (min-width: 560px) {
  .p-bubble__headline {
    /* PC時：横並びにリセット */
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 12px; /* 画像と文字の隙間 */
    width: auto; 
    padding: 11px 20px; 
    margin-left: auto; 
    margin-right: auto;
  }

  /* PCでは絶対配置を解除し、Flexboxの横並びの流れに乗せる */
  .p-bubble__headline::before,
  .p-bubble__headline::after {
    position: static; 
    /* top / bottom などの位置指定はここで自動的に無効化されます */
  }
}
.p-maker__list{
  margin-bottom: 15px;
}
@media screen and (min-width: 560px) {
.p-maker__list{
  margin-bottom: 40px;
  flex:0 0 48%;
  max-width: 48%;
}
.p-maker__list:nth-child(n+5){
  margin-bottom: 0px;
}
}
.p-maker__list a{
  border-radius: 8px;
  box-shadow: 0px 5px 15px 0 rgba(0,0,0,.1);
  padding:35px 16px 24px;
  background-color: #fff;
}
@media screen and (min-width: 560px) {
  .p-maker__list a:hover{
    box-shadow: 0px 2px 2px 0 rgba(0,0,0,.1);
  }
  .p-maker__list a:hover .p-link__icon{
        color: #F30F1D;
    background-color: #Fff;
  }
.p-maker__list a .p-link__icon{
  margin-right: 24px;
}
}
.p-maker__title{
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
  margin-top: 0px;
}
.p-maker__logo{
  max-width: 271px;
  margin:0 auto;
}
.p-maker__headline{
  font-size: var(--font-size-l-fluid);
  font-weight: 800;
}
.p-maker__recommendation{
  position: relative;
  max-width: 460px;
  width: 100%;
padding: 29px 18px;
  margin:0 auto;
  border:1px solid #CACCCE;
  border-radius: 4px;
  margin-top: 40px;
  font-weight: 800;
  margin-bottom: 24px;
}
@media screen and (min-width: 560px) {
  .p-maker__recommendation{
    padding: 29px 38px;
  }
}
.p-maker__recommendation--headline{
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  max-width: 168px;
  color:#fff;
  background-color: #F30F1D;
  font-size: 14px;
  height: 28px;
    line-height: 28px;
  border-radius: 15px;
  font-weight: 800;
  top: -15px;
  padding: 0px 13px;
  width: 100%;
      letter-spacing: 0px;
}
.p-maker__recommendation__list{
  text-align: left;
}
.p-maker__recommendation__list li{
  padding:2px 0px;
  display: flex;
  line-height: 24px;
  align-items: center;
}
.p-maker__recommendation__list li span{
  color:#F30F1D;
/* ▼ 修正：0.1em から数値を少し大きくして、アイコンを下に下げる */
  /* margin-top: 0.25em;  */
  
  /* ▼ 追加：アイコン自体の見えない余白を消して、高さを安定させる */
  line-height: 1;
flex-shrink: 0;
font-size: var(--font-size-l-fluid);
  margin-right: 5px;
}

/****************************
複合機・コピー機の選び方
****************************/
.choice-point{
  padding-bottom:0px;
}
.choice-point .p-common__inner{
  margin-top: 56px;
}
.p-choice__body{
  margin-bottom: 22px;
}
.p-point__lead{
  background-color: #F5F5F5;
  padding:15px 20px;
  font-size: 20px;
  margin-bottom: 40px;
  display: flex;
    align-items: center;
    font-weight: 900;
}
@media screen and (min-width: 560px) {
  .p-point__lead{
    font-size: var(--font-size-xxl-l-fluid);
    padding:15px 30px;
  }
}
.p-point__lead span{
  max-width: 83px;
  width: 100%;
  color:#fff;
  height: 22px;
  line-height: 22px;
  background-color: #2FBEFC;
  font-size: 12px;
text-align: center;
    border-radius: 13px;
    margin-right: 15px;
    display: block;
}
@media screen and (min-width: 560px) {
.p-point__lead span{
  display: inline;
}
}
.p-point__body-block{
  margin-bottom: 33px;
}
.p-point__image-block{
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
.p-point__body-block{
  flex:0 0 66.4%;
  max-width: 66.4%;
}
.p-point__image-block{
  margin-bottom: 0px;
  flex:0 0 28.7%;
  max-width: 28.7%;
}
}
.p-point__body-block .u-text__red{
  font-weight: 800;
}
.p-speed__tool{
  border-radius: 8px;
  background-color: #EBF9FF;
  border:1px solid #0095EE;
  padding:40px 0px 40px;
  margin-bottom: 56px;
  position: relative;
  margin-top: 40px;
}
@media screen and (min-width: 560px) {
.p-speed__tool{
  padding:40px 0px 56px;
}
}
.p-speed__bizuo{
  position: absolute;
  right:1%;
  bottom:0%;
}
@media screen and (min-width: 960px) {
.p-speed__bizuo{
  right:5%;
}
}
.p-speed__wrap{
  max-width: 700px;
  width: 100%;
  margin:0 auto;
}
.p-tool__headline{
  color:#0095EE;
  font-size: var(--font-size-xxl-fluid);
  text-align: center;
  margin-bottom: 40px;
}

.print-calc {
        max-width: 682px;
        padding:0px 16px;
        margin: 0 auto;
      }
      .print-calc__title {
        margin: 0 0 24px;
        font-size: 22px;
        font-weight: 700;
        text-align: center;
      }
      .print-calc__row {
        margin-bottom: 16px;
      }
      @media screen and (min-width: 560px) {
        .print-calc__row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 0px;
      }
      }
		.print-calc__row:last-child{
			margin-bottom:40px;
		}
    .print-calc__label {
      width: 170px;
        font-weight: 800;
		  line-height:20px;
      margin-bottom: 8px;
      }
      @media screen and (min-width: 560px) {
        .print-calc__label {
          margin-bottom: 0px;
        }
      }
      .print-calc__field {
        flex: 1 1 0%;
        position: relative;
      }
      .print-calc__select {
        position: relative;
        width: 100%;
        max-width: 480px;
        padding: 16px 20px 16px 16px;
        font-size: 12px;
        border-radius: 4px;
        border: 1px solid #CACCCE;
        background: #fff;
        -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
      }
      @media screen and (min-width: 560px) {
        .print-calc__select {
          font-size: 14px;
          line-height: 1.8;
        }
      }
      .print-calc__field::after{
        content: "";
  position: absolute;
  right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
  margin-top: -5px; /* 矢印の高さの半分で中央寄せ */
  border-right: 2px solid #F30F1D;
  border-bottom: 2px solid #F30F1D;
  transform: rotate(45deg);
  pointer-events: none;
      }
      .print-calc__btn-wrap {
    text-align: center;
    margin: 40px auto 36px;
      }
      .print-calc__btn {
display: block;
    padding: 21px 20px;
    border: 2px solid #0095EE;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    color: #0095EE;
    background-color: #fff;
    max-width: 432px;
    width: 100%;
    margin: 0 auto;
      }
      .print-calc__result {
        text-align: center;
        font-size: 18px;
        font-weight: 700;
      }
      .print-calc__result-num {
        font-size: 60px;
        vertical-align: sub;
        padding:0px 10px;
      }

      @media (max-width: 559px) {
        .print-calc__label {
          width: 100%;
        }
        .print-calc__title {
          font-size: 18px;
        }
        .print-calc__result-num {
                  font-size: 40px;
        vertical-align: sub;
        }
      }
.p-common__topic-title{
  font-size:16px;
  margin-bottom: 37px;
  padding-bottom: 10px;
  position: relative;
  margin-top: 50px;
  border-bottom: 2px solid #CACCCE;
}
@media (min-width: 560px) {
.p-common__topic-title{
margin-top: 0rem;
font-size:22px;
}
}
.p-common__topic-title::before{
  content:'';
  background-color: #F30F1D;
  position: absolute;
  left:0px;
    bottom: -2px;
    width: 32px;
    height: 2px;
}
/* =========================================
   テーブルラッパー（既存の .table-wrapper を活用）
   ========================================= */
.table-wrapper {
    max-width: 100%;
    font-weight: 800;
    /* スマホ用にスクロールを許可しておく */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* PC（560px以上）の時はScrollHintのUIを強制非表示にし、横スクロールも解除 */
@media screen and (min-width: 560px) {
    /* .scroll-hint {
        display: none;
    } */
    .table-wrapper {
        overflow-x: visible;
    }
}
.scroll-hint-icon{
  width: 130px;
}
.table-wrapper .p-caption__body {
    color: #707684;
    font-weight: 400;
    margin-top: 11px;
}
/* ベース設定 */
.print-volume-table {
  border-collapse: collapse;
  /* min-width: 1116px; */
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.8;
  width: 100%;
}

.print-volume-table th,
.print-volume-table td {
  border: 1px solid #CACCCE;
  padding: 12px 16px;
  text-align: center;
  vertical-align: middle;
  position: relative;
}

/* 見出し行 */
.print-volume-table thead th {
  background-color: #0095EE;
  color: #fff;
  font-weight: 700;
}

/* 背景色（列ごとに指定） */
.bg-blue-pale
{ background-color: #BBEDFF;
}
.blue-bg{
  background-color: #EBF9FF;
}
.bg-yellow-strong {
  background-color: #FFE08B;
}
.bg-yellow-light  {
  background-color: #FFF9DF;
}
.bg-green-strong  { background-color: #A3EFE6; }

.print-volume-table th,
.print-volume-table td {
  border: 1px solid #CACCCE;
  padding: 12px 16px;
  text-align: center;
  vertical-align: middle;
}

.print-volume-table td.border-b-black,
.print-volume-table th.border-b-black {
  border-bottom: 1px solid #000 !important;
}
.num-lg  { font-size: 18px; font-weight: 700; }
.unit-sm { font-size: 14px; line-height: 1.8;}
.type-cell {
  white-space: nowrap;
}

.type-text {
  font-size: 18px;
  font-weight: 700;
  position: relative;
}

.type-blue   { color: #0095EE; }
.type-orange { color: #FF7F2C; }
.type-green  { color: #0BB9A4 } 
.type-badge {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
    height: 52px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
@media (max-width: 559px) {
  .print-volume-table {
    font-size: 13px;
    min-width: 800px;
  }
  .print-volume-table td{
    font-size:11px;
    padding: 12px 6px;
  }
  .print-volume-table .num-lg,
  .type-text {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1440px) {
  .print-volume-table {
    min-width: 100%;       /* テーブル幅を画面に合わせて可変 */
    table-layout: auto;    /* カラム幅を自動調整 */
  }

  /* 可読性確保のためフォント縮小 */
  .print-volume-table th,
  .print-volume-table td {
    padding: 10px;
    font-size: 13px;
  }

  .num-lg { font-size: 16px; }
  .unit-sm { font-size: 13px; }
  .type-text { font-size: 16px; }
}


/* 表2 */
.table-wrapper {
  max-width: 100%;
}
/* ベース */
.copy-price-table {
  border-collapse: collapse;
  min-width: 600px;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.8;
}
@media screen and (min-width: 560px) {
  .copy-price-table {
    min-width: auto;
  }
}
.copy-price-table col.col-maker { width: 300px; }
.copy-price-table col.col-mono,
.copy-price-table col.col-color { width: 409px; }

.copy-price-table th,
.copy-price-table td {
  border: 1px solid #CACCCE;
  padding: 12px 16px;
  text-align: center;
  vertical-align: middle;
}

/* 見出し行 */
.copy-price-table thead th {
  color: #fff;
  font-weight: 700;
}

.copy-price-table .th-maker { background-color: #0095EE; }
.copy-price-table .th-mono  { background-color: #707684; }
.copy-price-table .th-color { background-color: #F30F1D; }

/* A社〜C社の左列背景 */
.copy-price-table .td-maker {
  background-color: #BBEDFF;
  font-weight: 700;
}

/* レスポンシブ（フォントだけ少し調整） */
@media (max-width: 767px) {
  .copy-price-table {
    font-size: 13px;
  }
}

.p-point__option-list{
  border:1px solid #CACCCE;
  border-radius: 8px;
  position: relative;
  padding:25px;
  margin-bottom: 17px;
}
@media screen and (min-width: 560px) {
  .p-point__option-list{
    padding:30px 38px;
    flex:0 0 49%;
    max-width: 49%;
  }
}
.p-point__option-body{
  font-size: 14px;
  line-height: 1.8;
}
.u-point__list{
  margin-top: 40px;
}
.p-point__option-headline{
  display: flex;
  align-items: center;
  font-size: var(--font-size-m-fluid);
  margin-bottom: 15px;
  gap:10px;
}
.p-cta__banner{
  margin-top: 56px;
}

/*表3*/
/* 比較表ベース */
.lease-compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;       /* 左231px＋他296px相当を割合で再現 */
  font-size: 14px;
  line-height: 1.8;
  min-width: 800px;
}

.lease-compare-table th,
.lease-compare-table td {
  border: 1px solid #CACCCE;
  padding: 12px 16px;
  text-align: center;        /* 条件どおりセンター揃え */
  vertical-align: middle;
}

/* カラム比率（231 : 296 : 296 : 296 を雰囲気で割合化） */
.lease-compare-table .col-label { width: 20%; }  /* 左ラベル */
.lease-compare-table .col-plan  { width: 26.6%; }
.lease-compare-table thead th {
  color: #fff;
  font-weight: 700;
}

.head-label.bg-gray {
  color: #000;
}
.col-2.bg-gray{
  border-radius: 8px;
}
.head-lease { background-color: #0095EE; } /* 青 */
.head-new   { background-color: #FF7F2C; } /* オレンジ */
.head-used  { background-color: #0BB9A4; } /* 薄いグリーン系（必要なら変更） */

/* 左ラベル列の背景（条件：#E7E8E8） */
.bg-gray {
  background-color: #f5f5f5;
}

/* 本文セルの背景色 */
/* リース：既存の水色を流用 */
.bg-lease {
  background-color: #EBF9FF;
}

/* 新品購入：既存の薄黄色系を仮採用（必要なら色コード調整） */
.bg-new {
  background-color: #FFF9DF;
}

/* 中古購入：条件の薄緑 #EBFAF7 */
.bg-used {
  background-color: #EBFAF7;
}

/* レスポンシブ（タブレット〜） */
@media (max-width: 1024px) {
  .lease-compare-table th,
  .lease-compare-table td {
    padding: 8px 10px;
  }
}

/* スマホ向け：フォントを少しだけ小さくして可読性確保。
   レイアウトは横スクロールで維持 */
@media (max-width: 767px) {
  .lease-compare-table {
    font-size: 13px;
  }
}
.u-case__inner{
  margin-top: 50px;
}
.p-case__list {
  margin-bottom: 30px;
}
@media screen and (min-width: 560px) {
.p-case__list {
  margin-bottom: 0px;
  flex: 0 0 31.25%;
  max-width: 31.25%;
}
}
.p-case__block{
  border-radius: 8px;
  padding:30px 42px;
}
@media screen and (min-width: 560px) {
  .p-case__block{
    min-height: 417px;
  }
}
.p-case__block ul{
  font-size: 13px;
  line-height: 1.8;
}
@media screen and (min-width: 560px) {
  .p-case__block ul{
  font-size: 14px;
}
}
.p-case__icon{
  text-align:center;
}
.u-blue__bg{
  background-color: #BBEDFF;
}
.u-yellow__bg{
  background-color: #FFE08B;
}
.u-green__bg{
  background-color: #A3EFE6;
}
.p-case__headline{
  text-align: center;
  font-size: var(--font-size-xl-fluid);
  margin:15px 0px;
  line-height: 33px;
}
.u-blue__bg .p-case__headline,
.u-blue__bg ul li span{
  color:#0095EE;
}
.u-yellow__bg .p-case__headline,
.u-yellow__bg ul li span{
  color:#FF7F2C;
}
.u-green__bg .p-case__headline,
.u-green__bg ul li span{
  color:#0BB9A4;
}
/* ====================================================
   スマホ用（559px以下）のレイアウト上書き
   ==================================================== */
@media screen and (max-width: 559px) {
  .p-case__block {
    display: grid;
    /* 左側(アイコン)を80px、右側(テキスト)を残り全部に分割 */
    grid-template-columns: 80px 1fr; 
    gap: 0 10px; /* アイコンとテキストの間の隙間 */
    padding: 24px 16px; /* スマホ用に内側の余白を見本に合わせて最適化 */
    align-items: start; /* 上端揃え */
  }
  
  /* ▼ アイコンを左側の1列目に配置し、2行目までぶち抜く */
  .p-case__icon {
    grid-column: 1;
    grid-row: 1 / 3; 
    margin: 0; 
  }
  
  /* ▼ 見出しを右側の1行目に配置 */
  .p-case__headline {
    grid-column: 2;
    grid-row: 1;
    text-align: left; /* スマホは見本通り左寄せ */
    margin: 0 0 12px 0; 
    font-size: 18px; /* 見本に合わせて少し小さめに。必要なら変更 */
    line-height: 1.4;
  }

  /* 見本画像に合わせてスマホ時は改行を無効化 */
  .p-case__headline br {
    display: none;
  }
  
  /* ▼ リストを右側の2行目に配置 */
  .p-case__block ul {
    grid-column: 2;
    grid-row: 2;
  }

  /* リストの「・」のぶら下がりインデントを整える（おまけ） */
  .p-case__block ul li {
    padding-left: 1em;
    text-indent: -1em;
  }
}
.point02,
.point03,
.point04,
.point05,
.point06{
  padding-top:0px;
}
/****************************
契約前に確認
****************************/
.p-point__bg-inner{
  margin-top: 80px;
}
.p-point__bg{
  border-radius: 0px 0px 8px 8px;
  padding: 32px 16px 10px;
      position: relative;
      background-color: #2F4351;
}
@media screen and (min-width: 560px) {
  .p-point__bg{
    padding: 40px 16px 48px;
    /* padding: 320px 16px 48px; */
  }
}
.p-point__bg .p-common__headline,
.p-point__bg-body{
  color:#fff;
  text-align: center;
}
/* .p-point__bg-headline{
    font-size: 28px;
    padding-bottom: 45px;
} */
/* @media screen and (min-width: 560px) {
  .p-point__bg-headline{
    font-size: var(--font-size-xxl-l-fluid);
  }
} */
.p-point__bg-body{
  font-weight: 800;
  margin-bottom: 55px;
}
.p-point__bg ul{
  max-width: 1020px;
  margin:0 auto;
}
.p-point__bg-block{
  position: relative;
background-color: #fff;
    padding: 30px 20px 20px;
    border-radius: 8px;
    margin-bottom: 50px;
}
@media screen and (min-width: 560px) {
.p-point__bg-block{
  flex:0 0 31.4%;
  max-width: 31.4%;
  margin-bottom: 0px;
}
}
.p-point__number{
  position: absolute;
  left:50%;
  transform:translateX(-50%);
  top:-30px;
  color:#fff;
  background-color: #2FBEFC;
  width: 46px;
  height: 46px;
  line-height: 46px;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}
.p-point__bg-lead{
  color:#F30F1D;
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
}
@media screen and (min-width: 560px) {
  .p-point__bg-lead{
    font-size: var(--font-size-m-fluid);
  }
  .p-point__number{
    font-size: var(--font-size-m-fluid);
  }
}
.p-point__bg-block-body{
  font-size: 14px;
  line-height: 1.8;
  max-width: 256px;
  margin:0 auto;
}

/****************************
月間印刷枚数で選ぶ
****************************/
.p-find__headline{
  margin:35px auto 30px;
  font-weight: bold;
  text-align:center;
}
/* 個別のタブアイテム */
#monthly_tab_img li {
  background: #fff;
  border-top: 5px solid #F30F1D;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 10px;
}
@media screen and (min-width: 560px) {
  #monthly_tab_img li {
    margin-bottom: 0px;
  }
}
/* リンク要素のスタイル */
#monthly_tab_img li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 15px 16px;
  height: 100%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
@media screen and (min-width: 560px) {
  #monthly_tab_img li a:hover{
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  }
  #monthly_tab_img li a {
  padding: 20px 16px;
  }
}
/* ラベル：月間印刷枚数 */
.tab-label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

/* 値：~1,000枚 */
.tab-value {
  font-size: 18px;
  font-weight: bold;
  display: block;
  line-height: 1;
  margin-bottom: 15px;
}
@media screen and (min-width: 560px) {
  .tab-value {
  font-size: var(--font-size-xl-fluid);
}
}
.tab-value .unit {
  font-size: 14px;
  line-height: 1.8;
}

/* 矢印アイコンのコンテナ（丸い背景） */
.tab-arrow {
  width: 34px;
  height: 34px;
  background-color: #F5F5F5;
  border:1px solid #F5F5F5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#F30F1D;
  transition: .3s;
}
#monthly_tab_img li a:hover .tab-arrow{
  border:1px solid #F30F1D;
}
.tab-arrow .material-symbols-outlined{
  font-size: 20px;
}
/* #monthly_tab li.selected,
#monthly_tab li:hover {
  border-top-color: var(--color-primary-red);
} */
.monthly_sheets {
  display: none;
  padding: 0px 0px 10px;
}
/* .monthly_sheets h3{
  font-size: var(--font-size-xl-fluid);
} */
.p-monthly__body{
  background-color: #f5f5f5;
  padding:2px 10px;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 32px;
}
@media screen and (min-width: 560px) {
  .p-common__inner.p-ranking__grid{
    position: relative;
  }
  .p-common__inner.p-ranking__grid::after{
    content:'';
            flex: 0 0 31.25%;
        max-width: 31.25%;
        display: block;
  }
.product-list .p-rank__list{
  flex:0 0 31.25%;
  max-width: 31.25%;
  margin-bottom: 30px;
}
.product-list .p-rank__list:nth-child(n+4){
  margin-bottom: 0px;
}
}
.p-how__block{
  margin-bottom: 40px;
}
.volume-calculation-guide{
  padding-bottom: 0px;
}
.monthly-volume-ranking{
padding-top: 0px;
}

.monthly-tabs {
  margin: 24px 0 32px;
}

/* タブのUL */
.monthly-tab-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  text-align: center;
}
.monthly-tab-list li {
  flex: 0 0 32.5%;
  max-width: 32.5%;
  margin-bottom: 18px;
}
@media screen and (min-width: 560px) {
.monthly-tab-list li {
  flex: 0 0 16.21%;
  max-width: 16.21%;
  margin-bottom: 0px;
}
}

.monthly-tab-list li a {
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  border-radius: 8px;
  background: #F5F5F5;
  padding: 22px 8px 22px;
  color: #707684;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.monthly-tab-list li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 14px solid transparent;
    transition: border-top-color 0.3s ease;
}

.monthly-tab-label {
  display: block;
}
.monthly-tab-list .tab-value{
  margin-bottom: 0px;
}
.monthly-tab-value {
  font-size: 16px;
  font-weight: 700;
}

.monthly-tab-value .unit {
  font-size: 12px;
}

/* 選択中タブ（li.selected）は赤背景＋白文字 */
.monthly-tab-list li.selected a {
background-color: #F30F1D;
    color: #ffffff;
}
.monthly-tab-list li.selected a::after {
border-top-color: #F30F1D;
}
.monthly-tab-list li.selected .monthly-tab-label,
.monthly-tab-list li.selected .monthly-tab-value {
  color: #ffffff;
}

/* レスポンシブ（スマホ時は2列に折り返し） */
@media screen and (max-width: 559px) {
  .monthly-tab-list {
    flex-wrap: wrap;
  }

  /* .monthly-tab-list li {
    flex: 1 1 50%;
  } */

  .monthly-tab-list li:last-child {
    flex-basis: 100%;
  }

  .monthly-tab-list li a {
    padding: 12px 6px;
    font-size: 13px;
  }

  .monthly-tab-label {
    font-size: 10px;
  }

  .monthly-tab-value {
    font-size: 15px;
  }
}

/* コンテンツの表示制御（JSと併用） */
#monthly_tab_contents {
  margin-top: 8px;
}

#monthly_tab_contents .monthly_sheets {
  display: none;
}

/* デフォルトで最初のタブだけ表示 */
#monthly_tab_contents .monthly_sheets:first-child {
  display: block;
}
/****************************
便利機能で選ぶ
****************************/
.function-section02,
.function-section03,
.function-section04,
.function-section05{
  padding-top:0px;
  padding-bottom:50px;
}
.function-section01{
  padding-bottom: 50px;
}
@media screen and (min-width: 560px) {
  .function-section02,
.function-section03,
.function-section04,
.function-section05{
  padding-top:0px;
  padding-bottom:34px;
}
.function-section01{
  padding-bottom: 34px;
}
}

.p-function__lead{
  margin-bottom: 15px;
}
.p-function__lead span{
  text-decoration-style: wavy;
  text-decoration-line: underline;
  color:#F30F1D;
}
.p-function__list{
  font-weight: 800;
  font-size: 16px;
}
.p-function__list li {
  display: flex;
  align-items: flex-start;
}
.p-function__list span{
  color:#CACCCE;
  margin-right: 5px;
  font-size: 17px;
  vertical-align: sub;
  flex-shrink: 0;
  margin-top: 0.4em;
}
.p-function__block{
  margin-bottom: 20px;
}
.p-function__image{
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
.p-function__block{
  flex:0 0 49.01%;
  max-width: 49.01%;
  margin-bottom: 0px;
}
.p-function__image{
  flex: 0 0 47.04%;
  max-width: 47.04%;
  margin-bottom: 0px;
}
}
.p-function__body{
  margin-bottom: 20px;
}
.p-recommend__headline{
  font-weight: 900;
  margin-top: 50px;
  margin-bottom: 20px;
    font-size: 18px;
}
@media screen and (min-width: 560px) {
  .p-recommend__headline{
    font-size: var(--font-size-xxl-fluid);
  }
}
.c-section__content{
  margin-bottom: 48px;
}
.c-sectionIcon__headline{
  display: flex;
  align-items: center;
  gap:15px;
  margin-bottom: 24px;
}
.c-sectionIcon__headline-title{
  font-size: var(--font-size-xxl-fluid);
}
.c-sectionIcon__headline-title span{
  display: block;
  font-size: 16px;
}
.p-purpose__list{
  background-color: #fff;
  border-radius: 8px;
  padding:20px;
  margin-bottom: 16px;
}
@media screen and (min-width: 960px) {
.p-purpose__list{
  padding:33px;
}
}
.c-sectionTitle__bar{
  font-size: 16px;
  position: relative;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid #F30F1D;
}
.p-point__option-list span{
  position: absolute;
    right: 15px;
    top: 15px;
    max-width: 52px;
}
/* .c-sectionTitle__bar::before{
  content:'';
  position: absolute;
  left:0px;
  width:4px;
  height: 18px;
  background-color: #F30F1D;
top: 50%;
    transform: translateY(-50%);
} */
.p-porpose__body{
  font-size:14px;
  line-height: 1.8;
}

/* ====================================================
   スマホ用アコーディオン（559px以下）※特定リストのみ適用
   ==================================================== */
@media screen and (max-width: 559px) {
  /* 修正：親に .p-purpose__list がある場合のみ適用 */
  .p-purpose__list .c-sectionTitle__bar {
    margin-bottom: 0; 
    padding-right: 24px; 
    cursor: pointer;
    position: relative; 
  }
  
  .p-purpose__list .p-porpose__body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
  }

  .p-purpose__list .c-sectionTitle__bar.is-open + .p-porpose__body {
    max-height: 800px; /* 必要に応じて高さを調整 */
    opacity: 1;
    padding-top: 16px;
  }

  /* ========================
     ＋・－アイコンの描画
     ======================== */
  .p-purpose__list .c-sectionTitle__bar::before,
  .p-purpose__list .c-sectionTitle__bar::after {
    content: "";
    position: absolute;
    top: 50%;
    background-color: #F30F1D;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* ＋アイコン（横線） */
  .p-purpose__list .c-sectionTitle__bar::before {
    right: 0;
    width: 14px;
    height: 2px;
    transform: translateY(-50%);
  }

  /* ＋アイコン（縦線） */
  .p-purpose__list .c-sectionTitle__bar::after {
    right: 6px;
    width: 2px;
    height: 14px;
    transform: translateY(-50%);
  }

  /* 開いた時は、縦線を回転させて透明にし「－」にする */
  .p-purpose__list .c-sectionTitle__bar.is-open::after {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }
}
/****************************
各メーカーの共通ページ
****************************/
.p-features__inner{
  margin-bottom: 64px;
}
@media screen and (min-width: 560px) {
.p-features__inner{
  display: flex;
  justify-content: center;
  gap:20px;
}
}
.p-features__list{
  position: relative;
  text-align: center;
  font-weight: 900;
  line-height: 40px;
/* ここで“翼のサイズ”と“翼と文字の距離”を管理（可変） */
  --wing-w: clamp(28px, 6vw, 50px);
  --wing-gap: clamp(10px, 2.2vw, 22px);

  /* 翼が入る分だけ左右に余白を確保（被り防止） */
  padding-inline: calc(var(--wing-w) + var(--wing-gap));
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 25px;
}
@media screen and (min-width: 560px) {
  .p-features__list{
    font-size: var(--font-size-xxl-m-fluid);
  }
}
/* .p-features__list p{
  line-height: 1.4;
} */
.p-features__list p span{
  display: block;
}
.p-features__list::before,
.p-features__list::after{
content:'';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: var(--wing-w);
  aspect-ratio: 50 / 111; /* 画像の比率に合わせて調整 */
  height: auto;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.p-features__list::before{
left: var(--wing-gap);
  background-image: url("/wp-content/themes/MJE/images/maker-soshoku01.png");
}
.p-features__list::after{
right: var(--wing-gap);
  background-image: url("/wp-content/themes/MJE/images/maker-soshoku02.png");
}
@media screen and (min-width: 560px) {
.p-features__list{
  margin-bottom: 0px;
    /* 端寄せにする分、余白も少しだけ締める */
    --wing-gap: 0px;
    padding-inline: calc(var(--wing-w) + 2px);
  }

  .p-features__list::before{ left: 0; }
  .p-features__list::after { right: 0; }
}
.maker{
  padding:64px 0px 24px;
}
.p-maker__feature-list{
  border:1px solid #CACCCE;
  position: relative;
  margin-bottom: 25px;
  background-color: #fff;
}
.p-maker__feature__number{
    position: absolute;
    left: 26px;
    top: -21px;
    font-size: 42px;
    line-height: 1;
    font-weight: bold;
}
@media screen and (min-width: 560px) {
  .p-maker__feature__number{
    left: 0px;
    font-size: var(--font-size-xxxxl-l-fluid);
  }
}
.p-maker__feature-wrap{
  max-width: 1040px;
  padding:35px 26px;
  margin:0 auto;
  position: relative;
}
.p-maker__column-wrap{
  max-width: 1028px;
  width: 100%;
  padding:32px 16px;
  margin:0 auto;
}
.p-maker__fukidashi-inner {
  margin-bottom: 40px;
}
@media screen and (min-width: 560px) {
  .p-maker__fukidashi-inner {
    display: flex;
  align-items: center; /* アイコンと吹き出しを垂直方向中央揃え */
  gap: 20px; /* アイコンと吹き出しの間隔 */
  }
}
.p-maker__fukidashi-image{
  width: 100%;
  flex-shrink: 0;
  margin:0px 0px 15px;
  text-align: center;
}
@media screen and (min-width: 560px) {
  .p-maker__fukidashi-image{
    max-width: 112px;
    margin:0px;
    text-align: left;
  }
}
.p-maker__fukidashi-block{
  max-width: 796px;
  width: 100%;
  border:1px solid #0095EE;
  background-color: #fff;
  border-radius: 16px;
  position: relative;
  padding: 20px;
  font-size: var(--font-size-l-fluid);
    font-weight: 800;
}
@media screen and (min-width: 560px) {
  .p-maker__fukidashi-block{
    padding: 30px;
  }
}
.p-maker__fukidashi-block::before {
  content: "";
  position: absolute;
  top: 50%;             /* 上下中央 */
  left: -12px;          /* 本体の左側に配置 */
  transform: translateY(-50%); /* 完全に中央に補正 */
  border-style: solid;
  border-width: 12px 12px 12px 0; /* 左向きの三角形を作る */
  border-color: transparent #0095EE transparent transparent; /* 右辺だけ青色 */
}
.p-maker__fukidashi-block::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;           /* beforeより少し右にずらす */
  transform: translateY(-50%);
  border-style: solid;
  border-width: 12px 12px 12px 0;
  border-color: transparent #fff transparent transparent; /* 右辺だけ白色 */
}
/* =========================================
   スマホ用（559px以下）：吹き出しを上向きに変更
   ========================================= */
@media screen and (max-width: 559px) {
  .p-maker__fukidashi-block::before {
    top: -12px; /* 上枠外に配置 */
    left: 50%; /* 左右中央 */
    transform: translateX(-50%); /* 完全に中央へ補正 */
    border-width: 0 12px 12px 12px; /* 上向きの三角形を作る */
    border-color: transparent transparent #0095EE transparent; /* 下辺だけ青色 */
  }

  .p-maker__fukidashi-block::after {
    top: -11px; /* beforeより1px下にずらす（内側） */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 12px 12px 12px;
    border-color: transparent transparent #fff transparent; /* 下辺だけ白色 */
  }
}
.p-maker__fukidashi-body{
  margin-bottom: 12px;
}
.p-maker__feature-headline{
  font-size:16px;
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .p-maker__feature-wrap{
    padding:35px 16px;
  }
  .p-maker__feature-headline{
  flex:0 0 27.5%;
  max-width: 27.5%;
  margin-bottom: 0px;
  font-size: var(--font-size-xl-fluid);
}
.p-maker__feature-body{
  flex:0 0 68%;
  max-width: 68%;
}
}
.p-maker__feature-headline span{
  display: block;
}
.p-feature__recommend{
  margin-top: 40px;
}
.p-maker__head-block{
  display: flex;
  justify-content: center;
  align-items: center;
  gap:0px 20px;
}

.p-maker__column{
  background-color: #EBF9FF;
  border-radius: 16px;
}
.p-maker__column-title{
  font-size: var(--font-size-xxl-fluid);
}
/* .p-maker__wrap{
  max-width: 1040px;
  margin:0 auto;
  padding:0px 16px;
} */
.p-maker__section-title{
  font-size: var(--font-size-l-fluid);
  margin-bottom: 24px;
}
.p-maker__section-title span{
  font-size: var(--font-size-xxl-fluid);
}
.p-maker__left-logo{
  max-width: 175px;
  width: 100%;
}
.p-maker__recommend-list{
  max-width: 389px;
  width: 100%;
  font-weight: 800;
  margin-top: 10px;
}
@media screen and (min-width: 560px) {
  .p-maker__recommend-list{
    margin-top: 0px;
  }
}
.p-maker__recommend-list li span{
  margin-right: 5px;
}
.p-maker__recommend-list li{
  margin-bottom: 8px;
}
.p-maker__recommend-list li:last-child{
  margin-bottom: 0px;
}
/****************************
入替え・買替えの方へ
****************************/
.worries{
  text-align: center;
    background-color: #F5F5F5;
    padding-bottom: 40px;
}
@media screen and (min-width: 560px) {
.worries{
  padding-bottom: 100px;
}
}
@media screen and (min-width: 960px) {
.worries{
  padding-bottom: 140px;
}
}
.p-onayami__down,
.p-onayami__headline{
  text-align: center;
}
.p-onayami__headline{
  font-size: var(--font-size-xxl-fluid);
  padding-bottom: 30px;
}
.p-onayami__headline span{
  font-size: var(--font-size-xxxxl-fluid);
}
.replacement::after{
  content:'';
  position: absolute;
  left:50%;
  transform:translateX(-50%);
  top:0px;
  background-image:url("/wp-content/themes/MJE/images/grey-triangle.svg");
  background-repeat: no-repeat;
  max-width: 160px;
  width: 100%;
  height: 41px;
}
.p-merit__list{
  background-color: #F5F5F5;
  border-radius: 8px;
  padding:36px 15px;
  margin-bottom: 36px;
}
.p-merit__list > div{
  max-width: 468px;
  margin:0 auto;
}
/* .p-merit__icon{
  text-align: center;
}
.p-merit__block{
  margin:20px auto 0px;
  text-align: center;
} */

.p-merit__icon{
  text-align: left;
  flex:0 0 20%;
  max-width: 20%;
}
.p-merit__block{
  text-align: left;
  margin:0px;
  flex:0 0 75%;
  max-width: 75%;
}

.p-merit__number{
background-color: #2FBEFC;
    color: #fff;
    font-size: 12px;
    padding: 2px 17px;
    display: inline-block;
    border-radius: 16px;
    line-height: 18px;
}
.p-merit__headline{
  font-size:22px;
  font-weight: 800;
  margin-bottom: 12px;
  margin-top: 3px;
}
.p-merit__body{
  font-size:14px;
  line-height: 1.8;
  text-align: left;
}
/* Table */
.mje-save-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-weight: 500; /* 全体は通常の太さにし、必要な箇所だけ太字にします */
}

.mje-save-table th,
.mje-save-table td{
  border: 1px solid #CACCCE;
  text-align: center;
  vertical-align: middle;
  padding: 12px 13px;
}

/* Column balance（4列に合わせて調整） */
.mje-save-col-company{ width: 22%; }
.mje-save-col-usage{ width: 24%; }
.mje-save-col-counter{ width: 29%; }
.mje-save-col-down{ width: 25%; }

/* Header */
.mje-save-th{
  color: #fff;
  font-weight: 800;
  padding: 16px 10px;
}
.mje-save-th--blue{ background: #2FBEFC; border-color: #fff; } /* ヘッダー間は白線にする場合 */
.mje-save-th--red{ background: #F30F1D; border-color: #fff; }

/* Company column cells */
.mje-save-td{
  background: #fff;
}
.mje-save-td--blue{
  background: #EBF9FF;
}
.mje-save-company__name{
  font-size: 16px; 
}


/* Usage */
.mje-save-usage{
  font-size: 16px; 
  font-weight: 500;
  line-height: 1.6;
}

/* Counter (新規追加) */
.mje-save-counter{
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.mje-save-price-bold{
  font-size: 20px;
  font-weight: 800;
}
.mje-save-price-red{
  color: #F30F1D;
  font-size: 20px;
  font-weight: 800;
}
.mje-save-arrow{
  margin: 0 4px;
  font-weight: bold;
}

/* Down amount */
.mje-save-down{
  white-space: nowrap;
}
.mje-save-down__yen{
  font-size: 25px;
  color: #F30F1D;
  font-weight: 800;
}
.mje-save-down__per{
  font-size: 16px;
  color: #F30F1D;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1023px){
  .mje-save-table th,
  .mje-save-table td{
    padding: 14px 10px;
  }
  .mje-save-down__yen{ font-size: 22px; }
  .mje-save-price-red{ font-size: 18px; }
}

@media (max-width: 767px){
  /* 4列でスマホ表示だと文字が潰れやすいため、必要に応じて横スクロールさせる実装を推奨します */
  .mje-save-table {
    min-width: 700px; /* 親要素に overflow-x: auto; をかける前提 */
  }
  .mje-save-company__name{ font-size: 14px; line-height: 1.8;}
  .mje-save-usage{ font-size: 14px; line-height: 1.8;}
  .mje-save-counter{ font-size: 13px; }
  .u-text-bold{ font-size: 16px; }
  .mje-save-price-red{ font-size: 16px; }
  .mje-save-down__yen{ font-size: 20px; }
  .mje-save-down__per{ font-size: 14px; line-height: 1.8;}
}

.bizall-maintenance{
  position: relative;
  background-color: #F5F5F5;
}
@media screen and (min-width: 960px) {
.bizall-maintenance{
  background-image: url("/wp-content/themes/MJE/images/hosyu-bg.webp");
  background-position: right top;
  background-repeat: no-repeat;
}
}
.p-fukidashi__headline{
  text-align: center;
  margin-bottom: 50px;
}
/* .p-fulidashi__body{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 140px;
  width: 100%;
  min-height: 44px;
    padding: 6px 12px;
    margin: 0;
    background: #F30F1D;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 14px;
}

.p-fulidashi__body::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #F30F1D;
} */
/* .p-fukidashi__title{
  font-size:var(--font-size-xxl-l-fluid);
} */
 .support{
  padding-top: 0px;
  padding-bottom: 0px;
 }
.p-support__item{
position: relative;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 32px;
  border: 1px solid #CACCCE;
  padding: 30px 20px;
}
.p-support__wrap{
  position: relative;
}
/* .p-support__wrap{
  max-width: 396px;
  padding:0px 16px;
  margin:0 auto;
  width: 100%;
} */
.c-support__badge{
position: absolute;
    top: -42px;
    left: 0px;
    width: 111px;
    height: 26px;
    line-height: 26px;
    border-radius: 13px;
    background: #2FBEFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.c-support__badge span{
  margin-left: 3px;
}
@media screen and (min-width: 560px) {
  .c-support__badge{
    top: -47px;
  }
}
.c-support__title{
  margin-bottom: 15px;
  font-size:16px;
  font-weight: 800;
}
@media screen and (min-width: 560px) {
  .c-support__title{
    font-size:20px;
  }
.p-support__item{
  flex: 0 0 48.38%;
    max-width: 48.38%;
    padding: 33px 38px;
}
.p-support__item:nth-child(n+3){
  margin-bottom: 0px;
}
}
.c-support__body{
  font-size: 14px;
  line-height: 1.8;
}
/****************************
起業・設立された方へ
****************************/
.p-intro__headline{
  text-align: center;
}
.p-intro__block{
  text-align: left;
}
@media screen and (min-width: 560px) {
.p-intro__block{
  text-align: center;
}
}
.c-section__intro-headline{
  font-weight: 900;
  font-size: var(--font-size-xxl-l-fluid);
  margin-bottom: 20px;
}
.c-section__intro-headline > span {
  font-size: var(--font-size-xxxl-fluid);
}
.c-section__intro-headline > span >span {
font-size: var(--font-size-xxxxxl-s-fluid);
}
.support .p-chart__title{
  margin:0px;
  font-weight: 900;
}
.p-support__row--2col{
  position: relative;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr; /* SPは1カラム */
  gap: 32px;
}
@media screen and (min-width: 560px) {
  .p-support__row--2col{
    grid-template-columns: 1fr 1fr;
    column-gap: 56px; /* ここで余白調整 */
    row-gap: 0;
  }
   .p-support__row--2col::before{
    content:"";
    position:absolute;
    top: 40px;     /* 上下は余白ぶん避ける */
    bottom: 40px;
    left: 50%;
    width: 1px;
    background: #CACCCE;
    transform: translateX(-0.5px);
    pointer-events: none;
  }
  .p-support__left-block,
  .p-support__right-block{
    flex: 0 0 48%;
    max-width: 48%;
  }
}

/* スマホの時だけ「01」と「02」の間に横線を入れる */
@media screen and (max-width: 559px) {
  .p-support__row--2col .p-support__list:first-child {
    position: relative;
            padding: 0px 0px 30px;
        margin-bottom: 20px;
  }
  
  .p-support__row--2col .p-support__list:first-child::after {
    content: "";
    position: absolute;
    bottom: -16px; /* 親の gap: 32px; のちょうど真ん中を狙う魔法の数値 */
    left: 0;
    width: 100%;
    height: 1px;
    background: #CACCCE; /* PCの縦線と同じグレー */
  }
}

.p-support__start,
.p-support__start02{
  border-top:1px solid #CACCCE;
}
.p-support__start02{
  padding:40px 0px;
}
.p-support__start02:last-child{
  padding-bottom: 0px;
}
.p-support__number{
  background-color:#F30F1D;
  color:#fff;
  border-radius: 50%;
  max-width: 32px;
  width: 100%;
  max-height: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.p-support__body-image{
  margin-top: 20px;
}
.p-support__left-block{
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .p-support__left-block,
  .p-support__right-block{
    flex:0 0 48%;
  max-width: 48%;
  }
  .p-support__left-block{
    margin-bottom: 0px;
  }
}
.p-support__headline{
  display: flex;
  gap: 10px;
    align-items: center;
}
@media screen and (min-width: 560px) {
  .p-support__headline{
    margin-bottom: 10px;
  }
}
.p-counter__price-inner{
  background-color: #F5F5F5;
  border-radius: 8px;
  position: relative;
  text-align: center;
  padding:20px 40px 40px;
  margin-top: 40px;
}
.p-counter__price-body{
  margin-bottom:20px;
  font-size: 1rem;
}

.p-counter__list{
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 8px;
  padding:30px 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap:10px;
}
@media screen and (min-width: 560px) {
.p-counter__list{
  justify-content: center;
}
}
.p-counter__list-headline{
  font-weight: 800;
  text-align: left;
  line-height: 24px;
}
@media screen and (min-width: 960px) {
.p-counter__list{
  margin-bottom: 0px;
  flex:0 0 32.04%;
  max-width: 32.04%;
}
.p-counter__list-headline{
  line-height: 1.8;
  font-size: var(--font-size-xl-fluid);
}
}
.p-counter__headline{
  font-size:var(--font-size-xl-fluid);
  position: absolute;
  left:0px;
  right: 0px;
  top:-10px;
}
@media screen and (min-width: 960px) {
  .p-counter__headline{
    top:-20px;
  }
}
/* .price{
  position:relative;
  display:inline-flex;
  align-items:baseline;
  gap:.08em;
  line-height:1;
  margin-left: 5px;
} */

.price__num{
  font-size: 77px;
  font-weight: bold;
   line-height: 1;
}
@media screen and (min-width: 560px) {
.price__num{
  font-size: var(--font-size-huge-s-fluid);
}
}
.price__unit{
  font-size: 36px;
  font-weight: 700;
}
@media screen and (min-width: 560px) {
  .price__unit{
  font-size: var(--font-size-xxxl-fluid);
}
}
/* =========================================
   価格（0円）の左右の斜め線装飾（修正版）
   ========================================= */
.price {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
  /* 左右の線を配置するための余白を少し調整 */
  margin-left: 15px;
  margin-right: 15px;
}

/* 左右の線の共通設定 */
.price::before,
.price::after {
  content: "";
  position: absolute;
  /* ▼ 文字のベースライン付近を下端の基準にするための調整 */
  bottom: 0.1em; 
  width: 1px; /* 線の太さ */
  
  /* ▼ 見本に合わせて高さを約40px相当に固定（文字の大きさに合わせて少し可変させたい場合は clamp(30px, 4vw, 45px) のようにするのも手です） */
  height: 40px; 
  
  background: #000;
  
  /* ▼ 回転の支点を「下端の中央」に設定 */
  transform-origin: bottom center;
}

/* 左側の線（ \ ） */
.price::before {
  right: 100%;
  margin-right: 5px; /* 見本に合わせて数字に少し近づける */
  transform: rotate(-15deg); 
}

/* 右側の線（ / ） */
.price::after {
  left: 100%;
  margin-left: 5px; /* 見本に合わせて数字に少し近づける */
  transform: rotate(15deg); 
}

.p-support__lead{
  margin:32px 0px 18px;
  font-size:var(--font-size-m-fluid);
}
.p-support__body{
  max-width: 924px;
}
.u-service__list:first-child .p-service__headline{
  background-color: #F30F1D;
}
.u-service__list:nth-child(2) .p-service__headline{
  background-color: #0BB9A4;
}
.u-service__list:nth-child(3) .p-service__headline{
  background-color: #0095EE;
}
.u-service__list:nth-child(4) .p-service__headline{
  background-color: #FF7F2C;
}
.p-service__headline{
  color:#fff;
  padding:4px 15px;
  margin-bottom: 10px;
  font-weight: 800;
}
.p-service__body{
  margin-bottom: 20px;
  font-size:13px;
}
@media screen and (min-width: 560px) {
  .p-service__body{
  font-size:14px;
  line-height: 25px;
}
}
/* 表本体 */
.mfp-maintenance-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 56px;
  margin-bottom: 40px;
}

/* 共通セル */
.mfp-maintenance-table th,
.mfp-maintenance-table td{
  border: 1px solid #CACCCE;
  padding: 28px 22px;
  vertical-align: middle;
}

/* th側 */
.mfp-maintenance-table th{
  font-size: var(--font-size-m-fluid);
  font-weight: 700;
  text-align: center;

  /* PCで345px相当を目安にしつつ可変 */
  width: clamp(220px, 32vw, 345px);
}

/* td側 */
.mfp-maintenance-table td{
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

/* 背景 */
.mfp-maintenance-table .bg-blue{
  background: #EBF9FF;
  color:#0095EE;
}
.mfp-maintenance-table .bg-orange{
  background: #FFF9DF;
  color:#FF7F2C
}
.mfp-maintenance-table .bg-green{
  background-color: #EBFAF7;
  color:#0BB9A4;
}
.mfp-maintenance-table .bg-gray{
  background-color: #F5F5F5;
}
/* 「定番」バッジ（画像っぽい見え方をCSSで再現） */
.mfp-maintenance-table__label{
  display: block;
  position: relative;
  font-weight: 800;
}

.mfp-maintenance-table__badge{
position: absolute;
    line-height: 1;
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    right: 9%;
}

/* SP：縦に積む（読みやすさ最優先） */
@media (max-width: 559px){
  .mfp-maintenance-table,
  .mfp-maintenance-table tbody,
  .mfp-maintenance-table tr,
  .mfp-maintenance-table th,
  .mfp-maintenance-table td{
    display: block;
    width: 100%;
  }

  .mfp-maintenance-table th{
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }

  .mfp-maintenance-table td{
    padding: 14px 16px 18px;
  }
  .mfp-maintenance-table tr{
    margin-bottom: 14px;
  }
}
/****************************
導入までの流れ
****************************/
.c-flow__wrap{
  margin-top:50px;
}
.c-flow__image{
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
.c-flow__image{
  flex:0 0 34%;
  max-width: 34%;
  margin-bottom: 0px;
}
.c-flow__block{
  flex:0 0 63%;
  max-width: 63%;
}
}
.c-flow__block .p-support__headline{
  align-items: center;
}
.p-flow__tokucho{
  margin-top: 24px;
}
.p-flow__tokucho{
  font-weight: 800;
}
.p-flow__tokucho span{
  color:#0095EE;
  font-size: 20px;
  margin-right: 5px;
}
.c-flow__block .p-caption__body{
  text-indent: -1em;
  padding-left: 1em;
  margin-top: 15px;
}
.c-flow__list{
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #CACCCE;
}
.c-flow__list:last-child{
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-bottom: none;
}
.p-flow__cta{
  text-align: center;
  margin-top: 25px;
}
@media screen and (min-width: 960px) {
.p-flow__cta{
  display: flex;
  gap:20px;
}
}
.p-flow__mail{
  margin-bottom: 20px;
}
@media screen and (min-width: 960px) {
  .p-flow__mail{
      max-width: 248px;
  width: 100%;
    margin-bottom: 0px;
  }
}
.p-common__button__blue{
  font-weight: 800;
  border-radius: 27px;
  color:#fff;
  background-color: #0095EE;
  border:2px solid #0095EE;
  height: 53px;
  line-height: 49px;
}
@media screen and (min-width: 960px) {
  .p-common__button__blue{
max-width: 248px;
  width: 100%;
  }
  .p-common__button__blue:hover{
    background-color: #fff;
    color:#0095EE;
  }
}
.p-flow__tel{
  font-size: var(--font-size-xxl-m-fluid);
  font-weight: bold;
}

.p-flow__tel a{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
}
.p-flow__tel img{
  margin-right: 5px;
}
.p-tel__caption{
  font-weight: normal;
  font-size: 12px;
  color:#707684;
}
@media screen and (min-width: 560px) {
.c-flow__inner{
  flex:0 0 94%;
  max-width: 94%;
}
}
.c-flow__side {
  position: relative;
  background-color: #FCEEEE;
  font-weight: 800;
  display: flex;
  justify-content: center; /* 縦方向の中央 */
  align-items: center;     /* 横方向の中央 */
  padding: 10px 0px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .c-flow__side {
    width: 40px;
    writing-mode: vertical-rl;
  text-orientation: upright;
  min-height: 400px;
  padding: 20px 0 40px;
  margin-bottom: 0px;
  }
}
.c-flow__side span {
  font-size: var(--font-size-m-fluid);
  letter-spacing: 0.1em;
}

@media screen and (min-width: 560px) {
.c-flow__side::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 20px;
  border-color: #FCEEEE transparent transparent transparent;
  transform: translateY(100%);
}
}

/****************************
お支払い方法
****************************/
.p-pay__intro-body{
  margin-bottom: 10px;
}
.p-pay__intro-body:last-child{
  margin-bottom: 60px;
}
.p-pay__headline02{
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 800;
}
.p-pay__body02{
  max-width: 304px;
  width: 100%;
  padding:0px 16px 22px;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
}
.p-pay__list-link{
  text-align: center;
      display: flex;
    justify-content: center;
    align-items: center;
  background-color: #fff;
  border-radius: 8px;
    box-shadow: 0px 5px 15px 0 rgba(0, 0, 0, .1);
    padding-bottom: 20px;
    padding-top: 25px;
    margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .p-pay__list-link{
    margin-bottom: 0px;
    padding-bottom: 40px;
    padding-top: 45px;
  }
  .p-pay__list-link:hover{
    box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, .1);
  }
  .p-pay__list-link:hover .p-pagee__link-icon{
    border:1px solid #F30F1D;
  }
}

/* =========================================
   スマホ用（559px以下）の横並びレイアウト調整
   ========================================= */
@media screen and (max-width: 559px) {
    /* 大枠のflex(中央揃え)を解除し、ブロックに戻す */
    .p-pay__list-link {
        display: block;
        padding: 20px 15px; /* 上下左右の余白をスマホ向けに最適化 */
    }
    
    /* aタグをGridコンテナにして2カラムレイアウトを作成 */
    .p-pay__list-link a {
        display: grid;
        grid-template-columns: 100px 1fr; /* 左カラム(アイコン)100px、右カラム(テキスト)残り幅すべて */
        column-gap: 20px; /* アイコンとテキストの隙間 */
        align-items: start;
        text-align: left; /* テキスト全体を左揃えに上書き */
        text-decoration: none;
        color: inherit;
    }
    
    /* ▼ 左カラム：アイコンを縦4行分またがらせる */
    .p-pay__icon02 {
        grid-column: 1 / 2;
        grid-row: 1 / 5;
        margin: 0;
    }
    
    .p-pay__icon02 img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* ▼ 右カラム：各テキスト要素の配置と余白リセット */
    .p-pay__headline02 {
        grid-column: 2 / 3;
        margin: 0 0 10px 0;
        font-size: 16px; 
        font-weight: 800;
    }
    
    .p-pay__body02 {
        grid-column: 2 / 3;
        margin: 0 0 12px 0;
        padding:0px;
        font-size: 13px;
        line-height: 1.5;
    }

    .p-pay__list {
        grid-column: 2 / 3;
        justify-content: flex-start!important; 
        margin: 0 0 12px 0;
    }
    
    /* 「詳しく見る」リンクの中央揃えを解除し、左揃えに上書き */
    .p-pay__page-link {
        grid-column: 2 / 3;
        justify-content: flex-start!important; 
        padding-top: 0;
        margin: 0;
    }
}

.p-pay__list{
  display: flex;
  justify-content: center;
  gap:5px;
}
.p-pay__badge{
  border-radius: 4px;
  height: 31px;
  line-height: 31px;
  font-weight: 800;
  color:#fff;
  max-width: 56px;
  width: 56px;
  font-size: 16px;
  text-align: center;
}
.p-point__lead .p-pay__list{
  margin-left: 15px;
}
.u-new__badge{
  background-color: #FF7F2C;
}
.u-old__badge{
  background-color: #0BB9A4;
}
.p-pay__page-link{
  font-weight: 800;
  display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    font-size: 14px;
}
.p-pagee__link-icon{
      background-color: #F5F5F5;
      border:1px solid #F5F5F5;
      transition: .3s;
    border-radius: 50%;
    color: #F30F1D;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    margin-left: 10px;
display: flex;
    justify-content: center;
    align-items: center;

}
.p-pagee__link-icon span{
  font-size:18px;
}
.p-pay__text{
  margin-bottom: 70px;
}
.p-pay__wrap{
  margin-bottom: 64px;
}
.u-pay__link02{
  margin-top: 37px;
}
/****************************
選ばれる理由
****************************/
.p-bizall_number{
  background-color: #2FBEFC;
  color:#fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 12px;
  line-height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-right: 10px;
  font-weight: normal;
}
.p-bizall_number span{
  font-weight: bold;
  font-size: var(--font-size-m-fluid);
}
/* .p-bizall__strengths__body{
  max-width: 885px;
} */
.p-bizall__strengths{
  background-color: #fff;
  border-radius: 8px;
}
.p-bizall__strengths-inner{
  max-width: 1062px;
  margin:0 auto 30px;
  padding:40px 16px;
}
.p-bizall__strengths:last-of-type .p-bizall__strengths-inner{
  margin:0 auto 10px;
}
.p-bizuall__strength-headline{
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 900;
  margin-bottom: 20px;
}
.p-bizuall__strength-headline h3{
  font-weight: 900;
}
.p-bizall__strengths-image{
  text-align: center;
}
.p-bizall__strengths-list{
  max-width: 452px;
  margin:0 auto;
  padding:27px 16px;
  border-radius: 8px;
}
.p-bizall__strengths-lead{
  text-align: center;
  margin:30px auto 10px;
  font-size:var(--font-size-l-fluid);
}
.p-bizuall__strengths-description{
  font-size: 14px;
  line-height: 1.8;
}
.u-bizall__strengths-inner{
  margin:32px 0px;
}
.p-bizall__cost-headline{
  margin-bottom: 16px;
  font-size:var(--font-size-m-fluid);
}
.u-bizall__support__list{
  margin-top: 20px;
}
/****************************
よくある質問（ページ用）
****************************/
.p-faq{
  padding-top:40px;
}
.p-faq__page{
    padding-top:40px;
  }
@media screen and (min-width: 560px) {
  .p-faq__page{
    padding-top:64px;
  }
}
.p-faq .monthly-tab-list li{
  flex:0 0 48.9%;
  max-width: 48.9%;
}
@media screen and (min-width: 560px) {
.p-faq .monthly-tab-list li{
  flex:0 0 19.53%;
  max-width: 19.53%;
}
}

.p-faq .monthly-tab-list li a{
  font-size: var(--font-size-m-fluid);
  height: 86px;
}
.p-faq .monthly-tab-list,
.p-faq .p-point__lead{
  margin-bottom: 40px;
}
.p-faq #faq_tab_contents .monthly_sheets{
  display:none;
}
.p-faq #faq_tab_contents .monthly_sheets.is-active{
  display:block;
}
/****************************
お知らせなどCMS関連
****************************/
.news-content{
  padding:0px;
}

.l-title__catch{
  text-align: center;
  font-size: var(--font-size-xxxxl-fluid);
  margin-top: 100px;
  margin-bottom: 60px;
  font-weight: 900;
}
.news-list__link{
  display: flex;
  position: relative;
  border-top:1px solid #CACCCE;
  padding: 25px 15px;
}
.news-list__item:last-child .news-list__link{
  border-bottom:1px solid #CACCCE;
}
@media screen and (min-width: 560px) {
  .news-list__link{
    gap:20px;
    padding:20px 15px;
  }
}
.news-list__link::after{
  position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Material Icons';
    content: '\e5c8';
    right: 0px;
    background-color: #F5F5F5;
    color: #F30F1D;
    max-width: 34px;
    width: 100%;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
}
.news-list__title{
  font-weight: 800;
  max-width: 65%;
}
@media screen and (min-width: 560px) {
  .news-list__title{
    max-width: 100%;
  }
}
.post-type-archive-news .p-pagination{
  margin: 0 auto 80px;
}
.post-type-archive-news .nav-links{
      margin-top: 60px;
}
/* =========================================
   お知らせ詳細ページ (single-news)
   ========================================= */
.news-content__detail {
  padding: 60px 0 80px;
}

/* --- ヘッダー（日付とタイトル） --- */
.news-detail__header {
  margin-bottom: 60px;
}

/* 日付を右寄せにして下線を引く */
.news-detail__meta {
  text-align: right;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.news-list__day{
  color:#707684;
  font-size: 14px;
      margin-right: 20px;
}
.news-list__date {
  color: #707684;
  font-size: 16px;
}

/* タイトル */
.news-detail__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.5;
}

/* --- 本文エリア --- */
.news-detail__body {
  font-size: 18px;
  font-weight: normal;
}
.news-detail__body p{
  margin-bottom: 35px;
  line-height: 35px;
}
/* 本文内の画像がはみ出さないように */
.news-detail__body img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  display: block;
}

/* --- 一覧に戻るボタンエリア --- */
.news-last__back {
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid #eee; /* 上部の区切り線 */
  text-align: center;
}

.c-button--more {
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s ease;
}

.c-button--more:hover {
  opacity: 0.7;
}

/* 赤い丸の矢印アイコン */
.c-button--more .material-symbols-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #e60012; /* ビズオールの赤色 */
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
}

/* テキストの下線 */
.c-button__text-back {
  font-weight: bold;
  font-size: 15px;
  text-decoration: underline; /* 黒い下線 */
  text-underline-offset: 4px; /* 下線と文字の隙間 */
  text-decoration-thickness: 1px;
}

/************************************
** コラム
************************************/
.p-column-container{
  background-color: #f5f5f5;
  padding:56px 0px 88px;
}
@media screen and (min-width: 560px) {
.p-column-card{
  flex:0 0 31.25%;
  max-width: 31.25%;
}
.p-column-container .p-common__inner{
  position: relative;
}
.p-column-container .p-common__inner::after{
  content:'';
  max-width: 31.25%;
  flex:0 0 31.25%;
}
}
input:-internal-autofill-selected {
  background-color: none!important;
}
.p-column-card{
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 30px;
}
.p-column-card__body{
  padding-top:12px;
  max-width: 324px;
  margin:0 auto;
  padding:12px 10px 20px;
}

.p-column-card__date{
  font-size: 14px;
  line-height: 1.8;
  color: #707684;
}
.p-column-card__meta{
  display: flex;
  justify-content: space-between;
}
.p-column-card__title{
  font-size: 18px;
  font-weight: 800;
  padding:13px 0px 17px;
}
.p-column-search{
  margin-bottom: 64px;
}
.p-search-form {
    width: 100%;
    max-width: 924px;
    margin: 0 auto;
}

.p-search-form__inner {
    display: flex;
    align-items: center;
    border: 1px solid #CACCCE;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    padding: 0 15px;
}

.p-search-form__submit {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 15px;
}


.p-search-form__input {
    flex: 1;
    border: none;
    padding: 19px 10px;
    font-size: 16px;
    outline: none;
    color: #000;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent; /* 背景を透明にして親要素の白を活かす */
    border-radius: 0; /* 勝手な角丸をリセット */

}

/* プレースホルダーの色 */
.p-search-form__input::placeholder {
    color: #A0A0A0;
    line-height: 1.8;
    font-size:14px;
}

.p-search-form__submit {
    background: none;
    
    /* ▼ 修正：一旦すべての枠線をリセットした上で、右の区切り線だけ復活させる */
    border: none; 
    border-right: 1px solid #CACCCE; 
    margin-right: 5px;

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 15px;
    
    /* ▼ 追加：iOSリセットと潰れ防止 */
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    padding-left: 0;
}
.p-search-form__submit img {
    width: 24px; /* ※元の虫眼鏡アイコンのサイズに合わせて微調整してください */
    height: auto;
    display: block;
}
.p-pagination {
  /* max-width: 266px; ←ボタンが入り切らなくなるため削除します！ */
  width: 100%;
  margin: 0 auto 60px;
}

/* WordPressが自動出力する「投稿ナビゲーション」という見出しを隠す */
.p-pagination .screen-reader-text {
  display: none;
}

.nav-links {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 20px;
}

/* 数字の基本スタイル */
.page-numbers {
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.page-numbers:not(.current):not(.next):not(.prev):hover {
  opacity: 0.6;
}

/* 現在のページ（赤文字 ＋ 赤アンダーライン） */
.page-numbers.current {
  color: #F30F1D;
  position: relative;
}
/* .page-numbers.current::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #F30F1D;
} */

/* 次へ・前へボタン（赤丸＋白矢印） */
.page-numbers.next,
.page-numbers.prev {
  background-color: #F30F1D;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.page-numbers.next .material-icons,
.page-numbers.prev .material-icons{
  font-size:18px;
}
.page-numbers.next:hover,
.page-numbers.prev:hover {
  opacity: 0.8;
  color: #fff;
}
.p-column-tags{
border-top:1px solid #CACCCE;
  padding-top:50px;
  margin-top:50px;
  text-align: center;
}
.p-column-tags__list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:5px;
}
.p-column-tags__list li a{
  font-size: 14px;
  line-height: 1.8;
  border:1px solid #CACCCE;
  background-color: #fff;
  border-radius: 15px;
  padding: 0px 15px;
}
.p-column-tags__title{
  margin-bottom: 30px;
  font-size: 18px;
}
.p-column-card__cat{
  font-size: 12px;
  color:#fff;
  padding:0px 10px;
  height: 24px;
    line-height: 24px;
  border-radius: 4px;
}
.cat-slug-mfp{
  background-color: #FF5958;
}
.cat-slug-others{
  background-color: #707684;
}
.cat-slug-network{
  background-color: #0BB9A4;
}
.cat-slug-security{
  background-color: #A562D1;
}
.cat-slug-pc{
  background-color: #0095EE;
}
.p-column-card__excerpt{
    color: #707684;
    font-size:12px;
    line-height: 18px;
    /* 2行で制限する魔法のコード */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* ここを表示したい行数に変えられます */
    overflow: hidden;
}
/****************************
コラム詳細ページ
****************************/
.p-single__wrap {
    max-width: 956px;
    width: 100%;
    margin: 56px auto 0px;
    padding: 0px 16px;
}
.p-entry__meta {
    display: flex;
    justify-content: space-between;
}
.p-entry__title {
    padding-bottom: 40px;
    padding-top: 30px;
    margin-top: 16px;
    font-size: var(--font-size-xxl-l-fluid);
    border-top: 1px solid rgb(202, 204, 206);
    font-weight: 900;
}
.p-entry__thumbnail {
    margin-bottom: 40px;
}
.p-author-box {
    background-color: rgb(245, 245, 245);
    margin-bottom: 40px;
    padding: 32px 0px;
}
.p-author-box__inner {
    max-width: 892px;
    padding: 0px 16px;
    margin: 0px auto;
}
@media screen and (min-width: 560px) {
    .p-author-box__img {
        max-width: 9.5%;
        flex: 0 0 9.5%;
    }
}
@media screen and (min-width: 560px) {
    .p-author-box__content {
        max-width: 88%;
        flex: 0 0 88%;
    }
}
.p-single__wrap p {
    line-height: 35px;
    margin-bottom: 30px;
    font-size: 18px;
}
.p-author-box__name {
    font-weight: 800;
    margin-bottom: 0px !important;
}
.p-author-box__label {
    background-color: rgb(112, 118, 132);
    color: rgb(255, 255, 255);
    font-size: 12px;
    margin-right: 15px;
    font-weight: 500;
    padding: 4px 7px;
}
.p-author-box__text {
    margin-top: 9px;
    font-size: 14px !important;
    line-height: 1.8!important;
    margin-bottom: 13px !important;
}
.p-author-box__link {
    color: rgb(0, 149, 238);
    display: inline-block;
    text-decoration: underline;
}
#toc_container {
    width: 100% !important;
    background: rgb(255, 255, 255);
    border-radius: 17px;
    padding: 32px;
    margin: 40px auto 88px;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(224, 224, 224) !important;
    border-image: initial !important;
}
#toc_container .toc_title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: rgb(4, 114, 180);
    margin-bottom: 20px;
    display: block;
}
@media screen and (min-width: 560px) {
    #toc_container ul.toc_list {
        padding: 0px 40px;
    }
}
#toc_container ul.toc_list {
    padding: 0px 20px;
}
#toc_container ul.toc_list li {
    font-size: 1rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    text-align: left;
}
#toc_container ul.toc_list li::before {
    content: "●";
    color: rgb(112, 118, 132);
    position: absolute;
    left: 0px;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}
#toc_container ul.toc_list li a {
    transition: 0.3s;
}
#toc_container ul.toc_list li a:hover{
  text-decoration: underline;
}
/* POINT枠（赤）のデザイン */
.wp-block-group.is-style-point-box {
    position: relative;
    border: 2px solid #FFB2B2 !important; /* 赤枠 */
    background: #ffffff !important;
    padding: 25px 25px 25px 85px !important; /* アイコンの分の余白を左に空ける */
    border-radius: 8px !important;
    margin-bottom: 2em !important;
}

/* POINTの丸いアイコン（擬似要素で自動生成） */
.wp-block-group.is-style-point-box::before {
    content: "POINT";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #FFDADA;
    color: #ff5555;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 0;
}

/* CHECK枠（青）のデザイン */
.wp-block-group.is-style-check-box {
    position: relative;
    border: 2px solid #5BC8F9 !important; /* 青枠 */
    background: #ffffff !important;
    padding: 25px 25px 25px 85px !important;
    border-radius: 4px !important;
    margin-bottom: 2em !important;
}

/* CHECKの丸いアイコン（擬似要素で自動生成） */
.wp-block-group.is-style-check-box::before {
    content: "CHECK";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #BCEEFA;
    color: #0075C2;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 0;
}
.p-entry__body h2 {
    position: relative;
    font-size: var(--font-size-xxl-l-fluid);
    padding-bottom: 14px;
    margin: 80px 0px 40px;
    border-bottom: 2px solid rgb(202, 204, 206);
}
.p-entry__body h2::before{
  content:'';
  position: absolute;
  left:0px;
  width: 182px;
  height: 2px;
bottom: -2px;
  background: #0472B4;
}
.p-entry__body h3 {
    font-size: var(--font-size-xxl-fluid);
    border-left: 4px solid rgb(4, 114, 180);
    padding: 5px 15px;
    margin: 62px 0px 30px;
}

/* --- タグ一覧 --- */
.p-entry__tags {
  margin-bottom: 24px;
}

.p-entry__tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* ===================================================
   過去記事の「Cocoon吹き出し」完全復活CSS
   =================================================== */

/* 吹き出し全体の枠組み（横並びにする） */
.speech-wrap {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 2em !important;
    gap: 20px !important; /* アイコンと吹き出しの隙間 */
}

/* 左側の人物エリア */
.speech-person {
    width: 80px !important; /* アイコンのサイズ */
    flex-shrink: 0 !important;
    text-align: center !important;
}

/* 丸いアイコン画像 */
.speech-icon-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 50% !important; /* 画像を綺麗な丸にする */
    object-fit: cover !important;
    border: none !important;
}

/* 人物の名前（今回は未入力のようですが念のため） */
.speech-name {
    font-size: 12px !important;
    color: #666666 !important;
    margin-top: 5px !important;
}

/* 右側の吹き出し本体 */
.speech-balloon {
    position: relative !important;
    background-color: #ffeeee !important; /* 見本に合わせた薄いピンク */
    padding: 15px 20px !important;
    border-radius: 8px !important;
    color: #333333 !important;
    width: 100% !important;
}

/* 吹き出しの「しっぽ」部分（左向きの三角） */
.speech-balloon::before {
    content: "" !important;
    position: absolute !important;
    top: 25px !important; /* 上からの位置 */
    left: -12px !important; /* 外側に突き出させる */
    border-style: solid !important;
    border-width: 10px 15px 10px 0 !important; /* 右向きに三角を作る */
    border-color: transparent #ffeeee transparent transparent !important; /* しっぽの色をピンクに */
}

/* 吹き出し内の段落の余白をリセット */
.speech-balloon p {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
/* =========================================
   記事詳細：フッターメタ（SNS・タグ・注意書き）
   ========================================= */
.p-entry__footer-meta {
  margin: 40px 0 30px;
}

/* --- SNSシェアボタン --- */
.p-share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  list-style: none;
    margin-bottom: 24px;
    border-bottom: 1px solid #CACCCE;
    padding-bottom: 24px;
}

.p-share-item a,
.p-share-item button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* アイコンのサイズ */
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-share-item a:hover,
.p-share-item button:hover {
  opacity: 0.6;
}

.p-share-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- タグ一覧 --- */
.p-entry__tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* WordPressのthe_tags()は自動でaタグを出力するため、aタグにスタイルを当てます */
.p-entry__tags a {
  display: inline-block;
  padding: 0px 10px;
  border: 1px solid #CACCCE;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  background-color: #fff;
  transition: all 0.3s ease;
}

.p-entry__tags a:hover {
  background-color: #f7f7f7;
  border-color: #aaa;
}

/* =========================================
   記事詳細：関連記事セクション
   ========================================= */
.p-related {
  margin-bottom: 60px;
}

/* タイトル（下線の左側だけ青くする装飾） */
.p-related__title {
position: relative;
    font-size: var(--font-size-xxl-l-fluid);
    padding-bottom: 14px;
    margin: 0px 0px 40px;
    border-bottom: 2px solid rgb(202, 204, 206);
}

.p-related__title::after {
content: '';
    position: absolute;
    left: 0px;
    width: 182px;
    height: 2px;
    bottom: -2px;
    background: #0472B4;
}

/* 記事リスト */
.p-related__list {
  display: flex;
  flex-direction: column;
  gap: 16px; /* カード同士の隙間 */
}

/* 記事カード */
.p-related__item {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid #ddd;
  text-decoration: none;
  background-color: #fff;
  transition: .3s;
}

.p-related__item:hover {
  background-color: #F5F5F5;
}

/* サムネイル画像 */
.p-related__img {
  width: 180px; /* PC時の画像サイズ */
  flex-shrink: 0;
}

.p-related__img img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #eee; /* 画像枠が白っぽい場合の境界線 */
}

/* テキストエリア */
.p-related__info {
  padding-left: 20px;
  flex: 1;
}

.p-related__info time {
  font-size: 13px;
  color: #888;
}

.p-related__text {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 8px;
  line-height: 1.5;
}


/* =========================================
   記事詳細：下部バナー
   ========================================= */
.p-entry__banner {
  margin-bottom: 60px;
  text-align: center;
}

.p-entry__banner a {
  display: inline-block;
  transition: .3s;
}

.p-entry__banner a:hover {
  transform: scale(.95);
}

.p-entry__banner img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* =========================================
   スマホ表示の微調整
   ========================================= */
@media screen and (max-width: 767px) {
  .p-related__item {
    padding: 12px;
  }
  
  .p-related__img {
    width: 110px; /* スマホ時は画像を少し小さく */
  }
  
  .p-related__info {
    padding-left: 16px;
  }
  
  .p-related__text {
    font-size: 14px; /* スマホ時は文字を少し小さく */
  line-height: 1.8;
}
}
/* =========================================
   記事詳細ページ：お問い合わせフォーム（縦積み完全再現版）
   ※既存テーマのCSSを「!important」で強制リセットして見本通りにします
   ========================================= */

/* フォーム全体を囲む枠 */
.p-form-stacked-container {
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  padding: 40px !important;
  background-color: #fff !important;
  margin: 0 auto 60px !important;
  max-width: 100% !important; 
}

/* フォームタイトル */
.p-entry__form-title {
  font-size: 24px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin-bottom: 40px !important;
  color: #111 !important;
  border: none !important;
}

/* ▼ テーブル構造を強制的に縦積みにする */
.p-form-stacked-container .CF7_table,
.p-form-stacked-container .CF7_table tbody,
.p-form-stacked-container .CF7_table tr,
.p-form-stacked-container .CF7_table th,
.p-form-stacked-container .CF7_table td {
  display: block !important;
  width: 100% !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 20px;
}

/* 各項目の間隔（行と行の間） */
.p-form-stacked-container .p-contact__block {
  margin-bottom: 30px !important;
}

/* ▼ 見出し（会社名・お名前など）と「必須」の並びを強制修正 */
.p-form-stacked-container .p-contact__block th {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* 右端に飛ぶのを防止 */
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #111 !important;
}

/* ▼ 必須バッジ（「必」と切れるのを防ぎ、赤い長方形に戻す） */
.p-form-stacked-container .c-form__required {
  display: inline-block !important;
  background-color: #E60012 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: bold !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  margin-left: 10px !important;
  width: auto !important;      /* 固定幅を解除 */
  min-width: 0 !important;     /* 最小幅を解除 */
  height: auto !important;     /* 固定高さを解除 */
  line-height: 1.2 !important;
  white-space: nowrap !important; /* 文字の折り返し禁止 */
  position: static !important;
  transform: none !important;
}

/* 補足テキスト（ハイフンなし等） */
.p-form-stacked-container .p-contact__kana {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #111 !important;
}

/* td内の補足テキスト（ご相談内容の複数選択可など） */
.p-form-stacked-container .p-contact__address {
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #111 !important;
  margin-bottom: 12px !important;
}

.p-form-stacked-container textarea {
  height: 150px !important;
  resize: vertical !important;
}

/* チェックボックス・ラジオボタンの並び */
.p-form-stacked-container .wpcf7-list-item {
  display: inline-block !important;
  margin-right: 20px !important;
  margin-bottom: 10px !important;
}

.p-form-stacked-container .wpcf7-list-item-label {
  font-size: 15px !important;
  color: #333 !important;
}

/* --- 個人情報の取り扱いエリア --- */
.p-form-stacked-container .p-contact__personal {
  margin-top: 50px !important;
}

.p-form-stacked-container .p-contact__information {
  font-size: 18px !important;
  font-weight: bold !important;
  margin-bottom: 15px !important;
  color: #111 !important;
}

.p-form-stacked-container .p-caption__body {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.8!important;
}

.p-form-stacked-container .p-caption__body a {
  color: #0095EE !important;
  text-decoration: underline !important;
}

/* --- 送信ボタン --- */
.p-form-stacked-container .c-form__submit {
  text-align: center !important;
  margin-top: 40px !important;
}

.p-form-stacked-container .wpcf7-submit {
  background-color: #0095EE !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: bold !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 20px 60px !important;
  width: 100% !important;
  max-width: 400px !important;
  cursor: pointer !important;
  transition: opacity 0.3s !important;
}

.p-form-stacked-container .wpcf7-submit:hover {
  opacity: 0.8 !important;
}

/* =========================================
   スマホ対応
   ========================================= */
@media screen and (max-width: 767px) {
  .p-form-stacked-container {
    padding: 30px 20px !important;
  }
  .p-form-stacked-container .p-contact__block {
    margin-bottom: 24px !important;
  }
  .p-form-stacked-container .wpcf7-submit {
    padding: 16px 40px !important;
    font-size: 16px !important;
  }
}

/****************************
製品詳細ページ
****************************/
.p-product__head-inner{
  border-bottom: 2px solid #CACCCE;
  margin-bottom:40px;
  padding-bottom: 20px;
  gap:16px;
  margin-top: 60px;
}
@media screen and (min-width: 560px) {
  .p-product__head-inner{
  display: flex;
  align-items: center;
  }
}
.p-product__logo{
  text-align: center;
      max-width: 200px;
    margin: 0 auto 20px;
}
@media screen and (min-width: 560px) {
.p-product__logo{
  margin:0px;
  flex: 0 0 15.8%;
  max-width:15.8%;
}
}

.p-product__logo img{
  text-align: center;
  margin:0 auto;
}
@media screen and (min-width: 560px) {
  .p-product__logo img{
  max-width: 116px;
}
}
.p-product-header-new__title-group{
  font-weight: 800;
  border-left:3px solid #F30F1D;
  font-size: var(--font-size-xxxl-fluid);
  padding-left: 16px;
}
.p-product-header-new__title-group h1{
  font-weight: 800;
}
.p-product-header-new__category{
  font-size:16px;
}
@media screen and (min-width: 560px) {
.p-product-hero__media{
  flex:0 0 28%;
  max-width: 28%;
}
.p-product-hero__body{
  flex:0 0 68%;
  max-width: 68%;
}
}
.p-product-hero__media .c-card__meta{
  margin: 12px 0 6px;
}
.u-bg__gray-wrap{
  background-color: #F5F5F5;
    overflow: hidden;
    display: block;
    height: 271px;
}
.u-bg__gray-wrap img{
      width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.p-product-hero__catch{
  font-size: var(--font-size-xl-fluid);
  margin-bottom: 10px;
  margin-top:25px;
}
.p-product-hero__text{
  margin-bottom: 25px;
}
.p-product-cta__guide{
  font-size: 16px;
      padding: 12px 16px;
  background-color: #EBF9FF;
}
.p-product-cta__guide .u-text__bold{
  font-weight: 800;
}
.p-product-cta__contact{
  margin-top: 32px;
  border:2px solid #F30F1D;
  text-align: center;
  padding:21px 10px;
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 60px;
}
.p-product-cta__contact a{
  color: #0095EE;
  text-decoration: underline;
  display: inline-block;
}
.u-product__kyocera{
  margin-bottom: 40px;
}
.single-mfp .p-maker__feature-headline span{
  color:#F30F1D;
  display: inline-block;
}
.c-section-title{
  background-color: #F5F5F5;
  text-align: center;
  font-size: var(--font-size-xxl-l-fluid);
  padding:16px 14px;
  margin-bottom: 40px;
}
.p-kyocera-promo{
  padding-bottom:20px;
  padding-top: 0px;
}
/* テーブル全体のコンテナ（必要に応じて余白調整） */
.p-spec-table-container {
    width: 100%;
    margin-bottom: 30px;
}

/* スペックテーブル本体 */
.c-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.8;
    border: 1px solid #CACCCE;
    table-layout: fixed;
}

/* 共通のセル設定 */
.c-spec-table th,
.c-spec-table td {
    border: 1px solid #CACCCE;
    padding: 12px 20px;
    vertical-align: middle;
    line-height: 1.6;
}
.c-spec-table td a{
  display: inline-block;
  color:#0095EE;
  text-decoration: underline;
}
.c-spec-table th {
    background-color:#BBEDFF;
    width: 32%;
    font-weight: bold;
    text-align: center;
}

/* 白い内容列（可変・70%） */
.c-spec-table td {
    background-color: #fff;
    width: 68%;
    text-align: left;
}

/* 「新しいブロック」の時の隙間用 */
.u-mt-spacer {
    margin-top: 10px;
}
.p-kyocera-promo__banner a:hover{
  transform: scale(.95);
}
/* モバイル対応：画面が狭い時は比率を変える */
@media screen and (max-width: 768px) {
    .c-spec-table th {
        width: 35%;
        padding: 10px;
        font-size: 13px;
    }
    .c-spec-table td {
        width: 65%;
        padding: 10px;
        font-size: 13px;
    }
}

.p-related-models{
  padding-top:0px;
}
.p-kyocera-promo__banner{
  padding-bottom: 64px;
}
.p-product-function{
  padding-bottom: 24px;
}
.p-product-wrap,
.p-product-function .p-caption__body{
max-width: 696px;
    margin-left: auto;
    margin-right: auto;
}
.p-feature-icon-list{
  display: flex;
  text-align: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}
@media screen and (max-width: 559px) {
.p-feature-icon-list::after{
  content:'';
  display: block;
  width:50%;
}

}
.p-feature-icon-item{
  margin-bottom: 14px;
  flex: 0 0 25%;
    max-width: 25%;
}
@media screen and (min-width: 560px) {
.p-feature-icon-item{
      flex: 0 0 12.65%;
    max-width: 12.65%;
    margin-bottom: 24px;
}
}
.p-feature-icon-item.is-disabled {
    opacity: 0.25;
}
.p-feature-icon-label {
    font-size: 12px;
    line-height: 1.4;
}
.p-mfp__single{
  background-color: #EBF9FF;
  padding:40px 0px;
  border-radius: 16px;
  margin-bottom: 85px;
}
.p-mfp__single-wrap{
  max-width: 858px;
  padding:0px 15px;
  width: 100%;
  margin:0 auto;
  font-size:18px;
}

.p-mfp__single ul{
  margin-bottom:25px;
}
.p-mfp__single ul li{
  font-size: 18px;
  font-weight: bold;
}
.p-mfp__cta-block ul{
  list-style-type: disc;
}
.p-mfp__cta-block ul li{
  margin: 0;
    list-style-position: inside;
    margin-left: .9em;
    text-indent: -.9em;
    line-height: 2;
}
.p-mfp__cta-block p{
  margin-bottom: 0px;
  font-size: 16px;
  line-height: 28.8px;
}
.p-mfp__cta-block{
  margin-bottom: 20px;
}

@media screen and (min-width: 560px) {
.p-mfp__cta-block{
  margin-bottom: 0px;
  flex:0 0 70.5%;
  max-width: 70.5%;
}
.p-mfp__cta-image{
  flex:0 0 25%;
  max-width: 25%;
}
}
.p-mfp__headline {
    font-weight: 800;
    font-size: var(--font-size-xxl-l-fluid) !important;
}
@media screen and (min-width: 560px) {
    .wp-block-list {
        padding: 30px 50px;
    }
}
.wp-block-list {
    background-color: rgb(245, 245, 245);
    margin-bottom: 40px;
    font-size: 18px;
    list-style-type: disc;
    padding: 20px;
}
.wp-block-list li {
    list-style-position: inside;
    text-indent: -0.9em;
    line-height: 2;
    margin: 0px 0px 0px 0.9em;
}

/****************************
導入事例
****************************/
body.post-type-archive-cases{
    background-color: #F5F5F5;
}
.post-type-archive-cases .l-header__items{
  background-color: #fff;
}
/* タイトル周り */
.p-center-header {
    text-align: center;
    padding:74px 0px 51px;
}
@media screen and (min-width: 560px) {
  .p-center-header {
    padding:90px 0px 130px;
  }
}
.p-case-title {
    font-size: var(--font-size-xxxxl-fluid);
    font-weight: 800;
}
.p-case-item {
    background: #fff;
    margin-bottom: 24px;
}
.p-case__wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1032px;
  width: 100%;
  margin:0 auto;
  padding:40px 16px;
}
.p-case-list{
  margin-bottom: 66px;
}
.p-case-item__left {
  margin:0 auto;
}
@media (min-width: 560px) {
  .p-case-item__left {
    margin:0px;
    flex:0 0 16%;
    max-width: 16%;
  }
  .swiper .p-case-item__left{
    flex:0 0 36%;
    max-width: 36%;
  }
}
.p-case-icon{
  text-align: center;
}
@media (min-width: 560px) {
  .p-case-icon{
  text-align: left;
}
}
.p-case-icon img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 24px;
}
.p-case-tags {
    margin-bottom: 15px;
}

/* 各タグのデザイン */
.p-case-tag {
    display: inline-block;
    background: #E7E8E8;
    font-size: 12px;
    padding: 6px 15px;
    border-radius: 4px;
    line-height: 1;
}
.p-case-tag:nth-child(n+2){
  margin-top:8px;
}
.p-case-meta {
    font-size: 10px;
    text-align: left;
    width: 100%;
}
.p-case-meta__row {
    display: flex;
    margin-bottom: 10px;
}
.p-case-meta dt {
    width: 4em;
    color: #707684;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1;
}
.p-case-meta dd {
margin: 0;
    line-height: 1;
}

/* ===================================================
   スマホ時（559px以下）かつアーカイブページのみのレイアウト
   =================================================== */
@media screen and (max-width: 559px) {
    body.archive .p-case-item__left {
        display: grid;
        grid-template-columns: 90px 1fr; /* 左カラム90px、右カラム残りすべて */
        column-gap: 20px; /* アイコンとテキストの隙間（見本に合わせて調整） */
        align-items: start; /* 上揃え */
        margin:0px 0px 20px;
    }

    /* ▼ 左カラム：アイコンを縦2行分またがらせる */
    body.archive .p-case-item__left .p-case-icon {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        margin: 0;
        text-align: left;
    }

    /* 既存のアイコン下の余白をリセット */
    body.archive .p-case-item__left .p-case-icon img {
        margin-bottom: 0;
    }

    /* ▼ 右カラム（上段）：タグ */
    body.archive .p-case-item__left .p-case-tags {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-bottom: 12px; /* タグとメタ情報の隙間 */
    }

    /* ▼ 右カラム（下段）：メタ情報（業種・エリア） */
    body.archive .p-case-item__left .p-case-meta {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

@media (min-width: 560px) {
.p-case-item__right {
  flex:0 0 80%;
  max-width: 80%;
  display: flex;
  justify-content: space-between;
}
.swiper .p-case-item__right {
  max-width: 64%;
  flex:0 0 64%;
}
}
.p-case-section--request{
  margin-bottom: 30px;
}
@media (min-width: 560px) {
  .p-case-section--request{
    margin-bottom: 0px;
  }
.p-case-section {
    flex:0 0 48.5%;
    max-width: 48.5%;
}
.swiper .p-case-section {
    flex:0 0 100%;
    max-width: 100%;
}
}
/* バッジ共通 */
.p-case-badge {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 11px;
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1;
}

/* ピンクバッジ（ご要望） */
.p-case-badge--pink {
    background: #FFCFCF; /* 指定色 */
    color: #F30F1D;      /* 文字色は赤に合わせる */
}

/* 水色バッジ（ご提案内容） */
.p-case-badge--blue {
    background: #BBEDFF; /* 指定色 */
    color: #0472B4;
}

/* 見出し共通 */
.p-case-headline {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 24px;
}

/* 見出しカラーバリエーション */
.p-case-headline--red {
    color: #F30F1D; /* 指定色赤 */
}
.p-case-headline--blue {
    color: #0095EE; /* 指定色青 */
}

/* 本文 */
.p-case-desc {
    font-size: 14px; /* 指定サイズ */
    line-height: 1.8;
}

/****************************
特定商取引法と会社概要
****************************/
.page-id-6027 .p-center-header,
.page-id-6077 .p-center-header{
  padding:90px 0px 60px;
}
.p-transaction-table {
    width: 100%;
    border-collapse: collapse; /* ボーダーを重ねて1本にする */
    border: 1px solid #CACCCE; /* 指定の枠線色 */
    font-size: 14px; /* 指定フォントサイズ */
    line-height: 1.8;
}
.p-transaction-wrap{
  margin-bottom: 100px;
}
/* 左カラム（項目名） */
.p-transaction-table th {
    background-color: #BBEDFF; /* 指定の水色 */
    border: 1px solid #CACCCE;
    padding: 20px;
    width: 30%; /* 可変幅（PC時は30%程度確保） */
    min-width: 200px; /* 狭くなりすぎないように最小幅を指定 */
    font-weight: bold;
    text-align: center; /* 中央揃え */
    vertical-align: middle; /* 上下中央 */
}

/* 右カラム（内容） */
.p-transaction-table td {
    background-color: #fff;
    border: 1px solid #CACCCE;
    padding: 20px;
    vertical-align: middle; /* 上下中央 */
    line-height: 1.8;
}

/* 右カラム内のリンク色調整 */
.p-transaction-table td a {
    color: #0095EE; /* サイトのメインカラー等の青色 */
    text-decoration: underline;
}

/* スマホ対応（レスポンシブ） */
@media (max-width: 559px) {
    .p-transaction-table,
    .p-transaction-table tbody,
    .p-transaction-table tr,
    .p-transaction-table th,
    .p-transaction-table td {
        display: block; /* ブロック要素にして縦積みに */
        width: 100%;
    }
    .p-transaction-table th,
    .p-transaction-table td {
      border:none;
    }

    .p-transaction-table th {
        text-align: center;
        border-bottom: none; /* 上下の境界線を一本にするため */
        padding:12px 20px;
    }

    .p-transaction-table td {
        border-top: none;
        padding-top: 10px;
    }
}
/****************************
お問い合わせ
****************************/
.page-template-page-contact .p-center-header{
  padding: 90px 0px 80px;
}
.l-container--narrow{
  margin:0 auto;
}
.p-contact__body{
  margin-bottom: 60px;
}
.p-contact__tel{
  display: flex;
  gap:10px;
}
.p-contact__headline{
  font-weight: bold;
  margin-bottom: 20px;
}
.p-contact__tel-link{
  font-size:42px;
  font-weight: bold
}
.p-contact__tel__time{
  font-size:14px;
  line-height: 1.8;
}
.page-template-page-contact{
  background-color: #f5f5f5;
}
.p-contact__right{
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  margin-bottom: 96px;
}
.p-contact__left{
  margin-bottom: 70px;
}
@media (min-width: 560px) {
.p-contact__left{
  margin-bottom: 0px;
  flex:0 0 33.24%;
  max-width: 33.24%;
}
.p-contact__right{
  flex:0 0 62.45%;
  max-width: 62.45%;
}
}
.p-contact-bubble{
  background-color: #2FBEFC;
  color:#fff;
  border-radius: 18px;
  position: absolute;
  top: -17px;
  left: 50%;
    transform: translateX(-50%);
  color:#fff;
  font-size: 14px;
  font-weight: bold;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin:0 auto;
  display: inline-block;
}
@media (min-width: 560px) {
  .p-contact-bubble{
    max-width: 172px;
    width: 100%;
  }
}
.p-contact-bubble::after {
  content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 10px solid #4DBFFF;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.p-contact__wrap{
  padding:32px 0px;
}
.p-contact-form{
  max-width: 633px;
  width: 100%;
  margin:0 auto;
  padding:0px 20px;
}
@media (min-width: 560px) {
  .p-contact-form{
    padding:0px 16px;
  }
}
/* テーブル構造 */
.CF7_table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.CF7_table th,
.CF7_table td {
    padding: 16px 0px;
    border-bottom: 1px solid #CACCCE;
    text-align: left;
    position: relative;
}
/* 最後の行の下線は消す */
/* .CF7_table tr:last-child th,
.CF7_table tr:last-child td {
    border-bottom: none;
} */

/* 左カラム（項目名） */
.CF7_table th {
    width: 25%; /* 幅を指定 */
    font-weight: 800;
    vertical-align: middle;
    line-height: 24px;
}

/* 右カラム（入力欄） */
.CF7_table td {
    width: 59%;
    vertical-align: middle;
    padding-right: 0;
}

/* 必須・任意ラベル */
.c-form__required {
  text-align: center;
    display: inline-block;
    background: #F30F1D;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width:35px;
    height: 19px;
    line-height: 18px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
    position: absolute;
    right: 15px;
    transform: translateY(-50%);
    top: 50%;
}
.c-form__required.u-form__any {
    background: #B0B0B0; /* グレー */
}

/* 注釈テキスト（（複数選択可）など） */
.p-contact__address,
.u-text-note {
    display: block;
    font-size: 14px;
    line-height: 1.8;
    font-weight: normal;
}
/* テキスト、電話、メール、テキストエリア、セレクトボックス共通 */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #CACCCE;
    border-radius: 4px;
    background: #F5F5F5;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
    appearance: none;
}

/* フォーカス時のスタイル */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #4DBFFF;
    background: #fff;
}

/* プレースホルダーの色 */
::placeholder {
    color: #BBB;
}

/* テキストエリアの高さ */
textarea {
    height: 140px;
    resize: vertical;
}

/* セレクトボックスの矢印カスタマイズ（任意） */
select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23BBB' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px; /* 矢印の分スペースを空ける */
}
.p-contact__personal{
  margin-top:30px;
}
.wpcf7-spinner{
  display: block!important;
  margin:10px auto 0px!important;
}
.p-contact__information{
  font-weight: 800;
  font-size: 14px;
  line-height: 1.8;
}
/* チェックボックスのスタイル */
.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 0px 20px;
}
.wpcf7-list-item {
    margin: 0!important;
}
.wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    vertical-align: middle;
    padding-left: 5px;
    line-height: 1.8;
}
.wpcf7-list-item input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}
.p-contact__kana{
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}
.wpcf7-radio{
      display: flex;
    gap: 15px;
}
/* ====================================
   送信ボタン周り
   ==================================== */
/* ボタン上のリード文 */
.c-cta-lead {
    color: #0472B4;
    font-weight: bold;
    font-size: 16px!important;
    margin-bottom: 10px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.c-cta-lead .u-line {
    font-weight: normal;
    margin: 0 8px;
    color: #0095EE;
}

/* ボタンの外枠（中央寄せ用） */
.c-cta-btn-container {
    display: flex;
    justify-content: center;
}

/* ボタン本体（aタグ） */
.c-cta-btn {
    background: #0095EE;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 23px 40px;
    border-radius: 50px;
    text-decoration: none; /* 下線を消す */
    width: 100%;
    max-width: 540px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.1s;
    box-sizing: border-box;
    margin:0px auto;
    border:2px solid #0095EE;
}

/* 右側の白い丸アイコン */
.c-cta-icon {
    position: absolute;
    right: 20px;
    width: 42px;
    height: 42px;
    background: #fff;
    color: transparent;
    overflow: hidden;
    transition: background-color 0.3s;
    border-radius: 50%;
    text-indent: 100%; 
    white-space: nowrap;
        display: flex !important;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0;
    line-height: 0;
}
.c-cta-icon::before,
.c-cta-icon::after {
content: '\e5c8'; 
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    font-weight: bold;
    color: #0095EE;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 0; /* 親のtext-indentをリセットして矢印を表示 */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}

/* 待機用（左枠外） */
.c-cta-icon::before {
    left: -150%;
    transform: translateX(0);
}

/* 表示用（中央） */
.c-cta-icon::after {
left: 0;
    transform: translateX(0);
}
.c-cta-btn:hover{
  background-color: #fff;
  color:#0095EE;
}
.c-cta-btn:hover .c-cta-icon {
  background: #0095EE;
  color:#fff;
}
.c-cta-btn:hover .c-cta-icon::before,
.c-cta-btn:hover .c-cta-icon::after {
    color: #fff;
    transform: translateX(150%);
}
.c-cta-btn:hover .c-cta-icon::after {
  transform: translateX(100%);
}
/* スマホ対応 */
@media (max-width: 559px) {
    .c-cta-btn {
        font-size: 15px;
        padding: 20px 50px 20px 20px; /* アイコン被り防止 */
    }
    .c-cta-icon {
        width: 36px;
        height: 36px;
        right: 15px;
        font-size: 18px;
    }
}

.c-form__submit {
    text-align: center;
margin: 30px auto 30px;
}
.c-form__submit p{
  width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 送信ボタン本体 */
.wpcf7-submit {
    background: #0095EE;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 26px 40px; /* パディングを少し調整 */
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    width: auto;
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    position: relative;
    /* ★以下を追加：アイコンと文字を横並びにして中央寄せ */
    display: flex;
    justify-content: center;
    align-items: center;
        margin-left: auto;
    margin-right: auto;
}
@media (min-width: 560px) {
.wpcf7-submit {
  font-size:18px;
}
}
.c-submit__icon {
  position: absolute;
  right:20px;
  line-height: 42px!important;
  font-size:18px!important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;      /* 背景を白に */
    color: #0095EE;        /* 矢印の色を青（ボタン背景と同じ）に */
        width: 42px;
    height: 42px;
    border-radius: 50%;    /* 完全な丸にする */
    margin-left: 15px;     /* 文字との間隔 */
    font-size: 20px;       /* 矢印のサイズ */
    font-weight: bold;
}

/* ホバー時の挙動（既存のまま） */
.wpcf7-submit:hover {
    background: #0069D9;
}
/* ホバー時に矢印の色も濃くしたい場合（お好みで） */
.wpcf7-submit:hover .c-submit__icon {
    color: #0069D9;
}

/* クリック時 */
.wpcf7-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

/* ====================================
   フォーム下の個人情報保護方針
   ==================================== */

.p-caption__body a {
    color: #0095EE;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    text-decoration: underline;
}
.p-caption__body a span{
  font-size: 12px;
      line-height: 0;
}
/* ====================================
   【重要】エラー時のスタイル (3枚目)
   ==================================== */

.wpcf7-response-output {
    margin: 0 0 30px 0 !important; /* CF7のデフォルト余白を上書き */
    padding: 15px 20px !important;
    border: 2px solid #E60012 !important; /* 赤い太枠 */
    background-color: #FFF5F5 !important; /* 薄い赤背景 */
    color: #E60012 !important; /* 赤文字 */
    font-weight: bold;
    font-size: 14px;
    border-radius: 6px;
    line-height: 1.8;
    text-align: left; /* 左寄せ */
}
/* 成功時の緑色なども一応定義（必要なら） */
.wpcf7-mail-sent-ok {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
    color: #155724 !important;
}

/* 2. エラーがある入力欄のスタイル（修正版） */

/* テキスト入力、電話、メール、テキストエリア、セレクトボックスのみ対象にする */
input.wpcf7-not-valid[type="text"],
input.wpcf7-not-valid[type="tel"],
input.wpcf7-not-valid[type="email"],
textarea.wpcf7-not-valid,
select.wpcf7-not-valid {
    border-color: #E60012 !important; /* 枠線を赤に */
    background-color: #FFF5F5 !important; /* 背景を薄い赤に */
}

/* チェックボックス・ラジオボタンのエラー時は、背景色を変えずに枠線や文字色などで調整（必要なければ空でもOK） */
.wpcf7-checkbox.wpcf7-not-valid,
.wpcf7-radio.wpcf7-not-valid {
    background-color: transparent !important; /* 背景色は透明のまま */
    border: none !important; /* 枠線も不要なら消す */
    padding: 0 !important;
}

/* 3. 個別のエラーメッセージ（変更なし） */
.wpcf7-not-valid-tip {
    color: #F30F1D;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 5px;
    display: block;
    font-weight: bold; /* 少し目立たせる */
}

/* エラー時の電話番号注釈との位置関係調整 */
.wpcf7-not-valid-tip + .u-text-note {
    margin-top: 10px;
}

/* ====================================
   スマホ対応（レスポンシブ）
   ==================================== */
@media (max-width: 559px) {
    .p-contact-body {
        padding: 50px 20px 30px; /* 横のパディングを狭く */
        margin-top: 25px;
    }
    .p-contact-bubble {
        font-size: 14px;
        padding: 0px 15px;
        top: -17px;
        
    }
    .p-contact-header h1 {
        font-size: 22px;
    }
    .p-contact__lead {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .CF7_table,
    .CF7_table tbody,
    .CF7_table tr,
    .CF7_table th,
    .CF7_table td {
        display: block;
        width: 100%;
    }
    .CF7_table tr {
        margin-bottom: 15px;
        border-bottom: 1px solid #EAEAEA;
    }
    .CF7_table th {
        width: 100%;
                padding: 0px 0 10px;
        border-bottom: none;
        font-size:13px;
    }
    .CF7_table td {
        width: 100%;
        padding: 0 0 10px;
        border-bottom: none;
    }
    .CF7_table tr:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    .wpcf7-checkbox {
        gap: 10px;
    }
    .wpcf7-list-item {
        width: 100%;
    }
    .chance .wpcf7-list-item {
        width: auto;
        margin-right: 15px;
    }
    .wpcf7-submit {
        width: 100%;
        min-width: 0;
    }
}

/****************************
thanks
****************************/
.contact-thanks{
    border:1px solid #A0A0A0;
    border-radius:10px;
    padding:5rem 15px;
    margin-bottom: 10rem;
    margin-top: 10rem;
    margin-left: 16px;
    margin-right: 16px;
    max-width: 1056px;
    margin-top: 1rem;
}
@media screen and (min-width: 560px) {
    .contact-thanks{
        padding:9rem 15px;
        margin-bottom: 28rem;
        margin-left: auto;
        margin-right: auto;
    }
}
.p-contact__thanks-inner{
    text-align: center;
    margin:0 auto;
}
.p-thanks__headline{
    font-weight: bold;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
@media screen and (min-width: 560px) {
    .p-thanks__headline{
        font-size: var(--font-size-xxxl-fluid);
    }
}
.p-thanks__tel-inner{
    margin-top: 2.5rem;
}
.p-thanks__tel-inner a{
    font-weight: bold;
    line-height: 1.75;
    font-family: "azo-sans-web", sans-serif;
font-weight: 500;
font-style: normal;
}
.p-thanks__tel{
    font-size: var(--font-size-xxxl-fluid);
}
.p-thanks__tel .material-icons{
    color:#2D2D2D;
    margin-right: 3px;
    font-size:38px;
    vertical-align: middle;
}
.contents-image {
    text-align: center;
}
/************************************
** 404
************************************/
.p-404__wrap{
  margin-top: 56px;
  max-width: 600px;
  margin-bottom: 100px;
}
.p-404__image{
  max-width: 430px;
  margin:0 auto;
}
.p-404__title{
  font-size:100px;
  text-align: center;
  line-height: 1.2;
}
@media screen and (min-width: 960px) {
  .p-404__title{
  font-size:156px;
}
}
@media screen and (min-width: 960px) {
  .p-404__title{
  font-size:196px;
}
}
.p-404__subtitle{
  text-align: center;
  font-size:16px;
  margin-bottom: 15px;
}
@media screen and (min-width: 560px) {
  .p-404__subtitle{
    font-size:20px;
  }
}
.p-404__body{
  text-align: left;
  margin-bottom: 30px;
}
@media screen and (min-width: 560px) {
  .p-404__body{
  text-align: center;
}
}