/*
Theme Name: maebashi-komagata-jiko
Theme URI: https://maebashi-komagata-jiko.koyo-ad.com/
Author: Koyo
Author URI: https://www.koyo-ad.jp/
Description: 前橋・駒形エリアの交通事故治療専門サイト用カスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maebashi-komagata-jiko
*/

/* 共通-------------------------------------------------- */
html, body{
  height: 100%;
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  background-color: #fff3e6;
  background-image: url("assets/img/bg.png");
  background-repeat: repeat;
  padding-top: 85px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main{
  flex: 1 0 auto;
}

.site-footer{
  margin-top: auto;
}

@media (max-width: 768px){
  body{
    padding-top: calc(var(--sp-header-h) + env(safe-area-inset-top) - 10px);
  }
}

/* 見出し共通（白背景オレンジ下線） */
.section-title{
  margin: 0 0 16px;
  padding: 16px 10px;
  text-align: center;
  font-weight: 800;
  color: #5b2817;
  font-size: 25px;
  line-height: 1.2;
  background: #fff;
  border-bottom: 4px solid #eb6100;
}

@media (max-width: 768px){
   h2.section-title, .section-title{
    font-size: 20px;
    padding-left: 0;
    padding-right: 0;
  }

  .section-title{
    padding: 14px 8px;
    margin-bottom: 12px;
  }
	
  .site-main > section:not(.fv){
	  margin-bottom: 40px !important;
	}
	
	.recommend-title,
  .osusume-title,
  .worry-title{
    font-size: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.site-main > section:not(.fv){
  margin-bottom: 70px;
}

/* 改行 */
.br-sp{
  display: none;
}

@media (max-width: 486px){
  .br-sp{
    display: inline;
  }
}


/* =================================================
   TOPページ
================================================= */

/* headerここから--------------------------------- */
.site-header{
  background: #fff3e6;
  background-image: url("assets/img/bg.png");
  background-repeat: repeat;
  background-position: top left;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  overflow: visible;
}

/* PC ---------------------------- */
.header-pc{ display: block; }
.header-sp{ display: none; }

.header-inner{
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img{
  height: 50px;
}

.header-nav ul{
  display: flex;
  gap: 45px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  color: #5b2817;
  text-decoration: none;
}

.header-nav img{
  height: 60px;
  margin-bottom: 4px;
}

/* SPヘッダー下の緑ドット */
.header-sp-dots{
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle, #3fa34d 1.5px, transparent 2.5px);
  background-size: 12px 12px;
  background-repeat: repeat-x;
  background-position: left center;
  display: block;
  line-height: 0;
}

.sp-menu-overlay{
  display: none;
  z-index: 9997;
}

/* ===== SPメニュー：右からスライド表示 ===== */
.sp-menu{
  display: none;
  z-index: 9998;
}

.sp-menu ul li a{
  position: relative;
  padding-right: 36px;
}

.sp-menu ul li a::after{
  content: "›";
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  color: #eb6100;
}

@media (min-width: 1121px){
  .header-pc{ display: block; }
  .header-sp{ display: none; }
}

@media (min-width: 769px) and (max-width: 1120px){

  .header-pc{ display: none; }
  .header-sp{ display: block; }

  .header-sp-inner{
    padding: 12px 12px;
  }

  .sp-logo img{
    height: 44px;
  }


  .sp-icon img{
    height: 52px;
  }

  .sp-icon{
    font-size: 12px;
  }

  .hamburger{
    width: 46px;
    height: 46px;
  }

  .hamburger span{
    width: 24px;
    height: 3px;
  }

  .hamburger span:nth-child(1){ top: 14px; }
  .hamburger span:nth-child(2){ top: 21px; }
  .hamburger span:nth-child(3){ top: 28px; }

  .hamburger p{
    font-size: 11px;
    margin-top: 50px;
  }
}

@media (max-width: 1120px){
  .header-pc{ display: none; }
  .header-sp{ display: block; }

  .header-sp-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding: 8px 4px !important;
    background: transparent;
  }

  .sp-logo img{
    height: 45px;
  }

  .sp-icons{
    display: flex;
    align-items: flex-start;
    gap: 9px;
  }

  .sp-icon{
    text-align: center;
    font-size: 11px;
    color: #5b2817;
    text-decoration: none;
  }

  .sp-icon img{
    height: 41px;
    margin-bottom: 2px;
  }

  /* ハンバーガー */
  .hamburger{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eb6100;
    color: #fff;
    position: relative;
    border: 0;
    padding: 0;
    cursor: pointer;
	z-index: 10000;
  }

  .hamburger span{
    position: absolute;
    left: 50%;
    width: 20px;
    height: 3px;
    background: #fff;
    transform: translateX(-50%);
    transition: .3s;
    border-radius: 7px;
  }

  .hamburger span:nth-child(1){ top: 11px; }
  .hamburger span:nth-child(2){ top: 18px; }
  .hamburger span:nth-child(3){ top: 25px; }

  .hamburger p{
    color: #5b2817;
    font-size: 10px;
    margin: 44px 0 0;
  }

  .hamburger.is-open span:nth-child(1){
  top: 18px;
  transform: translateX(-50%) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(2){
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3){
    top: 18px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .header-sp-dots{
    height: 12px;
    background-size: 10px 10px;
  }

  .sp-menu{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    padding-top: 50px;
    background: #fff;
    z-index: 9998;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -6px 0 18px rgba(0,0,0,.18);
  }

  .sp-menu.is-open{
    transform: translateX(0);
  }

  .sp-menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sp-menu ul li a{
    display: flex;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #eee;
    color: #5b2817;
    text-decoration: none;
    font-weight: 700;
  }

  .sp-menu img{
    height: 40px;
    margin-right: 12px;
  }

  .sp-menu-overlay{
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9997;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }

  .sp-menu-overlay.is-open{
    opacity: 1;
    pointer-events: auto;
  }

}

@media (max-width: 768px){
  .header-pc{ display: none; }
  .header-sp{ display: block; }

  .header-sp-inner{
    padding: 8px 4px !important;
  }

  .sp-logo img{ height: 35px; }
  .sp-icon img{ height: 41px; }
  .hamburger{
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 486px){
  .sp-logo img{
    height: 30px;
  }

  .sp-icon img{
    height: 34px;
    margin-bottom: 1px;
  }

  .sp-icon{
    font-size: 10px;
  }


  .hamburger{
    width: 34px;
    height: 34px;
  }

  .hamburger span{
    width: 18px;
    height: 2px;
  }

  .hamburger span:nth-child(1){ top: 10px; }
  .hamburger span:nth-child(2){ top: 16px; }
  .hamburger span:nth-child(3){ top: 22px; }

  .hamburger p{
    font-size: 9px;
    margin-top: 37px;
  }
}

/* headerここまで--------------------------------- */

/* メインビジュアル-------------------------------- */
.fv,
.fv__picture,
.fv__img {
  display: block;
  width: 100%;
}

.fv__img {
  height: auto;
  margin-bottom:50px;
}

/* ヘッダー被り処理 */
:root{
  --sp-header-h: 102px;
}

@media (max-width: 768px){
  .fv{
    margin-top: 0 !important;
  }

  .fv__img{
    margin-bottom: 0;
  }
}


/* メインビジュアルここまで------------------------- */

/* 交通事故治療について----------------------------- */
.top-links {
  padding: 18px 12px;
}

.top-links__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* 見出し（点線枠） */
.top-links__title {
  margin: 0 0 14px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 26px;
  color: #5b2817;
  line-height: 1.3;
  border-top: 4px dotted #eb6100;
  border-bottom: 4px dotted #eb6100;
  background:#fff;
}

/* ボタン：2列×2段 */
.top-links__grid {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.top-links__btn {
  display: block;
}

.top-links__btn img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-br { display: none; }

@media (max-width: 768px) {
	.sp-br { display: block; }
	.top-links__inner {
	margin:10px !important;
}
	
  .top-links__title {
    font-size: 20px;
    padding-left:0;
	padding-right:0;
  }

  .top-links__grid {
    gap: 12px;
  }
}


/* 交通事故治療についてここまで--------------------- */

/* 患者様の声--------------------------------------- */

.top-voice__inner {
  max-width: 800px;
  margin: 0 auto;
}


.top-voice {
  padding: 0 12px;
  margin: 28px 0;
}

/* ▼ 見出し */
.top-voice__title {
  margin: 0 0 16px;
  padding: 16px 10px;
  text-align: center;
  font-weight: 800;
  color: #5b2817;
  font-size: 25px;
  line-height: 1.2;
  background: #fff;
  border-bottom: 4px solid #eb6100;
}


.kanja-voice__inner {
  width: 100%;
  margin: 0;

  background-image: url("assets/img/kanja_voice.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  aspect-ratio: 1 / 1;
}


@media (max-width: 768px) {
  .top-voice {
    padding: 0;
    margin: 22px 0;
  }

  .top-voice__title {
    font-size: 20px;
    padding-right: 0;
	padding-left:0;
    margin-bottom: 12px;
  }

  .kanja-voice__inner {
    background-size: contain;
  }
  
  .top-voice__inner {
    padding:10px;
  }
}

/* 患者様の声ここまで------------------------------- */

/* 整形外科・弁護士--------------------------------- */
.cooperate{
  padding: 0 12px !important;
  margin: 28px 0;
}

.cooperate__inner{
  max-width: 800px;
  margin: 0 auto;
}

.cooperate__photo{
  margin: 0;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
  flex: 0 0 42%;
}

.cooperate__photo.photo-nishio{
	flex: 0 0 240px !important;
	width: 206px !important;
}

.cooperate__photo.photo-nishio img{
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
}

.cooperate__photo img{
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
}

.cooperate__meta{
  flex: 1;
  padding-top: 6px;
}

.cooperate__h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #5b2817;
  line-height: 1.3;
}

.cooperate__to-ortho{
  margin: 14px auto 0;
}

.cooperate__sub{
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.cooperate__card{
  background: #fff;
  padding: 16px 14px;
  margin: 14px 0 18px;
}

.cooperate__label{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #5b2817;
}

.cooperate__h4{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: #5b2817;
  line-height: 1.4;
}

.cooperate__text{
  margin: 0;
  color: #2e2b2a;
  line-height: 1.8;
  font-size: 15px;
}

.cooperate__text + .cooperate__text{
  margin-top: 10px;
}

.cooperate__block {
  margin-top: 24px;
}

/* ボタン */
.cooperate__more-btn {
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
}


.cooperate__more-btn:hover {
  opacity: .9;
}

.cooperate__to-ortho {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  width:100%;
  max-width:280px;
  margin:14px auto 0;
  padding: 14px 16px;
  border-radius: 999px;
  background: #77b400;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.cooperate__to-ortho:hover {
  opacity: .9;
}

.cooperate__to-ortho-arrow{
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
  margin-left: 6px;
  transform: translateY(2px);
}


@media (min-width: 769px) and (max-width: 1120px){
  .cooperate__photo.photo-umeyama{
    max-width: 200px;
  }

  .cooperate__photo.photo-nishio{
    max-width: 240px;
  }
}

@media (min-width: 769px){
  .cooperate__photo{
    display: flex;
    flex-direction: column;
    align-items: center;
	flex: none;
    width: 100%;
  }
	
	.cooperate__photo img{
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .cooperate__meta{
    margin-top: 10px;
    padding-top: 0;
    text-align: center;
    width: 100%;
  }

  .cooperate__h3{
    font-size: 16px;
    line-height: 1.4;
  }
	
  .cooperate__block{
    display: grid;
    grid-template-columns: 260px 1fr;
    column-gap: 22px;
    align-items: start;
    margin-top: 24px;
  }

  .cooperate__head{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    align-items: center;
  }
	
  .cooperate__card{
    margin: 0 !important;
  }
	
	.cooperate__photo.photo-umeyama{
  width: 100% !important;
  max-width: 100%;
  flex: 0 1 auto !important;
}
}

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

  .cooperate__head{
    display: flex;
    flex-direction: column;
	align-items:center;
    gap: 12px;
  }

  .cooperate__meta{
    order: 1;
    padding-top: 0;
  }

  .cooperate__photo{
    order: 2;
    width: 100%;
    margin: 0;
  }

  .cooperate__h3{
    font-size: 18px;
  }

  .cooperate__h4{
    font-size: 16px;
  }

  .cooperate__text{
    font-size: 14px;
  }

  .cooperate__card{
    margin-top: 12px;
  }
	
	.cooperate__photo.photo-umeyama{
    width: 100%!important;
    max-width: 500px !important;
    margin-left: auto;
    margin-right: auto;
    flex: none !important;
  }
	
	.cooperate__photo.photo-nishio {
    width: 100%!important;
    max-width: 300px !important;
    margin-left: auto;
    margin-right: auto;
    flex: none !important;
  }
}

/* 整形外科・弁護士ここまで------------------------- */

/* 予約・問い合わせ --------------------------------- */
.reserve-cta{
  margin: 28px auto;
}

.reserve-cta__inner{
  max-width: 800px;
  margin: 0 auto;
}

.reserve-cta__buttons{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.reserve-cta__btn{
  display: block;
}

.reserve-cta__btn img{
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 769px){	
  .reserve-cta__buttons{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 768px){
	.reserve-cta {
		margin:28px 10px;
	}
}
/* 予約・問い合わせここまで ------------------------- */

/* お悩み ------------------------------------------- */
.onayami{
  padding: 0 12px;
  margin: 28px 0;
}

.onayami__inner{
  max-width: 800px;
  margin: 0 auto;
}

.onayami__title{
  margin: 0;
}

.onayami__title img{
  display: block;
  width: 100%;
  height: auto;
}

/* 2列グリッド */
.onayami__grid{
  list-style: none;
  margin: 0;
  padding:30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  border-radius:0 0 30px 30px;
  background:#fff;
}

.onayami__item{
  overflow: hidden;
}

.onayami__link{
  display: block;
}

.onayami__link img{
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px){
  .onayami{
    padding: 10px;
    margin: 22px 0;
  }

  .onayami__grid{
	padding: 13px;
	border-radius: 0 0 20px 20px;
    gap: 12px;
  }
}

/* お悩みここまで ----------------------------------- */

/* このようなことでお悩みの方におススメ--------------- */
.worries{
  background: #f6c94a;
  padding: 40px 12px;
  margin: 28px 0;
}

.worries__inner{
  max-width: 800px;
  margin: 0 auto;
}

/* -----------------------------------------
  白い吹き出し
----------------------------------------- */
.worries:not(.worries--ortho) .worries__title{
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto 18px;
  padding: 18px 16px;

  background: #fff;
  border-radius: 5px;
  filter: drop-shadow(5px 6px 4px rgba(53, 74, 24, .6));

  text-align: center;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.35;
  color: #792525;
}

/* 吹き出しの三角 */
.worries:not(.worries--ortho) .worries__title::after{
  content: "";
  position: absolute;
  left: 80%;
  bottom: -18px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 18px 16px 0;
  border-color: #fff transparent transparent;
}

/* -----------------------------------------
  転院・併用（ortho）：2段見出し
----------------------------------------- */
/* .worries--ortho .worries__title{
  margin: 0 0 18px;
  padding: 0;

  background: none !important;
  border: none;
  box-shadow: none;

  text-align: center;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.4;
} */

.worries--ortho .worries__title{
  padding: 0 0.8em 0.6em;
  color: #5b2817;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
}


/* 上段：このようなことで */
/* .worries--ortho .worries__title::before{
  content: "このようなことで";
  display: block;
  margin-bottom: 6px;

  font-size: 20px;
  color: #5b2817;
} */

.worries--ortho .worries__title span{
  color: #e63b6f;
  background: linear-gradient(transparent 65%, #fff0a8 65%);
  padding: 0 6px;
}

/* -----------------------------------------
  リスト
----------------------------------------- */
.worries__list{
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.worries__list li{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-bottom: 2px dotted #c9c9c9;

  color: #5b2817;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.worries__list li:last-child{
  border-bottom: none;
}

.worries__text{
  flex: 1;
  min-width: 0;
}

/* 左のチェック丸 */
.worries__list li::before{
  content: "✓";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;

  background: #77b400;
  border-radius: 50%;
  display: grid;
  place-items: center;

  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

/* マーカー */
.worries__marker{
  background: linear-gradient(transparent 60%, #fff36b 60%);
  padding: 0 2px;
}

/* -----------------------------------------
  SP
----------------------------------------- */
@media (max-width: 768px){

  /* 吹き出し */
  .worries:not(.worries--ortho) .worries__title{
    padding: 14px 12px;
    font-size: 20px;
  }

  .worries:not(.worries--ortho) .worries__title::after{
    bottom: -16px;
    border-width: 16px 14px 0;
  }


  .worries--ortho .worries__title{
    font-size: 22px;
  }

  .worries--ortho .worries__title::before{
    font-size: 16px;
  }

}


/* このようなことでお悩みの方におススメここまで --- */

/* むち打ち改善プログラム------------------------- */
.program{
  padding: 0 12px !important;
  margin: 28px 0;
}

.program__inner{
  max-width: 800px;
  margin: 0 auto;
}

/* タイトル画像 */
.program__title{
  margin: 0 0 14px;
}
.program__title img{
  display: block;
  width: min(100%, 570px);
  height: auto;
  margin: 0 auto;
}

/* ステップ全体 */
.program__steps{
  margin: 0;
}

.program__step{
  display: grid;
  grid-template-columns: 42% 58%;
  column-gap: clamp(4px, 1.2vw, 10px);
  align-items: stretch;
}

/* 左側 */
.program__left{
  position: relative;
}

/* 番号（緑丸＋白フチ：レスポンシブ） */
.program__num{
  --num-size: clamp(34px, 5vw, 65px);
  --border-w: clamp(3px, 0.6vw, 4px);
  --font-sz:  clamp(16px, 2.2vw, 30px);

  position: absolute;
  left: calc(var(--num-size) * -0.22);
  top:  calc(var(--num-size) * -0.22);

  width: var(--num-size);
  height: var(--num-size);
  border-radius: 999px;

  background: #77b400;
  border: var(--border-w) solid #fff;

  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: var(--font-sz);
  line-height: 1;

  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}

.program__photo{
  margin: 0;
}

.program__photo img{
  display: block;
  width: 100%;
  height: auto;
}

.program__right{
  height: 100%;
}
.program__box{
  background: #fff;
  width: 100%;
  height: 100%;
  padding: clamp(10px, 1.6vw, 14px) clamp(10px, 1.8vw, 16px);
  box-shadow: 0 2px 0 rgba(0,0,0,.06);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program__h3{
  margin: 0 0 8px;
  color: #eb6100;
  font-weight: 900;
  font-size: clamp(15px, 2.0vw, 22px);
  line-height: 1.3;
}

.program__text{
  margin: 0;
  color: #5b2817;
  font-size: clamp(12px, 1.6vw, 16px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* ▼（緑矢印）レスポンシブ */
.program__arrow{
  height: clamp(18px, 3.2vw, 28px);
  position: relative;
  margin:15px;
}

.program__arrow::before{
  content:"";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-style: solid;
  border-width: clamp(12px, 2.5vw, 30px) clamp(16px, 3.2vw, 40px) 0 clamp(16px, 3.2vw, 40px);
  border-color: #77b400 transparent transparent transparent;
}

@media (max-width: 768px){
  .program{
    padding: 10px;
  }
}

/* むち打ち改善プログラムここまで ---------------- */

/* 自賠責保険の案内 ------------------------------ */
.free-cta{
  padding: 0 12px;
  margin: 28px 0;
}

.free-cta__inner{
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.free-cta__box{
  max-width: 520px;
  margin: 0 auto;
  background: #fffdf6;
  border-radius: 20px;
  padding: 22px 20px;
}

.free-cta__lead{
  margin: 0;
  text-align: center;
  line-height: 1.35;
  font-weight: 900;
  color: #5b2817;
  font-size: clamp(20px, 3.8vw, 28px);
}

.free-cta__orange{
  color: #f28b00;
}
.free-cta__brown{
  color: #5b2817;
}

/* 下のオレンジボタン */
.free-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  margin-top: 20px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: #ff9a1f;
  border: 3px solid #e36a00;
  border-radius: 12px;
  cursor: pointer;
}

.free-cta__btn:active{
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(0,0,0,.18),
    0 0 0 2px rgba(255,255,255,.35) inset;
}

.free-cta__btn-arrow{
  font-size: 0.95em;
  line-height: 1;
  transform: translateY(1px);
}

/* SP微調整 */
@media (max-width: 768px){
  .free-cta__box{
    max-width: 92%;     /* SPでは少し広げる */
    padding: 18px 14px;
  }
}
/* 自賠責保険の案内ここまで ---------------------- */

/* 3STEP（開閉）---------------------------------- */
.steps-acc{
  padding: 0 12px;
  margin: 28px 0;
}

.steps-acc__inner{
  max-width: 800px;
  margin: 0 auto;
}

.steps-acc__trigger{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
}

.steps-acc__trigger img{
  width: 100%;
  height: auto;
  display: block;
}


.steps-acc__panel[hidden]{
  display: none !important;
}

/* 開閉パネル*/
.steps-acc__panel{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.steps-acc__panel.is-open{
  grid-template-rows: 1fr;
}

.steps-acc__wrap{
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.three-step-vertical{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 600px;
  margin: 30px auto;
}

/* 1つのカード */
.three-step-vertical-item{
  width: 100%;
  background: #fff;
  overflow: hidden;
}

/* STEPラベル*/
.three-step-label-outline{
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  border: 2px solid #f28c00;
  overflow: hidden;
}

.three-step-label-text{
  color: #f28c00;
  font-weight: 800;
  font-size: 20px;
  padding: 3px 10px;
}

.three-step-label-num{
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #f28c00;
}

.three-step-label-num b{
  display: inline-block;
  color: #fff;
  background: #f28c00;
  font-weight: 900;
  font-size: 23px;
  line-height: 1;
  padding: 8px 14px;
}

/* 見出し帯 */
.three-step-header{
  background-color: #f28c00;
  text-align: center;
  margin-top: 0 !important;
  padding: 12px 10px;
}

.three-step-header h3{
  color: #fff;
  font-weight: 900;
  font-size: 23px;
  margin: 0;
  line-height: 1.4;
}

.three-step-body{
  background-color: #fffef1;
  border-top: 0;
	border: 2px solid #f28c00;
  padding: 0 12px;
  text-align: center;
}

.three-step-body p{
  color: #792525;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin: 12px auto 14px;
}

.three-step-accent{
  color: #fe7604;
  font-weight: 900;
  font-size: 22px;
  display: inline-block;
  line-height: 1.35;
  margin-top: 6px;
}

.three-step-body figure{
  margin: 0;
}

.three-step-body img{
  width: 82%;
  height: auto;
  display: block;
  margin:0 auto 16px;
  border-radius: 3px;
}

/* 矢印 */
.free-cta__btn-arrow::before{
  content: "\25B6";
  display: inline-block;
  margin-left: 6px;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: middle;
}

@media (max-width: 768px){
  .three-step-vertical{
    width: 92%;
    gap: 22px;
  }
	
	.three-step-label-text {
		font-size:18px;
	}
	
	.three-step-label-num b {
		font-size:20px;
	}

  .three-step-header h3{
    font-size: 20px;
  }

  .three-step-body p{
    font-size: 14px;
  }

  .three-step-accent{
    font-size: 18px;
  }

  .three-step-body img{
    width: 86%;
    margin-bottom: 14px;
  }
}
/* 3STEP（開閉）ここまで---------------------------- */

/* 共通：セクション幅（※共通にしたくないなら、このブロックも消してOK） */
.support-banner__inner,
.calculation-banner__inner,
.contact-cta__inner{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px;
}
.calculation-banner__inner img{
	margin: 0 auto;
}

/* サポートバナー ---------------------------------- */
.support-banner{
  margin: 28px 0;
}

.support-banner__inner{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px;
}

.support-banner__link{
  display: block;
}

.support-banner__link img{
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 769px){
  .support-banner{
    background-color: #fffef1;
    padding: 30px 0;
  }
}

/* サポートバナー ---------------------------------- */

/* 慰謝料計算バナー ---------------------------------*/
.calculation-banner{
  margin: 28px auto;
}
.calculation-banner__link{
  display: block;
}
.calculation-banner__link img{
  display: block;
  width: 100%;
  height: auto;
}

/* 慰謝料計算バナー ---------------------------------*/

/* LINE / TEL CTA -----------------------------------*/
.contact-cta{
  margin: 28px 0;
}
.contact-cta__grid{
  display: grid;
  grid-template-columns: 1fr; /* SP：縦並び */
  gap: 14px;
}
.contact-cta__btn{
  display: block;
}
.contact-cta__btn img{
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 769px){
  .contact-cta__grid{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}
/* LINE / TEL CTA -----------------------------------*/

/* 安心ポイント ----------------------------------- */
.anshin-points{
  padding: 0 12px;
  margin: 28px auto;
}

.anshin-points__inner{
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

.anshin-points__title{
  margin: 0 0 18px;
  padding: 16px 10px;
  text-align: center;
  font-weight: 900;
  color: #5b2817;
  font-size: 25px;
  line-height: 1.2;
  background: #fff;
  border-bottom: 4px solid #eb6100;
}

.anshin-points__title-num{
  color: #eb6100;
  font-size: 1.25em;
  font-weight: 900;
  margin: 0 2px;
}

/* カード（緑枠の角丸） */
.anshin-point{
  position: relative;
  margin: 0 0 25px;
}

/* point画像 */
.anshin-point__badge{
  position: absolute;
  left: -12px;
  top: -14px;
  width: 74px;
  height: auto;
  z-index: 2;
}

/* 緑枠の箱 */
.anshin-point__box{
  background: #fff;
  border: 4px solid #77b400;
  border-radius: 16px;
  padding: 22px;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items: center;
}

.anshin-point__photo{
  margin: 0;
}

.anshin-point__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.anshin-point__body{
  text-align: left;
}

.anshin-point__lead{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #5b2817;
  line-height: 1.7;
}

/* 黄色の下線 */
.anshin-point__hl{
  background: linear-gradient(transparent 62%, #ffe46a 62%);
  padding: 0 3px;
}

/* point1のオレンジボタン */
.anshin-point__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 10px;
  margin-top: 20px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: #ff9a1f;
  border: 3px solid #e36a00;
  border-radius: 12px;
  cursor: pointer;
}

.anshin-point__btn:active{
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(0,0,0,.18),
    0 0 0 2px rgba(255,255,255,.35) inset;
}

.anshin-point__btn-arrow{
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  transform: translateY(1px);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

/* もっと見るボタン */
.anshin-points__more-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 20px auto 0;
  padding: 12px 22px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: #ff9a1f;
  border: 3px solid #e36a00;
  border-radius: 12px;
  cursor: pointer;
}


.anshin-points__more-btn:active{
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(0,0,0,.18),
    0 0 0 2px rgba(255,255,255,.35) inset;
}

/* 開閉エリア */
.anshin-points__more[hidden]{
  display: none !important;
}

.anshin-points__more{
  margin-top: 32px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.anshin-points__more.is-open{
  grid-template-rows: 1fr;
}

.anshin-points__more-inner{
  overflow: hidden;
}

.anshin-points__more .anshin-point{
  padding-left: 12px;
}

.anshin-points__more .anshin-point__badge{
  left: 0;
  top: -14px;
}

@media (max-width: 768px){
	.anshin-points__title {
		font-size:20px;
		padding-left:0;
		padding-right:0;
	}
	
  .anshin-point__badge{
    left: -6px;
    top: -12px;
    width: 64px;
  }

  .anshin-point__box{
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }

  .anshin-point__lead{
    font-size: 16px;
	text-align:center;
  }
	
  .anshin-points__more .anshin-point{
    padding-left: 6px;
  }
  .anshin-points__more .anshin-point__badge{
    left: 0;
    top: -12px;
  }
	
	.anshin-point__btn {
		width:100%;
		margin-top:0;
		padding: 2px 0;
		text-align: center;
	}
}
/* 安心ポイントここまで ---------------------------- */

/* 漫画スライダー ---------------------------------- */
.manga-slider{
  margin: 28px 0;
  padding: 18px 12px;
  background: #dff2bf;
  max-width: 800px;
  width:100%;
  margin: 0 auto;
}

.manga-slider__inner{
  margin: 0 auto;
}

.manga-slider__frame{
  position: relative;
  padding: 14px 46px;
}


.manga-slider__viewport{
  overflow: hidden;
}

.manga-slider__track{
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

/* スライド */
.manga-slider__slide{
  flex: 0 0 100%;
  margin: 0;
  display: grid;
  place-items: center;
}

.manga-slider__slide img{
  width: 100%;
  height: auto;
  display: block;
}

/* 矢印（丸） */
.manga-slider__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: #6aa84f;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.manga-slider__arrow::before{
  font-size: 20px;
  line-height: 1;
  color: #fff;
  display: inline-block;
  position: relative;
}

/* 前へ / 次へ */
.manga-slider__arrow--prev::before{
	content: "\25C0";
	top: 0px;
	transform: translateX(-2px);/
}

.manga-slider__arrow--next::before{
	content: "\25B6";
	top: 0px;
	transform: translateX(2px);
} 

.manga-slider__arrow--prev{ left: 47px; z-index: 1; }
.manga-slider__arrow--next{ right: 47px; }

.manga-slider__arrow:active{
  transform: translateY(-50%) translateY(2px);
  box-shadow: 0 0 0 rgba(0,0,0,.18);
}


/* ドット */
.manga-slider__dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.manga-slider__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.25);
  cursor: pointer;
  padding: 0;
}

.manga-slider__dot.is-active{
  background: #6aa84f;
}

@media (max-width: 768px){
  .manga-slider__frame{
    padding: 0;
  }
	
  .manga-slider__arrow{
    width: 36px;
    height: 36px;
    font-size: 0;
  }
	
  .manga-slider__arrow--prev::before{
	font-size: 20px;
	content: "\25C0";
	top: 0px;
	transform: translateX(-2px) !important;
}

.manga-slider__arrow--next::before{
	font-size: 20px;
	content: "\25B6";
	top: 0px;
	transform: translateX(2px) !important;
} 
	
  .manga-slider__slide img {
	  width: 95% !important;
  }
	
	.manga-slider__arrow--next {
		right: -5px;
	}
	
	.manga-slider__arrow--prev {
    left: -5px;
    z-index: 1;
}
}
/* 漫画スライダーここまで -------------------------- */

/* 交通事故治療の流れ（カード実装）------------------ */
.flow-grid{
  padding: 0 12px !important;
  margin: 28px 0;
}

.flow-grid__inner{
  max-width: 800px;
  margin: 0 auto;
}

.flow-grid__list{
  list-style: none;
  margin: 0;
  padding: 8px 8px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.flow-grid__item{
  position: relative;
  margin: 0;
  background: #7db732;
  padding: 10px;
  box-sizing: border-box;
}

.flow-grid__num{
  position: absolute;
  top: -11px;
  left: 6px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 3px solid #fff;
  background: #fa9819;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}

.flow-grid__photo{
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
}

.flow-grid__photo img{
  display: block;
  width: 100%;
  height: auto;
}

.flow-grid__caption{
  margin: 17px 0;
  color: #fff;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  font-size: 22px;
}

@media (max-width: 768px){
  .flow-grid{
    padding: 0;
  }
  .flow-grid__list{
    gap: 15px;
  }
  .flow-grid__caption{
    font-size: 18px;
  }
}
/* 交通事故治療の流れここまで----------------------- */

/* アクセス ---------------------------------------- */
.access-block{
  margin: 28px 0 0;
  padding: 24px 0;
  background: #fff1df;
}

.access-block__inner{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px 24px;
}

/* 地図 */
.access-block__map iframe{
  width: 100%;
  height: 260px;
  display: block;
  border: 0;
}

/* 緑ボタン */
.access-block__route-btn{
  margin: 14px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 20px;
  background: #78b64b;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border-radius: 10px;
}

.access-block__route-btn:active{
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.access-block__route-arrow{
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  transform: translateY(1px);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

/* 住所・アクセス */
.access-block__info{
  margin: 14px 0 0;
}

.access-block__row{
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.access-block__label{
  margin: 0;
  background: #e7892d;
  color: #fff;
  font-weight: 900;
  text-align: center;
  padding: 8px 10px;
  border-radius: 6px;
}

.access-block__value{
  margin: 0;
  color: #5b2817;
  font-weight: 800;
  line-height: 1.6;
}

/* 営業時間表 */
.access-block__table-wrap{
  padding: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e7892d;
}

.access-block__table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  background: #fff;
/*   border: 2px solid #eb6100; */
  border: 0;
}

.access-block__th,
.access-block__time,
.access-block__cell{
  border: 1px solid #e7892d;
  padding: 8px 4px;
  text-align: center;
  font-weight: 900;
  color: #5b2817;
  background: #fff;
}

.access-block__table thead th{
  background: #e7892d;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 10px 4px;
}


.access-block__th--head{
  background: #e7892d;
  color: #fff;
}


.access-block__time{
  background: #fff;
  color: #5b2817;
  font-size: 14px;
  width: 120px;
  white-space: nowrap;
}

.access-block__th--time{
  width: 120px;
  white-space: nowrap;
}

.access-block__cell{
  font-size: 18px;
  line-height: 1;
}


.access-block__notes{
  margin-top: 10px;
	margin-bottom: 20px;
}

.access-block__badge{
  display: inline-block;
  background: #eb8d91;
  color: #fff;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 6px;
}

.access-block__note{
  margin: 8px 0 0;
  color: #5b2817;
  font-weight: 800;
}
.access-block__note2 {
	font-size: 18px;
	margin-bottom: 10px;
}
.access-block__note2 span{
	color: #eb6100;
}
.access-block__value a{
  color: #eb6100;
  text-decoration: underline;
}
@media (min-width: 769px){
  .access-block__inner{
    padding-left: 12px;
    padding-right: 12px;
  }
  .access-block__map iframe{
    height: 320px;
  }
}

@media (max-width: 768px){
	.access-block {
		padding: 24px 0 0;
	}
	
  .access-block__row{
    grid-template-columns: 74px 1fr;
  }
  .access-block__th,
  .access-block__time,
  .access-block__cell{
    padding: 8px 4px;
    font-size: 12px;
  }
	
  .access-block__table thead th{
    font-size: 12px;
    padding: 8px 2px;
  }
  .access-block__time{
    font-size: 12px;
    width: 102px;
  }
	.access-block__th--time{
    width: 102px;
  }
	
  .access-block__cell{
    font-size: 16px;
  }
	
	.access-block__label {
		padding: 6px 4px;
	}
}

/* アクセスここまで ------------------------------- */

/* 提携している整形外科 ---------------------------- */
.partner-ortho{
  padding: 0 12px !important;
  margin: 28px 0;
}

.partner-ortho__inner{
  max-width: 800px;
  margin: 0 auto;
}

.partner-ortho__box{
  background: #dff2bf;
  padding: 18px;
  border-radius: 6px;
}

.partner-ortho__white{
  background: #fff;
  border-radius: 4px;
  padding: 18px 14px 16px;
}

/* ★見本：高さ制限＋フェード */
.partner-ortho__container{
  position: relative;
  overflow: hidden;
  max-height: 240px;
  transition: max-height .35s ease;
}

.partner-ortho__container::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 70%);
  pointer-events: none;
}

/* ★開いたら制限解除 */
.partner-ortho__container.is-open{
  max-height: 2000px; /* 十分大きい値に */
}
.partner-ortho__container.is-open::after{
  display: none;
}

/* リスト */
.partner-ortho__list{
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.partner-ortho__list li{
  color: #5b2817;
  font-weight: 800;
  line-height: 2.0;
}

/* 注釈 */
.partner-ortho__note{
  font-weight: 700;
  font-size: 14px;
  opacity: .85;
}

/* ボタン */
.partner-ortho__toggle{
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 10px;
  background: #78b64b;
  color: #fff;
  font-weight: 900;
  border: 2px solid #3f8f2a;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
  cursor: pointer;
}

.partner-ortho__toggle:active{
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.partner-ortho__toggle-arrow{
  line-height: 1;
}

@media (max-width: 768px){
  .partner-ortho{ padding: 0; }
  .partner-ortho__box{ padding: 14px; }
  .partner-ortho__white{ padding: 16px 12px 14px; }

  .partner-ortho__list li{
    font-size: 14px;
    line-height: 1.9;
  }

  .partner-ortho__container{
    max-height: 220px;
  }
}
/* 提携している整形外科ここまで -------------------- */

/* footer ----------------------------------------- */
.site-footer{
  background: #eb6100;
  padding: 16px 12px;
}

.site-footer__copyright{
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (min-width: 769px){
  .site-footer{
    padding: 18px 12px;
  }
  .site-footer__copyright{
    font-size: 14px;
  }
}

@media (max-width: 768px){
  .site-footer{
    padding-bottom: calc(16px + 72px + env(safe-area-inset-bottom));
  }
}



/* footerここまで --------------------------------- */

/* SP固定フローティングCTA ------------------------ */
.sp-float-cta{
  display: none;
}

@media (max-width: 768px){
  .sp-float-cta{
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(6px);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0,0,0,.08);
  }

  .sp-float-cta__inner{
    max-width: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .sp-float-cta__btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 3px 0 rgba(0,0,0,.18);
  }

  .sp-float-cta__btn:active{
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,.18);
  }

  /* 電話 */
  .sp-float-cta__btn--tel{
    background: #f28b00;
  }

  /* LINE */
  .sp-float-cta__btn--line{
    background: #00b900;
  }

  .sp-float-cta__icon-img{
    width: 22px;
    height: 22px;
    display: block;
	object-fit: contain;
  }
}

@media (max-width: 768px){
  body{
    padding-bottom: 72px
  }
}
/* SP固定フローティングCTAここまで ---------------- */

/* 最新情報-------------------------------------- */
.news {
	padding-top:30px;
}

.title_tuning {
	text-align:center;
	margin-bottom:15px;
}

.title_tuning {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #5B2817;
  background: #ffffff;
  padding: 14px 10px;
  border-top: 4px dotted #eb6100;
  border-bottom: 4px dotted #eb6100;
  margin: 20px auto 0;
  max-width:1000px;
  width:100%;
}


@media (min-width: 768px){
   .title_tuning{
    font-size: 30px;
  }
}

.news-card__thumb{ position:relative; background:#f4f0ea; border:1px solid #ddd; }
.news-card__thumb img{ width:100%; height:auto; display:block; }
.news-card__label{
  position:absolute; top:0; left:0;
  background:#f28c00; color:#fff; font-weight:700;
  font-size:13px; padding:6px 10px;
}
.news-card__date{ margin:10px 0 4px; font-size:14px; }
.news-card__title{ margin:0 0 6px; }
.news-card__excerpt{ margin:0; font-size:14px; line-height:1.6; }

.news-pager{
	text-align:center; margin-top:18px;
	margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.news-pager .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #f98500;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.news-pager .page-numbers.current{
  background: #f98500;
  color: #fff;
}

.news-pager .page-numbers.prev,
.news-pager .page-numbers.next{
  width: 44px;
}

/* news 詳細 */
.news.sec .contents_area{
  width: 95%;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.newsDetail .contents_area{
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
}

.newsDetail_head{
  background:#f28c00;
  color:#fff;
  padding: 18px 16px;
  margin: 24px 0 18px;
}

.newsDetail_ttl{
  margin:0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.newsDetail_meta{
  margin-top: 10px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.newsDetail_date{
  font-size: 14px;
}

.newsDetail_label{
  background: rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.55);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.newsDetail_thumb{
  margin: 0 0 18px;
}
.newsDetail_thumb img{
  width:100%;
  height:auto;
  display:block;
}

.newsDetail_body{
  background:#fff;
  padding: 16px 4px;
  line-height: 1.9;
}
.newsDetail_body p{
  margin: 0 0 14px;
}

.newsDetail_back{
  margin: 28px 0 40px;
  text-align:center;
}
.newsDetail_backBtn{
  display:inline-block;
  padding: 12px 18px;
  border:1px solid #ddd;
  text-decoration:none;
  color:#333;
  background:#fff;
}

.news .tab_all_contens_box{
  padding: 30px;
  margin-bottom: 30px;
  background:#fff;
}

.news_single_flex{
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.news_single_img{
  width: 40%;
  max-width: 420px;
}

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

.news_single_text {
  width: 60%;
  background: #fff;
  padding: 16px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news_single_text > p:first-child{
  margin-top: 0;
}

.news_single_text p{
  margin-bottom: 15px;
}

@media (max-width: 768px){
  .news_single_flex{
    flex-direction: column;
    gap: 14px;
  }
  .news_single_img,
  .news_single_text{
    width: 100%;
    max-width: none;
  }
}

/* タブ */
.news .tab_list{
  display: flex;
  flex-wrap: wrap;
  color: #fff;
}

.news .tab_list .tab{
  background-color: #f98500;
}

.news .tab_list #all{
  background-color: #62b5fb;
}

.news .tab_list .tab a{
  padding:12px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  border: 1px solid #fff;
}

.news .tab_list .tab.latest a{
  background-color:#77b400 !important;
}

.news .tab_list .tab.notice a{
  background-color:#f98500 !important;
}

.news .tab_list .tab a{
  opacity: .75;
}
.news .tab_list .tab a.is-active{
  opacity: 1;
}


/* 一覧 */
.news .tab_contens_box{
  display: none;
}
.news .tab_contens_box.active{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.news .news_tab_contents_box article{
  width: 31%;
  margin-bottom: 40px;
}

/* 画像枠 */
.news .item_img{
  height: 210px;
  background-color: #e2e2e2;
  border: 2px solid #e2e2e2;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  position: relative !important;
  overflow: hidden;
}

.news .news_tab_contents_box article .item_img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  display:block;
}

/* オレンジタグ */
.news .cat_name{
  position: absolute !important;
  top: -2px !important;
  left: 0 !important;
  z-index: 10 !important;
}

.news .cat_name a{
  padding: 4px 10px;
  color: #fff;
  font-size: 0.8em;
  display: inline-block;
  text-align: center;
  background-color: #f98500;
}

.news .cat_name span {
  display:inline-block;
  padding: 6px 10px;
  color:#fff;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0;
}

.news .cat_name .cat_latest{ background:#77b400; }
.news .cat_name .cat_notice{ background:#f98500; }


/* 日付・タイトル*/
.news .item_title{
  font-weight: 600;
}
.news .item_title:hover{
  color: #f97c10;
}
.news .item_date,
.news .item_text_cintent{
  font-size: 15px;
}

.news-card__link{
  display:block;
  height:100%;
  color: inherit;
}
.news-card__link:hover{
  opacity: 1;
}

@media screen and (max-width: 768px){
  .news .tab_all_contens_box{
    padding: 10px;
  }
  .news .tab_list .tab{
    width: auto;
  }
  .news .tab_list .tab a{
    padding: 10px;
  }

  .news .news_tab_contents_box article{
    width: 100%;
  }
	
  .news .news_tab_contents_box article .item_img{
	  height: auto;
	  aspect-ratio: 4 / 3;  
  }
	
	.news .news_tab_contents_box article .item_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
	
  .news .cat_name a{
    display: flex;
    justify-content: center;
  }

  .newsDetail_ttl{ font-size: 18px; }

  h1.title_tuning.single_title_aaa{
    font-size: 20px;
    margin: 10px auto;
	width:95%;
  }

  .news.single.sec h1.title_tuning.single_title_aaa + .single_sec{
    margin-top: 10px;
  }
}

/* 最新情報ここまで ------------------------------ */

/* パンくずリスト -------------------------------- */
.breadcrumb{
  width: 95%;
  max-width: 1000px;
  margin: 30px auto 0;
  font-size: 16px;
}

.breadcrumb__list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
/*   background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08); */
}

.breadcrumb__item a{
  color: #5b2817;
  text-decoration: none;
}

.breadcrumb__sep{
  opacity: .6;
}

@media (max-width: 768px){
  .breadcrumb{
    margin: 0 auto;
    padding: 0;
    font-size: 14px;
  }

  .breadcrumb__list{
    padding: 0;
    gap: 4px;
  }
}

/* パンくずリストここまで-------------------------- */

/* 症状ページ-------------------------------------- */

:root{
  --gaku-accent: #7db732;
}

/* コンテナ */
.menu_symptom_archive .contents_area{
  width: 95%;
  max-width: 1000px;
  margin: 0 auto 50px;
}

/* -------------------------
  タブ（カテゴリ）
------------------------- */
.menu_symptom_archive .tab_list{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px auto 25px;
  padding: 0;
  list-style: none;
}

.menu_symptom_archive .tab_list a{
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 5px rgba(0,0,0,.15);
  transition: .25s;
  background: var(--gaku-accent);
  border-radius: 5px;
}

.menu_symptom_archive .tab_list a.active{
  opacity: 1;
}

/* -------------------------
  一覧（カード）
------------------------- */
.menu_symptom_archive .menu_symptom_list.onayami_list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
}

.menu_symptom_archive .menu_symptom_list.onayami_list li{
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dcdcdc;
}


.menu_symptom_archive .menu_symptom_list.onayami_list li a{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.menu_symptom_archive .menu_symptom_list.onayami_list li img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

/* 帯（症状名） */
.menu_symptom_archive .menu_symptom_list.onayami_list li span{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  height: 46px;
  padding: 0 14px;
  line-height: 1;

  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--gaku-accent);
  letter-spacing: .02em;
}

.menu_symptom_archive .menu_symptom_list.onayami_list li span::after{
  content: "›";
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  transform: translateY(0);
}

.menu_symptom_archive .menu_symptom_list.onayami_list li a::after{
  content: none !important;
}

.menu_symptom_archive .menu_symptom_list.onayami_list li.itiran_null,
.menu_symptom_archive .itiran_null{
  display: none !important;
}

/*  症状名だけ中央寄せ */
.menu_symptom_archive .menu_symptom_list.onayami_list li span{
  position: relative;
}

.menu_symptom_archive .menu_symptom_list.onayami_list li span{
  justify-content: center;
}

.menu_symptom_archive .menu_symptom_list.onayami_list li span::after{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}



@media (hover:hover){
  .menu_symptom_archive .menu_symptom_list.onayami_list li a:hover img{
    transform: scale(1.03);
  }
  .menu_symptom_archive .menu_symptom_list.onayami_list li a:hover span{
    filter: brightness(1.05);
  }
}

/* -------------------------
  SP（2列）
------------------------- */
@media screen and (max-width: 768px){


  .menu_symptom_archive .tab_list{
    gap: 10px;
    margin: 18px auto 16px;
  }

  .menu_symptom_archive .tab_list a{
    font-size: 14px;
    padding: 5px 10px;
  }

  .menu_symptom_archive .menu_symptom_list.onayami_list{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
  }

  .menu_symptom_archive .menu_symptom_list.onayami_list li{
    height: auto;
  }

  .menu_symptom_archive .menu_symptom_list.onayami_list li img{
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .menu_symptom_archive .menu_symptom_list.onayami_list li span{
    height: 44px;
    font-size: 14px;
    font-weight: 700;
    padding: 0 12px;
  }

  .menu_symptom_archive .menu_symptom_list.onayami_list li span::after{
    font-size: 20px;
  }
}

/* 症状ページ詳細--------------------------------- */
.single_menu_symptom .fl_wrap.fl_style_a.top_list{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-top: 20px;
  margin-bottom: 34px;
}


.single_menu_symptom .fl_img_wrap{
  width: 40%;
}
.single_menu_symptom .fl_img_wrap img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.single_menu_symptom .onayami_check{
  width: 58%;
  margin-bottom: 0;
}

/* 見出し帯（〇〇でこんなお悩みはありませんか？） */
.single_menu_symptom .bg_light_green_title{
  background-color: var(--gaku-accent);
  color: #fff;
  text-align: center;
  padding: 10px 12px;
  font-size: 18px;
  font-weight: 700;
}


.single_menu_symptom .check_list{
  width: 100%;
  background:#fff;
  display: block;
}


.single_menu_symptom .check_list li{
  position: relative;
  border-bottom: dashed 2px var(--gaku-accent);
  padding: 14px 12px 14px 36px;
  font-weight: 600;
  line-height: 1.6;
}


.single_menu_symptom .check_list li:last-child{
  border-bottom: none;
}

/* ✔アイコン */
.single_menu_symptom .check_list li::before{
  content: "\2714";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fa9819;
  font-size: 1.2em;
}

/* 症状詳細：上部（左アイキャッチ＋右チェック）*/
.single_menu_symptom .contents_area{
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
}

.single_menu_symptom .fl_wrap.fl_style_a.top_list{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  margin: 20px auto 34px;
}


.single_menu_symptom .fl_img_wrap{
  width: 40%;
  max-width: 420px;
}

.single_menu_symptom .fl_img_wrap img{
  width: 100%;
  height: auto;
  display: block;
  max-height: 280px;
  object-fit: cover;
}

.single_menu_symptom .onayami_check{
  width: 60%;
  max-width: 580px;
  margin-bottom: 0;
}

@media screen and (max-width: 768px){
  .single_menu_symptom .fl_wrap.fl_style_a.top_list{
    flex-direction: column;
    gap: 12px;
    margin: 12px auto 18px;
  }
  .single_menu_symptom .fl_img_wrap,
  .single_menu_symptom .onayami_check{
    width: 100%;
    max-width: none;
  }
  .single_menu_symptom .fl_img_wrap img{
    max-height: none;
    object-fit: cover;
  }

  .single_menu_symptom .fl_wrap.fl_style_a.top_list{
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 18px;
  }
  .single_menu_symptom .fl_img_wrap,
  .single_menu_symptom .onayami_check{
    width: 100%;
  }
  .single_menu_symptom .bg_light_green_title{
    font-size: 16px;
  }
}

/* ○○施術について */
:root{
  --gaku-accent: #0f6a5f;
  --gaku-accent-soft: rgba(15,106,95,.08);
}

.title_style_b {
	text-align:center;
}

.menu_symptom_contents {
	background:#fff;
	padding:15px;
	margin-bottom:35px;
}

.single_menu_symptom .symptom-sec-inner{
  padding: 0 20px;
}


.single_menu_symptom .symptom-point-title{
  position: relative;
  background-color: var(--gaku-accent);
  color: #fff;
  padding: 10px 14px 10px 34px;
  margin: 22px 0 14px;
  font-size: 20px;
  border-radius: 6px;
  font-weight: 700;
}
.single_menu_symptom .symptom-point-title::before{
  content:"";
  width: 6px;
  height: calc(100% - 18px);
  background:#fff;
  position:absolute;
  top: 9px;
  left: 16px;
  border-radius: 3px;
}


.single_menu_symptom .symptom-point-wrap{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin: 10px 0 18px;
}


.single_menu_symptom .symptom-point-img{
  width: 48%;
}
.single_menu_symptom .symptom-point-img img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}


.single_menu_symptom .symptom-point-text{
  width: 52%;
}
.single_menu_symptom .symptom-point-item{
  margin: 0 0 14px;
  line-height: 1.9;
}
.single_menu_symptom .symptom-point-num{
  color: var(--gaku-accent);
  font-weight: 800;
}
.single_menu_symptom .symptom-point-head{
  color: var(--gaku-accent);
  font-weight: 800;
}


.single_menu_symptom .symptom-sec-inner p{
  line-height: 2;
  margin: 0 0 12px;
}

@media screen and (max-width: 768px){
  .single_menu_symptom .symptom-sec-inner{
    padding: 0 10px;
  }
  .single_menu_symptom .symptom-point-wrap{
    flex-direction: column;
    gap: 12px;
  }
  .single_menu_symptom .symptom-point-img,
  .single_menu_symptom .symptom-point-text{
    width: 100%;
  }
  .single_menu_symptom .symptom-point-title{
    font-size: 16px;
    padding: 9px 12px 9px 30px;
  }
}


/* 症状ページここまで------------------------------ */

/* 本記事の文責----------------------------------- */

:root{
  --gaku-accent: #7db732;
  --gaku-accent-sub: #6aac14;
  --gaku-bg: #f6f3ee;
  --gaku-text: #333;
}

.bunseki {
	margin-bottom:35px;
}

.bunseki_img_text{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  background: var(--gaku-bg);
  padding: 20px;
  border-radius: 8px;
}


.bunseki_img{
  width: 25%;
  overflow: hidden;
  border-radius: 8px;
  margin-top:5px;
}
.bunseki_img img{
  width:100%;
  height:auto;
  object-fit: cover;
  display:block;
}

.bunseki_text{
  width: 72%;
  color: var(--gaku-text);
}


.bunseki_midashi{
  color:#fff;
  border-radius:3px;
  background: var(--gaku-accent);
  padding: 5px 10px;
  margin-right: 10px;
  font-weight:700;
}


.bunseki_title{
  margin: 16px 0;
}
.bunseki_title .group-name{
  font-weight: 700;
}


.bunseki_name{
  border-left: 6px solid var(--gaku-accent);
  font-weight: 700;
  padding-left: 8px;
  font-size: 20px;
  margin-bottom: 16px;
}

.carerr{
  background: var(--gaku-accent);
  padding: 6px 10px;
  color: #fff;
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* 経歴テーブル */
.career_box{
  border: 2px solid #ddd;
  margin-top: 10px;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.table_keireki{
  width:100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.table_keireki tr{
  border-bottom: 1px solid #eee;
}
.table_keireki td{
  padding: 10px 12px;
  vertical-align: top;
}
.table_keireki td:first-child{
  width: 180px;
  font-weight: bold;
  background-color: var(--gaku-accent-sub);
  color: #fff;
  white-space: nowrap;
  text-align: center;
}

/* 所有資格 */
.bunseki_list{
  font-size: 14px;
}
.bunseki_list li{
  margin-bottom: 6px;
  line-height: 1.6;
}

@media screen and (max-width: 768px){
  .bunseki_img_text{
    flex-direction: column;
    align-items: center;
  }
  .bunseki_img{
    width: 84%;
    margin-bottom: 10px;
  }
  .bunseki_text{
    width: 100%;
  }
  .table_keireki td:first-child{
    width: 90px;
  }
}

/* 本記事の文責ここまで ---------------------------- */






/* 初めての方へここから ---------------------------- */

.feature-list li a {
  color: #792525;
  text-decoration: none;
  transition: color 0.2s ease;
}

.feature-list li a:hover {
  color: #5b9e0c;
  text-decoration: underline;
}
.feature-list-box {
    background: #fff;
    padding: 20px 34px;
    max-width: 900px;
    margin: 0 auto 30px;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 16px;
  color: #222;
}
.feature-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #5b9e0c;
  font-size: 14px;
}
.feature-list li a::after {
  content: "▼";
  position: absolute;
margin-left: 5px;
  font-size: 14px;
	color: #792525;
    text-decoration: none;
    transition: color 0.2s ease;
}
.feature-list li a:hover::after {
  color: #5b9e0c; /* ▼ の色も変える */
}
.tokutyo__box {
    background: #fff;
    border: 4px solid #fb9103;
    border-radius: 16px;
    padding: 42px 22px 22px;
    margin-top: 0px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 18px;
    align-items: center;
}
.badge_flex{
	display: flex;
}
.badge_title {
    font-size: 22px;
    background-color: #fb9103;
    color: #fff;
    padding: 5px 50px 5px 46px;
margin: 16px 0 -30px 22px;
    border-radius: 10px;
}
/*　保険　*/
.jibaiseki_hoken {
	background: #f8f2e1;
    padding: 40px 12px;
    margin: 28px 0;
}

.stripe-heading {
color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
	margin: 20px 0px;
    background: repeating-linear-gradient(-45deg, /* 逆方向の斜め */ #fb9103, #fb9103 5px, /* 幅を細く */ #fcaf48 5px, #fcaf48 10px);
}
.hoken_slider__slide {
    flex: 0 0 100%;
    margin: 0;
    display: grid;
	place-items: center;
}
.hoken_slider__slide img{
	 max-width: 70%!important;
    height: auto;
    display: block;
}
.hoken-slider__frame {
	padding: 0px 46px;
}
.kenko_hoken {
		background: #f0fae3;
    padding: 40px 12px;
margin: -28px 0 28px;
}
.hoken_text {
	background-color: #fff;
	padding: 10px 20px;
}
.voice_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.voice_box {
  margin-bottom: 20px;
	    background-color: #fff;
    padding: 20px 20px;
}
.voice_name {
	color: #792525;
}

.recommend {
  max-width: 900px;
  margin: 0 auto;
}

.recommend-item {
  display: flex;
  align-items: stretch; /* 左右の高さを揃える */
  margin-bottom: 40px;
  justify-content: space-between;
}

.recommend-photo img {
  width: 255px;
  height: auto;
  object-fit: cover;
}

.recommend-box {
  background: #fff;
  padding: 15px;
  flex: 1;
  margin-left: 15px;
  display: flex;
  flex-direction: column;
}
.recommend-box h4 {
margin-bottom: 12px;
    color: #792525;
}

.recommend-box .text {
  line-height: 1.6;
}

.recommend-box .more {
  display: none;
}
.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 22px;
  margin: 20px auto 0;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: #ff9a1f;
  border: 3px solid #e36a00;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  width: 200px;
  display: flex;
}
.ticket img {
margin: 0 auto 20px;
	width: 80%;
}
.anshinhoken {
  display: flex;
  flex-wrap: wrap;       /* 横幅に応じて文章が下に回り込む */
  gap: 10px;             /* 写真と文章の間の余白 */
  align-items: flex-start;
}

.anshinhoken img {
 width: 372px;
    height: auto;
    object-fit: cover;
}

.hoken-text {
  flex: 1 1 0;           /* 残り幅を文章が使う */
  text-align: justify;    /* 両端揃え */
  line-height: 1.7;
	background-color: #fff;
	    padding: 10px 20px;
}
.orange {
	color: #eb6100;
}
.margin-bottom{
	margin-bottom: 10px;
}
    
/* ========== FAQ 基本 ========== */
.faq {
  --brown: #444444;
  --orange: #e48d45; /* 文字/縁のオレンジ */
  --orange-bar: #e7b281; /* 見出し帯の色（調整可） */
  --green: #79b86d; /* A丸の緑 */
  --green-bg: #f5faef; /* 回答ボックスの薄緑 */
  margin: 3.5rem 0 0;
}

.faq .inner {
  max-width: 900px;
  margin: 0 auto;
padding: 0 2.1875rem 3.5rem;
}
@media screen and (max-width: 540px) {
  .faq .inner {
    padding: 2rem 1.875rem;
  }
}

.faq .p-accordion__item {
  margin: 1.5rem 0 0;
}

.faq__ttl-wrapper {
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
}

/* ========== Q（質問の帯） ========== */
.faq .p-accordion__title-wrapper {
  position: relative;
  background: #f0fae3;
  padding: 1.125rem 3.5rem 1.125rem 4.5rem; /* 左にQ丸ぶんの余白 */
  color: var(--brown);
}
@media screen and (max-width: 540px) {
  .faq .p-accordion__title-wrapper {
    padding: 0.625rem 3.5rem 0.625rem 2.8125rem;
  }
}

.faq .p-accordion__title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 540px) {
  .faq .p-accordion__title {
    font-size: 16px;
  }
}

/* Qの丸マーク */
/* Qの丸マーク（画像表示） */
.faq .p-accordion__title-wrapper::before {
content: "";
    position: absolute;
    left: -1.5rem;
    top: -3px;
    width: 4.75rem;
    height: 4.75rem;
  background: url("https://maebashi-komagata-jiko.koyo-ad.com/wp-content/themes/maebashi-komagata-jiko/assets/img/question.png") no-repeat center/contain;
  display: block;
}
@media screen and (max-width: 540px) {
  .faq .p-accordion__title-wrapper::before {
    width: 3.125rem;
    height: 3.125rem;
    left: -0.625rem;
  }
}

/* ========== A（回答ボックス） ========== */
.faq .p-accordion__content {
  position: relative;
  background: #fff;
  padding: 1.25rem 1.125rem 1.25rem 4.5rem;
  margin-top: 1.125rem;
  color: var(--brown);
  font-weight: 700;
  line-height: 1.8;
}
@media screen and (max-width: 540px) {
  .faq .p-accordion__content {
    padding: 1.25rem 1.125rem 1.25rem 2.8125rem;
  }
}

/* Aの丸マーク */
.faq .p-accordion__content::before {
content: "";
    position: absolute;
    left: -1.5rem;
    top: -3px;
    width: 4.75rem;
    height: 4.75rem;
  background: url("https://maebashi-komagata-jiko.koyo-ad.com/wp-content/themes/maebashi-komagata-jiko/assets/img/answer.png") no-repeat center/contain;
  display: block;
}
@media screen and (max-width: 540px) {
  .faq .p-accordion__content::before {
    width: 3.125rem;
    height: 3.125rem;
    left: -0.625rem;
    top: 0;
  }
}

/* ========== 細かな整え ========== */
.faq .p-flow__item-txt,
.faq .p-flow__item-txt-red,
.faq .p-flow__item-lists,
.faq .p-flow__item-body,
.faq .p-flow__item-content01,
.faq .p-flow__item-content02,
.faq .p-flow__item-content03,
.faq .p-flow__item-content04,
.faq .p-flow__item-content05 {
  /* 回答の中身をこの色/行間に合わせるため */
  color: var(--brown);
  line-height: 1.8;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 540px) {
  .faq .p-flow__item-txt,
  .faq .p-flow__item-txt-red,
  .faq .p-flow__item-lists,
  .faq .p-flow__item-body,
  .faq .p-flow__item-content01,
  .faq .p-flow__item-content02,
  .faq .p-flow__item-content03,
  .faq .p-flow__item-content04,
  .faq .p-flow__item-content05 {
    font-size: 1rem;
  }
}

/* まずは全部閉じる */
.faq .p-accordion__content {
  display: none;
}

/* 最初の項目だけ開く */
.faq .p-accordion__item:first-child .p-accordion__content {
  display: block;
}

/* タイトル行をクリックできるように（任意だが推奨） */
.faq .p-accordion__title-wrapper {
  cursor: pointer;
}

/* 右側の + / - アイコン本体（位置） */
.faq .p-accordion__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* 横棒（常に表示） */
.faq .p-accordion__icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 0.15625rem;
  background: #fb9103;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 0.125rem;
}

/* 縦棒（開く前は表示＝＋、開いたら消して－） */
.faq .p-accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.15625rem;
  height: 100%;
  background: #fb9103;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 0.125rem;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, transform 0.2s;
  transition: opacity 0.2s, transform 0.2s, -webkit-transform 0.2s;
}

/* 開いた状態：縦棒を消して「－」にする */
.faq .p-accordion__item.is-open .p-accordion__icon::after {
  opacity: 0;
  -webkit-transform: translate(-50%, -50%) scaleY(0);
  transform: translate(-50%, -50%) scaleY(0);
}


.greeting{
  margin: 3.5rem 0 0;
}

.greeting .inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2.1875rem;
}

/* 背景画像の四角 */
.greeting-box{
  margin-top: 1.5rem;
  padding: 2rem;
  background-image: url("https://maebashi-komagata-jiko.koyo-ad.com/wp-content/themes/maebashi-komagata-jiko/assets/img/daihyo_bg.png");
  background-repeat: repeat;
  background-position: center top;
  background-size: 520px auto; /* ← ここで「引き」を調整 */
  box-sizing: border-box;
}

/* 写真 */
.greeting-photo{
  margin: 0;
}
.greeting-photo img{
width: 40%;
    max-height: 320px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* 内容の四角 */
.greeting-content{
    margin-top: 1.5rem;
    background: #fcf3eb;
    border: 3px solid #fb9103;
    padding: 1.5rem;
    box-sizing: border-box;
    border-radius: 10px;
}

.greeting-text{
  margin: 0;
  line-height: 1.9;
  font-weight: 600;
}

.greeting-name{
  margin-top: 1.25rem;
  text-align: right;
  font-weight: 700;
}
.hoken-list li::before {
    content: "✓";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 2px;
    background: #77b400;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
	}
.hoken-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.access_text_bg {
    background-color: #fff;
    padding: 10px 30px;
    margin-bottom: 20px;
}
.access_text_bg .access-block__row{
	padding: 0px 0 10px;
}
.text.more {
  display: none;
}
.anshin-point__btn-arrow2{
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  transform: translateY(1px);

  border-style: solid;
  border-width: 10px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
}
.anshin-point__btn,
.anshin-point__btn *{
  text-decoration: none !important;
}


@media (max-width: 768px){
	.feature-list__inner{
		padding: 0 10px;
		margin-top: 20px;
	}
	.badge_title {
        font-size: 18px;
        width: 360px;
        padding: 5px 20px 5px 36px;
        margin: 13px 0 -30px 22px;
        text-align: center;
    }

	.anshin-point__box {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }
	.tokutyo__box {
    background: #fff;
    border: 4px solid #fb9103;
    border-radius: 16px;
padding: 16px 22px 7px;
    margin-top: 26px;
    display: grid;
    gap: 18px;
    align-items: center;
    grid-template-columns: 1fr;
	}
	.tokutyo__box__inner{
		margin-top: 25px;
	}
	.tokutyo__box .anshin-point__lead {
        text-align: left;
    }
	.stripe-heading {
    padding: 10px 5px;
    font-size: 20px;
}
    .hoken_slider__slide img {
        max-width: 100% !important;
        height: auto;
        display: block;
    }
	.hoken-slider__frame {
    padding: 0px 26px;
}
  .greeting-box{
    padding: 1.25rem;
	  margin-top: 0px;
  }
  .greeting-content{
    padding: 1.125rem;
  }
  .anshinhoken {
    flex-direction: column;
  }
  .anshinhoken img {
    width: 100%;
  }
  .recommend-item {
    flex-direction: column;
  }

.recommend-photo img {
        width: 100%;
        margin: 0 auto 10px;
    }
	.recommend-box {
    padding: 14px 20px;
margin-left: 0px;
	}
	.ticket img {
    margin: 0 auto 10px;
    width: 100%;
}
	.faq .inner {
        padding: 0px 1rem 1.5rem;
    }
	.faq .p-accordion__title-wrapper {
        padding: 0.625rem 3.5rem 0rem 2.8125rem;
    }
	.greeting-photo img {
    width: 80%;
}
	.access_text_bg {

    padding: 10px 12px;
}
	.access-block {
    margin: 0px 0 0;
}
	.access-block__row {
        grid-template-columns: 90px 1fr;
    }
	.anshin-point__btn-arrow2 {
    margin-left: 16px;
}
}

/* 初めての方へここまで ---------------------------- */


/*  転院・併用：worries --------------------------- */

/* =========================
 交通事故治療の通院でお悩み
========================= */

.worries--ortho {
	background:#fdf2d4;
}

/* h1見出し */
.speech.speech--h1{
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
}

/* h1：白い吹き出し */
.worries--ortho .ortho-h1-fukidasi{
  position: relative;
  margin: 0 auto 30px;
  padding: 24px 20px;
  width: min(100%, 1000px);
  background: #fff;
  border-radius: 5px;
  text-align: center;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.35;
  color: #792525;
  filter: drop-shadow(5px 6px 4px rgba(53, 74, 24, .6));
}

.worries--ortho .ortho-h1-fukidasi::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);

  border-width: 18px 16px 0 16px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

@media (max-width: 768px){
  .worries--ortho .ortho-h1-fukidasi{
    padding: 18px 14px;
    font-size: 20px;
  }
  .worries--ortho .ortho-h1-fukidasi::after{
    bottom: -16px;
    border-width: 16px 14px 0 14px;
  }

  .speech.speech--h1{
    font-size: 18px;
  }
}

/* h2タイトル*/
.worries--ortho .worries__title{
  position: relative;
  text-align: center;
  font-size:26px;
  font-weight: 900;
}
/* 
.worries--ortho .worries__title::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 3px;
  background: #d35400;
  transform: translate(calc(-50% - 170px), -50%) rotate(50deg);
  transform-origin: center;
}

.worries--ortho .worries__title::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 3px;
  background: #d35400;
  transform: translate(calc(-50% + 170px), -50%) rotate(-50deg);
  transform-origin: center;
} */

@media (max-width: 768px){
  .worries--ortho .worries__title{
    padding: 14px 32px;
    font-size: 16px;
  }

/*   .worries--ortho .worries__title::before{
    transform: translate(calc(-50% - 120px), -50%) rotate(50deg);
  }
  .worries--ortho .worries__title::after{
    transform: translate(calc(-50% + 120px), -50%) rotate(-50deg);
  } */
}


.worries.worries--ortho .worries__kicker{
  margin: 0 0 10px;
  color: #5b2817;
  font-weight: 800;
  font-size: 15px;
}

.worries.worries--ortho .worries__lead,
.worries.worries--ortho .worries__intro,
.worries.worries--ortho .worries__foot{
  margin: 0 0 12px;
  color: #5b2817;
  line-height: 1.7;
  font-size: 15px;
}

.worries.worries--ortho .worries__photo{
  margin: 0 0 12px;
}


.worries.worries--ortho .worries__photo img{
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.worries.worries--ortho .worries__photo img{
  width: 100%;
  height: auto;
  display: block;
}

.worries.worries--ortho .worries__note-box{
  background: #fff;
  padding: 14px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

.worries.worries--ortho .worries__note-box .worries__list{
  background: transparent;
}

.worries.worries--ortho .worries__intro{
  margin: 0 0 10px;
  font-weight: 900;
  font-size:18px;
  color: #5b2817;
  letter-spacing: .02em;
  border-left: 5px solid #eb6100;
  padding-left: 10px;
}

/* ▼（グラデーション） */
.worries--ortho .worries__divider{
  display: flex;
  justify-content: center;
  margin: 22px auto 18px;
}

.worries--ortho .worries__divider::before{
  content: "";
  width: 120px;
  height: 45px;
  
  /* 上→下に濃くなるオレンジ */
  background: linear-gradient(
    to bottom,
    #f6b26b 0%,
    #e67e22 60%,
    #d35400 100%
  );

  clip-path: polygon(0 0, 100% 0, 50% 100%);
}



/* そのようなお悩みの方は～ */
.worries--ortho .worries__foot{
  margin-top: 20px;
  text-align: center;
  font-weight: 900;
  font-size: 26px;
  color: #e63b6f;
  background: none;
  border: none;
  padding: 0;
}

.worries.worries--ortho .worries__foot{
  font-size:25px;
  font-weight: 900;
  color: #5b2817;
}

.worries__foot .worries__foot_text{
  font-size: 30px;
  border-bottom: 5px solid #f98500;
}

/* .worries--ortho .worries__foot::before,
.worries--ortho .worries__foot::after{
  content: "✦";
  color: #f6b400;
  margin: 0 8px;
} */

@media (max-width: 768px){
  .worries--ortho .worries__foot{
    font-size: 20px;
  }
	
	.worries__foot .worries__foot_text{
  font-size: 20px;
  }
}

.worries.worries--ortho .worries__note-box .worries__list{
  margin: 6px 0 0;
  padding: 0;
}


@media (max-width: 768px){
  .worries.worries--ortho .worries__kicker{
    font-size: 14px;
  }
  .worries.worries--ortho .worries__lead,
  .worries.worries--ortho .worries__intro,
  .worries.worries--ortho .worries__foot{
    font-size: 14px;
  }
	
	  .worries.worries--ortho .worries__note-box{
    padding: 12px 12px;
    border-radius: 6px;
  }
  .worries.worries--ortho .worries__intro{
    font-size: 18px !important;
  }
  .worries.worries--ortho .worries__foot{
    font-size: 14px;
  }
}


/* =========================
  整形外科からの転院・併用
========================= */
.recommend.recommend--ortho .recommend-photo{
  width: 350px;
  flex: 0 0 350px;
  min-width: 350px;
  flex-shrink: 0;
  height: 200px;
  overflow: hidden;
  background: #dcdcdc;
}

.recommend.recommend--ortho .recommend-photo img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.recommend--ortho .hoken-list{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.recommend--ortho .hoken-list li{
  margin-bottom: 8px;
}

@media (max-width: 768px){
  .recommend.recommend--ortho .recommend-photo{
    width: 100%;
    flex: 0 0 auto;
    height: 200px;
  }
}


/* =========================
  併用するメリット
========================= */
/* 見出し */
.gaku-stripe-heading{
  position: relative;

  max-width: 800px;
  margin: 20px auto;

  padding: 0.6em 1em;
  box-sizing: border-box;

  font-weight: 900;
  color: #5b2817;

  background: repeating-linear-gradient(
    -45deg,
    #fff5df,
    #fff5df 4px,
    #ffe4b1 4px,
    #ffe4b1 8px
  );

  border-radius: 7px;
  text-align: center;
}

/* 吹き出し三角 */
.gaku-stripe-heading::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 30px;

  border: 15px solid transparent;
  border-top: 15px solid #ffe4b1;
  width: 0;
  height: 0;
}


@media (max-width: 768px){
  .gaku-stripe-heading{
    max-width: 100%;
    margin: 16px auto;
    padding: 0.55em 0.8em;
    font-size: 16px;
  }

  .gaku-stripe-heading::after{
    left: 20px;
    border-width: 12px;
  }
}

/* メリット本文 */
.ortho-merit{
  margin: 28px 0;
  padding: 18px 12px;
}

.ortho-merit__inner{
  max-width: 800px;
  margin: 0 auto;
}

/* 2カラム */
.ortho-merit__grid{
  display: grid;
  grid-template-columns: 1fr 1.23fr;
  gap: 18px;
  align-items: stretch;
}

.ortho-merit__box{
  order: 2;
}

.ortho-merit__photo{
	margin: 0;
  height: 200px;
  overflow: hidden;
  background: #dcdcdc;
}

.ortho-merit__photo img{
   width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ortho-merit__box{
  background: #fff;
  padding: 18px 16px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

.ortho-merit__text{
  margin: 0 0 12px;
  line-height: 1.9;
  font-size: 15px;
}

.ortho-merit__text:last-child{
  margin-bottom: 0;
}

.ortho-merit__h4{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: #792525;
  line-height: 1.4;
}

@media (max-width: 768px){
  .ortho-merit__grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ortho-merit__box{
    padding: 14px 12px;
  }
  .ortho-merit__text{
    font-size: 14px;
  }
	
  .ortho-merit__grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================
  ご予約・ご相談について
========================= */
.reserve-consult{
  padding: 0 12px;
  margin: 28px 0 50px;
}

.reserve-consult__inner{
  max-width: 800px;
  margin: 0 auto;
}

.reserve-consult__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.reserve-consult__card{
  background: #fff;
  padding: 14px 14px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

.reserve-consult__title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: #5b2817;
  text-align:center;
}

.reserve-consult__text{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #5b2817;
}

.reserve-consult__badge{
  margin: 10px 0 10px;
}
.reserve-consult__badge img{
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

.reserve-consult__btn{
  display: block;
}
.reserve-consult__btn img{
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px){
  .reserve-consult{
    padding: 10px;
  }
  .reserve-consult__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =========================
  席・設備・特徴（特徴1〜7）
========================= */
.facility-features{
  padding: 0 12px;
  margin: 28px auto;
  width: 100%;
  max-width: 800px;
}

.facility-features__inner{
  max-width: 800px;
  margin: 0 auto;
}

.facility-features__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 18px;
  margin-top:30px;
}

.facility-feature{
  position: relative;
  background: #fff;
  padding: 14px 14px 12px;
  border: 5px solid #77b400;
  border-radius:25px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

.facility-feature .anshin-point__badge{
  position: absolute;
  left: -10px;
  top: -25px;
  width: 74px;
  height: auto;
  z-index: 2;
}

.facility-feature__photo{
  margin: 0;
  background: #dcdcdc;
}

.facility-feature__photo img{
  width: 100%;
  height: auto;
  display: block;
}

.facility-feature__caption{
  margin: 10px 0 0;
  text-align: center;
  color: #5b2817;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px){
  .facility-features{
    padding: 10px;
  }

  .facility-features__grid{
    grid-template-columns: 1fr;
    gap: 33px;
	margin-top:33px;
  }

  .facility-feature{
    padding: 12px 12px 10px;
  }

  .facility-feature .anshin-point__badge{
    left: -8px;
    top: -25px;
    width: 68px;
  }

  .facility-feature__caption{
    font-size: 14px;
  }
}

/* =========================
  ひとこと案内（目立たせる）
========================= */
.gaku-notice{
  max-width: 800px;
  margin: 18px auto 0;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

/* =========================
  枠付き見出し（サイト配色版）
========================= */
.gaku-frame-heading{
  position: relative;
  max-width: 800px;
  margin: 20px auto 50px;
  padding: 16px 20px;
  background: #fff;
  color: #5b2817;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.6;
  box-sizing: border-box;
  border-radius:30px;
}

/* 外枠 */
.gaku-frame-heading::before{
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 100%;
  height: 100%;
  border: 4px solid #eb6100;
  border-radius:30px;
  pointer-events: none;
}

@media (max-width: 768px){
    .gaku-frame-heading{
    max-width: 95%;
    margin: 16px auto;
    padding: 14px 14px;
    font-size: 16px;
  }
  .gaku-frame-heading::before{
    top: -5px;
    left: -5px;
    border-width: 3px;
  }
}


.gaku-notice__text{
  margin: 0;
  color: #5b2817;
  font-weight: 800;
  line-height: 1.8;
  font-size: 20px;
}


.gaku-notice .worries__marker{
  font-weight: 900;
}

.notice-point{
	margin-bottom: 10px;
	text-align: center;
    font-size: 20px;
}

@media (max-width: 768px){
  .notice-point{
    padding: 12px 12px;
    font-size: 16px;
  }
  .notice-point::before{
    top: -20px;
    height: 20px;
    font-size: 11px;
    padding: 0 10px;
  }

  .gaku-notice{
    margin-top: 14px;
    padding: 12px 12px;
    border-left-width: 5px;
  }
	
  .gaku-notice__text{
    font-size: 14px;
  }
  .gaku-notice::after{
    top: -9px;
    right: 10px;
    font-size: 11px;
    padding: 4px 9px;
  }
}

/*  転院・併用：worriesここまで ------------------- */

/* 損害保険会社様へ-------------------------------- */
.gaku-insurance{
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 22px 0 40px;
  color: #333;
}

.gaku-insurance__lead{
  margin: 0 0 10px;
  font-size: 14px;
  color: #666;
}

.gaku-insurance__h1{
  margin: 0 0 18px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  font-size: 22px;
  color: #5b2817;
  background: #fff;
  border-top: 4px dotted #eb6100;
  border-bottom: 4px dotted #eb6100;
}

.gaku-insurance__heroimg{
  height: auto !important;
  display: block !important;
  place-items: initial !important;
  padding: 0 !important;
  margin: 0 0 55px;
  border-radius: 10px;
  overflow: hidden;
  background: none !important;
}

.gaku-insurance__heroimg img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.gaku-insurance__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.gaku-insurance__item {
	margin:10px 0;
}

.gaku-insurance__card {
  position: relative;
  border: 3px solid #f39a1c;
  border-radius: 20px;
  background: #fff;
  padding: 60px 15px 16px;
}

/* 数字見出し */
.gaku-insurance__badge{
  position: absolute;
  top: -25px;
  left: -5px;
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 2;
  max-width: calc(100% - 28px);
}

.gaku-insurance__num{
  width: 56px;
  height: 56px;
  border: 3px solid #f39a1c;
  border-radius: 999px;
  background: #fff;
  color: #f39a1c;
  font-weight: 800;
  font-size: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
}

.gaku-insurance__h2{
  margin: 0 0 0 -14px;
  padding: 10px 14px 10px 24px;
  border: 3px solid #f39a1c;
  border-radius: 999px;
  background: #f39a1c;
  color: #fff;
  font-weight: 800;
  line-height: 1.25rem;
  flex: 1 1 auto;
}

.gaku-insurance__body{
  position: relative;
  z-index: 1;
}

.gaku-insurance__body p{
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
  color: #444;
}

@media (min-width: 768px){
  .gaku-insurance__h1{
    font-size: 26px;
  }
	
	.gaku-insurance__card{
    padding-top: 50px;
  }

  .gaku-insurance__badge{
    top: -25px;
  }
  .gaku-insurance__num{
    width: 64px;
    height: 64px;
    font-size: 30px;
  }

  .gaku-insurance__h2{
    margin-left: -35px;
    padding: 12px 19px 12px 46px;
    font-size: 18px;
  }
	
  .gaku-insurance__body p{
    font-size: 15px;
  }
	
	.gaku-insurance__list{
		gap:50px;
	}
}

@media (max-width: 768px){
	.gaku-insurance {
		width: min(95%, 800px);
	}
	
	.gaku-insurance__badge {
		max-width: 100%;
		left: 0;
		right: 0;
		padding: 0; 
	}
	
	.gaku-insurance__h2 {
		font-size: 14px;
		flex: 1 1 auto;
	    margin: 0 0 0 -30px;
		padding: 10px 6px 10px 35px;
		width: 100%;
		margin-left: -55px;
		padding-left: 51px;
	}
	
	.gaku-insurance__list {
		gap: 11px;
	}
	
	.gaku-insurance__num {
		width: 60px;
		height: 60px;
		left: -7px;
	}
	
	.gaku-insurance__card {
		padding: 43px 16px 16px;
	}
	
	.gaku-insurance__item {
    margin: 20px 0;
  }
	
	.gaku-insurance__heroimg{
		margin: 0 0 25px;
	}
	
	.gaku-insurance__heroimg img {
    width: 100%;
  }
}
/* 損害保険会社様へここまで------------------------ */

/* 夜21時まで受付---------------------------------- */
.page-content {
	margin-top:10px;
}

.gaku-night21{
  margin-top: 10px 10px 30px;
  margin-bottom:40px;
}

.gaku-night21__h1{
  margin-bottom: 18px;
}

.gaku-night21__grid{
  background: #fff;
  border-radius: 10px;
  padding: 18px;
}

.gaku-night21__img{
  margin: 0 0 14px;
  background: #fff;
  padding: 12px;
}

.gaku-night21__img img{
  width: 100%;
  height: auto;
  display: block;
}

.gaku-night21__text{
  background: #fff;
  padding: 14px 16px;
  color: #5b2817;
  line-height: 1.9;
  font-size: 15px;
}

.gaku-night21__text p{
  margin: 0 0 10px;
}

.gaku-night21__note{
  margin-top: 12px;
  font-weight: 800;
}

.access-block-bg {
	padding:10px;
	background:#fff;
	background:#fff1df;
}

@media (min-width: 769px){
  .gaku-night21__grid{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: start;
    padding: 22px;
  }

  .gaku-night21__text{
    margin-top: 0;
  }
}

@media (max-width: 768px){
	.gaku-night21{
	        margin: 10px 10px 20px !important;
	}
	
  .gaku-night21__grid{
    padding: 14px;
  }
	
	.gaku-night21__img{
    padding: 10px;
  }
  .gaku-night21__text{
    padding: 12px 12px;
	margin-bottom:20px;
    font-size: 14px;
  }
}


/* 夜21時まで受付ここまで-------------------------- */



/* 料金ここから-------------------------- */
.fee_title{
    font-size: 40px;
    color: #5b2817;
    margin: 10px auto 10px;
    text-align: center;
}

.fee_table table {
	width: 500px;
	border-collapse: collapse;
	margin: 0 auto 30px;
}

.fee_table th,
.fee_table td {
border: 2px solid #000;
    padding: 6px 10px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
    font-size: 20px;
}

.fee_table th {
background: #e7892d;
    width: 200px;
    color: #fff;
}
.menu_fee_table{
padding: 30px 0 10px;
}
.menu_fee_table h4{
    border-left: 5px solid #e7892d;
    padding-left: 7px;
    max-width: 500px;
	margin: 0 auto 10px;
}
.menu_fee_table table{
    width: 500px;
    border-collapse: collapse;
    margin: 0 auto 30px;
    font-size: 18px;
}
.menu_fee_table table , td, th {
	border: 2px solid #000;
	border-collapse: collapse;
}

.menu_fee_table th {
	background: #f0e6cc;
}

.menu_fee_table td,
.menu_fee_table th {
	padding: 6px 10px;
	height: 30px;
	text-align: center;
}

.menu_fee_table table td:first-child {
	width: 140px;
	    background-color: #dddddd;
}

.menu_fee_table table td:last-child {
	width: 360px;
	background: #fff;
}
.menu_fee_table--4col {
	width: 500px;
	table-layout: fixed;
}

/* 左端（1割・2割・3割）だけ固定 */
.menu_fee_table--4col th:first-child {
	width: 100px;
	background-color: #dddddd;
}

/* 1部位〜3部位は自動＝均等 */
.menu_fee_table--4col th:not(:first-child),
.menu_fee_table--4col td:not(:first-child) {
	background: #fff;
}

/* 上段見出し */
.menu_fee_table--4col thead th {
	background: #f0e6cc;
}
.menu_fee_table .price_head {
	background-color: #ffe2bb!important;
}
.menu_fee_table_note{
	text-align: right;
	max-width: 500px;
	    margin: -27px auto 30px;
}
.menu_fee_table_note2{
	text-align: left;
	max-width: 500px;
	    margin: -27px auto 30px;
}

@media (max-width: 768px){
	.fee_title{
		font-size: 25px;
	}
.fee_table table {
    width: 95%;
	        margin: 0px auto 0px;
	}
	.menu_fee_table table {
		width: 95%;
		margin: 0px auto 15px;
	}
	.menu_fee_table {
    padding: 0px 12px 10px;
}
	.menu_fee_table_note {
		max-width: 95%;
		margin: -12px auto 0px;
	}
	.menu_fee_table--4col th:first-child {
		width: 80px;
	}
	.menu_fee_table_note2 {
		max-width: 95%;
		margin: -12px auto 30px;
	}
	.fee__inner{
		padding: 0 12px;
	}
  .fee_table th {
    width: auto;
  }
	.calculation-banner {
    margin: 10px 0 !important;
}
}
/* 料金ここまで-------------------------- */