/* ================================================================
sp.css — モバイルファーストのベース（全幅に適用）
768px以上の上書きは pc.css に記述
================================================================ */


/* Header Buttons（画面幅に比例、上限は 0.875rem）
-----------------------------------------------------------------*/

.header-misc a {
font-size: min(3.5vw, 0.875rem);
}


/* WP-PageNavi ページャー（〜1023px の値。1024px以上は pc.css で上書き）
-----------------------------------------------------------------*/

#list_pager {
padding: 30px 0 0;
margin: 30px 0 0;
}

.wp-pagenavi {
flex-wrap: nowrap;
justify-content: space-between;
max-width: 316px;
width: 100%;
margin: 0 auto;
}

.wp-pagenavi .page, .wp-pagenavi .current, .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink {
width: 46px;
height: 46px;
}


/* Slick Hero Slider
-----------------------------------------------------------------*/

/* KV: 画像（2880×1620 = 16:9）のアスペクト比に合わせて高さを横幅から算出（全幅共通）
#slider の min-vh-40 / min-vh-md-100 が !important のため同じく !important で上書き */
#slider {
height: 56.25vw !important;
min-height: 0 !important;
}

#slider .slider-inner {
height: 56.25vw;
min-height: 0;
}

.slick-hero,
.slick-hero .slick-list,
.slick-hero .slick-track,
.slick-hero .slick-slide,
.slick-hero .slick-slide > div {
height: 100%;
}


/* Top Page — お知らせフィード（〜767px）: 日付の下にタイトルを縦積み
-----------------------------------------------------------------*/

@media screen and (max-width: 767.98px) {
.info-feed {
margin-top: 2rem;
}

.info-feed li {
flex-direction: column;
gap: .25rem 0;
}

.info-feed .info-ttl {
flex: none;
width: 100%;
margin-bottom: 1.5rem;
}
}


/* Top Page — About Section
-----------------------------------------------------------------*/

.top-about-section {
padding-bottom: 40px;
}


.top-about-section h2.md01{
text-align:center;
}


.top-section-label,
.top-section-label2 {
border-radius:50%;
position:relative;
margin:0 auto 4vw;
}

/* 円の下にマップマーカー風の下向き三角（PC は形が異なるため SP のみ） */
@media screen and (max-width: 767.98px) {
.top-section-label::after,
.top-section-label2::after {
content:'';
width:0;
height:0;
border-top:16px solid #f0e6d3;
border-left:11px solid transparent;
border-right:11px solid transparent;
position:absolute;
left:calc(50% - 11px);
bottom:-13px;
}
}


.ab-col-c {
position: relative;
}

.ab-col-c + .ab-col-c {
margin-top: 40px;
}

.ab-cap{
font-size:.875rem;
line-height:1.5;
padding-left:1em;
position:relative;
margin:0 0 6vw;
}
.ab-cap::before{
content:'※';
position:absolute;
top:0;
left:0;
}



/* SP はラベルを見出しの上に中央配置（PC は pc.css で absolute に戻す） */


@media screen and (max-width: 767.98px) {
.top-about-section {
text-align: center;
}

.ab-col-c .lead {
font-size: clamp(1.125rem, 6vw, 1.5rem);
line-height: 1.5;
margin: 0 0 1.25rem;
}

/* リストはブロックごと中央に置き、行頭（リストマーク）は左揃え */
.ab-list {
padding: 0;
margin: 0 auto 1rem;
width: fit-content;
text-align: left;
}

.ab-list li {
padding: 0 0 0 1.5em;
position: relative;
line-height: 1.75;
}

.ab-list li::before {
content: '';
width: 8px;
height: 8px;
background: #999;
position: absolute;
left: 0;
top: calc(50% - 4px);
border-radius: 50%;
}
}


/* Header Logo: モバイルメニュー表示時（〜991px）
ロゴを残り幅に合わせて縮め、お問い合わせボタン・メニューボタンが落ちないようにする
JS が img に height をインライン指定するため !important で上書き
-----------------------------------------------------------------*/

@media screen and (max-width: 991.98px) {
#logo {
flex: 1 1 0;
min-width: 0;
text-align: left;
}

#logo img {
max-width: 100%;
max-height: 50px;
height: auto !important;
}
}


/* Canvas レイアウトの SP 調整（〜767px）
Canvas 本体の値を !important で上書きしているため、pc.css で戻さずに max-width で指定する
-----------------------------------------------------------------*/

@media screen and (max-width: 767.98px) {
#logo {
font-size: min(8vw, 3rem);
}

#logo span {
font-size: min(3.3vw, 1.25rem);
}

#header .header-row {
padding: 2vw 0;
}

.content-wrap {
padding: 30px 0 !important;
}

.section {
margin: 30px 0;
padding: 30px 0;
}

.line {
margin: 30px 0 !important;
}

.widget {
margin-top: 30px !important;
}

.sidebar-widgets-wrap .widget {
padding-top: 30px !important;
}

.sidebar-widgets-wrap .widget:first-child {
margin-top: 0 !important;
}

.fbox-content {
padding: 10px !important;
}

.fbox-content h3 {
font-size: 14px !important;
}

.footer-widgets-wrap {
padding: 30px 0 !important;
}
}


/* リンクボタン .btn-link（〜767px）
PC と同じデザインで高さ・余白を縮小。長い文言は折り返せるよう min-height で指定
-----------------------------------------------------------------*/

@media screen and (max-width: 767.98px) {
.btn-link a{
font-size:.9375rem;
line-height:1.5;
color:#444;
max-width:100%;
min-height:50px;
padding:10px 44px;
border-radius:25px;
border:1px solid #444;
background:#fff;
position:relative;
text-align:center;
display:inline-flex;
align-items:center;
justify-content:center;
transition:all .2s;
}

.btn-link a::after{
content:'';
width:8px;
height:8px;
border-right:1px solid #444;
border-bottom:1px solid #444;
transform:rotate(-45deg);
position:absolute;
top:calc(50% - 5px);
right:20px;
transition:all .2s;
}

.btn-link a:hover{
background:#666;
color:#fff;
border:1px solid #666;
}

.btn-link a:hover::after{
right:16px;
border-color:#fff;
}
}


/* ABOUT 入会までの流れ（〜767px）
横並びでは幅が足りないため縦積みにし、矢印を下向きにする
-----------------------------------------------------------------*/

@media screen and (max-width: 767.98px) {
.flow-col{
display:flex;
flex-direction:column;
gap:30px;
margin:0 0 30px;
}

.mem-type{
font-size:1.125rem;
line-height:1.5;
margin:0 0 .75rem;
}

.flows{
display:flex;
flex-direction:column;
gap:36px;
margin:0;
padding:0;
}

.flows li{
padding:1rem;
border:1px solid #444;
font-size:.9375rem;
line-height:1.5;
position:relative;
text-align:center;
}

.flows li::after{
content:'';
width:0;
height:0;
border-top:20px solid #DEB887;
border-left:24px solid transparent;
border-right:24px solid transparent;
position:absolute;
left:calc(50% - 24px);
bottom:-30px;
}

.flows li:last-child::after{
content:none;
}
}


.f-logo{
width:60vw;
}

/* CONTACT FORM */

.form dt{
font-size:3.75vw;
line-height:1;
margin:0 0 .5rem;
padding-left:2.5vw;
border-left:1vw solid #05907c;
}
.form dd{
margin:0 0 6vw;
font-size:3.75vw;
line-height:1.5;

}

.mwform-checkbox-field label, .mwform-radio-field label{
font-size:1rem !important;
}

input[type="text"],
input[type="email"]{
width:100%;
border:1px solid #ccc;
padding:2vw;
border-radius:1vw;
}

textarea{
width:100%;
height:200px;
border:1px solid #ccc;
padding:2vw;
border-radius:1vw;
}

.form-att{
text-align:center;
color:#cc2728;
font-size:3.5vw;
line-height:1.5;
margin:0 0 2rem;
}


.form-btn {
display:flex;
justify-content:center;
gap:0 4vw;
}
.form-btn li {
display:inline-block;
font-size:4vw;
}
.form-btn li:not(:has(input, button)) {
display:none;
}



.mw_wp_form_input .sbm-btn input {
background:#05907c;
color:#fff;
width:50vw;
height:10vw;
overflow:hidden;
border:none;
cursor:pointer;
border-radius:1vw;
font-weight:bold;
-webkit-appearance: none;
}
.mw_wp_form_confirm .sbm-btn input {
background:#05907c;
color:#fff;
width:50vw;
height:10vw;
overflow:hidden;
border:none;
cursor:pointer;
border-radius:1vw;
font-weight:bold;
-webkit-appearance: none;
}
.back-btn input {
background:#f2f2f2;
color:#222;
width:20vw;
height:10vw;
overflow:hidden;
border:none;
cursor:pointer;
border-radius:1vw;
font-weight:bold;
-webkit-appearance: none;
}






/* Display Utilities: PC / SP 出し分け
display の元の値が要素ごとに異なり pc.css で戻せないため、
.pconly のみ max-width で指定する
-----------------------------------------------------------------*/

@media screen and (max-width: 767.98px) {
.pconly { display: none !important; }
}


/* Members Page（〜767px）
-----------------------------------------------------------------*/

@media screen and (max-width: 767.98px) {
.members-block {
margin-bottom: 50px;
}

.members-docs a {
display: block;
text-align: center;
}

.members-cal-frame iframe {
height: 450px;
}
}
