@charset "UTF-8";
/* CSS Document */

main {
	line-height: 1.5;
}
/*************************

症例検索フォーム

**************************/
.case-filter {
	background: #F6F3EE;
	padding: 20px;
	margin-bottom: 40px;
}
.case-filter form {
	margin-bottom: 0 !important;
}
.case-filter_ttl {
	font-size: 1.8rem;
	color: #907852;
	font-family: serif;
	margin-bottom: 20px;
	text-align: center;
}
.case-filter_item .vkfs__label-name {
	font-size: 1.6rem;
	color: #907852;
	font-family: serif;
}
.case-filter_item .vkfs__label-name::before {
	content: '◆';
	padding-right: 5px;
}
.case-filter_item .vkfs__input-form {
    appearance: none; /* デフォルトの矢印を消す */
    -webkit-appearance: none;
    -moz-appearance: none;
    
    padding: 15px 25px !important;
	font-size: 1.5rem !important;
    color: #333;
    background-color: #fff;
    border: none !important; /* 枠線を消して影で表現 */
    border-radius: 50px !important; /* 角を丸く */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08); /* 柔らかい影 */
    
    /* 矢印の設置 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238c7654' d='M1.41 0L6 4.58L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 12px;
    
    cursor: pointer;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}
.case-filter .vkfs_submit {
	color: #fff;
	background: #B59A65;
	padding: .3em 2em !important;
	text-align: center;
	font-size: 2rem !important;
	margin-bottom: 0;
	letter-spacing: normal !important;
	width: 200px !important;
	border-radius: 0 !important;
	transition: 0.5s !important;
}
.case-filter .vkfs_submit:hover {
    opacity: 0.8;
}
.case-filter_result {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 20px;
}
@media screen and (min-width: 768px) {
    .case-filter {
        padding: 40px;
        margin-bottom: 80px;
    }
    .case-filter_ttl {
        font-size: 3rem;
        margin-bottom: 30px;
    }   
}

/*************************

症例一覧

**************************/

/* 一覧リストのベース設定 */
.case_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 症例ボックス（1要素） */
.case_box {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* スマホデフォルト：縦並び */
    gap: 10px;
}

/* 画像エリア */
.case_box_img {
    width: 100%;
	text-align: center;
	background: #D9D9D9;
}
.case_box_img img {
    width: auto;
    height: 250px;
    object-fit: contain;
}

/* 情報エリア */
.case_box_info {
    flex: 1;
}
.case_box_ttl {
    font-size: 1.6rem;
    font-weight: bold;
    color: #343434;
    margin: 0 0 10px 0;
}
.case_box_category,
.case-category {
    list-style: none;
    margin: 0 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.case_box_category li,
.case-category li a {
    background: #8f7851;
    color: #fff;
    font-size: 1.2rem;
    padding: 5px 10px;
    display: block;
}
.case-category li a {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.18);
    border: #8f7851 1px solid;
    transition: all 0.5s ease;
}
.case-category li a:hover {
    box-shadow: none;
    background: #fff;
    color: #8f7851;
    border: #8f7851 1px solid;
}
.case_box_data {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}
.case_box_data dt {
    width: 30%;
    background: #EAE2D5;
    padding: 6px 5px;
    border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
    display: flex;
    align-items: center;
}
.case_box_data dd {
    width: 70%;
    background: #F6F3EE;
    padding: 6px 5px;
    margin: 0;
    border-bottom: 1px solid #fff;
}
.case_box_data dt:last-of-type,
.case_box_data dd:last-of-type {
    border-bottom: none;
}
/* --- デスクトップ用レイアウト (PC) --- */
@media screen and (min-width: 768px) {
    .case_box {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .case_box_img {
        width: 280px; /* 画像の幅を固定 */
    }
	.case_box_img img {
	    width: 100%;
	    height: auto;
	}
    .case_box_info {
        position: relative;
        padding-bottom: 80px; /* ボタン用の余白 */
    }
    .case_box_ttl {
        font-size: 1.8rem;
    }
    .case_box_category li,
	.case_box_data {
	    font-size: 1.4rem;
	}
	.case_box_data dt,
	.case_box_data dd {
		padding: 6px 10px;
	}
    .case-category li a {
        font-size: 1.4rem;
    }
}

/*************************

症例詳細ページ

**************************/
/* --- 症例詳細ページ全体 --- */
.case-area {
    padding: 20px 0;
}
.case-area h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ECE5DB;
    padding-bottom: 20px;
	font-family: serif;
}

/* --- 画像エリアのレイアウト --- */
.case-img_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.main-img {
    width: 100%;
}

.main-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* サムネイルグリッド */
.img-box {
	background: #F6F3EE;
    list-style: none;
    padding: 10px 16px;
    margin: 0 -16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}
.img-box li img {
    width: 100%;
    aspect-ratio: 4 / 5; /* インスタ画像 */
    object-fit: cover;
    cursor: pointer;
    border: 1px solid transparent;
}
.img-box li.current img {
    border: 2px solid #B59A65;
    opacity: 0.7;
}

/* --- コンテンツエリアのレイアウト --- */
.case-detail_container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
}

/* ドクターのコメント */
.case-detail_text h2 {
    font-size: 1.8rem;
    border-left: 2px solid #B59A65;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* 担当医カード */
.case-detail_doctor {
    background: #F6F3EE;
    padding: 10px 20px;
    text-align: left;
    display: flex;
    align-items: center;
}
.doctor_img {
    margin-right: 10px;
}
.doctor_img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
.doctor_info_inner {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% - 90px);
}
.doctor_info_inner h2 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.doctor_link {
    width: 100%;
    color: #B59A65;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    justify-content: left;
    font-family: serif;
}

/* 施術データテーブル（一覧の時と同じ色指定） */
.case-detail_data {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.2rem;
}
.case-detail_data dt {
    width: 30%;
    background: #e5ddd1;
    padding: 5px;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}
.case-detail_data dd {
    width: 70%;
    background: #f8f5f0;
    padding: 5px;
    margin: 0;
    border-bottom: 1px solid #fff;
}

/* --- デスクトップ用レイアウト (PC) --- */
@media screen and (min-width: 768px) {
    .case-detail_container {
        margin-bottom: 60px;
    }
	.case-area {
    	padding: 80px 0;
	}
	.case-area h1 {
		font-size: 2rem;
		margin-bottom: 30px;

	}
    .case-img_container {
        flex-direction: row; /* 横並び */
        flex-wrap: nowrap;
        gap: 20px;
        margin-bottom: 40px;
    }
    .main-img {
        width: 400px; /* メイン画像の幅を固定 */
        flex-shrink: 0; /* 縮小しない */
    }
    .img-box {
        width: calc(100% - 420px); /* メイン画像を除いた幅 */
        margin: 0;
        grid-template-columns: repeat(3, 1fr); /* PC：サムネイル4列 */
        gap: 10px;
    }

    /* 担当医カード */
    .case-detail_doctor {
        padding: 30px;
        text-align: center;
        flex-direction: column;
    }
    .doctor_img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .doctor_img img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
    }
    .doctor_info_inner {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    .doctor_info_inner h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .doctor_link {
        width: 100%;
        color: #fff;
        font-size: 1.4rem;
        display: flex;
        justify-content: center;
        background-color: #B59A65;
        padding: 6px;
    }

    /* 施術データテーブル（一覧の時と同じ色指定） */
    .case-detail_data {
        font-size: 1.4rem;
    }
    .case-detail_data dt {
        width: 20%;
        padding: 10px;
    }
    .case-detail_data dd {
        width: 80%;
        padding: 10px;
    }

    /* 詳細情報の横並び */
    .case-detail_container {
        display: grid;
        grid-template-columns: 280px 1fr; /* 左にドクター、右にコメントとデータ */
        gap: 40px;
    }
    .case-detail_doctor {
        grid-row: 1 / 3; /* ドクター情報を縦に結合 */
        height: fit-content;
    }
    .case-detail_text {
        grid-column: 2;
    }
    .case-detail_data {
        grid-column: 2;
    }
}
/* --- 画像エリアのレイアウト --- */
@media screen and (min-width: 980px) {
    .img-box {
        grid-template-columns: repeat(4, 1fr); /* PC：サムネイル4列 */
    }
}

/*************************

リンクボタンデザイン

**************************/
.btn_link {
    width: 90%;
    margin: 0 auto;
}
.btn_link a{
	border:solid 1px #dad0bd;
	color:#fff;
	padding:15px 0;
	text-align:center;
	background-color:#a6906b;
	position: relative;
	font-size:1.6rem;
	font-family:serif;
	transition:1s;
	display: block;
}
.btn_link a:hover{
	background-color:#fff;
	color:#a6906b;
	transition: .5s;
}
.btn_link a::before{
	content: '';
	width: 46px;
	border: 0;
	border-top: 1px solid #dad0bd;
	position: absolute;
	top: 50%;
	right: -23px;
	letter-spacing:0.5rem;
}
@media screen and (min-width: 768px) {
    .btn_link {
        width: 50%;
    }
    .case_box_link {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}