@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

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



/* =================================================================
* 1. Cocoonのレイアウト干渉を無効化（最優先）
* =================================================================*/
/* グレーの背景や枠線をリセット */
body { background-color: #fff !important; }
.main, .sidebar { border: none !important; box-shadow: none !important; background-color: transparent !important; }
#content-in { background-color: transparent !important; border: none !important; }

/* 2カラムレイアウトの幅を元サイト(1000px)に固定 */
@media screen and (min-width: 1001px) {
    #content-in {
        display: flex !important;
        justify-content: space-between !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    #main { width: 710px !important; margin: 0 !important; }
    #sidebar { width: 250px !important; margin: 0 !important; }
}


/*
Theme Name: 鍵ドットコム
*/

/* ----------------------------------------------------------------------------------------------------
*  基本情報
* --------------------------------------------------------------------------------------------------*/
html, body {
  height: 100%;
}
html {
  font-size: 62.5%;
}
body, h1, h2, h3, h4, h5, h6, p, address, ul, ol, li, dl, dt, dd, table, th, td, img, form, input, figure {
  margin: 0;
  padding: 0;
  border: none;
  line-height: 100%;
  list-style-type: none;
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  text-align: left;
  color: #222222;
  letter-spacing: 1px;
  -webkit-text-size-adjust: 100%;
  text-align: justify;
  hanging-punctuation: allow-end;
}
a {
  text-decoration: none;
  color: #222222;
}
a:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
div, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, ul, li, form, input, textarea, button, table, tr, th, td, article, aside, footer, header, hgroup, nav, section, a, span, img, figure {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  width: 100%;
  word-break: break-all;
  -webkit-appearance: none;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, p {
  text-align: justify;
  text-justify: distribute;
  line-height: 1.5;
}
img {
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: bottom;
}
input, button, textarea, select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
select::-ms-expand {
  display: none;
}

/* 共通 */
.wrap {
  max-width: 4000px;
  margin: 0 auto;
}
.en {
  font-family: "Montserrat", sans-serif;
}
.en_poppins {
  font-family: "Poppins", sans-serif;
}


/* 省略 */
.line-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.line-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.line-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ヘッダー */
.header_top {
  height: 120px;
}
.header_nav {
  background-color: #FF6410;
  height: 68px;
  padding: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.header_inner {
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}
.header_top .header_inner {
  padding: 12px 100px;
}
/*.header_inner > div {
  width: 100%;
}*/
.header_inner > div:nth-child(1){
  display: flex;
  align-items: center;
}
.header_links > ul {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}
.header_links > ul > li:not(:last-child) {
  margin-right: 17px;
}
.header_links li img {
  padding-right: 6px;
}
.header_links a {
  font-size: 1.2rem;
}
.header_logo {
  width: 271px;
}
.header_icon {
  display: flex;
  margin-left: 50px;
}
.header_icon .icon {
  background: linear-gradient(to bottom, #FFEDB1 0%, #FBD451 100%);
  border: 3px solid #FBD451;
  border-radius: 5px;
  color: #232284;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.18;
  text-align: center;
  margin-right: 5px;
  padding: 9px 10px;
}
.header_icon .icon em {
  color: #EB5808;
  font-style: normal;
  font-weight: bold;
}
.header_icon .icon span {
  font-size: 19px;
  line-height: 1.37;
}
.header_icon .icon:last-child {
  margin-right: 0;
}
.header_btns {
  display: flex;
  justify-content: flex-end;
}
.header_btn_wrap {
  display: flex;
}
.header_btn_wrap > a:not(:last-child) {
  margin-right: 10px;
}
.header_nav .header_inner {
  max-width: 1100px;
  justify-content: center;
}
.header_nav > ul {
  height: 100%;
}
.header_nav > ul > li {
  display: block;
  border-left: 1px solid #e85f6b;
  box-sizing: border-box;
}
.header_nav > ul > li:first-child {
  border-left: none;
}
.header_nav a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 11px 15px;
  transition: 0.2s;
}
@media screen and (max-width: 1450px) {
  .header_top .header_inner {
    padding: 12px 50px;
  }
  .header_icon {
    margin-left: 25px;
  }
  .header_icon .icon {
    font-size: 19px;
  }
  .header_icon .icon span {
    font-size: 16px;
  }
}
@media screen and (max-width: 1200px) {
  .header_top .header_inner {
    padding: 12px 25px;
  }
  .header_icon {
    margin-left: 20px;
  }
  .header_icon .icon {
    font-size: 16px;
  }
  .header_icon .icon span {
    font-size: 13px;
  }
  .header_nav {
    font-size: 1.3rem;
  }
  .header_nav a {
    padding: 11px 8px;
  }
}
@media screen and (min-width: 1001px){
  body {
    padding-top: 0 !important;
  }
  .header_top .header_inner {
    max-width: 100%;
  }
  .header_nav .sp {
    display: none !important;
  }
  .header_nav > ul > li:first-child a {
    padding-left: 0;
  }
  .header_nav > ul > li:last-child a {
    padding-right: 0;
  }
}
@media screen and (max-width: 1000px) {
  header {
    background: #fff;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    z-index: 100;
  }
  .header {
    padding: 0;
    position: relative;
  }
  .header_top {
    box-shadow: 0px 7px 10px rgba(0,0,0,0.1);
    height: auto;
  }
  .header_inner {
    align-items: center;
    padding: 0;
  }
  .header_top .header_inner {
    padding: 0;
  }
  .header_nav {
    background-color: white;
    height: 100vh;
    position: relative;
    overflow-y: scroll;
  }
  .header_nav::before {
    content: "";
    width: 100%;
    height: 10px;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -8px;
    left: 0;
  }
  .header_nav a {
    color: #222222;
    font-size: 1.5rem;
    padding: 18px 0 18px 45px;
    text-align: left;
    font-weight: bold;
    position: relative;
  }
  .header_nav a:before {
    background: url(/img/common/nav_icon.svg) no-repeat center center;
    background-size: 8px 13px;
    content: "";
    position: absolute;
    top: 19px;
    left: 23px;
    width: 8px;
    height: 13px;
  }
  .header_btn {
    width: 168px;
    height: 55px;
    padding-top: 6px;
    padding-left: 36px;
  }
  .header_btn a {
    font-size: 1.7rem;
  }
  .header_nav > ul > li:first-child {
    border-top: 1px solid #E3E3E3;
  }
  .header_nav > ul > li {
    border-bottom: 1px solid #E3E3E3;
  }
  .header_nav .header_inner {
    display: block;
    height: auto;
  }
  .header_logo {
    width: 54.6666%;
    margin-left: 5.33333%;
  }
  .header_icon {
    display: none;
  }
  .header_inner > div {
    width: inherit;
  }
  .header_btn_wrap {
    margin: 0 auto;
  }
  .header_btn_tel, 
  .header_btn_mail {
    margin: 0 10px;
  }
  .header_btn_tel a, 
  .header_btn_mail a {
    padding: 0;
  }
  .header_btn_tel a:before, 
  .header_btn_mail a:before {
    content: none;
  }
  .header_btn_tel img, 
  .header_btn_mail img {
    width: 100%;
  }
  .header_btn_tel {
    margin-top: 30px;
  }
  .header_btn_mail {
    margin-top: 2px;
  }
  .sp-disable {
    display: none;
  }
  .sp_target {
    display: none;
  }
  .sp_target.active {
    display: block;
  }
  .hd_tel dl {
    justify-content: center;
  }
  .hd_tel a {
    padding: 20px;
  }
  .sp_menu {
    cursor: pointer;
    position: relative;
    padding: 10px 10px;
    background-color: #FF6410;
    height: 60px;
  }
  .sp_menu span {
    background: #fff;
    display: block;
    width: 40px;
    height: 3px;
    margin: 8px 0;
    transition-duration: .3s;
  }
  .sp_menu.active span:nth-child(1) {
    transform: translate(0, 11px) rotate(45deg);
  }
  .sp_menu.active span:nth-child(2) {
    opacity: 0;
  }
  .sp_menu.active span:nth-child(3) {
    transform: translate(0, -11px) rotate(-45deg);
  }
  .close {
    text-align: center;
  }
  .close a {
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    background: #FF6410;
    width: 80%;
  }
}

/* フッター */
.ft_menu {
  background: #FF6410;
  padding: 20px 10px;
}
.ft_menu .ft_inner {
  max-width: 1040px;
  margin: 0 auto;
}
.ft_menu ul {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.ft_menu ul + ul {
  font-size: 1.2rem;
  margin-top: 10px;
}
.ft_menu a {
  display: block;
  padding: 4px 17px;
  color: #fff;
  font-weight:bold;
}
.ft_menu ul li {
  box-sizing: border-box;
}
.ft_logo_area {
  padding: 44px 10px 30px;
  text-align: center;
}
.ft_logo {
  width: 328px;
  margin: 0 auto;
}
.ft_logo_area .ft_contact {
  font-size: 1.5rem;
  text-decoration: underline;
  letter-spacing:0.48px;
  margin-top:30px;
}
.copyright {
  background: #FFFFFF;
  font-size: 1.2rem;
  padding: 15px 10px;
  text-align: center;
}
.navigation {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 1;
}
.navigation.none {
  opacity: 0;
  z-index: -1;
}
@media screen and (max-width: 1200px) {
  .ft_menu ul {
    font-size: 1.4rem;
  }
  .ft_menu a {
    padding: 4px 14px;
  }
}
@media screen and (min-width: 1001px){
  .ft_menu ul li:first-child {
    border-left: none;
  }
  .ft_menu li:first-child a {
    padding-left: 0;
  }
  .ft_menu li:last-child a {
    padding-right: 0;
  }
  .navigation {
    bottom: 20px;
    right: 20px;
  }
  .navigation_btn {
    margin-bottom: 10px;
  }
  .navigation_btn:last-child {
    margin-bottom: 0;
  }
  .navigation_btn img {
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.16);
  }
}
@media screen and (max-width: 1000px) {
  .ft_menu {
    background: #FF6410;
    padding: 25px 15px;
  }
  .ft_menu ul.pc {
    display: none;
  }
  .ft_menu ul {
    display: block;
  }
  .ft_menu a {
    padding: 10px 0 10px 30px;
    position: relative;
  }
  .ft_menu a:before {
    background: url(/img/common/nav_icon02.svg) no-repeat center center;
    background-size: 8px 13px;
    content: "";
    position: absolute;
    top: 10px;
    left: 9px;
    width: 8px;
    height: 13px;
  }
  .ft_menu ul li {
    border: none;
  }
  .ft_logo_area {
    padding: 20px 10px;
  }
  .ft_logo {
    width: 72%;
  }
  .copyright {
    font-size: 1.1rem;
  }
  .navigation {
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
  }
  .navigation_btn {
    width: 100%;
  }
  .navigation_btn img {
    width: 100%;
  }
}

/* TOP */
.top_about {
  background: url(/img/top/about_bg.svg) no-repeat center top;
  padding: 0 0 100px;
}
.top_about .ttl {
  text-align: center;
}
.about_list {
  margin-top: 56px;
}
.about_list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
  padding: 20px 20px 25px;
  position: relative;
}
.about_list .text_wrap {
  margin-top: 20px;
}
.about_list h3 {
  color: #EB5808;
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.44;
  text-align: center;
}
.about_list h3.small {
  font-size: 3rem;
}
.about_list .text {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.65;
  margin-top: 16px;
  text-align: left;
}
@media screen and (min-width: 1001px){
  .about_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 4%;
  }
  .about_list li {
    width: 48%;
  }
}
@media screen and (max-width: 1000px) {
  .top_about {
    background-image: url(/img/top/about_bg_sp.svg);
    background-size: contain;
    padding: 8px 0 50px;
  }
  .about_list {
    margin-top: 33px;
  }
  .about_list li {
    padding: 10px 10px 25px;
  }
  .about_list li + li {
    margin-top: 24px;
  }
  .about_list .text_wrap {
    margin-top: 15px;
  }
  .about_list .text {
    font-size: 1.6rem;
  }
}
.top_security {
  background: url(/img/top/security_bg.jpg) no-repeat;
  background-size: cover;
  padding: 100px 0 90px;
}
.top_security .ttl {
  position: relative;
  margin-bottom: -100px;
  z-index: 1;
}
.top_security .ttl_sub {
  position: relative;
  margin-bottom: 63px;
  z-index: 2;
}
.flow_list {
  position: relative;
  margin-top: -25px;
}
.security_list li + li {
  margin-top: 30px;
}
.security_list li .band {
  background: #FF6410;
  border-radius: 10px 10px 0 0;
  color: #fff;
  padding: 16px 0;
  position: relative;
  z-index: 2;
}
.security_list li .band img {
  position: absolute;
  top: -10px;
  left: 17px;
}
.security_list li .band p {
  color: #fff;
  font-size: 5.2rem;
  font-weight: bold;
  line-height: 1.44;
  padding-left: 157px;
}
.security_list li .band p span.large {
  color: #FBFF3C;
  font-size: 6.4rem;
  line-height: 1.37;
}
.security_list li .band p span.short {
  font-size: 4.8rem;
  line-height: 1.46;
}
/* --- 安心ポイント：PC/スマホそれぞれの理想の開始位置に固定 --- */

/* 共通：pタグの余計なマージンを排除し、改行を禁止する */
.security_list li .band p {
    margin: 0 !important;
    white-space: nowrap !important; /* 絶対に1行 */
    line-height: 1.4 !important;
    display: block !important;
    letter-spacing: -0.05em !important; /* わずかに詰めて収まりを良くする */
}

/* 1. PCサイズ（1001px以上）：1枚目の見た目を再現 */
@media screen and (min-width: 1001px) {
    .security_list li .band {
        padding: 25px 0 !important; /* 上下の余白 */
    }
    .security_list li .band p {
        font-size: 5.2rem !important; /* サイズ維持 */
        padding-left: 170px !important; /* 1枚目の理想の開始位置 */
    }
    .security_list li .band img {
        width: 110px !important; /* アイコンを少し大きく */
        left: 25px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-top: 0px;
    }

}



/* --- スマホ版：アイコンを枠内の中央（中段）に配置する修正 --- */

@media screen and (max-width: 1000px) {
    /* 1. オレンジの枠自体の高さを確保し、中身を整列させる */
    .security_list li .band {
        display: flex !important;
        align-items: center !important; /* これで中の要素を上下中央に */
        min-height: 60px !important;    /* 枠が潰れないように最小高さを指定 */
        padding: 10px 0 !important;
        position: relative !important;
    }

    /* 2. アイコン画像の位置を「枠内の中央」に固定 */
    .security_list li .band img {
        position: absolute !important;
        top: 50% !important;            /* 上から50%の位置へ */
        transform: translateY(-50%) !important; /* 自身の高さ半分戻して完全中央 */
        left: 10px !important;          /* 左端からの距離 */
        width: 50px !important;         /* 枠に収まるサイズに微調整（必要に応じて変更可） */
    }

    /* 3. テキストの開始位置を整える */
    .security_list li .band p {
        padding-left: 70px !important;  /* アイコンの右隣から開始 */
        margin: 0 !important;
        line-height: 1.2 !important;
        font-size: 2.2rem !important;   /* 正解画像に近いサイズ */
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important; /* 1行を維持 */
    }
}

.security_list .text_wrap {
  background: #fff;
  border: 5px solid #FF6410;
  border-radius: 0 0 10px 10px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  margin-top: -5px;
  padding: 40px 47px 40px 35px;
  position: relative;
  z-index: 1;
}
.security_list .text_wrap .img img {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.security_list .text h3 {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 18px;
}
.security_list .text h3 span {
  font-size: 3.2rem;
}
.security_list .text p {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.65;
}
@media screen and (min-width: 1001px){
  .top_security {
    background-attachment: fixed;
  }
  .security_list .text_wrap {
    display: flex;
    justify-content: space-between;
    flex-flow: row-reverse nowrap;
  }
  .security_list .text_wrap .img {
    width: 44.38326%;
  }
  .security_list .text_wrap .text {
    width: 50.660793%;
  }
}
@media screen and (max-width: 1000px) {
  .top_security {
    background-image: url(/img/top/security_bg_sp.jpg);
    padding: 50px 0;
  }
  .top_security .ttl {
    margin-bottom: -73px;
  }
  .top_security .ttl img {
    width: 100%;
  }
  .top_security .ttl_sub {
    margin-bottom: 18px;
  }
  .top_security .ttl_sub img {
    width: 100%;
  }
  .security_list li + li {
    margin-top: 30px;
  }
  .security_list li .band {
    padding: 15px 0;
  }
  .security_list li .band img {
    top: 50%;
    left: 17px;
    width: 55px;
    height: 56px;
    margin-top: 0px;
  }
  .security_list li .band p {
    font-size: 2.6rem;
    padding-left: 80px;
  }
  .security_list li .band p span.large {
    font-size: 3.2rem;
  }
  .security_list li .band p span.short {
    font-size: 2.4rem;
  }
  .security_list .text_wrap {
    border: 3px solid #FF6410;
    margin-top: -3px;
    padding: 25px 10px;
  }
  .security_list .text_wrap .text {
    margin-top: 22px;
  }
  .security_list .text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .security_list .text h3 span {
    font-size: 2.8rem;
  }
  .security_list .text p {
    font-size: 1.6rem;
  }
}
.top_flow {
  background: url(/img/top/flow_bg_pc.jpg) no-repeat;
  background-size: cover;
  padding: 0 0 90px;
}
.top_flow .ttl {
  text-align: center;
}
.top_flow .ttl img {
  position: relative;
  margin-top: -23px;
}

/* flow_list ここから */
.flow_list {
  display: flex;
  flex-wrap: wrap;
  list-style: none !important;
  padding: 0;
  margin: 0;
  width:auto;
}

.flow_list li {
  position: relative;
  display: flex; /* 親子で高さを揃えるため */
}

.flow_list li:last-child::before {
  content: none;
}

.flow_list li::before {
  background: url(/img/top/icon_arrow.svg) no-repeat center center;
  background-size: 24px 57px;
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 57px;
  margin-top: -28px;
  z-index: 2;
}

.flow_list li .box {
  overflow: hidden;
  position: relative;
  width: 100%; /* 横幅いっぱい */
}

.flow_list li .inner {
  border: 3px solid #FF6410;
  position: relative;
  z-index: 1;
  background: #fff;
  height: 100%; /* 高さを揃える */
  display: flex;
  flex-direction: column;
}

/* 画像が飛び出さないように制御 */
.flow_list li .inner img:not(.step img) {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.flow_list .flow_text_wrap {
  background: #fff;
  padding: 29px 10px;
  position: relative;
  text-align: center;
  flex-grow: 1; /* テキストエリアを伸ばして高さを統一 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow_list .flow_text_wrap > p {
  text-align: center;
}

.flow_list .flow_text_wrap .step {
  position: absolute;
  left: 50%;
  top: -15px;
  margin-left: -45px;
  z-index: 3;
}

.flow_list .text_main {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.29;
  margin-bottom: 10px;
}

.flow_list .text_sub {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.55;
}

/* PC：3列並びの設定 */
@media screen and (min-width: 1001px) {
  .flow_list {
    justify-content: center;
    gap: 50px 3.5%;
  }
  .flow_list li {
    width: 31%;
  }
  /* 3つ並びの右端の矢印を消す */
  .flow_list li:nth-child(3n)::before {
    content: none;
  }
}

/* モバイル：2列並びの設定 */
@media screen and (max-width: 1000px) {
  .top_flow {
    background-image: url(/img/top/flow_bg_sp.svg);
    padding: 14px 0 55px;
  }
  .top_flow .ttl img {
    position: relative;
    margin-top: 0;
  }
  .flow_list {
    justify-content: center;
    gap: 16px 6.087%;
    margin-top: 3px;
  }
  .flow_list li {
    width: 46.9565%;
  }
  /* 偶数番目（右側）の矢印を消す */
  .flow_list li:nth-child(2n)::before {
    content: none;
  }
  .flow_list li::before {
    background-size: 13px 30px;
    right: -12px;
    width: 13px;
    height: 30px;
    margin-top: -15px;
  }
  .flow_list li .inner {
    background: #fff;
  }
  .flow_list .flow_text_wrap {
    padding: 17px 10px 15px;
  }
  .flow_list .flow_text_wrap .step {
    top: -15px;
    margin-left: -40px;
    width: 80px;
  }
  .flow_list .text_main {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .flow_list .text_sub {
    font-size: 1.3rem; /* 少し小さくして折り返しを安定させる */
  }
}
/* flow_list ここまで */

.top_post {
  background: url(/img/top/security_bg.jpg) no-repeat;
  background-size: cover;
  padding: 100px 0;
}
.top_post .ttl {
  text-align: center;
  margin-bottom: 50px;
}
.top_post .btn {
  text-align: center;
  margin-top: 40px;
}
@media screen and (min-width: 1001px){
  .top_post {
    background-attachment: fixed;
  }
}
@media screen and (max-width: 1000px){
  .top_post {
    padding: 50px 0;
  }
  .top_post .wrap {
    padding: 0;
  }
  .top_post .ttl {
    margin-bottom: 34px;
  }
  .top_post .blog_post_wrap {
    padding: 0 15px;
  }
  .top_post .btn {
    margin: 20px 15px 0;
  }
  .top_post .btn img {
    width: 100%;
  }
}

.top_faq {
  background: #FFF8EC;
  padding: 100px 0 120px;
}
.top_faq .ttl {
  text-align: center;
  margin-bottom: 48px;
}
.faq_wrap .faq_item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  padding: 20px 25px 30px;
}
.faq_wrap .faq_item + .faq_item {
  margin-top: 15px;
}
.faq_wrap .faq_item dt {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.47;
  padding: 10px 0 30px 80px;
  position: relative;
}
.faq_wrap .faq_item dt:before {
  background: url(/img/top/faq_q.svg) no-repeat center center;
  background-size: 56px 56px;
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 56px;
  height: 56px;
}
.faq_wrap .faq_item dd {
  border-top: 1px dashed #707070;
  font-size: 1.7rem;
  line-height: 1.65;
  padding: 25px 0 0 80px;
  position: relative;
}
.faq_wrap .faq_item dd:before {
  background: url(/img/top/faq_a.svg) no-repeat center center;
  background-size: 56px 56px;
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 56px;
  height: 56px;
}
@media screen and (min-width: 1001px){
  .top_faq .faq_wrap {
    padding: 0 10px;
  }
}
@media screen and (max-width: 1000px) {
  .top_faq {
    padding: 45px 0 50px;
  }
  .top_faq .ttl {
    width: 70.42254%;
    margin: 0 auto 33px;
  }
  .faq_wrap .faq_item {
    padding: 15px 15px 25px;
  }
  .faq_wrap .faq_item + .faq_item {
    margin-top: 10px;
  }
  .faq_wrap .faq_item dt {
    font-size: 1.9rem;
    padding: 12px 0 17px 50px;
  }
  .faq_wrap .faq_item dt:before {
    background-size: 40px 40px;
    top: 10px;
    width: 40px;
    height: 40px;
  }
  .faq_wrap .faq_item dd {
    font-size: 1.6rem;
    padding: 20px 0 0 50px;
  }
  .faq_wrap .faq_item dd:before {
    background-size: 40px 40px;
    top: 20px;
    width: 40px;
    height: 40px;
  }
}

.top_voice {
  background: url(/img/top/voice_bg.jpg) no-repeat;
  background-size: cover;
  padding: 100px 0 120px;
}
.top_voice .ttl {
  text-align: center;
  margin-bottom: 46px;
}
.voice_list .voice_item {
  background: #fff;
  padding: 40px;
  position: relative;
  box-shadow: 0px 3px 11px rgba(0, 0, 0, 0.16);
}
.voice_list .voice_item img {
  position: absolute;
  top: 23px;
  right: 27px;
}
.voice_list .voice_title {
  color: #EB5808;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-right: 126px;
}
.voice_list .voice_text {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.65;
}
@media screen and (min-width: 1001px){
  .voice_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 2.6%;
  }
  .voice_list .voice_item {
    width: 48.7%;
  }
}
@media screen and (max-width: 1000px) {
  .top_voice {
    background-image: url(/img/top/voice_bg_sp.jpg);
    padding: 37px 0 48px;
  }
  .top_voice .ttl {
    width: 70.42254%;
    margin: 0 auto 24px;
  }
  .voice_list .voice_item {
    padding: 30px 15px;
  }
  .voice_list .voice_item + .voice_item {
    margin-top: 20px;
  }
  .voice_list .voice_item img {
    top: 9px;
    width: 55px;
  }
  .voice_list .voice_title {
    font-size: 1.7rem;
    margin-bottom: 18px;
    padding-right: 105px;
  }
  .voice_list .voice_text {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  .voice_list .voice_item img {
    top: 21px;
    right: 19px;
    width: 70px;
  }
}
.top_payment {
  background: #F7F7F7;
  padding: 110px 0 100px;
}
.top_payment .payment_box {
  background: url(/img/top/payment_bg.png) #232284;
  padding: 26px 10px 10px;
}
.top_payment .payment_box .ttl {
  margin-bottom: 30px;
  text-align: center;
}
.top_payment .payment_box .box_in {
  /*background:
    linear-gradient(135deg, transparent 10px, #fff 0),
    linear-gradient(315deg, transparent 10px, #fff 0);
  background-position: top left, bottom right;
  background-size: 50% 100%;
  background-repeat: no-repeat;*/
  background: #fff;
  padding: 35px 30px;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.16);
}
.top_payment .payment_box dl {
  border-bottom: 1px dashed #222222;
  margin-bottom: 35px;
  padding-bottom: 35px;
}
.top_payment .payment_box dl:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.top_payment .payment_box dl dt {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.top_payment .payment_box dl dt span {
  margin-left: 25px;
}
.top_payment .payment_box dl dt em {
  color: #EB5808;
  font-size: 4rem;
  font-style: normal;
}
.top_payment .payment_box dl dd {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.65;
}
.top_payment .payment_box dl dd img {
  display: block;
  margin-top: 16px;
}
@media screen and (max-width: 1000px) {
  .top_payment {
    padding: 50px 0 45px;
  }
  .top_payment .wrap {
    padding: 0;
  }
  .top_payment .payment_box .ttl {
    width: 86.9565%;
    margin: 0 auto 10px;
  }
  .top_payment .payment_box .box_in {
    padding: 25px 20px;
  }
  .top_payment .payment_box dl {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .top_payment .payment_box dl dt {
    font-size: 2.3rem;
    margin-bottom: 15px;
  }
  .top_payment .payment_box dl dt span {
    margin-left: 12px;
  }
  .top_payment .payment_box dl dt em {
    font-size: 2.3rem;
  }
  .top_payment .payment_box dl dt img {
    width: 40px;
  }
  .top_payment .payment_box dl dd {
    font-size: 1.6rem;
  }
  .top_payment .payment_box dl dd img {
    margin-top: 14px;
  }
}

/* コンバージョン */
.contact_parts {
  padding: 95px 0;
}
.contact_parts .box {
  background: url(/img/common/cv_bg.png) #FF6410;
  border: 4px solid #FFFFFF;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 9px 9px;
  position: relative;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.25);
}
.contact_parts .box_in {
  background: #FF803B;
  border-radius: 0 0 10px 10px;
  margin-top: 20px;
  padding: 12px 12px 1px 12px;
  position: relative;
}
.contact_parts .box .ttl {
  margin: 17px 0 0 27px;
}
.contact_parts .box .sub {
  position: relative;
  margin: -10px 0 0 7px;
}
.contact_parts .box .tel {
  margin-bottom: 6px;
}
.contact_parts .box .tel a {
  display: inline-block;
  position: relative;
}
.contact_parts .box .mail {
  text-align: center;
  margin-right: 128px;
}
.contact_parts .box .img01 {
  position: absolute;
}
.contact_parts .box .img01 {
  bottom: -14px;
  right: -25px;
}
.contact_parts.lower {
  margin-top: 55px;
  padding: 0;
}
.article .contact_parts.lower img {
  margin: 0;
}
.contact_parts.lower .box {
  max-width: 710px;
  padding: 0 7px 7px;
  box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.16);
}
.contact_parts.lower .box_in {
  margin-top: 15px;
  padding: 6px 6px 1px;
}
.contact_parts.lower .box .img01 {
  bottom: -11px;
  right: -11px;
}
.contact_parts.lower .box .ttl {
  margin: 12px 0 0 24px;
}
@media screen and (max-width: 1000px) {
  .contact_parts {
    padding: 55px 0 40px;
  }
  .contact_parts .box {
    border: none;
    border-radius: 0;
    padding: 0 0 14px;
  }
  .contact_parts .box_in {
    margin-top: 0;
    padding: 8px 0 1px 0;
  }
  .contact_parts .box .ttl {
    margin: -5px 0 0 0;
    width: 100%;
  }
  .contact_parts .box .ttl img {
    width: 100%;
  }
  .contact_parts .box .sub {
    margin: 0;
  }
  .contact_parts .box .sub img {
    position: relative;
    margin-top: -32px;
  }
  .contact_parts .box .tel {
    text-align: center;
    margin-bottom: 6px;
  }
  .contact_parts .box .mail {
    text-align: center;
    margin-right: 0;
  }
  .contact_parts .box .tel img, 
  .contact_parts .box .mail img {
    width: 100%;
  }
  .contact_parts.lower .box {
    padding: 0 8px 8px;
  }
  .contact_parts.lower .box_in {
    margin-top: 0;
    padding: 8px 0 1px 0;
  }
  .contact_parts.lower .box .ttl {
    margin: 0;
    width: 100%;
  }
}
/* 下層 */
.fv_title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
  background: url(/img/lower/fv_bg.jpg) no-repeat center center;
  background-size: cover;
  margin-bottom: 90px;
  margin-top: -19px;
}
.fv_title h1 {
  color: #fff;
  font-size: 5rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.page_column {
  max-width: 1000px;
  margin: 0 auto;
}

/* Cocoonの標準装飾をリセットして元サイトのデザインを強制適用 */
.article h2,
.entry-content h2,
dt h2 {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 3.1rem !important;
  font-weight: bold !important;
  line-height: 1.48 !important;
  margin-bottom: 20px !important;
  padding: 17px 22px !important;
  position: relative !important;
  z-index: 1 !important; /* 背景より上に文字を出す */
}

/* 上半分のグラデーション */
.article h2::before,
.entry-content h2::before,
dt h2::before {
  content: "" !important;
  background: linear-gradient(to bottom, #FF6410 0%, #B24104 100%) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  height: 50% !important;
  width: 100% !important;
  z-index: -1 !important;
  display: block !important;
}

/* 下半分のグラデーション */
.article h2::after,
.entry-content h2::after,
dt h2::after {
  content: "" !important;
  background: linear-gradient(to bottom, #B24408 0%, #F35601 100%) !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 50% !important;
  width: 100% !important;
  z-index: -1 !important;
  display: block !important;
}




.article p + h2 {
  margin-top: 1.65em;
}
.article ul + h2 {
  margin-top: 1.65em;
}
:not(.home) .article h3 {
  border-bottom: 3px solid #CBCBCB;
  border-top: none !important;    /* 上線を消す */
  border-right: none !important;  /* 右線を消す */
  border-left: none !important;   /* 左線を消す（必要なら） */
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.46;
  margin-bottom: 20px;
  padding: 0 0 14px 15px;
  position: relative;
}
:not(.home) .article h3::before {
  content: "";
  background: #FF6410;
  height: 3px;
  width: 60px;
  position: absolute;
  left: 0;
  bottom: -3px;
}
:not(.home) .article p + h3 {
  margin-top: 2em;
}
:not(.home) .article ul + h3 {
  margin-top: 2em;
}
.article p {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 1em 0;
  padding: 0 0.5em;
}
.article ul {
  margin: 1em 0;
}
.article ul li {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  margin-top: .5em;
}
.article img {
  margin: 1em 0;
}
.article .price_list {
  margin-bottom: 70px;
}
.article .price_list li {
  border: 4px solid #FF6410;
  margin-bottom: 10px;
  padding: 20px 30px;
}
.article .price_list li:last-child {
  margin-bottom: 0;
}
.article .price_list li .txt {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 37px;
  position: relative;
}
.article .price_list li .txt:before {
  background: url(/img/lower/icon_price.svg) no-repeat center center;
  background-size: 26px 26px;
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 26px;
  height: 26px;
}
.article .price_list li .price {
  color: #FF6410;
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.46;
}
.article .price_list li .price span {
  font-size: 2.2rem;
}
@media screen and (min-width: 1001px){
  .page_column {
    display: flex;
    justify-content: space-between;
  }
  .page_column .article {
    max-width: 710px;
    width: 71%;
  }
  .page_column .page_side {
    max-width: 250px;
    width: 25%;
  }
}
@media screen and (max-width: 1000px){
  .fv_title {
    height: 200px;
    margin-bottom: 50px;
  }
  .fv_title h1 {
    font-size: 2.8rem;
  }
  .page_column .page_side {
    margin-top: 50px;
    padding: 0 15px;
  }
  .article .contents_inner {
    padding: 0 15px;
  }
  .article h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    padding: 14px 18px;
  }
:not(.home) .article h3 {
    border-bottom: 2px solid #CBCBCB;
    font-size: 2.1rem;
    margin-bottom: 15px;
    padding: 0 0 11px 12px;
  }
:not(.home)  .article h3::before {
    height: 2px;
    width: 50px;
    bottom: -2px;
  }
  .article p {
    font-size: 1.6rem;
  }
  .article ul li {
    font-size: 1.6rem;
  }
  .article .price_list {
    margin-bottom: 40px;
  }
  .article .price_list li {
    border: 3px solid #FF6410;
    margin-bottom: 8px;
    padding: 12px 15px;
  }
  .article .price_list li .txt {
    font-size: 1.8rem;
    margin-bottom: 6px;
    padding-left: 37px;
  }
  .article .price_list li .txt:before {
    background: url(/img/lower/icon_price.svg) no-repeat center center;
    background-size: 26px 26px;
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 26px;
    height: 26px;
  }
  .article .price_list li .price {
    font-size: 2.9rem;
  }
  .article .price_list li .price span {
    font-size: 1.8rem;
  }
}
.blog_post_wrap {
  display: flex;
  flex-wrap: wrap;
}
.blog_post_wrap .blog_post {
  background: #fff;
}
.blog_post_wrap .blog_post img {
  margin: 0;
}
.blog_post_wrap .blog_post .text {
  padding: 15px 20px 22px;
}
.blog_post_wrap .blog_post .info {
  margin-top: 18px;
}
.blog_post_wrap .blog_post .date {
  font-size: 1.4rem;
  font-weight: bold;
  color: #A7A7A7;
  margin: 0;
  padding: 0;
}
.blog_post_wrap .blog_post .tl {
  margin: 12px 0 0;
  padding: 0;
}
.blog_post_wrap .blog_post .tl a {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.67;
}
.blog_post_wrap .blog_post .cate {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 5px;
}
.blog_post_wrap .blog_post .cate a {
  border: 1px solid #FF6410;
  color: #FF6410;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 9px 12px;
}
.content_pagenavi {
  margin-top: 30px;
  text-align: center;
}
.content_pagenavi .pagenavi {
  text-align: center;
  margin-top: 20px;
}
.content_pagenavi .pagenavi a, 
.content_pagenavi .pagenavi span {
  border: none;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  margin: 2px;
}
.content_pagenavi .pagenavi a {
  background-color: #222222;
}
.content_pagenavi .pagenavi span {
  background-color: #222222;
}
.content_pagenavi .pagenavi span.current {
  background-color: #FF6410;
}
.blog_post_single .info {
  margin-bottom: 28px;
  border-bottom: 1px solid #4E4847;
  padding-bottom: 20px;
}
.blog_post_single .date {
  font-size: 1.4rem;
  font-weight: bold;
  color: #A7A7A7;
  margin: 0;
  padding: 0;
}
.blog_post_single h1 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #FF6410;
  margin-bottom: 22px;
}
.blog_post_single .btn a {
  background: #FF6410;
  color: #fff;
  display: block;
  max-width: 300px;
  margin: 70px auto 0;
  font-size: 1.6rem;
  width: 90%;
  height: 70px;
  line-height: 70px;
  text-align: center;
}
@media screen and (min-width: 1001px){
  .blog_post_wrap {
    gap: 30px 2.3%;
  }
  .blog_post_wrap .blog_post {
    width: 31.8%;
  }
  .content_pagenavi .pagenavi a, 
  .content_pagenavi .pagenavi span {
    font-size: 1.5rem;
    padding: 12px 20px;
  }
  .content_pagenavi .pagenavi.pager a, 
  .content_pagenavi .pagenavi.pager span {
    padding: 6px 12px;
  }
}
@media screen and (max-width: 1000px){
  .blog_post_wrap {
    gap: 15px 2.6086%;
  }
  .blog_post_wrap .blog_post {
    width: 48.6957%;
  }
  .blog_post_wrap .blog_post .text {
    padding: 13px 16px 20px;
  }
  .blog_post_wrap .blog_post .info {
    margin-top: 13px;
  }
  .blog_post_wrap .blog_post .date {
    font-size: 1.2rem;
  }
  .blog_post_wrap .blog_post .tl a {
    font-size: 1.5rem;
  }
  .blog_post_wrap .blog_post .cate {
    gap: 4px 3px;
  }
  .blog_post_wrap .blog_post .cate a {
    font-size: 1.1rem;
    padding: 8px 11px;
  }
  .content_pagenavi {
    margin-top: 25px;
  }
  .content_pagenavi .pagenavi a, 
  .content_pagenavi .pagenavi span, 
  .content_pagenavi .pagenavi.pager a, 
  .content_pagenavi .pagenavi.pager span {
    font-size: 1.4rem;
    padding: 10px 12px;
  }
}

/* サイドバー */
.page_side h2 {
  border-top: 1px solid #BFBFBF;
  border-bottom: 1px solid #BFBFBF;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.48;
  padding: 17px 22px;
  text-align: center;
  position: relative;
}
.page_side h2::before {
  content: "";
  background: linear-gradient(to bottom, #FFFFFF 0%, #C4C4C4 100%);
  position: absolute;
  left: 0;
  top: 0;
  height: 50%;
  width: 100%;
  z-index: -1;
}
.page_side h2::after {
  content: "";
  background: linear-gradient(to bottom, #DCDCDC 0%, #FFFFFF 100%);
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 0;
  bottom: 0;
  height: 50%;
  width: 100%;
  z-index: -1;
}
.page_side ul + h2 {
  margin-top: 35px;
}
.page_side ul li a {
  border-bottom: 1px solid #E0E0E0;
  color: #222222;
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 19px 0 20px 30px;
  text-align: left;
  position: relative;
}
.page_side ul li a:before {
  background: url(/img/common/side_icon.svg) no-repeat center center;
  background-size: 8px 11px;
  content: "";
  position: absolute;
  top: 19px;
  left: 10px;
  width: 8px;
  height: 11px;
}
.side_btn_wrap {
  margin-top: 30px;
}
.side_btn {
  margin-bottom: 15px;
}
.side_btn:last-child {
  margin-bottom: 0;
}
.side_btn img {
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.16);
}
@media screen and (max-width: 1000px){
  .page_side h2 {
    font-size: 2.1rem;
    padding: 13px 20px;
  }
  .page_side ul + h2 {
    margin-top: 25px;
  }
  .page_side ul li a {
    font-size: 1.3rem;
    padding: 19px 0 20px 30px;
  }
  .page_side ul li a:before {
    top: 19px;
  }
  .side_btn img {
    width: 100%;
  }
}
/* ここから上は元テーマのCSSなので効いているか不明 */ 
/* ヘッダーのカスタム配置 */
.header_custom_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}

.header_right_content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header_icon {
    display: flex;
    gap: 10px;
}

/* もともとのCocoonロゴエリアを隠す（フックで自作したため） */
.logo-header {
    display: none;
}
/* 1. ヘッダーの外枠を背景色を含めて100%に */
#header {
    width: 100% !important;
}

/* 2. ヘッダーの内側（ロゴやボタンの配置エリア）の制限を完全に解除 */
#header-in {
    width: 100% !important;   /* 100%固定 */
    max-width: 100% !important; /* 最大幅の制限を撤廃 */
    margin: 0 !important;      /* 中央寄せ用のマージンを削除 */
    padding: 10px 40px !important; /* 左右に少しだけ余白（40px）を作ると綺麗です */
}

/* 3. 独自に追加したフレックスボックスを端から端まで広げる */
.header_custom_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 4. オレンジ色のナビゲーションバーも最大幅にする場合 */
#navi {
    width: 100% !important;
}
#navi-in {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* スマホ固定ボタン */
.navigation_sp_fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* =================================================================
* 3. Cocoonのパーツに元サイトのスタイルを強制適用する微調整
* =================================================================*/
/* Cocoonのサイドバー見出しを元サイト風に */
#sidebar h3 {
    border-top: 1px solid #BFBFBF !important;
    border-bottom: 1px solid #BFBFBF !important;
    font-size: 2.1rem !important; /* スマホサイズ基準に合わせるなら */
    background: linear-gradient(to bottom, #FFFFFF 0%, #C4C4C4 50%, #DCDCDC 51%, #FFFFFF 100%) !important;
    text-align: center !important;
    padding: 13px 20px !important;
    color: #222 !important;
}

/* Cocoonのウィジェットリストを元サイト風に */
#sidebar ul li a {
    border-bottom: 1px solid #E0E0E0 !important;
    font-size: 1.4rem !important;
    padding: 19px 0 20px 30px !important;
    display: block;
}

/* ヘッダー最大幅の維持 */
#header, #navi { width: 100% !important; }
#header-in, #navi-in { max-width: 100% !important; margin: 0 !important; }

/* コピーライト非表示 */
.copyright { display: none !important; }


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

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

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

/* 記事エリア自体の余白をリセット */
.main {
    padding: 0 !important;
}

/* 記事本文を端まで広げる */
.entry-content,
.article {
    padding: 0 !important;
    margin: 0 !important;
}

/* 必要に応じて、テキストだけ少し内側に寄せる（元サイトのデザインに合わせる） */
.entry-content p,
.entry-content ul {
    padding: 0 0.5em !important; /* 元サイトの page_contents p の設定 */
}
/* dd.ar_1 のフォントサイズを10pxに指定 */
dd.ar_1 ,
dd.ar_2 ,
dd.ar_3 ,
dd.ar_4 ,
dd.ar_5 ,
dd.ar_6 ,
dd.ar_7 ,
dd.ar_8 ,
dd.ar_9 
{
    font-size: 10px !important;
    line-height: 1.4 !important; /* 行間が詰まりすぎないよう調整 */
    color: #222 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 画像の横にテキストが入り込まないようにする */
.entry-content p {
    clear: both !important;
}


/* 記事本文内の画像を強制的に左寄せにする */
.entry-content img,
.article img {
    display: block !important;    /* ブロック化して横に文字を入れさせない */
    float: none !important;       /* 回り込みを完全に解除 */
    margin-left: 0 !important;    /* 左端に固定 */
    margin-right: auto !important;
    clear: both !important;       /* 前後の要素の回り込みもリセット */
}

/* 「記事一覧へ戻る」ボタン：角丸なし・中央配置版 */
.btn_center {
    text-align: center !important; /* ボタン全体を真ん中へ */
    margin: 40px auto !important;  /* 上下に適度な余白 */
    width: 100% !important;
    clear: both !important;       /* 回り込みを完全に解除 */
}

.btn_center a {
    display: inline-block !important;
    background-color: #FF6410 !important; /* 元サイト通りのオレンジ */
    color: #fff !important;               /* 文字は白 */
    font-size: 1.8rem !important;         /* 18px相当 */
    font-weight: bold !important;
    text-decoration: none !important;
    padding: 16px 80px !important;        /* 横幅を少し広めに確保 */
    border-radius: 0 !important;          /* 【重要】角丸をゼロにする */
    border: none !important;
    transition: opacity 0.3s ease;        /* ふわっと変化させる */
}

/* マウスを乗せた時の動き */
.btn_center a:hover {
    opacity: 0.8 !important;              /* 少し薄くする */
    color: #fff !important;
    text-decoration: none !important;
}

/* トップページ専用：コンテンツを中央に寄せる */
.top_payment .wrap,
.top_faq .wrap,
.top_flow .wrap,
.top_security .wrap,
.top_about .wrap {
    max-width: 1000px; /* 元サイトの幅に合わせて調整 */
    margin: 0 auto;
    padding: 0 20px;
}

/* トップページ（フロントページ）の幅制限を解除 */
.home #content-in,
.home #main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 記事エリアの余白もリセット */
.home .article {
    padding: 0 !important;
    margin: 0 !important;
}

/* --- お支払いブロック専用：右寄せ・ズレの完全修正 --- */
.top_payment .payment_box .box_in dl dt,
.top_payment .payment_box .box_in dl dd {
    display: flex !important;
    flex-direction: row !important; /* 横並びを強制 */
    justify-content: flex-start !important; /* 左詰めを強制 */
    align-items: center !important;
    text-align: left !important; /* 両端揃えを解除 */
    clear: none !important; /* 回り込み解除の影響を無効化 */
}

.top_payment .payment_box .box_in dl dt img {
    display: inline-block !important; /* ブロック化を解除 */
    margin: 0 15px 0 0 !important; /* 右側にだけ余白 */
    width: 40px !important; /* サイズ固定 */
}

.top_payment .payment_box .box_in dl dt span {
    display: inline-block !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.2 !important;
}

/* スマホ時も左寄せを維持 */
@media screen and (max-width: 1000px) {
    .top_payment .payment_box .box_in dl dt {
        justify-content: flex-start !important;
    }
}


/* トップページ限定：h2（よくある質問タイトルなど）の装飾を解除 */
.home .article h2,
.home .entry-content h2,
.home h2.ttl {
    background: none !important;      /* 背景グラデーションを消す */
    border: none !important;          /* 枠線を消す */
    box-shadow: none !important;      /* 影を消す */
    padding: 0 !important;            /* 余白をリセット */
    text-align: center !important;    /* 中央寄せ */
    height: auto !important;          /* 高さを自動に */
}

/* 疑似要素（::before / ::after）で作ったグラデーション層も非表示にする */
.home .article h2::before,
.home .article h2::after,
.home .entry-content h2::before,
.home .entry-content h2::after {
    content: none !important;
    display: none !important;
}

/* タイトル画像のサイズ調整（必要に応じて） */
.home h2.ttl img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* トップページの見出し画像（h2内のimg）を強制的に中央寄せにする */
.home .article h2 img,
.home .entry-content h2 img,
.home h2.ttl img {
    display: block !important;
    margin-left: auto !important;  /* 左の余白を自動に */
    margin-right: auto !important; /* 右の余白を自動に */
    float: none !important;        /* 回り込みを念のため解除 */
}

/* タイトル周りの不要なパディングを削る */
.home .top_faq .ttl, 
.home .top_payment .ttl,
.home .top_voice .ttl {
    text-align: center !important;
    width: 100% !important;
}


/* --- お客様の声：2列グリッドレイアウト --- */
.top_voice .voice_list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important; /* ボックス間の隙間 */
    padding: 0 !important;
    list-style: none !important;
}

.top_voice .voice_item {
    width: calc(50% - 10px) !important; /* 2列にする計算 */
    margin-bottom: 20px !important;
}

.top_voice .voice_content {
    background: #fff !important;
    padding: 30px 25px !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1) !important; /* ふんわりした影 */
    position: relative !important;
    height: 100% !important;
    border-radius: 5px !important;
}

/* アイコン画像を右上に配置 */
.top_voice .voice_item .voice-img {
    position: absolute !important;
    top: 25px !important;
    right: 20px !important;
    width: 80px !important; /* 画像サイズに合わせて調整 */
    height: auto !important;
    margin: 0 !important;
    display: block !important;
}

/* タイトルの調整 */
.top_voice .voice_title {
    color: #FF6410 !important; /* オレンジ色 */
    font-size: 1.8rem !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    padding-right: 90px !important; /* アイコンと重ならないように */
    border: none !important; /* Cocoonのデフォルト線を消す */
    background: none !important;
    text-align: left !important;
}

/* 本文の調整 */
.top_voice .voice_text {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
    text-align: left !important;
}

/* スマホでは1列にする */
@media screen and (max-width: 768px) {
    .top_voice .voice_item {
        width: 100% !important;
    }
    .top_voice .voice_title {
        font-size: 1.6rem !important;
        padding-right: 70px !important;
    }
    .top_voice .voice-img {
        width: 60px !important;
    }
}

/* =================================================================
   1. 共通パーツ・記事装飾のリセット
================================================================= */

/* 画像の回り込み・配置リセット */
.entry-content img, .article img {
    display: block !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    clear: both !important;
}

/* 「記事一覧へ戻る」ボタン：角丸なし・中央配置 */
.btn_center {
    text-align: center !important;
    margin: 40px auto !important;
    width: 100% !important;
    clear: both !important;
}
.btn_center a {
    display: inline-block !important;
    background-color: #FF6410 !important;
    color: #fff !important;
    font-size: 1.8rem !important;
    font-weight: bold !important;
    padding: 16px 80px !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

/* =================================================================
   2. トップページ全体の共通レイアウト制御
================================================================= */

/* コンテンツの中身を1000pxで中央寄せ */
.top_payment .wrap, .top_faq .wrap, .top_flow .wrap,
.top_security .wrap, .top_about .wrap, .top_voice .wrap {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* トップページのCocoon標準枠・余白を解除 */
.home #content-in, .home #main, .home .article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* トップページ限定：h2（見出し）のCocoon装飾を解除 */
.home .article h2, .home .entry-content h2, .home h2.ttl {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: center !important;
    height: auto !important;
}
.home .article h2::before, .home .article h2::after,
.home .entry-content h2::before, .home .entry-content h2::after {
    content: none !important;
    display: none !important;
}
.home h2.ttl img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}






/* =================================================================
   1. 共通パーツ・記事装飾のリセット
================================================================= */

/* 画像の回り込み・配置リセット */
.entry-content img, .article img {
    display: block !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    clear: both !important;
}

/* 「記事一覧へ戻る」ボタン：角丸なし・中央配置 */
.btn_center {
    text-align: center !important;
    margin: 40px auto !important;
    width: 100% !important;
    clear: both !important;
}
.btn_center a {
    display: inline-block !important;
    background-color: #FF6410 !important;
    color: #fff !important;
    font-size: 1.8rem !important;
    font-weight: bold !important;
    padding: 16px 80px !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

/* =================================================================
   2. トップページ全体の共通レイアウト制御
================================================================= */

/* コンテンツの中身を1000pxで中央寄せ */
.top_payment .wrap, .top_faq .wrap, .top_flow .wrap,
.top_security .wrap, .top_about .wrap, .top_voice .wrap {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* トップページのCocoon標準枠・余白を解除 */
.home #content-in, .home #main, .home .article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* トップページ限定：h2（見出し）のCocoon装飾を解除 */
.home .article h2, .home .entry-content h2, .home h2.ttl {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: center !important;
    height: auto !important;
}
.home .article h2::before, .home .article h2::after,
.home .entry-content h2::before, .home .entry-content h2::after {
    content: none !important;
    display: none !important;
}
.home h2.ttl img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

/* =================================================================
   3. お客様の声：2列レイアウト・アイコン被り・下線完全修正
================================================================= */

/* --- お客様の声：2列強制レイアウト修正 --- */


/* 子要素（li）のリセット：縦並びを阻止 */
.top_voice .voice_item {
    width: 48% !important; /* 余裕を持って48%に設定 */
    max-width: 48% !important;
    flex: 0 0 48% !important; /* 勝手に伸び縮みさせない */
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    clear: none !important; /* これが重要！縦並びを解除します */
    float: none !important;
}


/* 親リスト：2列にする */
.top_voice .voice_list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 0 0 !important;
}

/* 各カード（li）：白ボックス・角丸なし */
.top_voice .voice_item {
    width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px) !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-radius: 0 !important;
    padding: 30px 25px !important;
    margin-bottom: 30px !important;
    position: relative !important; /* アイコンの基準 */
    box-sizing: border-box !important;
    clear: none !important;
}


/* 不要な2重ボックス設定を無効化 */
.top_voice .voice_content {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

.top_voice .voice_item h3.voice_title::before { content: none !important; }





/* --- お支払いブロック：横並びズレ修正 --- */
.top_payment .payment_box .box_in dl dt,
.top_payment .payment_box .box_in dl dd {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    clear: none !important;
}
.top_payment .payment_box .box_in dl dt img {
    margin: 0 15px 0 0 !important;
    width: 40px !important;
}

/* =================================================================
   4. スマホ対応
================================================================= */
@media screen and (max-width: 1000px) {
    .top_voice .voice_item {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    .top_voice .voice_item h3.voice_title,
    .top_voice .voice_item .voice_text {
        padding-right: 75px !important;
    }
    .top_voice .voice-img {
        width: 65px !important;
    }
}
/* スマホ表示：1000px以下で1列にする */
@media screen and (max-width: 1000px) {
    .top_voice .voice_item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}
/* --- カード本体の設定修正 --- */
.top_voice .voice_item {
    position: relative !important; /* アイコンを配置する基準点 */
    overflow: visible !important; /* 枠からはみ出すのを許可する */
    padding-top: 40px !important;  /* アイコンが上がる分、上に余白を作る */
    /* 他のスタイル（背景白、シャドウなど）は既存のままでOK */
}

/* --- 中のコンテンツの設定 --- */
.top_voice .voice_content {
    position: static !important; /* 親の voice_item を基準にするためリセット */
}

/* --- テキストがアイコンに被らないように右余白を作る --- */

.top_voice .voice_title,
.top_voice .voice_text {
    /* アイコンの幅が約90pxの場合、少し余裕を持って100px〜110px程度あける */
    padding-right: 110px !important; 
    box-sizing: border-box !important;
}

/* ついでにタイトル行が詰まりすぎないよう調整 */
.top_voice .voice_title {
    margin-top: 0 !important;
    line-height: 1.4 !important;
}

/* スマホ表示（1000px以下）での調整 */
@media screen and (max-width: 1000px) {
    .top_voice .voice_title,
    .top_voice .voice_text {
        /* スマホでアイコンを小さくしている場合は、ここも少し狭めてOK */
        padding-right: 80px !important;
    }
}

/* --- カード全体のサイズ感と余白の調整 --- */
.top_voice .voice_item {
    padding: 40px 30px !important; /* 上下左右の余白を広げてゆとりを出す */
    min-height: 220px;            /* カードの最低の高さを揃える（任意） */
}

/* --- タイトル（オレンジ文字）の調整 --- */
.top_voice .voice_title {
    font-size: 22px !important;    /* 文字を大きく（理想の状態に合わせて調整） */
    font-weight: bold !important;
    line-height: 1.5 !important;   /* 行間を広げて読みやすく */
    margin-bottom: 20px !important; /* 本文との間隔 */
    padding-right: 100px !important; /* アイコンを避けるための右余白 */
    color: #f37021 !important;     /* 元の色味を維持 */
}

/* --- 本文（下のテキスト）の調整 --- */
.top_voice .voice_text {
    font-size: 16px !important;    /* 読みやすい標準サイズにアップ */
    line-height: 1.8 !important;   /* 行間をゆったりあける */
    padding-right: 0 !important;   /* アイコンより下まで文字を回すなら0 */
    /* アイコンの下に文字を回したくない場合は padding-right: 100px !important; */
}

/* --- スマホ表示の調整 --- */
@media screen and (max-width: 1000px) {
    .top_voice .voice_item {
        padding: 30px 20px !important;
    }
    .top_voice .voice_title {
        font-size: 18px !important;
    }
}

/* 1. 全体を中央に寄せる（左寄せの修正） */
.top_post .wrap {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
/* --- 共通の修正（水色背景や黒背景の打ち消し） --- */

/* 日付の水色背景を消す */
.blog_post .infos .date {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #888 !important;
    margin: 10px 0 0 0 !important;
}

/* ボタンの黒背景を消す */
.top_post .btn, 
.top_post .btn a {
    background: transparent !important;
    border: none !important;
}

/* 記事一覧の並び（中央寄せ） */
.blog_post_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

/* --- PC用の個別調整 --- */
@media screen and (min-width: 1001px) {
    .blog_post {
        width: 31%; /* 3カラム（1枚目のような見た目） */
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}

/* --- スマホ用の個別調整 --- */
@media screen and (max-width: 1000px) {
    .blog_post {
        width: 100%; /* スマホでは1枚ずつ（2枚目のようにならないよう調整） */
        margin-bottom: 20px;
        background: #fff;
    }
    
    /* ボタン画像のサイズ調整（はみ出し防止） */
    .top_post .btn img {
        max-width: 80%;
        height: auto;
    }
}


@media screen and (min-width: 1001px){
  .sp {
    display: none;
  }
}
@media screen and (max-width: 1000px){
  .pc {
    display: none;
  }
  .wrap {
    padding: 0 15px;
  }
}


.table-scroll {
  overflow-x: auto;
  margin-bottom: 1em;
}

/* テーブル内の文字折り返しを有効にする */
.table-scroll th,
.table-scroll td {
  word-break: break-word;
  overflow-wrap: break-word;
}



/* 説明文まわり */
.maker-lead {
  margin: 0.5em 0;
  line-height: 1.7;
  font-size: 15px;
}
.maker-lead.note {
  font-size: 14px;
  color: #555;
}

/* テーブルラッパー */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1em;
}

/* PC時のテーブル */
.responsive-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-size: 14px;
}
.responsive-table th,
.responsive-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: break-word;
}
.responsive-table th {
  background-color: #f4f4f4;
  font-weight: 600;
}

/* スマホ：カード型に変形 */
@media screen and (max-width: 640px) {
  .responsive-table {
    min-width: 0;
    font-size: 15px;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
  }
  .responsive-table td {
    display: block;
    border: none;
    padding: 6px 0;
  }
  .responsive-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
  }
}

/* ===== kagi-safe-unlock (金庫鍵開けページ用 追加CSS) ===== */

/* テーブルの見やすさ */
.kagi-table-wrap {
  overflow-x: auto;
  margin-bottom: 1em;
}
.kagi-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.kagi-table th,
.kagi-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.kagi-table thead th {
  background: #f2f2f2;
  border-bottom: 1px solid #ddd;
}

/* FAQ見出しの余白（テーマ側で足りない場合のみ効かせる想定） */
.kagi-faq h3 {
  margin-top: 1rem;
}

/* 注意点ボックス化したい場合（任意） */
.kagi-note {
  border: 1px solid #eee;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fafafa;
}

.kagi-float-wrap::after{
  content:"";
  display:block;
  clear:both;
}

/* 会社概要テーブル */
.company-table-wrap {
  overflow-x: auto;
  margin: 1.2em 0;
}
.company-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.company-table th,
.company-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  background: #f7f7f7;
  width: 28%;
}

/* 初めての方へ／料金注意ページ 共通 */
.kagi-note {
  border: 1px solid #eee;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fafafa;
  margin: 12px 0;
}
.kagi-step {
  border-left: 4px solid #eee;
  padding: 10px 12px;
  margin: 10px 0;
}
.kagi-step .step-title {
  font-weight: 700;
  margin-bottom: 6px;
}

/* --- 出張実績：常に2列を維持する設定 --- */
.blog_post_wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important; /* 左右に振り分け */
    gap: 10px !important; /* アイテム間の隙間（お好みで調整） */
    padding: 0 10px !important;
}

.blog_post {
    /* 2列にするため、幅を 50% から 隙間分を引いたサイズに固定 */
    width: calc(50% - 5px) !important; 
    flex: 0 0 calc(50% - 5px) !important;
    margin-bottom: 15px !important;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box !important;
    display: block !important;
    clear: none !important; /* 回り込み解除を無効化 */
}

/* 記事内の画像サイズ調整 */
.blog_post .img img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* 画像の高さを揃えると綺麗です */
    object-fit: cover;
}

/* 記事タイトルの文字サイズ調整（2列だと狭くなるため） */
.blog_post .text .tl {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    margin: 8px 0 !important;
}


.top_visual{
margin-top:-19px;
}
.home .contact_parts{
margin-top:0px;
margin-bottom:0;
padding-bottom:10px;
padding-top:10px;
}
.home h3 {
  border:none !important;
}
.home h3::before {
  display:none;
}


/* PC（1001px以上）では3列に戻したい場合 */
@media screen and (min-width: 1001px) {
    .blog_post {
        width: calc(33.33% - 14px) !important;
        flex: 0 0 calc(33.33% - 14px) !important;
    }
}
/* PCのみ表示：セレクタを極限まで具体化 */
@media screen and (min-width: 1001px) {
    body .sp,
    body img.sp,
    body .article img.sp,
    body .entry-content img.sp,
    body .home img.sp {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
    body .pc,
    body img.pc {
        display: block !important;
    }
}

/* スマホのみ表示 */
@media screen and (max-width: 1000px) {
    body .pc,
    body img.pc,
    body .article img.pc,
    body .entry-content img.pc,
    body .home img.pc {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
    body .sp,
    body img.sp {
        display: block !important;
    }
}

/* --- 見出しの文字折れを修正 --- */
.article h2, 
.entry-content h2 {
    /* 文字サイズを少し小さくして1行に収まりやすくする */
    font-size: 2.4rem !important; 
    /* 左右のパディングを調整して文字の有効幅を広げる */
    padding: 14px 15px 14px 80px !important; 
    /* 文字がはみ出しても折り返さないように保険をかける場合は以下（任意） */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 万が一入り切らない場合は「...」にする */
}

/* 左側の「安心」アイコンと文字が被らないように微調整 */
.article h2::before,
.article h2::after {
    /* 背景グラデーションが文字の下にしっかり敷かれるように再指定 */
    z-index: -1 !important;
}

/* スマホ時（1000px以下）のさらに小さい画面への対応 */
@media screen and (max-width: 1000px) {
    .article h2, 
    .entry-content h2 {
        font-size: 1.8rem !important; /* スマホではさらにフォントを落とす */
        padding: 10px 10px 10px 65px !important;
        white-space: normal; /* スマホでは画面幅が狭すぎるため折り返しを許可 */
    }
}
/* --- STEP 4・5を中央でくっつける決定版設定 --- */

/* 1. 外側のブロック */
.outblock {
    width: 100% !important;
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* 2. リスト本体：中央寄せに設定 */
.outblock .flow_list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* 全体を中央寄せにする */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    gap: 0 !important;
}

/* 3. 各ボックス（li） */
.outblock .flow_list li {
    /* 3つ並んだ時に合計が100%を超えないよう、マージンを含めて調整 */
    width: 31% !important; 
    margin: 0 1% 40px 1% !important; /* 左右に1%ずつの余白（計2%）を作る */
    position: relative !important;
    box-sizing: border-box !important;	
}

.outblock .flow_list li .text_main{
font-size:1.15em;
}

/* 4. 矢印（before）：ボックス間の隙間の中央に配置 */
.outblock .flow_list li::before {
    display: block !important;
    content: "";
    position: absolute !important;
    right: -5.5% !important; /* 左右マージンの中間に置く */
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

/* 3つ目(STEP3)の後の矢印を消す */
.outblock .flow_list li:nth-child(3n)::before {
    display: none !important;
}

/* STEP5の後の矢印を消す（2段目の最後） */
.outblock .flow_list li:last-child::before {
    display: none !important;
}

/* --- スマホ対応：2カラム --- */
@media screen and (max-width: 1000px) {
    .outblock .flow_list {
        justify-content: center !important;
    }
    
    .outblock .flow_list li {
        width: 46% !important; /* 少し小さくして中央に寄せる */
        margin: 0 2% 20px 2% !important;
    }

    .outblock .flow_list li::before {
        right: -8% !important;
    }

    /* 偶数（右側）の矢印を消す */
    .outblock .flow_list li:nth-child(2n)::before {
        display: none !important;
    }
}
/* --- 車の鍵トラブル（about_list）2列化の最終解決策 --- */

/* 1. リスト全体を横並びにする */
ul.about_list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 1000px !important;
}

/* 2. 各アイテムを「48%（2列）」にする */
ul.about_list li {
    /* 100%を上書きして2列に強制 */
    width: 48.5% !important; 
    margin: 0 0 30px 0 !important;
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    
    /* 中身を縦に並べる（画像が上、文字が下） */
    display: flex !important;
    flex-direction: column !important;
    
    /* Cocoonの横幅100%設定を無効化 */
    float: none !important; 
    box-sizing: border-box !important;
}

/* 3. 画像の高さを揃えてガタつきを防止 */
ul.about_list li img {
    width: 100% !important;
    height: 250px !important; /* 画像の高さを固定して綺麗に並べる */
    object-fit: cover !important;
    margin: 0 !important;
    display: block !important;
}

/* 4. テキスト部分の調整 */
ul.about_list li .text_wrap {
    padding: 20px !important;
    background: #fff !important;
}

ul.about_list li h3 {
    font-size: 22px !important;
    color: #FF6410 !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    border: none !important; /* Cocoonの線を消す */
}

ul.about_list li p.text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* --- スマホ対応：1列に戻す --- */
@media screen and (max-width: 768px) {
    ul.about_list li {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}

/* --- 最終手段：グリッドレイアウトで2列を強制する --- */

.top_about .about_list {
    display: grid !important;
    /* 1:1の比率で2列に分割し、間に2%の隙間を作る */
    grid-template-columns: 1fr 1fr !important; 
    gap: 30px 20px !important;
    
    /* Cocoonの横並び防止設定を無効化 */
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.top_about .about_list li {
    /* gridを使えばwidth指定なしで「半分」に固定されます */
    width: auto !important; 
    margin: 0 !important;
    padding: 0 !important;
    
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    
    /* 中身の画像・文字の並び */
    display: flex !important;
    flex-direction: column !important;
}

/* 画像の高さを固定（これが無いとガタつきます） */
.top_about .about_list li img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

.top_about .about_list li .text_wrap {
    padding: 20px !important;
}

/* スマホでは1列にする */
@media screen and (max-width: 768px) {
    .top_about .about_list {
        grid-template-columns: 1fr !important; /* 1列に変更 */
    }
}


/* --- 車の鍵トラブル：画像余白＆スマホ画像切れ対策 --- */

.top_about .about_list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; 
    gap: 30px 20px !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.top_about .about_list li {
    width: auto !important; 
    margin: 0 !important;
    /* 1. ボックス内の全体に余白を作る（お好みで調整してください） */
    padding: 15px !important; 
    
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    
    display: flex !important;
    flex-direction: column !important;
    /* overflow: hidden を削除して余白を見えるようにします */
}

/* 2. 画像の余白と比率の維持 */
.top_about .about_list li img {
    width: 100% !important;
    /* PCでは高さを固定して揃える */
    height: 220px !important; 
    object-fit: cover !important;
    display: block !important;
    margin: 0 0 15px 0 !important; /* 画像の下に少し隙間 */
    border-radius: 6px !important; /* 画像の角も少し丸くすると綺麗です */
}

.top_about .about_list li .text_wrap {
    /* li自体にpaddingをつけたので、ここは内側だけの調整に */
    padding: 0 !important; 
}

/* --- スマホ対応：1列に戻し、画像が削れないようにする --- */
@media screen and (max-width: 768px) {
    .top_about .about_list {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .top_about .about_list li {
        padding: 10px !important;
    }

    .top_about .about_list li img {
        /* 3. スマホでは高さを自動に戻して、画像が削れるのを防ぐ */
        height: auto !important; 
        aspect-ratio: 16 / 9 !important; /* 常に16:9の比率を維持 */
    }
}




/* --- HTML改造に合わせたお支払いエリアの修正 --- */

/* ddの中を縦に並べる */
.top_payment dd {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* 左寄せ */
}

/* テキストエリア */
.top_payment .pay_text {
    width: 100% !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
}

/* 画像エリア：ここが重要！ */
.top_payment .pay_img {
    display: block !important;
    width: 100% !important;
    text-align: left !important; /* 左寄せ */
}

/* 画像本体：比率を死守する */
.top_payment .pay_img img {
    width: auto !important;      /* 横幅をコンテンツに合わせる */
    max-width: 350px !important; /* PCでの最大幅 */
    height: auto !important;     /* 高さを自動計算して潰れを防止 */
    display: block !important;
    flex-shrink: 0 !important;   /* 絶対に縮ませない */
}

/* Paidのロゴは少し小さいので調整 */
.top_payment .payment_paid_img {
    max-width: 150px !important;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .top_payment .pay_img img {
        max-width: 100% !important; /* スマホでは画面に収まるように */
    }
}

/* --- スマホ左右の空白・はみ出しを物理的に消去 --- */

@media screen and (max-width: 768px) {
    /* 1. サイト全体の「横揺れ・隙間」を根本から止める */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Cocoonのメインコンテナの余白をリセット */
    #content, .wrap, .inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 3. 画像25枚目のバナー（ヘッダー・トップ画像）を画面端まで広げる */
    .top_payment, .top_about, .top_security, .top_main_visual {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 画像そのものが隙間を作っている場合への対策 */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* --- ヘッダーのレイアウト崩れ完全修正 --- */
/* --- ヘッダーレイアウト強制矯正（2枚目の位置を再現） --- */

/* 1. 親コンテナ：ロゴと右側エリアを両端に分ける */
.header_custom_flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important; /* サイト幅に合わせて調整 */
    margin: 0 auto !important;
    padding: 10px 0 !important;
    flex-wrap: nowrap !important;
}

/* 2. 右側エリア：アイコンとボタンを「セット」で右に寄せる */
.header_right_content.pc {
    display: flex !important;
    flex-direction: row !important; /* 横並びを強制 */
    align-items: center !important;
    justify-content: flex-end !important; /* 右端に寄せる */
    gap: 15px !important; /* アイコンとボタンの間の距離 */
    margin-left: auto !important; /* これでロゴから離れて右に移動します */
}

/* 3. アイコン群：2つのアイコンを横に並べる */
.header_icon {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    margin-left: 0 !important; /* 上書き */
}

/* 4. 電話ボタン：縮小を禁止してサイズを維持 */
.header_btns {
    flex-shrink: 0 !important;
}

.header_btns img {
    height: auto !important;
    max-height: 85px !important; /* 電話ボタンのサイズ感調整 */
    display: block !important;
}

/* 5. ロゴの微調整 */
.header_logo {
    flex-shrink: 0 !important;
}

.header_logo img {
    height: auto !important;
    max-height: 70px !important; /* ロゴの高さ */
}

/* Cocoonのデフォルトロゴエリアの余白を消して広げる */
.header-container-in, .logo-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
/* --- スマホメニュー展開時：ロゴを常に表示 --- */
.mobile-menu-drawer {
    padding-top: 60px !important; /* ロゴを表示するスペースを確保 */
}

.mobile-menu-drawer::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 15px;
    width: 150px; /* ロゴのサイズに合わせて調整 */
    height: 40px;
    background: url('/img/common/logo.svg') no-repeat center / contain;
    z-index: 10001;
}

/* 閉じるボタン（×）と検索ボタンの重なりを解消 */
.mobile-menu-buttons {
    z-index: 10002 !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /* サイドバーを強制的に表示させる */
  .no-mobile-sidebar .sidebar,
  .sidebar {
    display: block !important;
  }
}


@media screen and (max-width: 1023px) {
  /* メニュー全体のリスト設定 */
  .menu-footer {
    display: flex;
    flex-direction: column;
    padding: 10px !important; /* 全体の余白も少しスリムに */
    margin: 0 !important;
    list-style: none !important;
  }

  /* 各リスト項目の枠組み */
  .menu-footer li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 !important;
  }

  /* リンク（文字）と行間のスリム調整 */
  .menu-footer li a {
    display: block !important;
    /* 上下余白を8pxに、左余白を30pxにしてスリム化 */
    padding: 8px 0 8px 30px !important; 
    color: #fff !important;
    text-decoration: none !important;
    position: relative !important;
    line-height: 1.4 !important; /* 行間を標準的な高さに */
    font-size: 15px !important; /* 文字を少し小さくしてスリムに */
    font-weight: bold !important;
    text-align: left !important;
  }

  /* ＞ アイコンの位置調整（スリムになっても中央に維持） */
  .menu-footer li a::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px; /* アイコンも少し小さく */
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
  /* 前回の「底上げ」も忘れずに（固定ボタンとの被り防止） */
  body {
    padding-bottom: 70px !important;
  }

}



/* 1. リスト全体のスタイル調整 */
.menu-drawer {
    padding: 10px 20px !important; /* 左右に少し余白 */
    list-style: none !important;
}

/* 2. 各メニュー項目の罫線 */
.menu-drawer li {
    border-bottom: 1px solid #ddd; /* 薄いグレーの線 */
    margin: 0 !important;
}

/* 3. リンク（文字）の調整と「＞」用の余白確保 */
.menu-drawer li a {
    display: block !important;
    padding: 12px 0 12px 25px !important; /* 左側に矢印用のスペース */
    position: relative !important;
    color: #333 !important; /* 文字色（お好みで調整） */
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
}

/* 4. 「＞」アイコンの設置 */
.menu-drawer li a::before {
    content: '';
    position: absolute;
    left: 5px; /* 左端からの位置 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    border-top: 2px solid #666; /* 矢印の色 */
    border-right: 2px solid #666;
}

/* 最後（お問い合わせ）の下線が不要な場合は以下を追記 */
.menu-drawer li:last-child {
    border-bottom: none;
}
/* functions.phpで追加したバナー項目だけスタイルをリセット */
.menu-tel-banner-item {
    border-bottom: none !important; /* 下線を消す */
}

.menu-tel-banner-item a::before {
    display: none !important; /* 矢印「＞」を消す */
}

.menu-tel-banner-item a:active {
    opacity: 0.8; /* タップ時の反応 */
}

/* お問い合わせフォーム テーブルスタイル */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.contact-table th, .contact-table td {
    border: 1px solid #ccc;
    padding: 15px;
    vertical-align: middle;
}

/* 左側の項目ラベル部分 */
.contact-table th {
    width: 30%;
    background-color: #eaeaea; 
    text-align: left;
    font-weight: bold;
    color: #333;
}

/* 必須ラベル */
.contact-table .required {
    background: #ff8c00;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 入力欄の幅調整 */
.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="tel"],
.contact-table select,
.contact-table textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 住所欄の微調整 */
.zip-row {
    display: block;
    margin-bottom: 10px;
}
.contact-table .zip {
    width: 100px !important;
    display: inline-block;
}

/* ボタンエリア */
.contact-submit {
    text-align: center;
    margin-top: 20px;
}

/* リセットボタン */
.wpcf7-submit, .wpcf7-reset {
    padding: 10px 30px !important;
    font-weight: bold;
    cursor: pointer;
    margin: 0 10px;
}

/* モバイル対応（スマホで見るときは縦並びにする） */
@media screen and (max-width: 600px) {
    .contact-table th, .contact-table td {
        display: block;
        width: 100%;
    }
    .contact-table th {
        border-bottom: none;
    }
}
/* 1. ボタンの外側の枠（親要素）の設定 */
.contact-submit {
    text-align: center !important; /* 子要素（ボタン）を中央に寄せる */
    margin: 40px 0 !important;
    padding: 0 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. 送信ボタン本体の設定 */
.contact-submit input[type="submit"] {
    /* 配置の修正：左寄せを解除し中央へ */
    display: inline-block !important; 
    float: none !important;
    margin: 0 auto !important;
    
    /* サイズの設定 */
    width: 90% !important;
    max-width: 500px !important;
    min-height: 60px !important; /* ボタンの厚みを確保 */

    /* 見た目の設定 */
    background: linear-gradient(to bottom, #ffba00 0%, #ff8c00 100%) !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: center !important; /* ボタン内の文字を中央に */
    
    /* 立体感と影 */
    border: none !important;
    border-bottom: 5px solid #d35400 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    
    /* その他 */
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 15px 10px !important;
}

/* 3. ボタンを押した時の動き */
.contact-submit input[type="submit"]:active {
    transform: translateY(3px) !important;
    border-bottom: 2px solid #d35400 !important;
    box-shadow: none !important;
}


.faq_more {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
font-size:0.5em;
}

.area_head.is-simple h2 {
  font-size: revert;
  font-weight: bold;
  color: #000;
}
.area_head.is-simple p {
  font-size: revert;
  color: #000;
}

.kagi-wrapper .area_head h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #000 !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
  line-height: 1.4 !important;
  position: static !important;
  z-index: auto !important;
  border-radius: 0 !important;
}
.kagi-wrapper .area_head h2::before,
.kagi-wrapper .area_head h2::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.kagi-wrapper .area_head p {
  font-size: 15px !important;
  color: #4b5563 !important;
}
.top_area .wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.top_area .area_head h2 {
  text-align: left !important;
}
.alft{
text-align: left !important;

}

.kagi-wrapper .top_seo_intro {
  padding: 34px 0 24px;
  background: #fff;
}
.kagi-wrapper .top_seo_intro h1 {
  font-size: 28px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
}
.kagi-wrapper .top_seo_intro p {
  font-size: 15px !important;
  line-height: 1.9 !important;
}
@media (max-width: 768px) {
  .kagi-wrapper .top_seo_intro { padding: 24px 0 18px; }
  .kagi-wrapper .top_seo_intro h1 { font-size: 22px !important; }
  .kagi-wrapper .top_seo_intro p { font-size: 14px !important; }
}
.kagi-wrapper .top_seo_intro .wrap {
  max-width: 1000px;
  margin: 0 auto;
}
