@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #461f00;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
    --#navi-color: #461f00;
}
html {
    scroll-behavior: smooth;/* スムーススクロール */
}
body {
    background: var(--white-color); 
    color: var(--base-color);
    font-family: YuGothic,'Yu Gothic','Yu Gothic UI','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN',sans-serif;

        }

        .zen-maru-gothic-light {
            font-family: "Zen Maru Gothic", serif;
            font-weight: 300;
            font-style: normal;
          }
          
          .zen-maru-gothic-regular {
            font-family: "Zen Maru Gothic", serif;
            font-weight: 400;
            font-style: normal;
          }
          
          .zen-maru-gothic-medium {
            font-family: "Zen Maru Gothic", serif;
            font-weight: 500;
            font-style: normal;
          }
          
          .zen-maru-gothic-bold {
            font-family: "Zen Maru Gothic", serif;
            font-weight: 700;
            font-style: normal;
          }
          
          .zen-maru-gothic-black {
            font-family: "Zen Maru Gothic", serif;
            font-weight: 900;
            font-style: normal;
          }
          

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    color: #4d4d4d;
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

.heading-28 {
    color: #333333;
    font-weight: bold;
    font-size: 2em;
    letter-spacing: .04em;
    text-align: center;
    margin: 2em auto 1em;
}

.heading-28::before {
    display: block;
    font-weight: 700;
    font-size: .5em;
    line-height: 1.5;
    letter-spacing: .02em;
    content: attr(data-label);
}

@media screen and (max-width: 768px){
    .heading-28 {
        font-size: 1.5em;
        width: 85%;
    }

}

.manga {
    margin: 5px auto 0;
    width: 95%;
}

h3 {
    margin-top: .8em;
    font-weight: bold;
    font-size: 1.2em;
}

.heading-2 {
    padding:0 .4em .2em;
    border-bottom: 3px solid #2589d0;
    background-color: #ffffff;
    color: #333333;
}

.heading-11 {
    position: relative;
    padding: .5em .7em;
    background-color: #2589d0;
    color: #fff;
    font-size: 1.3em;
    text-align: center;
}

.heading-11::before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #1579c0;
    content: '';
}

h4 {
    margin-top: 2em;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

span.under{
        font-weight: bold;
        background:linear-gradient(transparent 80%, rgb(255, 207, 102) 60%);
}

span.under2{
    font-weight: bold;
    background:linear-gradient(transparent 80%, rgb(255, 255, 255) 60%);
}

.under{
    font-weight: bold;
    background:linear-gradient(transparent 80%, rgb(255, 207, 102) 60%);
}
-------------------------------------*/

.button {
    margin: 1rem;
}

.bnr-button-box{
    width: 80%;
    display: flex;
    margin: auto;
}

.bnr-button-box img{
    width: 100%;
    margin-top: -2.5em;
}

/*ヘッダー
-------------------------------------*/
.headerbar {
    background-color: var(--base-color);
    color: var(--white-color);
    font-size: 12px;
    padding: 0.3rem 0;
}
.headerbar .col {
    margin-bottom: 0;
}
.header {
    flex-direction: row;
    padding: 2rem 0 0 0;
    width: 100%;
}
.sitetitle {
    margin: 10px 10px 0;
}

.sitetitle img{
    width: 100%;
}

.info {
    margin-top: 5px;
    margin-right: 5px;
    font-size: 14px;
}



/* LINE予約ボタンのスタイル */
.reservation-button {
    background-color: #089b1e;
    color: #ffffff;
    padding: 10px 30px 10px 50px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 20px;
    position: relative;
}

.reservation-button::before {
    font-family: "Font Awesome 6 Brands";
    content: '\f3c0';
    font-size: 30px;
    font-weight: 400;
    margin-right: 10px;
    color:#fff;
    position: absolute;
    left: 15px;
}
  
.reservation-button:hover {
    background-color: #53c463;
  }

.reservation-button a {
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column; 
}
.contact-sub4 {
    font-size:15px;
    margin-bottom: -10px;
}

@media screen and (min-width: 768px){
.sitetitle img{
    width: 80%;
}


.header-box {
    margin-bottom: -4em;
    width: 80%;
}
.header-box ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

.header-box li img{
    width: 90%;
}
}
/*スマホ用メニュー
-------------------------------------*/	
@media screen and (max-width: 768px){
    #navi {
        display: none !important;
    }

    #open,#close {
        display: none !important;
    }
    .pc {
        display: none;
    }
}
@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

.FixedMenuSection {
    display: none !important;
}

.sp {
    display: none;
}
#sp {
    display: none;
}

.tel-button {
    width: 100%;
    margin: 0 auto;
}

}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
}
.header #open,#close  {
    position: absolute;
    top: 25px;
    right: 12px;
}
#navi ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 10px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 10px;
    right: 12px;
}
#navi li a {
    border-bottom: 1px dashed var(--link-color);
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
/* ドロップダウンメニュー
-------------------------------------*/
.menu > li {
	display: block;
	position: relative;
}
.menu > li > ul {
	display: none;
}
.menu > li:hover ul {
	display: block;
	position: absolute;
    width: 250px;
    z-index: 100;
    background-color: var(--back-color);
    margin-left: 0;
    margin-top: 0;
}
.menu li ul, .menu li ul li   {
    margin: 0;
    padding: 0;
    border-bottom: 1px dashed var(--link-color);
} 
.menu li ul, .menu li ul li:last-child   {
    border-bottom: none;
}
/*メイン画像
-------------------------------------*/
#mainimg {
    width: 100%;
}

#mainimg img{
    width: 100%;
}

#mainimg h1 {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 2;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
}

.gray-back {
	background-color: var(--back-color);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
}



.box-017 {
    max-width: 90%;
    margin: 0 auto;
    border-top: 5px solid #e6454e;
    border-radius: 3px;
    background-color: #f2f2f2;
}

.box-017 > div {
    margin: .5em 1em 0;
    color: #e6454e;
    font-weight: 600;
    font-size: .9em;
}

.box-017 > p {
    width: 100%;
    color: #333;
    font-size: .6em;
}

/*こんなお悩みありませんか
-------------------------------------*/
.trouble-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 80px;
    text-align: center;
  }
  
  .trouble-box {
    flex: 1 1 calc(25% - 20px);
    padding: 20px;
    box-sizing: border-box;
  }
  
  .trouble-box img {
    width: 90%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
    border: .5px solid #000; /* ← 黒い枠線を追加 */
  }
  
  .trouble-box p {
    font-size: 1em;
    color: #1b3c32;
    margin-top: 15px;
    line-height: 1.6;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    /* セクション左右の余白をさらに少なく */
    .trouble-section,
    .danger-section {
      padding: 0 5px;
    }
  
    /* ２カラム化：ボックス間ギャップを小さく */
    .trouble-box,
    .danger-box {
      flex: 1 1 calc(50% - 10px);
    }
  
    /* 画像サイズはお好みで調整 */
    .trouble-box img,
    .danger-box img {
      width: 100%;
      margin: 0 auto -1em;
    }
  
    /* テキストサイズも微調整 */
    .trouble-box p,
    .danger-box p {
      font-size: .7em;
      margin-bottom: -2em;
    }

    .danger {
      padding: 0;
    }
  }
  

/*闇金を放置するとこうなる
-------------------------------------*/
.danger {
  background: #dbdbdb;
  padding: 1px 0 1em;
}



  



/*自力交渉は危険です
-------------------------------------*/
  .box-004 {
    width: 60%;
    display: flex;
    grid-gap: 0 .7em;
    margin: 0 auto 1em;
    padding: 1em;
    border-radius: 5px;
    background-color: #feffe4;
    color: #333333;
}

.box-004::before {
    width: 24px;
    height: 24px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z' fill='%23f06060'%3E%3C/path%3E%3C/svg%3E");
}

.box-004 p {
    margin: 0;
    padding: 0 0 0 .7em;
    border-left: 1px solid #f06060;
    font-size: .8em;
}

@media (max-width: 768px) {
    .box-004 {
        width: 90%;
    }

    .box-004 p {
      margin: 0;
      padding: 0 0 0 .7em;
      border-left: 1px solid #f06060;
      font-size: .6em;
  }
}

/*闇金への返済シミュレーション
-------------------------------------*/
.yamikin-simulation {
        position: relative;
        width: 50%;
        margin: 0 auto;
        padding: 1em 0;
        background-color: #e0efff;
        color: #333;
    }
    
    .yamikin-simulation::after {
        position: absolute;
        top: 0;
        right: 0;
        border-width: 0 20px 20px 0;
        border-style: solid;
        border-color: #c0cfdf #fff;
        box-shadow: -1px 1px 1px rgb(0 0 0 / 5%);
        content: '';
    }

    .icon img {
        width: 30%;
        display: block;          /* ← 中央揃えに必要 */
        margin: -3em auto;    /* ← 上マイナス＆左右 autoで中央に */
      }


.graff-text {
    max-width: 100%;
    margin:0 auto 1em;
    text-align: left; /* テキストは左揃え */
    font-size: 1.1em;
  }
  
  @media (max-width: 768px) {

    .yamikin-simulation {
      width: 90%;
    }
  
    .graff-text {
      max-width: 100%;
      margin: -1em auto 0;
      text-align: left;
      font-size: 0.8em;
    }
  
    .icon img {
      width: 30%;
      display: block;          /* ← 中央揃えに必要 */
      margin: -3em auto;    /* ← 上マイナス＆左右 autoで中央に */
    }
  }
  

/*今すぐ相談しましょう
-------------------------------------*/
.highlight-call {
    padding: 50px 20px;
    width: 100%;
    margin: -2em 0;
  }
  
  .triangle-down {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid #ffd700; /* 黄色 */
    margin: 0 auto 20px;
  }
  
  .lead-text {
    font-size: 2em;
    font-weight: 600;
    color: #404040;
    line-height: 2;
    text-align: center;
  }
  
  .highlight-box {
    display: inline-block;
    background-color: #ffffff;
    border: 5px solid #ff1717;
    padding: 5px 30px;
    font-weight: bold;
    font-size: 1.5em;
  }

  .marker-animated {
    display: inline;
    font-size: 2em;
    font-weight: bold;
    color: #333;
    position: relative;
    background-image: linear-gradient(to right, #fff200 100%, transparent 0%);
    background-repeat: no-repeat;
    background-size: 0% 0.5em; /* 初期状態：幅0のマーカー */
    background-position: 0 100%;
    transition: background-size 1.5s ease-out;
  }
  
  /* 表示されたらマーカーを伸ばす */
  .marker-animated.active {
    background-size: 100% 0.5em;
  }

  .marker {
    display: inline;
    font-weight: bold;
    color: #333;
    position: relative;
    background-image: linear-gradient(to right, #fff756 100%, transparent 0%);

  }
    
  
  
  
  

  @media (max-width: 768px) {
    .highlight-call {
        width: 100%;
        padding: 0;
      }

    .lead-text {
        font-size: 1.3em;
        text-align: center;
      }


      .highlight-box {
        padding: 5px;
      }
      .marker-animated {
        font-size: 1.5em;
  }
  }

/*バナー
-------------------------------------*/
.bnr-call {
    padding: 10px;
    width: 100%;
  }
  
.bnr-text {
    font-size: 1.8em;
    font-weight: 600;
    color: #ffffff;
    line-height: 2;
    text-align: center;
  }

.bnr-main-text {
    font-size: 2em;
    color: #fff700;
}

  
.image-button-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }
  
  .banner-left,
  .banner-right {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .banner-left img {
    max-width: 100%;
    height: auto;
  }
  
  .banner-right img {
    margin: 1em 0;
  }

  .cta-button {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  
  /* スマホ対応：縦並びにする */
  @media screen and (max-width: 768px) {
    .image-button-banner {
      flex-direction: column;
    }
  
    .banner-left,
    .banner-right {
      flex: 1 1 100%;
      text-align: center;
    }

    .banner-left img {
        margin: -30px 0 0;
      }

    .banner-right img {
        margin: 0 0 -20px;
    }
  
    .cta-button {
      margin: 10px auto;
    }

    .bnr-text {
        font-size: 1.2em;
        margin-bottom: -1em;
    }
    
    .bnr-main-text {
        font-size: 1.5em;
        color: #fff700;
    }

    br.bnr-text {
        display: none;
    }


  }
  
  
  .bnr-box {
    display: inline-block;
    background-color: #ffffff;
    border: 5px solid #ff1717;
    padding: 5px 30px;
    font-weight: bold;
    font-size: 1.5em;
  }

  .heading-14 {
    display: inline-block;
    position: relative;
    padding: .5em 1.4em .5em 1em;
    background-color: #fff700;
    color: #333333;
    font-weight: bold;
    width: 90%;
    margin: 0 auto;
}

.heading-14::before {
    position: absolute;
    bottom: -1px;
    right: 9px;
    z-index: -1;
    transform: rotate(5deg);
    width: 70%;
    height: 50%;
    background-color: #4d4d4d;
    content: "";
    filter: blur(10px);
}

/*警察と闇金
-------------------------------------*/
.image-text-section {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .image-area {
    flex: 1 1 30%;
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-area img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 6px;
  }
  
  .text-area {
    flex: 1 1 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
  }

  .text-area h2 {
    font-weight: bold;
  }
  
  /* 吹き出し：共通部分 */
  .speech-bubble {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    color: #333;
    max-width: 500px;
    line-height: 1.6;
    font-size: 1em;
    margin-top: 30px;
    text-align: left;
  }
  
  /* PC：左向きしっぽ */
  .speech-bubble::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 20px;
    border: 20px solid transparent;
    border-right-color: #ccc;
  }
  
 

  
    @media screen and (max-width: 768px) {
        .image-text-section {
          flex-direction: column;
        }
      
        .image-area,
        .text-area {
          max-width: 100%;
        }
      
        .image-area img {
          max-width: 80%;
        }
      
        .text-area {
          padding: 20px 10px;
        }
      
        /* ✅ 吹き出しの向きを「上向き」に変更 */
        .speech-bubble::before,
        .speech-bubble::after {
          left: 50%;
          top: -20px;
          bottom: auto;
          transform: translateX(-50%);
          border-right-color: transparent;
        }
      
        .speech-bubble::before {
          border-bottom-color: #ccc;
          border-top: none;
        }
      
  }
    
/*選ばれる理由
-------------------------------------*/

.reason-section {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 20px;
  }
  
  .reason-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .reason-header h2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #00A9CF;
    line-height: 1.4;
  }
  
  .reason-header h2 span {
    font-size: 1em;
    color: #222;
  }
  
  .man-image img {
    width: 20%;
    margin:-4em auto -2em;
    z-index: -10;
  }
  
  /* 理由ボックス全体 */
  .reason-box {
    width: 100%;
    border: 2px solid #121212;
    border-radius: 10px;
    padding: 20px;
    background: #f9f9f9;
    margin: 0 auto;
    box-shadow: #000;
  }
  
  /* 各ブロック */
  .reason-block {
    margin-bottom: 30px;
  }

  .reason-block li{
    width: 90%;
    margin: 0 auto;
    text-align: left;
    font-weight: 500;
  }
  
  .point-banner {
    background-color: #060057; /* バナー背景色 */
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 1.6em;
    text-align: center;
  }
  
  .point-label {
    font-size: 0.9em;
    color: #fff700;
  }
  
  .point-text {
    font-size: 1.1em;
  }

  .feature-list {
    margin: 0 auto;
  }
  
  .feature-item {
    text-align: center;
  }
  
  .feature-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
  }
  
  .check-icon {
    width: 28px;
    height: 28px;
  }
  
  .highlight {
    color: #00a6a9;
    font-weight: bold;
  }
  
  .feature-desc {
    font-size: .7em;
    color: #333;
    font-weight: bold;
  }
  
  .feature-note {
    font-size: 0.3em;
    color: #666;
  }
  
  
  /* 内容リスト */
  .reason-block ul {
    font-size: 1.3em;
    font-weight: bold;
    list-style: none;
    padding: 0;
    margin: .5em auto;
  }
  
  .reason-block li {
    font-size: 0.95em;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .blue {
    color: #00A9CF;
    font-weight: bold;
  }

    .red {
    color: #e1000f;
    font-weight: bold;
  }

  
    .orange {
    color: #ff7b00;
    font-weight: bold;
  }
  
  /* レスポンシブ */
  @media screen and (max-width: 768px) {
    .reason-header h2 {
      font-size: 1em;
    }

    .point-label {
        font-size: 0.5em;
      }
      
      .point-text {
        font-size: .8em;
      }
  
    .man-image img {
      width: 50%;
    }
  
    .reason-box {
    width: 100%;
    padding: 15px;
    }
  
    br.sp-hide {
      display: none;
    }
  }
  
  .points-section {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Helvetica", "Meiryo", sans-serif;
    background: #f8fbfd;
  }

  .office-infobox {
    width: 90%;
    display: flex;
    flex-wrap: wrap; /* 複数行対応 */
    justify-content: space-between;
    margin: -3em auto 0;
}

.office-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.office-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8em;
}

.office-table td {
    padding: 15px;
    border: 1px solid #ccc;
    text-align: left;
    width: 70%;
}

.office-table th {
    background-color: #f2f2f2;
    padding: 15px;
    border: 1px solid #ccc;
    text-align: left;
    width: 30%;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  word-break: break-word;
  font-size: 0.95em;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  background-color: #f7f7f7;
  width: 35%;
}

/* スマホ最適化（不要な横スクロールを防ぐ） */
@media (max-width: 600px) {
  .responsive-table {
    font-size: 0.85em;
  }

  .responsive-table th,
  .responsive-table td {
    padding: 8px;
  }
}


/* スマホなどの小さい画面では縦並びにする */
@media (max-width: 768px) {
.office-container {
    width: 90%;
    margin: 0 auto 1em;
  }

.office-info {
  width: 100%;
}

 .office-table tr{
    width: 80%;
    border-collapse: collapse;
}

.office-info th, td {
    border: 1px solid #ccc;
    text-align: left;
    
}


}

  .office-header ul {
    list-style-position: outside; /* デフォルトのアイコン（番号など）が外側に来るようにする */
    padding-left: 20px; /* リスト全体の左側の余白を追加 */
}

.office-header li{
    flex-direction: column;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.5em;
    list-style-position: outside; /* インデントの調整 */
    text-indent: -1em; /* 1行目のテキストを左に寄せる */
    padding-left: 1em;  /* 折り返し後の行が1em分右にくるようにする */
}


.office-header {
    text-align: center;
    margin: 10px 20px;
}

.office-header img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1em 0;
}

.office-header h1 {
    font-size: 1.8em;
    margin-top: 20px;
}

.office-header p {
    font-size: 1.1em;
    color: #666;
}

.office-information {
    margin-top: 10px;
    width: 90%;
}

.office-contents {
    margin: 1em;
    font-size: .9em;
    text-align: left;
}

.office-contents p{
    font-weight: bold;
    margin-bottom: -1em;
    text-align: left;
}



.point-box {
    padding: 2em 1em 1em;
    background-color:#fef48b;
}

.point-box p{
    font-size: .8em;
    margin-bottom: 2em;
}

.raking-officetitle {
  font-weight: bold;
}

.raking-officetitle img {
  width: 60px;
}




/*司法書士vs弁護士
-------------------------------------*/ 
.compare-section {
    background: #f3fafa;
    padding: 5px 0 ;
}

.compare-text{
    width: 50%;
    margin: -1em auto;
    font-weight: 500;
    font-size: 1em;
  }


.compare-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
  }
  
  .compare-boxes {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;              /* 折り返しを禁止 */
    justify-content: space-between;
    gap: 20px;
  }
  
  .box {
    flex: 1 1 50%;                  /* 均等に2カラム */
    max-width: 50%;
    min-width: 0;                   /* モバイルで折り返さないため必須 */
    box-sizing: border-box;
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow-wrap: break-word;      /* テキストの崩れ防止 */
    margin-bottom: 1em;
  }

  
  /* 吹き出し三角 */
  .box-left::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 24px solid #00A9CF;
  }
  
  .box-right::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 24px solid #dbebf0;
  }

  .box-left {
    border: 3px solid #00A9CF;
    background: #fff;
  }

  .sub-left {
    font-size: .8em;
  }

  .lead-left {
    font-size: 1em;
    background-color: #ffd700;
    padding: 1px .5em;
    text-align: center;
    font-weight: bold;
  }
  
  .box-right {
    background: #dbebf0;
  }
  
  .box-icon {
    width: 30%;
  }

  .lead-right {
    font-size: 1em;
    padding: 1px .5em;
    text-align: center;
    font-weight: bold;
  }

  .sub-right {
    font-size: .8em;
  }


  
  /* ==== 以下は比較表部分 ==== */
  .hikaku {
    padding: 0 3em;
  }

  @media screen and (max-width: 768px) {
      .hikaku {
    padding: 0;
  }
}




  .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .comparison-table th {
    color: #000;
    padding: 15px;
    font-size: 1em;
  }
  
  .comparison-table th.shihou-cell {
    width: 42%;
    border: 4px solid #00A9CF;
    font-weight: bold;
    background-color: #00A9CF;
    color: #fff;
  }
  
  .comparison-table td {
    border: 1px solid #ccc;
    padding: 10px 0;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95em;
    font-weight: 550;
  }
  
  .comparison-table td.shihou-cell {
    background-color: #e6faff;
    border: 4px solid #00A9CF;
    font-weight: bold;
  }
  
  .label {
    display: inline-block;
    background: #00A9CF;
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.85em;
  }
  
  .note {
    display: block;
    font-size: 0.8em;
    color: #555;
    margin-top: 5px;
  }
  
  .compare-footer {
    text-align: center;
    font-weight: bold;
    color: #00A9CF;
    margin-top: 30px;
  }

  @media screen and (max-width: 768px) {
    .box {
        padding: 3px;
    }

    .compare-text{
        width: 100%;
        font-size: .8em;
        margin: -2em auto;
      }

    .sub-left {
        font-size: 13px;
        font-weight: 500;
        padding: 4px 0 0 ;
        line-height: 20px;
      }
    
      .lead-left {
        font-size: 15px;
        background-color: #ffd700;
        padding: 1px .5em;
        text-align: center;
        line-height: 1.3em;
      }

      .sub-right {
        font-size: 13px;
        font-weight: 500;
        padding: 4px 0 0 ;
        line-height: 20px;
      }
    
      .lead-right {
        font-size: 15px;
        padding: 1px .5em;
        text-align: center;
        line-height: 1.3em;
      }

      .compare-title {
        font-size: 15px;
      }

      .box-icon {
        width: 50%;
      }
    }
    
  



  
 /*取り立ては止まります
-------------------------------------*/ 
  .stop-section {
    margin: 1em auto;
    padding: 1em 1em 5em;
  }
  
  .stop-section p{
    width: 50%;
    margin: -1em auto;
    font-weight: 500;
    font-size: 1em;
  }
  
  .stop-img{
    width: 70%;
    margin: 0 auto;
  }
  
  .stop-img img{
    width: 50%;
    text-align: center;
    margin: -3em 0;
  } 

  .balloon-002 {
    justify-content: center;
    position: relative;
    width: 50%;
    margin: 3em auto 0;
    padding: 2em;
    border-radius: 5px;
    background-color: #fff8cc;
    color: #333333;
}

.balloon-002::before {
    position: absolute;
    top: -15px;
    width: 30px;
    height: 15px;
    background-color: #fff8cc;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    content: '';
}

  @media screen and (max-width: 768px) {
    .stop-section {
        padding: 1em 1em 3em;
      }

    .stop-section p{
        width: 100%;
        font-size: .8em;
        margin: -2em auto;
      }

      .stop-img{
        width: 100%;
      }

      .stop-img img{
        width: 100%;
        margin: -3em 0;
      } 
  }

/*返済しても…
-------------------------------------*/ 
.hensai-section {
    margin: 0 auto;
    padding: 0 1em 3em;
  }
  
  .hensai-section p{
    width: 50%;
    margin: -1em auto;
    font-weight: 500;
    font-size: 1em;
  }
  
  .hensai-img{
    width: 70%;
    margin: 0 auto;
  }
  
  .hensai-img img{
    width: 50%;
    text-align: center;
    margin: -3em 0;
  } 

  @media screen and (max-width: 768px) {
    .hensai-section {
        margin-top: -2em;
    }

    .hensai-section p{
        width: 100%;
        font-size: .8em;
        margin: -2em auto;
      }

      .hensai-img{
        width: 100%;
      }

      .hensai-img img{
        width: 100%;
        margin: -3em 0;
      } 
  }

.office-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ← 縦方向中央揃えを追加 */
  height: 100%;            /* ← 高さ100%にして中央揃え有効に */
  text-align: center;
}


 /* スマホでも表だけ横スクロール */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 表全体はスマホ画面より広めにしてスクロールを誘発 */
.scroll-table {
  min-width: 900px; /* 表がスマホ幅より広くなるように */
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95em;
}

/* 表セル共通設定 */
.scroll-table th,
.scroll-table td {
  border: 1px solid #ccc;
  padding: 10px;
  word-break: break-word;
   vertical-align: middle;   /* ← 縦中央揃え */
  text-align: center;       /* ← 横中央揃え */
}

/* ヘッダー装飾 */
.scroll-table th {
  background: #f7f7f7;
  font-weight: bold;
}

/* 画像サイズ制限 */
.office-image {
  max-width: 100px;
  height: auto;
}

.office-title {
  margin-top: -.5px;
}

/* 表内のリンクボタン等 */
.official-site-button {
  display: inline-block;
  background: #ffa200;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  margin-top: 5px;
}

/* スマホ用微調整 */
@media (max-width: 768px) {
  .scroll-table {
    font-size: 0.8em;
  }

  .office-image {
    max-width: 80px;
  }

.office-title {
font-size: .8em;
}
}
/* 表全体ラッパー */
.table-container {
  width: 90%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

/* 表全体幅は広めに設定 */
.scroll-table {
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95em;
}

/* セル共通 */
.scroll-table th,
.scroll-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
  text-align: center;
  word-break: break-word;
  background: #fff; /* ← sticky部分の背景必須 */
  z-index: 1;
}

/* 固定したい左1列にだけこのクラスを追加（後述のHTML変更も必要） */
.scroll-table .sticky-col {
  position: sticky;
  left: 0;
  z-index: 2; /* 他の列より上に表示 */
  background: #fff;
}

/* ヘッダー装飾 */
.scroll-table th {
  background-color: #f7f7f7;
  font-weight: bold;
}

/* 画像サイズ */
.office-image {
  max-width: 100px;
  height: auto;
}

/* ボタン */
.official-site-button {
  display: inline-block;
  background: #ffa200;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: none;
  margin-top: 5px;
}

/* スマホ用微調整 */
@media (max-width: 768px) {
  .scroll-table {
    font-size: 0.8em;
  }
  .office-image {
    max-width: 80px;
  }
}



.marker-yellow {
    background: linear-gradient(to bottom, transparent 50%, yellow 50%);
    padding-bottom: 2px;
    font-weight: bold;
  }

  .marker-yellow-red {
    background: linear-gradient(to bottom, transparent 50%, yellow 50%);
    padding-bottom: 2px;
    font-weight: bold;
    color: #e60023;
  }

  .marker-red {
    font-weight: bold;
    color: #e60023;
  }

  .marker-pink {
    background: linear-gradient(to bottom, transparent 50%, rgb(255, 192, 229) 50%);
    padding-bottom: 2px;
    font-weight: bold;
  }

   .shindan-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: row;
  }

  .shindan-button {
    width: auto;
  }

  .shindan-button img {
    width: 500px; /* 任意のボタン画像サイズに調整可能 */
    max-width: 100%;
    height: auto;
  }

  /* スマホサイズで縦並び */
  @media screen and (max-width: 768px) {
    .shindan-box {
      flex-direction: column;
      align-items: center;
      margin: 0 -1.5em;
    }

    .shindan-button img {
    width: 100%;
  }
 }

  /*相談時にしておくと良いこと
-------------------------------------*/

  .soudan-section {
    width: 100%;
    text-align: center;
    margin: 1em auto 0; 
    padding: .5em 0 0;
    background-color: #fff4df;
  }



  .soudan-title {
    text-align: center;
    margin: 0 1em 1em;
  }

  .soudan-text{
    width: 100%;
    font-size: .8em;
    margin: -2em auto;
    font-weight: 500;
  }



  .soudan-box {
    width: 100%;
  }

  .accordion-003 {
    width: 80%;
    margin:1em auto;
    border: solid .5px #85d6ff;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 1em 0;
    padding: 0 1em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1em;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 0 0 1.5em 3em;
    color: #333333;
    transition: transform .5s, opacity .5s;
    font-size: 1em;
    font-weight: 500;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .soudan-section {
        width: 100%;
        text-align: center;
        margin: 1em auto 0; 
        padding: 1px 0 2em;
      }
      
    .accordion-003 {
        width: 90%;
        margin:0 auto 10px;
    }

    .accordion-003 summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin: 1em 0;
        padding: 0 1em;
        color: #333333;
        font-weight: 600;
        cursor: pointer;
        font-size: 1em;
    }

    .accordion-003 p {
        transform: translateY(-10px);
        opacity: 0;
        margin: 0;
        padding: 0 0 1.5em 3em;
        color: #333333;
        transition: transform .5s, opacity .5s;
        font-size: .7em;
        font-weight: 500;
    }
}

/*闇金業者の見分け方
-------------------------------------*/ 
.yamikin-section {
    width: 100%;
    margin: 0 auto;
    background-color: #dedede;
    padding: 1em 0;
  }

  .yamikin-section img{
    margin-bottom: -1em;
  }


.accordion-001 {
    width: 60%;
    background-color: #f2f2f2;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
.accordion-001 {
    width: 90%;
    background-color: #f2f2f2;
    margin: 0 auto;
}

.accordion-001 p {
font-size: .8em;
}
}

.accordion-001:not([open]) {
    margin-bottom: 7px;
}

.accordion-001 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1em;
    padding: 1.5em 2em;
    border-radius: 5px;
    background-color: #00538f;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.accordion-001 summary::-webkit-details-marker {
    display: none;
}

.accordion-001 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion-001[open] summary::after {
    transform: rotate(225deg);
}

.accordion-001 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-001[open] p {
    transform: none;
    opacity: 1;
}

.yami-main-text {
    width: 50%;
    margin: -1em auto 1em;
    font-weight: 500;
    font-size: 1em;
}
  
 
  .yami-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .yami-item {
    background: #ffffff;
    border-left: 4px solid #20a4f3;
    padding: 15px 10px;
    flex: 1 1 100px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
  }
  
  .yami-item img {
    width: 80px;
    height: auto;
    flex-shrink: 0;
  }
  
  .yami-texts {
    flex: 1;
    width: 100%;
  }
  
  .yami-texts h3 {
    font-size: 20px;
    color: #008adb;
    margin: 0;
  }
  
  .yami-texts p {
    font-size: 10px;
    margin: 0;
    width: 100%;
  }
  
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .compare-table th,
  .compare-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  
  .compare-table th {
    background-color: #20a4f3;
    color: white;
  }
  
  .compare-table td.yami {
    background-color: #696969;
    color: #fff;
    font-weight: bold;
  }
  
  .compare-table td.seiki {
    font-weight: bold;
  }
  
  @media screen and (max-width: 768px) {
    .yamikin-section {
      width: 100%;
      padding: 30px 0;
      margin: 0 auto;
    }

    .yami-list {
      flex-direction: column;
      width: 80%;
      margin: 0 auto;
    }

    .yami-texts h3 {
      font-size: 20px;
      color: #008adb;
      margin: 0 0 -5px;
    }
   
    .yami-main-text{
        width: 100%;
        font-size: .8em;
        margin: -2em auto 0;
  }
  .compare-table {
    width: 80%;
    margin-top: -.5em;
  }

    .compare-table th,
    .compare-table td {
      font-size: 13px;
    }
  }


/*裁判できません
-------------------------------------*/ 
.saiban-section {
    margin: 0 auto;
    padding: 0 1em 3em;
  }

.saiban-section p{
    width: 50%;
    margin: -1em auto;
    font-weight: 500;
    font-size: 1em;
  }

@media screen and (max-width: 768px) {
  .saiban-section p{
    width: 100%;
    font-size: .8em;
    margin: -2em auto;
  }
}
  
/*解決までの流れ
-------------------------------------*/ 
.step-section {
  background: #f9f9f9;
  padding: 1px 0 1em;
}

.steps-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f9f9f9;
  }
  
  .step-box {
    flex: 1 1 calc(10% - 10px);
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
  }
  
  .step-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }
  
  .step-number {
    color: #20a4f3;
    font-weight: bold;
    font-size: 16px;
  }
  
  .step-label {
    background: #20a4f3;
    color: white;
    display: inline-block;
    padding: 2px 10px;
    font-size: 13px;
    border-radius: 15px;
    margin: 5px 0;
    font-weight: bold;
  }

  .step-label-you {
    background: #fff;
    color: #20a4f3;
    display: inline-block;
    padding: 2px 10px;
    font-size: 13px;
    border: 2px solid #20a4f3;
    border-radius: 15px;
    margin: 5px 0;
    font-weight: bold;
  }
  
  .step-title {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 5px;
  }
  
  .step-text {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .arrow {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #ccc;
  }
  
  @media screen and (max-width: 768px) {
    .steps-wrap {
      flex-direction: column;
    }
  
    .step-box {
      flex: 1 1 100%;
      margin-bottom: 20px;
    }
  
    .arrow {
      margin: 10px auto;
      transform: rotate(360deg);
      border-left: none;
      border-top: 20px solid #ccc;
      border-right: 15px solid transparent;
      border-left: 15px solid transparent;
      border-bottom: none;
      width: 0;
      height: 0;
    }
  }

/*よくある質問
-------------------------------------*/
  .faq-section {
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    display: flex;
    margin: .5em auto 0;
    padding-bottom: 3em;
  }

  .accordion-004 {
    width: 45%;
    border-bottom: 2px solid #a8e5ff;
    font-size: .8em;
    margin: 0 auto;
  }

.accordion-004 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 3px 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}

.accordion-004 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}

  @media screen and (max-width: 768px) {
.faq-section {
      padding-bottom:3em;
    }

    .accordion-004 {
      width: 100%;
      border-bottom: 2px solid #a8e5ff;
      font-size: .8em;
      margin: 0 auto;
    }
  
  .accordion-004 summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      padding: 3px 2em;
      color: #333333;
      font-weight: 600;
      cursor: pointer;
  }
  
  .accordion-004 summary::-webkit-details-marker {
      display: none;
  }
  
  .accordion-004 summary::after {
      transform: translateY(-25%) rotate(45deg);
      width: 7px;
      height: 7px;
      margin-left: 10px;
      border-bottom: 3px solid #333333b3;
      border-right: 3px solid #333333b3;
      content: '';
      transition: transform .3s;
  }
  
  .accordion-004[open] summary::after {
      transform: rotate(225deg);
  }
  
  .accordion-004 p {
      transform: translateY(-10px);
      opacity: 0;
      margin: 0;
      padding: .3em 2em 1.5em;
      color: #333333;
      transition: transform .5s, opacity .5s;
  }
  
  .accordion-004[open] p {
      transform: none;
      opacity: 1;
  }
  }

/*チェックリスト
-------------------------------------*/
.list-1 {
    list-style-type: disc;
    width: 50%;
    margin: 0 auto;
    padding: 1em 1em 1em 2.5em;
    border: 2px solid #00508a;
    text-align: left;
    font-size: 1.2em;
}

.list-1 li {
    padding: .3em .3em .3em 0;
}

.list-1 li::marker {
    color: #00508a;
    font-size: 1.1em;
}

.nayami-image img {
    width: 10%;
    margin: 0 auto;
}

#graff-image_pc img {
    width: 50%;
    margin: 1em auto 0;
}


/*費用の心配
-------------------------------------*/
.sinpai-box {
    padding: 1em;
}

.box-019 {
    position: relative;
    margin: 2em auto 0;
    padding: 1.8em 1.5em 1em 1.5em;
    border: 2px solid #ee93ab;
    background-color: #fff;

}

.box-019 > div {
    position: absolute;
    top: -1.5em;
    left: -.5em;
    padding: .4em 1.4em;
    border-radius: 25px;
    background-color: #ee93ab;
    color: #fff;
    font-size: 1.5em;
}

.box-019 > div::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 8px;
    background-color: #ee93ab;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.box-019 p {
    margin: 0;
}


.box-020 {
    position: relative;
    margin: 1em 0;
    padding: 1.8em 1.5em 1em 1.5em;
    border: 2px solid #ee93ab;
    background-color: #fff;
}

.box-020 > div {
    position: absolute;
    top: -3.15em;
    left: -.5em;
    padding: .4em 1.4em;
    border-radius: 25px;
    background-color: #ee93ab;
    color: #fff;
    font-size: 1em;
}

.box-020 > div::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 8px;
    background-color: #ee93ab;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.box-020 p {
    margin: 0;
}



.sinpai-subtext p{
 font-size: .5em;
 line-height: 1.1em;
}


.balloon-006 {
    justify-content: center;
    position: relative;
    max-width: 50%;
    margin: -2em auto 2em;
    padding: .8em 1.2em;
    border: 3px solid #e5545d;
    border-radius: 5px;
    background-color: #fff;
    color: #333333;
    text-align: left;
}

/*5つのポイント
-------------------------------------*/
.reason-wrapper {
    width: 90%;
    margin: 0 auto;
}


.reason-title {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.reason-img {
    width: 90%;
    margin: 0 auto;
}



.box-013 {
    position: relative;
    width: 90%;
    margin: 2em auto 3em;
    border-radius: 3px;
    background-color: #fff;
}

.box-013::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: .5em;
    left: 1em;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background-color: #E8BEC9;
    color: #fff;
    font-weight: 600;
    content: attr(data-number);
}

.box-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5em 1.5em .5em 3.8em;
    color: #4f1f02;
    font-weight: 600;
    font-size: 1em;
    text-align: left;
    margin-top: -1em;
    margin-bottom: -1px;
}

.reason-text {
    width: 90%;
    margin: 0 auto;
    padding: 1em;
    color: #333;
    line-height: 1.9em;
    font-size: .8em;
}

.list-2 {
    counter-reset: li;
}

.list-2 li {
    align-items: center;
    padding: .3em;
}

.list-2 li::before {
    display: inline-block;
    min-width: 1.7em;
    margin-right: 5px;
    border-radius: 50%;
    background-color: #fec8e5;
    color: #fff;
    font-weight: bold;
    font-size: .75em;
    line-height: 1.7em;
    text-align: center;
    content: counter(li);
    counter-increment: li;
}

.reason-box {
    padding: 1em;
}

.minjikaisei-box {
    margin-top: -.5em;
    padding: 0 1em 1em;
    z-index: 1;
}


.box-kaiseimae {
    position: relative;
    max-width: 380px;
    margin: 2em auto;
    padding: 1.5em 0 0;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    background-color: #ffffff;
    color: #333333;
}

.box-kaiseimae span {
    position: absolute;
    top: -15px;
    transform: translateX(-.3em) rotate(-5deg);
    padding: .5em 2em;
    border-right: 2px dotted rgb(0 0 0 / 10%);
    border-left: 2px dotted rgb(0 0 0 / 10%);
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: rgba(238, 238, 238, 0.4);
    font-weight: 600;
    font-size: .7em;
}

.box-kaiseimae p {
    margin: 0;
    font-size: .7em;
}

.box-kaiseigo {
    position: relative;
    max-width: 400px;
    margin: 1.5em auto;
    padding: 2.5em 0 0;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    background-color: #ffffff;
    color: #333333;
}

.box-kaiseigo span {
    position: absolute;
    top: -15px;
    transform: translateX(-.3em) rotate(-5deg);
    padding: .5em 2em;
    border-right: 2px dotted rgb(0 0 0 / 10%);
    border-left: 2px dotted rgb(0 0 0 / 10%);
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: rgba(255, 255, 0, 0.884);
    font-weight: 600;
}

.box-kaiseigo p {
    margin: 0;
}



@media screen and (min-width: 768px){
body {
    width: 100%;
    text-align: center;
}

img {
    width: 100%;
}

.menkyop {
    display: none;
}


.reason-wrapper {
    display: flex;
    width: 80%;
    margin: 0 auto;
}



.sinpai-box {
    width: 50%;
    margin: 0 auto;
    padding: 1em;
}




}

.staff-wrapper {
    display: flex;
}

.staff-box {
    width: 100%;
    margin: 0 1em;
    border: solid 1px #c5c5c5;

}

.staff-wrapper img{
    width: 100%;
    margin: ;
}

.staff-wrapper p{
    width: 100%;
    font-size: 1em;
    padding: 0 2em;
}


/* 動画全体の横幅を指定するためのdiv */
.video-wrap {
    max-width: 50%; /* ここに動画の横幅を指定 */
    margin: 1em auto 0;
  }
  
  /* 動画を囲うdiv */
  .video {
    position: relative;
    width:100%; /* 横幅は100%で固定 */
    height:0; /* 高さは0にしておく(padding-topで高さを指定するため) */
    padding-top: 56.25%; /* 高さを指定(16:9) */
  }
  
  /* YouTube埋め込み用のiframe */
  .video iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  @media (max-width: 768px) {
    /* 動画全体の横幅を指定するためのdiv */
.video-wrap {
    max-width: 100%; /* ここに動画の横幅を指定 */
    margin: 0 auto;
  }
  
  /* 動画を囲うdiv */
  .video {
    position: relative;
    width:100%; /* 横幅は100%で固定 */
    height:0; /* 高さは0にしておく(padding-topで高さを指定するため) */
    padding-top: 56.25%; /* 高さを指定(16:9) */
  }
  
  /* YouTube埋め込み用のiframe */
  .video iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  }

.schedule {
    padding: 20px 10px;
}

.t-bnr {
    margin: 0px 30px 26px;
} 


.menubutton {
    width: 100%;
}

.menubutton ul{
    display: flex;
    margin: 20px;
}

.menubutton li{
    list-style: none;
}

.button-003 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    margin:0 auto 1em;
    padding: 1.2em 2em;
    border: none;
    border-radius: 25px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #613400;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.button-003 a {
        color: #fff;

}

.button-003:hover {
    background-color: #512400;
}

/*問い合わせボタン
-------------------------------------*/

  
  #btn_animation .btn {
    margin: 0 auto;
    display: block;
    position: relative;
    width: 320px;
    height: 100px;
    line-height: 40px;
    font-size: 20px;
    text-decoration: none;
    background-color: #4ead00;
    border-radius: 5px;
    color: #fbfbfb;
      text-align: center;
      overflow: hidden;
      animation: btn_animation 1s infinite;
      box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
      font-family: 'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN',sans-serif;
  }
  
  @keyframes btn_animation {
      0% {
          box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
          top: 0px;
      }
      10% {
          box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
          top: 3px;
      }
      20% {
          box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
          top: 0px;
      }
      30% {
          box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
          top: 3px;
      }
      40% {
          box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
          top: 0px;
      }
  }

  .contact-tel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    flex-direction: column; 
}

.contact-sub1 {
    font-size:18px;
    font-weight: 500;
    margin-bottom: -10px;
}

.contact-sub2 {
    font-size:15px;
    font-weight: 500;
    color: #fff;
    margin-top: -10px;
}

.contact-sub3 {
    flex-direction: row; 
}

.i {
    text-align: left;
}

.contact-tel:hover {
    opacity: 0.9;
    color: var(--base-color);
}

.button-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    margin:0 auto;
    padding: 2.5em;
    border: none;
    border-bottom: solid 5px #1e7d00;
    border-radius: 5px;
    background-color: #4ead00;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    transition: .5s ease;
}

.button-4:hover {
    transform: translateY(3px);
    border-bottom-width: 2px;
}






  /* 解決の流れ
-----------------------------------*/

.flow_design09 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .flow09 {
    padding-left: 0;
  }
  
  .flow09 > li {
    list-style-type: none;
    display: flex;
    padding: 20px 0;
    border-top: solid 1px #E1E8ED;
  }
  
  .flow09 > li dl dt {
    font-size: 1.2em;
    line-height: 2;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .flow09 > li .icon09 {
    line-height: 1;
    font-size: 2em;
    font-weight: bold;
    color: #ffb9cd;
    text-align: center;
    width: 70px;
    position: relative;
    margin-top: 0;
  }
  
  .flow09 > li .icon09::before {
    content: 'STEP';
    font-size: 0.3em;
    display: block;
    margin-bottom: 3px;
    letter-spacing: 1px;
  }
  
  .flow09 > li .icon09::after {
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 40px);
    background-color: #858585;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    margin: auto;
  }
  
  .flow09 > li dl dd {
    margin: 0;
    font-size: .8em;
  }
  
  .flow09 > li dl {
    width: calc(100% - 70px);
    margin-top: 0.8em;
  }

  .flow-img{
    width: 80%;
     }

 @media screen and (min-width: 768px){

    .flow_design09 {
        width: 60%;
        margin: 0 auto;
    }

    .flow09 dl{
        display: flex;
     }

    .flow-img{
    width: 30%;
    margin-right: 1em;
     }

    .flow-desc{
        width: 70%;
         }

         .manga {
            margin: 5px auto 0;
            width: 50%;
        }

 }

/*ニュース
-------------------------------------*/
.news {
    margin: 0 auto;
    max-width: 980px;
    padding: 1rem;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--#navi-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 120px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--base-color);
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/* マウスホバーで画像を拡大
-------------------------------------*/
.hoverbox{
    max-height: 250px;
    overflow: hidden;
}
.hoverbox-img{
    transition-duration: 0.3s;
}
.hoverbox-img:hover{
    transform: scale(1.3);
    transition-duration: 0.3s;
}

/*よくある質問
-------------------------------------*/
.faq-wrapper {
    width: 100%;
}

.accordion-005 {
    width: 500px;
    margin: 0 auto;
}

.accordion-005:not([open]) {
    margin-bottom: 7px;
}

.accordion-005 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border-left: 5px solid #ffb8b8;
    background-color: #ffffff;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

.accordion-005 summary::-webkit-details-marker {
    display: none;
}

.accordion-005 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #c2c2c2;
    border-right: 3px solid #c2c2c2;
    content: '';
    transition: transform .3s;
}

.accordion-005[open] summary::after {
    transform: rotate(225deg);
}

.accordion-005 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #333333;
    transition: transform .5s, opacity .5s;
    font-size: 15px;
}

.accordion-005[open] p {
    transform: none;
    opacity: 1;
    font-size: 15px;
}




.qa dt,
.qa dd {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 1em 2em 1em 3.1em;
    color: var(--base-color);
}
.qa dt {
    font-weight: 600;
}
.qa dd {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2em;
}
.qa dd + dt {
    margin-top: 1em;
}
.qa dt::before,
.qa dd::before {
    display: inline-block;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    border-radius: 50%;
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1em;
    line-height: 40px;
    text-align: center;
}

.qa dt::before {
    background-color: var(--base-color);
    content: 'Q';
}

.qa dd::before {
    background-color: var(--link-color);
    content: 'A';
}


@media screen and (min-width: 768px){
.qa-wrapper {
    width: 60%;
    margin: 0 auto ;
}
.heading-009 {
    font-size: 1.1em;
}
}
/*お問い合わせ
-------------------------------------*/
.tel-banner, .mail-banner {
    border: 1px solid var(--base-color);
    padding: 2rem 3rem;
    text-align: center;
}
/*フッター
-------------------------------------*/
.footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 25px 10px 65px;
    background-color: #eeeeee;
    width: 100%;
    margin: 0 auto;
}

.footer__logo {
    width: 100%;
    text-align: center;
    align-items: center;
    margin: 0 auto;
}

.footer img{
    width: 10%;
}

.footer__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1.5em;
    list-style-type: none;
    margin: 0 0 .5em;
    padding: .5em;
    font-size: .8em;
}

.footer__link {
    color: #4d4d4d;
    font-weight: 200;
    text-decoration: none;
}

.footer__copyright {
    margin: 0 auto;
    color: #4d4d4d;
    font-weight: 200;
    font-size: .5em;
    text-align: center;
}

@media screen and (max-width: 768px){
  .footer {
    width: 100%;
    text-align: center;
    align-items: center;
    margin: 0 auto;
}

    .footer__logo img{
        margin: 0 auto;
        text-align: center;
        width: 30%;
    }
}

/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
a[href*="tel:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    font-size: .6em;
    padding-bottom: 6rem;
}
.copyright a {
    text-decoration: none;
	display: inline;
}

.copyright img {
    width: 20%;
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--white-color);
    border: 1px solid var(--linkhover-color);
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}

/* 下層ページヘッダー
-------------------------------------*/
.subimg {
    height: 350px;
    background: url('../img/subimg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2rem;
}
.subimg h1 {
    height: 350px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* よくある質問
-----------------------------------*/
.qa {
    max-width: 500px;
    margin:0 20px 10px ;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
}

.qa span{
    font-weight: bold;
    background:linear-gradient(transparent 85%, rgb(255, 207, 102) 60%);
}

.qa summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #522700;
    font-weight: 600;
    cursor: pointer;
}

.qa summary::before,
.qa p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa summary::before {
    color: #f76f00;
    content: "Q";
}

.qa summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #522700b3;
    border-right: 3px solid #522700b3;
    content: '';
    transition: transform .5s;
}

.qa[open] summary::after {
    transform: rotate(225deg);
}

.qa p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
    line-height: 2;
}

.qa[open] p {
    transform: none;
    opacity: 1;
}

.qa p::before {
    color: #0028a1;
    line-height: 1.2;
    content: "A";
}

.heading-009 {
    position: relative;
    padding: .5em .7em;
    border-radius: 10px;
    background-color: #dba100;
    color: #fff;
    margin: 20px 30px 10px;
}

.heading-009::after {
    content: '';
    position: absolute;
    top: 95%;
    left: 30px;
    width: 0;
    height: 0;
    border: 11px solid transparent;
    border-top: 11px solid #dba100;
}

.directions ul {
    display: flex;
    justify-content: center;
  }

.directions li {
    list-style: none;
    margin: 0 .3em;
  }



  #cards {
    display: flex;
    justify-content: center;
  }
  
  .card {
    width: 320px;
    height: auto;
  }
  
  .card:nth-child(2) {
    margin-right: 5px;
    margin-left: 5px;
  }
  
  .picture img {
    width: 100%;
  }
  
  .description {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    text-align: center;
  }


   /* ポップアップのスタイル */
   #popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}
#popup button {
    margin-top: 10px;
}

/*フッターメニュー
-------------------------------------*/
.foot-logo img {
    margin: 0 auto;
    padding: 2em;
}

#footer_g_nav {
  position: fixed;
  bottom: 0;
  z-index: 10000;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#footer_g_nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

#footer_g_nav li {
  width: 100%;
  margin: 0 auto;
}

#footer_g_nav li img {
  width: 100%;
}

#footer_g_nav.show {
  opacity: 1;
  pointer-events: auto;
}



@media screen and (min-width: 768px){
  #footer_g_nav {
      display: none;
  }

.sp {
    display: none;
}



.route-box {
    width: 100%;
    margin-top: 1em;
    padding-bottom: 3em;
    background-color: #fffbec;
}

.route {
    width: 80%;
    margin: 0 auto;
}

}

.footinfo2 {
    font-size: .8em;
    
}


/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){

    h3 {
        margin-top: .8em;
        position: relative;
        font-weight: bold;
        font-size: 1.1em;
    }
	
/*ヘッダー
-------------------------------------*/
.header {
  margin-bottom: 0;
}

.headerbar {
    display: none;
}
.header-box {
    display: none;
}	

#mainimg {
    width: 100%;
    margin-bottom: -6px;
}
/* ドロップダウンメニュー
-------------------------------------*/
#navi ul ul {
    position: static;
    width: 100%;
    z-index: 100;
    background-color: var(--white-color);
}
#navi li ul {
    display: block;
    background-color: var(--white-color);
}
.menu li ul, .menu li ul li   {
    border-bottom: none;
}

.pc {
    display: none;
}

.checklist-container {
    margin: 0 auto;
    padding: 2em 20px;
    z-index: -1;
    font-size: 1em;
}

.nayami-image {
    width: 100%;
    text-align: center;
}

.nayami-image img {
    width: 40%;
    margin: 0 auto;
}

.balloon-006 {
    justify-content: center;
    position: relative;
    max-width: 90%;
    margin: -1em auto 2em;
    padding: .8em 1em;
    border: 3px solid #e5545d;
    border-radius: 5px;
    background-color: #fff;
    color: #333333;
    text-align: left;
}



/* フッター
-------------------------------------*/
.foot-infobox2 {
    display: none;
}

.route-box {
    width: 100%;
    margin-top: 1em;
    padding-bottom: 3em;
    background-color: #fffbec;
}

.route {
    width: 85%;
    margin: 0 auto;
}

.foot-infobox1-2 ul {
    display: none;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    margin-bottom: 4em;
    font-size: .5em;
    padding-bottom: 6rem;
}


/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}

.flow-desc{
    width: 90%;
     }


}