@charset "UTF-8";

/* --- CSSエリア --- */
        

/* --- 左固定サイドバー (画像の上部ナビを左へ) --- */
.sidebar {
    width: 130px;              /* 幅はお好みで */
    height: auto;              /* 高さは中身に合わせる */
    background-color: #966F53; /* 茶色 */
    color: #fff;
    
    position: fixed;           /* 画面に固定 */
    top: 50%;                  /* 画面の上から50%の位置に */
    left: 0;                   /* 左端に */
    transform: translateY(-50%); /* 自分の高さの半分だけ上にずらす（これで完全な中央になります） */
    
    border-radius: 0 20px 20px 0; /* 右上と右下だけ角を丸くする (左上, 右上, 右下, 左下) */
    z-index: 1000;
    overflow: hidden;          /* 角丸からはみ出ないようにする */
    box-shadow: 2px 0 10px rgba(0,0,0,0.1); /* 少し影をつけて浮いている感じに */
}

.postpartum_h2{
font-size: 2.2rem;
	}

.info_h3{
font-size: 2.2rem;	
}

/* ロゴは画像のデザインには無いようなので非表示にします */
/* 表示させたい場合はここを削除してください */
.logo-area {
    display: none;
}

.sidebar ul {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.sidebar li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.3); /* 区切り線 */
}

/* 一番下の線は消す */
.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 20px 10px;        /* 上下の余白を広げてボタンっぽく */
    transition: background 0.3s;
    text-align: center;
}

.sidebar a:hover {
    background-color: rgba(255,255,255,0.2); /* マウスを乗せた時に少し明るく */
}

/* --- メインコンテンツ --- */
.main-content {
    margin-left: 220px;
    width: calc(100% - 220px);
    background-color: #fff;
}

/* ヒーロー画像 (赤ちゃん) */
.hero {
    width: 100%;
    height: 400px;
    background-color: #e0d0c0; /* 画像がない場合の代替色 */
    /* background-image: url('main-visual.jpg'); */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
	border-radius: 0 0 0 10px;
	flex-direction: column;
	z-index: 1;
	
	/* ▼▼▼ ここを変更 ▼▼▼ */
    background-image: url('../img/care_maining.png'); /* 画像のファイル名に合わせてね */
    background-size: cover;     /* 画像を枠いっぱいに広げる */
    background-position: center;/* 画像の中央を表示する */
    background-repeat: no-repeat; /* 繰り返しなし */
    /* ▲▲▲ ここまで ▲▲▲ */

    /* 文字を見やすくするために、少し画像を暗くしたい場合は以下を追加 */
    /* background-color: rgba(0,0,0, 0.3); */
    /* background-blend-mode: multiply; */

}

.hero h1 {
    color: #fff;
    font-size: 45px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.2em;
}

.hero span{
	color: #FFF;
}

/* コンテンツ幅制限 */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 見出し共通 */
h2 {
    font-size: 1.5rem;
    color: #966F53; /* 茶色 */
    margin-bottom: 20px;
    font-weight: normal;
    display: inline-block;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

p {
    margin-bottom: 1.5em;
    font-size: 0.95rem;
}

/* --- レイアウト部品 --- */

/* 画像とテキストの左右配置 */
.cols {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.cols.reverse {
    flex-direction: row-reverse;
}

.col-text {
    flex: 1;
}

.col-img {
    flex: 1;
    height: 250px;
    background-color: #eee; /* 画像プレースホルダー */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
	border-radius: 10px;
    overflow: hidden;
}

/* リスト */
.feature-list {
    list-style: none;
    padding: 0;
}
.feature-list li {
    margin-bottom: 10px;
    padding-left: 1.2em;
    position: relative;
}
.feature-list li::before {
    content: "■";
    color: #966F53;
    font-size: 0.6em;
    position: absolute;
    left: 0;
    top: 7px;
}

.deduction-section h3{
	font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: normal;
}

/* 2カラム ボックス (赤ちゃんのこと/安全) */
.box-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.info-card {
    flex: 1;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-card h3 {
    color: #966F53;
    margin-bottom: 20px;
	font-size: 2rem;
}

/* メニュー表エリア (グレー背景) */
.menu-section {
    background-color: #f2f2f2;
    padding: 50px 30px;
    border-radius: 8px;
    margin-bottom: 80px;
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.menu-table th, .menu-table td {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.menu-table th {
    background-color: #966F53;
    color: #fff;
    font-weight: normal;
}

.card-content{
	text-align:left;
	padding: 0 1rem;
}

.card-content li{
	 margin-bottom:1rem;
}

/* 詳細エリア (産前/産後) */
.detail-area {
    margin-bottom: 80px;
}

.detail-block {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.detail-block h3 {
    text-align: left;
    border-left: 5px solid #966F53;
    padding-left: 15px;
    background-color: #f9f9f9;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* フロー (ステップ) */
.flow-container {
    text-align: center;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.step-item {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px 10px;
    position: relative;
    min-width: 130px;
}

.step-num {
    display: inline-block;
    background-color: #fff;
    color: #966F53;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.5rem;
}

/* --- スマホ対応 (768px以下) --- */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .logo-area {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
    }
    .sidebar li {
        width: 33.33%; /* 3列 */
        border: none;
    }
    .sidebar a {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .hero {
        height: 200px;
    }
    .hero h1 {
        font-size:30px;
    }

    .cols, .box-grid, .steps {
        flex-direction: column;
    }
    .cols.reverse {
        flex-direction: column;
    }
    .col-img {
        width: 100%;
        height: 200px;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
        width: 100%;
    }
}

/* デザイン案：青いフローチャート */
.flow_design10 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow10 {
    padding-left: 0;
}

.flow10 > li {
    list-style-type: none;
    border: 2px solid #966447;
    padding: 20px;
    border-radius: 20px;
}

.flow10 > li:not(:last-child) {
    margin-bottom: 40px;
    position: relative;
}

.flow10 > li:not(:last-child)::after {
    content: '';
    position: absolute;
    border: 20px solid transparent;
    width: 0;
    height: 0;
    bottom: -53px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    border-top-color: #966447;
}

.flow10 > li dl dt {
    font-size: 1.3em;
    font-weight: bold;
    border-bottom: 2pt dashed #ccc;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

.flow10 > li .icon10 {
    color: #966447;
    margin-right: 0.5em;
}

.flow10 > li dl dd {
    margin: 0;
}

/* --- 控除エリアのデザイン（茶色カプセル ver） --- */
.deduction-section {
    background-color: #eee; /* 薄いグレー */
    border-radius: 20px;
    padding: 50px 40px;
    margin: 60px auto;
    max-width: 1000px;
	background: url('../img/councelingBG.png');
	background-size: cover;
  
  /* セットでこれも指定すると綺麗です */
  background-repeat: no-repeat;
  background-position: center;
	box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.deduction-header {
    text-align: center;
    margin-bottom: 40px;
}

.deduction-header h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: normal;
    color: #222;
	font-family: "Sawarabi Gothic", sans-serif;
}

.deduction-header p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.deduction-body {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

/* 左側の縦書きタイトル */
.deduction-label {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-right: 1px solid #999;
    padding-right: 40px;
    white-space: nowrap;
    color: #444;
}

/* 右側のリストグリッド */
.deduction-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 20px;
}

.area-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中身を中央揃えに */
}

/* 茶色のカプセル型見出し */
.area-group h4 {
    background-color: #8D6B56; /* 画像のような茶色 */
    color: #fff;
    width: 100%;           /* 横幅いっぱい */
    text-align: center;    /* 文字中央揃え */
    padding: 8px 0;        /* 上下の厚み */
    border-radius: 50px;   /* 丸いカプセル型 */
    font-size: 0.95rem;
    font-weight: normal;
    margin-bottom: 20px;   /* 下との隙間 */
}

.area-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center; /* リストの文字も中央揃え */
}

.area-group li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #444;
}

/* 南信地域の2列調整 */
.area-group .multi-col-list {
    column-count: 2;
    column-gap: 10px;
    width: 100%;
    text-align: left; /* 2列の場合は左揃えの方が見やすいかも（お好みでcenterに） */
}
/* 2列にした時の中央寄せ調整 */
.area-group .multi-col-list li {
    text-align: center; /* 2列の中でも文字は中央揃え */
    display: inline-block; /* ズレ防止 */
    width: 100%;
}

.info-card p{
	margin-bottom: 0;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .deduction-body {
        flex-direction: column;
        gap: 30px;
    }
    
    .deduction-label {
        writing-mode: horizontal-tb;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding-right: 0;
        padding-bottom: 20px;
        width: 100%;
        justify-content: center;
        flex-direction: row;
    }
    
    .deduction-grid {
        grid-template-columns: 1fr 1fr; /* スマホでは2列 */
        gap: 30px 15px;
    }
}

@media (max-width: 480px) {
    .deduction-grid {
        grid-template-columns: 1fr; /* さらに小さい画面では1列 */
    }
}

/* --- 宿泊ケア詳細エリアのデザイン（ベージュver） --- */
.stay-care-section {
    max-width: 1000px;
    margin: 60px auto 100px;
    font-size: 0.95rem;
}

/* 1. 上段レイアウト */
.stay-top-area {
display: flex;
    gap: 0px;
    margin-bottom: 25px;
    align-items: stretch;
    background-color: #f6f0ea;
    border-radius: 10px;
    overflow: hidden;
	position: relative;
}

/* 左側の画像エリア */
.stay-img-box {
    flex: 1;
    overflow: hidden; /* 角丸からはみ出ないように */
    display: flex;
    align-items: center;
    justify-content: center;
}

h2.carebox_title{
   text-align: center;
    width: 100%;
	font-size: 2.2rem;
}
.info_p{
text-align: center;
    font-size: 1.2rem;	
}

.ta-c{
text-align: center;
	width: 100%;
}

.illust-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいにトリミングして表示 */
}
/* 画像がない場合の仮置きスタイル */
.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    min-height: 300px;
}

/* 右側の説明カード（ベージュ背景） */
.stay-desc-card {
    flex: 1.2; /* 少し幅広に */
    background-color: #f6f0ea; /* 優しいベージュ色 */
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stay-desc-card h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #333;
	font-weight: normal;
	font-family: "Sawarabi Gothic", sans-serif;
}

/* 白いタグのデザイン */
.tags-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag-item {
    background-color: #966447;
    padding: 8px 20px;
    border-radius: 50px; /* 丸いカプセル型 */
    font-size: 0.9rem;
    font-weight: normal;
    color: #FFF;
}

.main-text {
    margin-bottom: 25px;
    line-height: 2;
}

.note-list {
    list-style: none;
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}
.note-list li {
    margin-bottom: 6px;
    padding-left: 1em;
    text-indent: -1em;
}

/* 2. 中段レイアウト */
.stay-mid-area {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
    align-items: stretch;
}

/* --- おすすめボックス（新しいデザイン） --- */
.recommend-box {
    flex: 1;
    background-color: #f6f0ea; /* 優しいベージュ色 */
    padding: 40px 30px;        /* 上下の余白を調整 */
    border-radius: 20px;       /* 角丸 */
    text-align: center;        /* 文字を中央揃え */
    display: flex;
    flex-direction: column;
    justify-content: center;
		position: relative;
}

.recommend-box::before{
	content: "";
	width: 60px;
	height: 130px;
	background-image: url('../img/birth01.png');
  background-size: cover;
  background-position: center;
	position: absolute;
	top: -20px; /* 位置調整（例） */
    left: -1ß0px; /* 位置調整（例） */
	transform: rotate(-20deg);
	opacity: 0.8;
}

.recommend-box h4 {
    margin-bottom: 30px;       /* タイトル下の余白 */
    font-weight: normal;
    font-size: 1.1rem;
}

.recommend-box ul {
    list-style: none;
    padding: 0;
}

.recommend-box li {
    background-color: #fff;    /* 白い背景 */
    padding: 18px 20px;        /* カプセル内の余白 */
    border-radius: 50px;       /* 完全に丸いカプセル型 */
    margin-bottom: 20px;       /* 下の項目との間隔 */
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03); /* うっすら影をつけて浮き上がらせる */
}

/* 最後の項目の下余白はなし */
.recommend-box li:last-child {
    margin-bottom: 0;
}

/* スマホ対応の調整（既存のmedia query内に追加または確認） */
@media (max-width: 768px) {
    .recommend-box {
        padding: 30px 20px;
    }
    .recommend-box li {
        font-size: 0.9rem;
        padding: 15px;
    }
}


/* 料金ボックス（右） */
.price-box {
    flex: 1.2;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-box h4 {
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 1rem;
}

.price-box .small-note {
    font-size: 0.8rem;
    margin-left: 5px;
    color: #666;
}

.price-list {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}
.price-list li {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    border-bottom: 1px dashed #ddd; /* 薄い点線を追加 */
    padding-bottom: 5px;
}
.price-list .label {
    width: 180px;
    font-size: 0.9rem;
}
.price-list .price {
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 5px;
}

.price-list p{
    margin-bottom: 5px;

}

.price-example {
    font-size: 0.9rem;
    background-color: #fafafa;
    padding: 15px;
    border-radius: 8px;
}
.price-example p {
    margin-bottom: 5px;
}
.price-example ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 3. 下段レイアウト（持ち物） */
.items-container {
    border: 1px solid #966447;; /* 少し濃いグレー */
    padding: 50px 40px 40px;
    position: relative;
    margin-top: 50px;
    border-radius: 4px;
}

.items-title {
    position: absolute;
    top: -14px;
    left: 30px;
    background-color: #fff;
    padding: 0 20px;
    font-size: 1.1rem;
    margin: 0;
    font-weight: normal;
	font-family: "Sawarabi Gothic", sans-serif;
}

.items-grid {
    display: flex;
    gap: 40px;
}

.items-grid ul {
    flex: 1;
    list-style: none;
    padding: 0;
}

.items-grid li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    font-size: 0.9rem;
}
.items-grid li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.small-text {
    font-size: 0.8rem;
    color: #888;
}
@media (max-width: 	1045px) {
	.col-img .center-img{
	width: auto;
    height: 100%;
	}
}

/* スマホ対応 */
@media (max-width: 768px) {
    .stay-top-area,
    .stay-mid-area,
    .items-grid {
        flex-direction: column;
        gap: 30px;
    }
	
	.col-img .center-img{
	width: 100%;
    height: auto;
	}

	
    
    .stay-img-box {
		max-height: 230px;
    }
    
    .stay-desc-card,
    .recommend-box {
        padding: 30px 20px;
    }
    
    .price-list .label {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* --- 特別ケアのご案内エリア --- */
.special-care-section {
    background-color: #f6f0ea; /* 同じベージュ色 */
    border-radius: 20px;
    padding: 50px 20px;
    margin: 60px auto;         /* 上下の間隔 */
    max-width: 1000px;
    text-align: center;        /* 全体を中央揃え */
    color: #333;
}

.special-title {
    color: #966F53; /* 茶色 */
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.special-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.special-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center; /* 横並びで中央寄せ */
    gap: 20px;               /* ボタン同士の間隔 */
    flex-wrap: wrap;         /* 画面が狭い時は折り返す */
}

.special-list li {
    background-color: #fff;
    padding: 18px 40px;
    border-radius: 50px;     /* 丸いカプセル型 */
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* うっすら影 */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .special-care-section {
        padding: 25px;
    }
    
    .special-list {
        flex-direction: column; /* 縦並びにする */
        gap: 15px;
    }
    
    .special-list li {
        padding: 15px;
		
    }
    
    /* PCのみ改行するタグをスマホでは無効化 */
    br.pc-only {
        display: none;
    }
}

/* --- 産後ケアでできること（円形デザイン） --- */
.care-features-section {
    max-width: 1000px;
    margin: 80px auto 50px;
    padding: 0 20px;
    position: relative;
    text-align: center;
}

/* タイトル（手書き風イメージ） */
.care-features-title {
    font-size: 1.8rem;
    color: #555; /* 画像に合わせて少し濃いグレー */
    margin-bottom: 40px;
    font-family: "Yu Mincho", "YuMincho", serif; /* 明朝体系で雰囲気を出す */
    font-weight: normal;
    position: relative;
    z-index: 2;
    background-color: #fff; /* 線の上に文字が乗る場合のため */
    display: inline-block;
    padding: 0 20px;
}

.care-features-container {
    position: relative;
}

/* 青い点線 */
.dotted-line {
    position: absolute;
    top: 50px; /* 画像の上あたりを通るように調整 */
    left: 0;
    width: 100%;
    z-index: 0;
}

/* 全体のレイアウト */
.care-features-body {
    display: flex;
    justify-content: center;
    align-items: center; /* 上下中央揃え */
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* 左右のカラム */
.features-col {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 上下の円の間隔 */
    width: 280px; /* 円が入る幅を確保 */
}

/* 中央の画像エリア */
.features-center-img {
    width: 240px; /* 画像の幅 */
    flex-shrink: 0;
    position: relative;
    top: 20px; /* 少し下にずらしてバランスを取る */
}

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

/* 円（バブル）の共通スタイル */
.feature-bubble {
    background-color: #fffbe5; /* 薄い黄色 */
    border-radius: 50%; /* まん丸にする */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6d4c41; /* 茶色の文字 */
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* ふんわり影 */
    margin: 0 auto; /* カラム内で中央寄せ */
}

.feature-bubble p {
    margin: 0;
    font-size: 1.05rem;
}

.small-desc {
    font-size: 0.85rem;
    font-weight: normal;
}

/* 円のサイズ調整 */
.feature-bubble.large {
    width: 260px;
    height: 260px;
}

.feature-bubble.small {
    width: 200px;
    height: 200px;
    font-size: 0.9rem;
}

/* 少し配置をずらしてリズムを作る（画像の雰囲気に合わせる） */
.left-col .small {
    margin-right: -20px; /* 中央に寄せる */
}
.right-col .small {
    margin-left: -20px; /* 中央に寄せる */
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .care-features-body {
        flex-direction: column; /* 縦並びにする */
        gap: 20px;
    }

    .dotted-line {
        display: none; /* スマホでは線は邪魔になるので消す */
    }

    .features-center-img {
                width: 70%;
        order: -1; /* 画像を一番上に持ってくる */
        top: 0;
        margin-bottom: 0px;
    }

    .features-col {
        width: 100%;
        flex-direction: row; /* スマホでは横に2つ並べるか、あるいは縦のまま */
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .feature-bubble.large,
    .feature-bubble.small {
        width: 100%; /* 幅いっぱいの角丸四角形に変える */
        height: auto;
        aspect-ratio: auto;
        border-radius: 20px; /* まん丸をやめて角丸四角に */
        padding: 20px;
        margin: 0;
    }
    
    .left-col .small,
    .right-col .small {
        margin: 0;
    }
}
/* --- 利用できる方・費用エリア（新デザイン） --- */

/* 新しいグリッド設定（既存のbox-gridに追加クラス） */
.new-grid-style {
    gap: 40px; /* カードの間隔 */
    align-items: stretch; /* 高さを揃える */
}

/* 共通カード設定の上書き */
.new-grid-style .info-card {
    background-color: #fff;
    border-radius: 15px;      /* 角丸 */
    padding: 25px 25px;      /* 内側の余白 */
    box-shadow: none;         /* 影なし */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* タイトル（手書き風・明朝体） */
.handwritten-title {
    font-family: "Yu Mincho", "YuMincho", serif; /* 明朝体系 */
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 30px;
    color: #333;
}

/* 左：利用できる方（ベージュ枠に変更） */
.usage-card {
    border: 3px solid #d3c4b9 !important; /* 青(#8cb4f5)からベージュ(#d3c4b9)に変更 */
}
.usage-card .card-content p {
    text-align: left; /* 文章は左揃え */
    margin-bottom: 15px;
    display: inline-block; /* 枠内で中央寄せに見せるテクニック */
}

/* 右：費用（ベージュの太枠） */
.cost-card {
    border: 3px solid #d3c4b9 !important; /* ベージュの枠 */
}

/* 茶色の帯（安曇野市の場合） */
.cost-city-box {
    width: 100%;
    margin: 20px 0;
}

.city-label {
    background-color: #8D6B56; /* 茶色背景 */
    color: #fff;               /* 白文字 */
    padding: 10px;
    border-radius: 6px;
    font-weight: normal;
    margin-bottom: 10px;
    font-size: 1rem;
}

.deduction-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #966447;
    margin-bottom: 0;
}

.small-note {
    font-size: 0.85rem;
    color: #666;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .new-grid-style {
        flex-direction: column; /* 縦並び */
        gap: 30px;
    }
    
    .usage-card, .cost-card {
        padding: 30px 20px;
    }
}

/* --- スマホ表示用（768px以下のとき適用） --- */
@media screen and (max-width: 768px) {
    
    .sidebar {
        /* 固定配置(fixed)を解除して、通常の配置(relative)にする */
        position: relative; 
        top: auto;
        left: auto;
        transform: none; /* 上下中央寄せの解除 */

        /* 幅と形のリセット */
        width: 100%;
        height: auto;
        border-radius: 0; /* 角丸をなくす（またはお好みで） */
        margin-bottom: 0px; /* 下のコンテンツとの余白 */
		padding: 0;
    }

    .sidebar ul {
        display: flex;      /* 横並びにする */
        flex-wrap: wrap;    /* 折り返しを許可する */
        justify-content: center; /* 最後の1個を中央に寄せる */
    }

    .sidebar li {
        width: 50%; /* 幅を50%にして2列にする */
        box-sizing: border-box; /* 線の太さを幅に含める */
        border-bottom: 1px solid rgba(255,255,255,0.3); /* 下線 */
    }

    /* 奇数番目（左側に来る要素）にだけ右線をつける */
    /* ただし、最後の要素（5番目）は単独なので右線をつけない */
    .sidebar li:nth-child(odd):not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.3);
    }

    /* 最後の要素（5番目）の線などの調整 */
    .sidebar li:last-child {
        border-bottom: none; /* 一番下なので下線を消す */
        width: 50%; /* 必要ならここを100%にすると横一杯になります */
    }

    /* スマホ用に文字サイズや余白を少し調整 */
    .sidebar a {
        padding: 15px 5px;
        font-size: 16px;
    }
	
	.deduction-section {
    padding: 30px;
}
	.area-group li {
    font-size: 1rem;
	}
	.info_p {
    text-align: center;
    font-size: 1rem;
	}
	.deduction-header h3 {
            font-size: 1.1rem;
        line-height: 1.5;
	}
	.price-list li {
    justify-content: center;
}
	.price-list {
    text-align: center;
}
	.recommend-box::before {
    content: "";
    width: 50px;
    height: 100px;
    top: -20px;
    left: 10px;
}
	.postpartum_h2{
		    text-align: center;
    width: 100%;
		font-size: 1.8rem;
	}
	.care-features-section {
    padding: 0px;
}
	.flow10 > li dl dt {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2pt dashed #ccc;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    text-align: center;
}
	h2.carebox_title {
    font-size: 1.8rem;
}
	
}

@media (max-width: 480px) {
	.items-title {
    font-size: 1rem;
		padding: 0 5px;
	}
	.stay-desc-card h3 {
    font-size: 1.1rem;
		margin-top: -30px;
	}
	.items-container {
    padding: 20px;
	}
	.price-list {
    margin-bottom: 0px;
	}
	.stay-care-section {
    margin: 20px auto 50px;
}
}
