@charset "UTF-8";
/* ========================================
 250724 MW WP Formお問い合わせ追加 
======================================== */
.contact-form-box .table {
	border: none;
}
.contact-form-box .form-filed__radio .mwform-radio-field {
    display: inline-block;
    line-height: 1;
    cursor: pointer;
    max-width: 100%;
    width: calc(50% - 8px);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 20px 16px;
    font-size: 1rem;
    background-color: #fff;
    border: none;
    border-radius: 4px;
}
.contact-form-box .form-filed__radio label {
    display: block;
    position: relative;
    cursor: pointer;
    padding-left: 2.5rem;
    line-height: 2;
}
.contact-form-box .form-filed__radio input {
    position: absolute;
    display: block;
    content: "";
    width: 18px;
    height: 18px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: 1px solid #888;
    border-radius: 50%;
    background-color: transparent;
}
.contact-form-box .form-filed__text input {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 24px 16px;
    font-size: 1rem;
    background-color: #fff;
    border: none;
    border-radius: 4px;
}
.contact-form-box .form-filed__select select {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 28px 40px 28px 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
    position: relative;
    z-index: 0;
    border: none;
    font-size: 1rem;
    line-height: 1;
}
.contact-form-box .form-filed__select select:after {
	content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: #333 transparent transparent transparent;
    pointer-events: none;
}
.contact-form-box .form-filed__text-area textarea {
	max-width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 24px 16px;
    font-size: 1rem;
    background-color: #fff;
    border: none;
    border-radius: 4px;
}
.contact-form-box .form-buttons input{
	width: 300px;
    max-width: 300px;
    min-height: 84px;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
    border: none;
    cursor: pointer;
    -webkit-transition: background 400ms ease, color 400ms ease;
    transition: background 400ms ease, color 400ms ease;
    background: #E56A54;
    color: #fff;
}
.contact-form-box .form-buttons input:disabled {
    background-color: #CCC;
    color: linen;
    opacity: 1;
}
.contact-form-box span.error {
    color: #FF0000;
}
.contact-form-box #re-captcha {
    margin-top: 6rem;
}

/* ========================================
 260209 クリニックについてページのアクセスタブ
======================================== */
/* タブメニューのスタイル */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    margin-bottom: 4rem;
}
.tab-nav-item {
    position: relative;
    padding: 1rem;
    border: 1px solid #E7E1D2;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.tab-nav-item.is-active {
    background: #E7E1D2;
}
.tab-nav-item.is-active:after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 1rem solid transparent;
    border-left: 1rem solid transparent;
    border-top: 1rem solid #E7E1D2;
    border-bottom: 0;
    left: calc(50% - 1rem);
    bottom: -1rem;
}
.about-access__tab h3 {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    
    line-height: 1.6;
    color: #222;
    text-align: center;
    margin-bottom: 4rem;
}
/* コンテンツパネルの制御 */
.tab-content-panel {
    display: none; /* 基本は非表示 */
}
.tab-content-panel.is-active {
    display: block; /* アクティブ時のみ表示 */
}
/* ルート案内グリッド（4列） */
.access-grid {
    display: grid;
    gap: 2rem 1rem;
}
.access-card img {
    width: 100%;
    height: auto;
}
.access-card p {
    font-size: 0.825rem;
    line-height: 1.6;
    margin-top: 0.8rem;
}
/* スマホ */
@media (max-width: 768px) {
    .pc {
		display: none;
	}
    .tab-nav-item {
        width: calc(50% - 1rem);
    }
    .about-access__tab h3 {
        font-size: 1.2rem;
    }
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-nav {
        flex-wrap: wrap;
    }
}
/* PC */
@media (min-width: 769px) {
    .sp {
		display: none; 
	}
    .tab-nav-item {
        width: calc(25% - 1rem);
    }
    .about-access__tab h3 {
        font-size: 2rem;
    }
    .access-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}