@charset "utf-8";

/***************************************
Ver 2026.03.15-
*************************************** */

:root {
    font-size:clamp(16px, 1.2vw + 12px, 19px);

  /* --- ブランドカラー --- */
  --base-green:   #007f50;
  --base-navy:    #1a2a3a;

  --base-color:   #007f50; 
  --accent:       #a68b2e;
  --accent2:      #1a2a3a; 
  --alert-red:    #c0392c;   
  
/* --- テキスト --- */
    --text-main:    #2D3748;
    --text-main-b:  #2d3748ee;
    --text-gray:    #666;
    --text-muted:   #999;
    --text-navy:    #1a2a3a; 
    --text-white:   #ffffffee; 

  /* --- 背景・面 --- */
  --bg-main:      #f2f4f2;
  --bg-white:     #fff;
  --bg-gray:      #ddd; 
  --bg-gray-light:#fafafa;
  --bg-gray-light2:#f3f3f3; /* gray-lightに被せる場合のみ使用 */
  --bg-base-light:#007f5022; 
  --bg-base-light2:#007f5011; 
  --bg-alert-light: #c0392c11;
  --bg-table-th:  #edf2f7;
  --bg-table-td:  #fafafaee;

  /* --- 枠線・装飾 --- */
  --border-main: #d1d8dd;
  --border-light: #eef2f5;
  --border-accent:#a68b2e;
  --border-base-color:#007f5099;

    --border-shadow: 1px 1px 1px 1px #999;
    --shadow-box1:0.4rem 0.5rem 0 0 #999999aa;

  /* Link colors */
  --link-color: #007f50;
  --link-hover: #005a39;

  /* --- 横幅・余白（レスポンシブ対応） --- */
  --width-box:     720px;
  --width-narrow:  600px;
  --width-clip:    420px;
  --width-small:   280px;

  /* --- 要素間の間隔　--- */
    --margin-top:1.5em ;
    --margin-top-line: 0.5em ;
    --margin-top-large:calc( 1.5em + 1.5vw ) ;
    --padding-box:1.5em ;
}




/*-------------------------------
/*　メイン領域
/*　文字サイズ　行高　色初期化
-----------------------------------*/

/* 全体の基本設定 */
html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0; padding: 0;
    color:var(--text-main); border-color:var(--border-light); background-color:var(--bg-white);
    word-wrap: break-word;
}

section , header , footer{
	position: relative; overflow: hidden;
	display: grid;
	grid-template-columns: 
    [full-start] minmax(8px, 1fr) 
    [main-start] minmax(0, 960px)
	[main-end] minmax(8px, 1fr)
	[full-end];
}

section > * , header > * , footer > * { grid-column: main; }
div.wrap-display , .grid-full{ grid-column: full; }


header ,
footer { color:#fffffffa; background-color: var(--base-color) !important; }


/*---------------------------------
 文字基本サイズ
 divにremでルートに対する倍率を入れて追従させるか、個別指定
/*---------------------------------*/
body { font-size: 1rem; line-height: 1.8; }
section h2{ font-size: 1.9em; font-weight: 700; }
section h3{ font-size: 1.4em; font-weight: 700; }
section h4{ font-size: 1.2em; font-weight: 700; }
section h5{ font-size: 1.1em; font-weight: 700; }
section p{ font-size: 1em; }
section ul{ font-size: 1em; } section ol{ font-size: 1em; } section li{ font-size: 1em; }
section ul + ul{ font-size: 0.9em; } 
section table{ font-size: 0.9em; } section th{ font-size: 1em; } section td{ font-size: 1em; } section table caption{ font-size: 1em; }
section dl{ font-size: 1.0em; } section dt{ font-size: 1.1em; font-weight: 700; } section dd{ font-size: 0.9em; }


/* 見出しの先 */
section h2 b ,
section h3 b ,
section h4 b ,
section h5 b ,
section th b{ font-size: 70%; display: block; margin-bottom: -0.25em; }
/* 見出しの後 */
section h2 span { font-size: 0.6em; display: block; letter-spacing: 0; }
section h3 span { font-size: 0.7em; display: block; letter-spacing: 0; }
section h4 span ,
section h5 span ,
section th span{ font-size: 70%; display: block; margin-top: -0.25em; }

/*---------------------------------
/*　文、箇条書きの行間基本　適宜上書き
/*---------------------------------*/
section p + p{ margin-top: 0.5em; }
section li + li{ margin-top: 0.5em; }



/*---------------------------------
 文字強調 適宜上書き
/*---------------------------------*/
section strong { font-weight: bold; color: var(--base-color); }
section em { font-style: normal; font-weight: bold; background: linear-gradient(transparent 60%, #fff3e0 60%); }
section b { font-weight: bold; color: inherit; }
section .warning { color: var(--alert-red); }
section .accent { font-weight: bold; color: var(--accent-red);  border-bottom: 1px dotted var(--accent-red); }

/*---------------------------------
 リンク
/*---------------------------------*/
section a { color:var(--base-green); text-decoration: underline; transition: opacity 0.2s; }
section a[target="_blank"] { color:var(--alert-red); }
section a[target="_blank"]::after { content: " ⧉"; font-size: 75%; text-decoration: none; display: inline-block; vertical-align: top; }
section a:hover { opacity: 0.7; text-decoration: none; }

/* 非表示リンク */
a.hide-link{ display: block; width: 100%; height: 100%; position: absolute; top: 0; filter: opacity(0); }

/* 画像リンク */
.link-img{ display: block; line-height: 1;}


/*---------------------------------
/*　こまごま
/*---------------------------------*/
.strike{ text-decoration: line-through; }

.tips{ font-size:80%; color:var(--text-muted); }
.small{ font-size:80%; }

.width-narrow{ max-width: var(--width-narrow); margin-left: auto; margin-right: auto; }
.width-clip{ max-width:var(--width-clip); margin-left: auto; margin-right: auto;}
.width-small{ max-width:var(--width-small);margin-left: auto; margin-right: auto; }

.margin-top{ margin-top: var(--margin-top); }
.margin-top-large{ margin-top: var(--margin-top-large); }

/* 文中の仕切り線 */
.br::before{
	position: relative; content: ''; display: block; margin-top:-0.25em; padding-top:0.75em;
	border-top:1px dotted;  margin-left: -99px; margin-right: -99px; }


iframe.gmap{ box-sizing: border-box; margin: 0 auto ; width: 100%; }

/* ------------------------------------------------------
アコーディオン
<link href="../css/acc.css" rel="stylesheet"><script src="../js/acc.js" defer></script>
外部の基本設定を上書き
   ------------------------------------------------------ */
.acc-wrap {
    width: 100%; max-width:var(--box-width); margin: auto; text-align: left; border-radius: 0; box-shadow: none;
    font-size: 0.95em;
    border: 1px solid var(--border-main); background-color: var(--bg-base-light);
}
.acc-wrap .acc-header {
    font-size: 1.2em; font-weight: normal; color: var(--text-main);
    padding: 0.5em 2em 0.5em 1em; margin: 0;
    cursor: pointer; transition: background 0.3s;
}
.acc-wrap .acc-header:hover { background-color: var(--bg-base-light2); }
.acc-wrap .acc-contents { padding: 0 25px; background: var(--bg-gray-light) !important; }

.acc-wrap .acc-contents p{ max-width:none; margin-inline: 0 ;  } 

.acc-wrap .acc-contents dt:nth-child(n+2):before{
    display: block; width:100%; margin-bottom: 0.75em;
    content: ""; border-top: 1px dotted var(--border-main) ;
}
.acc-wrap .acc-contents dd{ padding-left: 0.25em; }

.acc-wrap .acc-contents ul{ list-style: none; }
.acc-wrap .acc-contents ul li { position: relative; padding-left: 1.2em; margin-bottom: 0.6em; }
.acc-wrap .acc-contents ul li::before { position: absolute; content: "※"; left: 0; top: 0.25em; font-size: 0.7em; color: var(--text-main); }


/* ------------------------------------------------------
タブ
------------------------------------------------------ */
#show .show-b ,
#show .show-a ,
#show .show-z ,
#show > .show-b ,
#show > .show-a ,
#show > .show-z  { display: none; }

#show.show-z > .show-z { display: block; }
#show.show-a > .show-a { display: block; }
#show.show-b > .show-b { display: block; }

.selector {
    max-width: var(--width-narrow); margin: 2em auto ; padding-left:calc( 1.5em + 1vw); padding-right: calc( 1.5em + 1vw);
    display: grid; grid-template-columns: 1fr 1fr; gap:calc( 1em + 2vw ); }

.selector .btn {
    position: relative; cursor: pointer; transition: all 0.3s;
    color: var(--text-main); border: 1px solid var(--base-color); background: transparent;
    font-size: 0.8em; line-height: 1.8; padding: 1.75em 1.75em;    
}
.selector .btn b { display: block; font-size: 1.75em; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5em; }
.selector .btn.active { background: var(--accent); color: var(--text-white); }
.selector .btn.active b { color: var(--text-white); }
.selector .btn span + span::before{ content: "/"; font-size: 0.8em; margin-left: 0.5em; margin-right: 0.5em; }
.selector .btn:hover{ background: var(--accent); color: var(--text-white); }
.selector .btn:hover b{ color: var(--text-white); }


/*--------------------------------------
タグ基本設定　適宜上書き
---------------------------------------- */


/*---------------------------------
/*　p
/*---------------------------------*/
div + p ,
ul + p{ margin-top:var(--margin-top)}

.sec-common p{ max-width: var(--width-box); margin-inline: auto;}

.sec-common p + p{ margin-top:var(--margin-top-line);}


/*---------------------------------
/*　DL
/*---------------------------------*/
.sec-common dl{ margin-top: var(--margin-top);}
.sec-common dt{ line-height: 1; margin-bottom: 0.75em;  }
.sec-common dd{ line-height: 2; margin-left: 0.2em; }
.sec-common dd + dt{ margin-top: 2em; }
.sec-common dd + dd{ margin-top:var(--margin-top-line); }

.boxset-dl{
    border: 1px solid var(--border-light); border-radius: 0.5em;
    padding:var(--padding-box); margin: 1.75em 0;
}
.boxset-dl dt{ color: var(--base-color); }
.boxset-dl dd{ margin-left: 0.75em; }


/*---------------------------------
/*　画像
/*---------------------------------*/

picture, img { display: block; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
picture{ text-align: center; } /* マージンは設定しない */

/* flex columnで画像の縦幅を揃える */
.img-align-height{ display: flex; flex-direction: column; }
.img-align-height picture{ aspect-ratio: 16 / 9; max-height: 240px; margin-top: auto; overflow: hidden; }
.img-align-height img{ width: 100%; height:100%; object-fit: cover; margin-top: 1em;  }

p + picture{ margin-top: 1.25em; }

/*---------------------------------
/*　LIST
/*---------------------------------*/
ul , ol { margin: 0; padding: 0 0 0 1.5em; }
li{ line-height: 1.6; }

h3 + ul ,
p + ul{ margin-top:var(--margin-top); } /* 1.5em */ 
li + li{ margin-top:var(--margin-top-line); } /* 0.5em */

/* リストマークなし（マーク分を左詰め）*/
.list-0{ list-style-type: none; padding-left: 0.1em; }

/* リストマークをアルファベット（使用頻度高） */
.list-a{ list-style:upper-alpha; }

/* リストの中のリスト */
li ul , li ol{ font-size: 0.9em; margin-top: 0.5em; }
li ul li + li , li ol li + li{ margin-top:0.2em; }


/* リストをラベルにして並べる */
.list-label{ position:relative; font-size: 0.9em; display: flex; flex-wrap: wrap; gap: 1em; list-style: none; margin: 0 auto; padding: 0;  }
.list-label + .list-label{ margin-top: 1em; }
.list-label li{ list-style: none; line-height: 1; padding: 0.5em 0.75em; margin: 0; border: 1px solid var(--border-color); }


/*---------------------------------
/*　TABEL
/*---------------------------------*/
/* 横スクロール */
.table-scroll{ overflow:auto;}
/* htmlに貼る
@media screen and (max-width: 420px) {.table-scroll table#table1 { display:block; white-space:nowrap; padding-bottom: 8px; } }
*/

p + table{ margin-top: 2em;}

table{
    margin-top: 1.5em; /* 下マージンはつけない 左右は個別設定 */
	font-family:sans-serif;	text-align:left;
	width:fit-content; min-width:300px; overflow: auto; box-sizing:border-box;
	border-collapse:collapse; font-variant-numeric: tabular-nums; border-spacing:0;
}
table:not(:last-child){ margin-bottom: 1.5em; }

caption{ text-align:left; line-height:1.5; padding-bottom:0.25em; }
caption.pre{ white-space:nowrap; text-overflow: ellipsis; }
th , td{
    padding: 0.5em;
    border:1px solid var(--border-main) ;  box-sizing: border-box; vertical-align: middle; }
th{ font-weight: 400; white-space:nowrap; background-color: var(--bg-table-th); }
td{ background-color: var(--bg-table-td);}

th[scope='row']{ width:auto; }
th[scope='col']{ width:auto; text-align:center; }
.table-col-center td{ text-align:center; }
.table-col-price td{ text-align:right; }

td i{ font-size: 0.8em; font-style: normal; }

/*　注釈（小さくする） */
td.tips{ font-size: 80%; color: var(--text-muted); text-align: left; }
/*　セル内の注釈 折り返す */
td b.tips{ display: block; font-size: 80%; font-weight: normal; }

/*　table枠外の注釈（直下） */
table + p.tips{ margin-top: 0 !important; font-size: 0.7em; color: var(--text-muted); }
table + ul.tips{ margin-top: 0.5em; font-size: 0.7em; color: var(--text-muted); }
table + ul.tips li + li{ margin-top: 0 !important; line-height: 1.4; }

.table-border-dark th ,
.table-border-dark td { border-color: var(--text-body) !important; }


/* -----------------------------------------------------------------------*/
/* -----------------------------------------------------------------------*/


/*--------------------------------------
ページヘッダー
ピックパス　見出し　タイムスタンプ　概要説明　ショートカットリンク
---------------------------------------- */
.pagetop{ box-sizing: border-box; overflow: hidden; }
.pagetop .time-stamp ~ *:last-child{ margin-bottom: 3em; } /* タイムスタンプの後に何かある場合は下パディングをつける */

.topic-path { font-size: 0.8em; margin:0.5em 0; }
.topic-path ol {
    display:flex; flex-wrap:wrap; align-items: center; padding:0; margin:0; list-style-type:none;
    color:var(--text-gray); 
}
.topic-path li { display: flex; align-items: center; margin: 0; line-height: 1; }
.topic-path li:not(:first-child)::before { content: ">"; margin: 0 0.6em; color:var(--text-muted); }
.topic-path li a { color:inherit; text-decoration: none; }
.topic-path li a:hover { text-decoration: underline; }
/*
.topic-path li:last-child { display: none; }
*/
.topic-path li:first-child a {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0 ; text-decoration: none; padding: 0.3em 0.5em;
}
.topic-path li:first-child a::before {
  content: "HOME";
  font-family: 'Verdana', 'Arial', sans-serif; 
  font-size:0.75rem; font-weight: bold; letter-spacing: 0.05em;
  border: 1px solid var(--text-navy); border-radius: 2px; padding: 0.1em 0.4em; transition: all 0.2s ease;
}
.topic-path li:first-child a:hover::before { background-color: var(--base-navy); color:var(--text-white); }

/* H1とメインビジュアル */

.pagetop h1{ position: absolute; z-index: -1; top: 2rem; left: 0.5rem; font-size: 1em; letter-spacing: 0.05em; }
.pagetop h1.vis{ z-index: 1; }


.pagetop picture{ margin: 0 auto;}
.pagetop picture img{ margin: 0 auto; }

.mainvis{ position: relative; }
.mainvis-text-right{ font-size: 1.25rem; }
.mainvis-text-right p ,
.mainvis-text-right dl{ position: absolute;  right: 0; bottom: 0; width: fit-content; margin-inline:auto; padding:1em; background-color: #ffffff33;}
.mainvis-text-right p ,
.mainvis-text-right dd{ font-weight:700; color: var(--text-navy); text-shadow: 0 0 2em #ffffff; }
.mainvis-text-right b ,
.mainvis-text-right strong{ font-size: 1.1em; color:inherit; }
@media (max-width: 599px) { .mainvis-text-right { font-size: 0.9em; } }


/* タイムスタンプ全体のコンテナ */
.time-stamp { font-size: 0.8em; margin-top: 1em; margin-bottom: 1em; }
.time-stamp ul { margin: 0; padding: 0; list-style: none; text-align: right; }
.time-stamp li { display: block; color:var(--text-muted); line-height: 1.4; }
.time-stamp li:first-child::before {
  content: "update : "; text-transform: uppercase;
  font-size: 60%; letter-spacing: 0.05em; margin-right: 0.3em;
}
.time-stamp li:nth-child(2) { font-size: 0.75em; color: #bbb; }
.time-stamp li:nth-child(2)::before {
  content: ""; text-transform: uppercase; font-size: 0.9em; margin-right: 0.3em; }

/* 導入文 */
.pagetop p{ width: fit-content; max-width:var(--width-box); margin-inline:auto; }


/* -----------------------------------------------------------------------*/
/* -----------------------------------------------------------------------*/




/* ---------------------------
セクション基本設定 202603型
中央寄せ
 <section class="sec-common">
------------------------------*/
.sec-common{ padding-bottom: 3em; padding-top:4em; }
.pagetop + .sec-common{ padding-top:calc( 4em + 2vw);}


.sec-common h2{
    color: var(--text-main-b); letter-spacing: 0.1em; text-align:center;
    border-bottom: 3px solid var(--border-main); padding-bottom:calc( 0.1em + 0.5vw ); margin:0; /* 下マージンはつけない */
}
@media (max-width: 599px) { .sec-common h2 { letter-spacing: 0.05em; } }

.sec-common h3{
    position: relative; margin:calc( 2em + 1.5vw ) 0 0; /* 下マージンはつけない */
    color: var(--text-main-b); letter-spacing: 0.02em; text-align: center; 
}
.sec-common h2 + h3 ,
.sec-common h2 + p{ margin-top: calc( 1.5em + 1vw ) ;}
.sec-common h3 + p{ margin-top:var(--margin-top); }

.sec-common h3.br{ margin-top: 4em;}
.sec-common h3.br::before{
    position:absolute; content: ""; top:-2.5em; left:0; width: 100%;
    border-top: 1px dotted var(--text-main);
}  

.sec-common h4{
    position: relative; margin: 1.5em 0 0; /* 下マージンはつけない */
    color: var(--text-body); letter-spacing: 0.08em; text-align: left;
}

.sec-common table{ margin-left:auto; margin-right: auto;  } /* 中央寄せ */


/* ---------------------------
セクション基本設定 202603型
左寄せ
 <section class="sec-info">
------------------------------*/
.sec-info{ padding-bottom: 3em; padding-top:4em; }
.pagetop + .sec-info{ padding-top:calc( 4em + 2vw);}


.sec-info h2{
    color: var(--text-main); letter-spacing: 0.1em; text-align:left;
    border-bottom: 3px solid var(--border-main); padding-bottom:calc( 0.1em + 0.5vw ); margin:0; /* 下マージンはつけない */
}
.sec-info h3{
    position: relative; margin:calc( 2em + 1.5vw ) 0 0; /* 下マージンはつけない */
    color: var(--text-main); letter-spacing: 0.02em; text-align:left; 
    border-left: 0.3em solid var(--base-color); padding-left: 0.6em;
}
.sec-info h2 + h3 ,
.sec-info h2 + p{ margin-top: calc( 1.5em + 1vw ) ;}
.sec-info h3 + p{ margin-top:var(--margin-top); }

.sec-info h3.br{ margin-top: 4em;}
.sec-info h3.br::before{
    position:absolute; content: ""; top:-2.5em; left:0; width: 100%;
    border-top: 1px dotted var(--text-main);
}  

.sec-info h4{
    position: relative; margin: 1.5em 0 0; /* 下マージンはつけない */
    color: var(--text-body); letter-spacing: 0.08em; text-align: left;
}

.sec-info table{ margin-left: 0; } /* 中央寄せ解除 */

/* ---------------------------
セクション基本設定 2025型
左寄せ
 <section class="info-section">
------------------------------*/
.info-section{ padding-bottom: 3em; padding-top:4em; }
.pagetop + .info-section{ padding-top: 0;}


.info-section h2{
    color: var(--text-body); letter-spacing: 0.1em; text-align: left;
    border-bottom: 1px solid var(--border-color); padding-bottom: 0.5em; margin:0; /* 下マージンはつけない */
}
.info-section h3{
    position: relative; margin: 2em 0 0; /* 下マージンはつけない */
    color: var(--text-body); letter-spacing: 0.08em; text-align: left;
    border-left: 0.3em solid var(--base-green); padding-left: 0.6em;
}
.info-section h2 + h3{ margin-top: 1.5em; }
.info-section h2 + p ,
.info-section h3 + p{ margin-top: 2em; }

.info-section h3.br{ margin-top: 4em;}
.info-section h3.br::before{
    position:absolute; content: ""; top:-2.5em; left:0; width: 100%;
    border-top: 1px dotted var(--text-body);
}  

.info-section h4{
    position: relative; margin: 1.5em 0 0; /* 下マージンはつけない */
    color: var(--text-body); letter-spacing: 0.08em; text-align: left;
}


/* ---------------------------
セクション 反転
 <section class="sec-reverse">
------------------------------*/
.sec-reverse{
    position: relative; font-size: 0.9em;
    color: var(--bg-main); background-color:var(--base-color);
    padding:calc( 4em + 2vw ) 0 ;
}

.sec-reverse h2{
    font-size: 1.8em; line-height: 1.75; text-align: center;
    margin: 0 auto; padding:0 1em  0.5rem;
    border-bottom: 3px solid var(--border-main);
}

.sec-reverse h2 ,
.sec-reverse p{
    max-width: var(--width-narrow); margin:0 auto;
    width: fit-content; margin-inline: auto; 
}
.sec-reverse h2 + p{ margin-top:calc( 2em + 1vw ); }
.sec-reverse p + p{ margin-top: 1em; }

/* ---再現性 ----*/
.repro{ position: relative; font-size:1em;  }
.repro h2 + p{ font-size: 0.8em;  margin-top: 0.5rem; margin-bottom: 1.5em; }


/*-----------------------------
参考リンク　右寄せ
-----------------------------*/
.nav-right-text{ font-size: 0.85em; text-align: right; margin:var(--margin-top) 1em 0; }

.nav-right-text a {
    display:inline-block;
    color:var(--base-color); text-decoration: none; line-height: 1.5; margin-top: 1em; padding-bottom: 0.05em; background: none;
    border-bottom: 1px dotted var(--base-color); border-radius: 0;
}
.nav-right-text::before {
    display:inline-block; content: "▲"; transform: rotate(90deg);
    font-size: 0.75em; font-weight: bold; color: var(--base-color); margin-right: 0.25em; 
}
/*-----------------------------
参考リンク　左寄せ（リスト）
<nav><ul class="nav-text">
-----------------------------*/
.nav-text{ font-size: 0.9em;  margin:var(--margin-top) 0; padding: 0; list-style: none; }
.nav-text li{line-height: 1.5; margin:0 0.5em 0.5em; padding: 0; }
.nav-text a { color:var(--base-color); text-decoration: none;  background: none; border-bottom: 1px dotted var(--base-color); border-radius: 0; }
.nav-text li::before { display:inline-block; content: "▲"; transform: rotate(90deg); font-size: 0.75em; font-weight: bold; color: var(--base-color); margin-right: 0.25em; }



/*-----------------------------
ページ下部に設置するナビ
-----------------------------*/
.sub-footer-grid{ font-size: 0.9em; margin-top:var(--margin-top-large); border-top: 1px dotted var(--border-light); }
.sub-footer-grid ul { display: grid; grid-template-columns: 1fr 1fr; gap:0 1em; align-items: end; margin: 2em auto; padding: 0 1em; }
.sub-footer-grid li{
    display: block; border-radius: 0.3em; padding: 0;
    font-size: 1em; font-weight: bold; line-height: 1.4; list-style: none; 
    text-align: center; text-decoration: none;
}
.sub-footer-grid li a{ display: block; padding: 1.5em 0.5em; color: currentColor; text-decoration: none; }
.sub-footer-grid ul li:nth-child(1){ background-color:var(--base-green); color:var(--text-white); border: 1px solid var(--base-green); }
.sub-footer-grid ul li:nth-child(2){ color: var(--base-green); border: 1px solid var(--base-green); }
.sub-footer-grid ul li:nth-child(3){
    grid-column: 1 / -1; padding: 0.5em; margin-top: 0;
    font-size: 0.9em; color: var(--text-body); font-weight: normal; text-decoration:underline;
}
@media (max-width: 599px) { .sub-footer-grid ul { grid-template-columns: 1fr; gap: 1em; } }




/* ---------------------------
 グリッド
------------------------------*/
.wrap-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: calc( 0.25em + 1vw ); } /* このセレクタでマージンは指定しない */
.wrap-flex{ display: flex; flex-wrap: wrap; gap:1.5em; margin-left: auto; margin-right: auto; } /* このセレクタで上下のマージンは指定しない */
.wrap-flex *{ flex:1;}

@media (max-width: 599px) { .wrap-grid {  grid-template-columns: 1fr !important; gap: 1.5em; } }

h2 + .wrap-grid ,
h3 + .wrap-grid{ margin-top: var(--margin-top-large); margin-left: auto; margin-right: auto;}
p + .wrap-grid{ margin-top: var(--margin-top-large);}


.guide-overview{ margin: var(--margin-top-large) auto 0; }


/* ---------------------------
グリッド用ボックスの基本系
<div class=box-item>
----------------------------*/
.box-item{
    position: relative; font-size: 0.95em;
    border: 1px solid var(--border-base-color); border-radius: 0.5em;
    padding: var(--padding-box);
    display: flex; flex-direction: column; /* 最後のアイテムを下詰め用 */
}


.box-item >:last-child{ margin-top: auto; margin-bottom: 0;} /* 最後のアイテムを下詰め */
.box-item picture{ aspect-ratio: 16 / 9; max-height: 280px; overflow: hidden; padding:0 0.5em; } /* 画像の縦幅と縦横比を固定 */
.box-item img{ width: 100%; height:100%; object-fit: cover; margin-top: 1em;  }


.box-item h4:first-child , .box-item h3:first-child{
    font-size: 1.1em; text-align: center; 
    border: none; margin: -0.5em -0.5em 0.5em; padding: 0.25em 0.5em; overflow: hidden;
    background-color: var(--bg-base-light);
}
.box-item p{ max-width: none; margin-inline:0 ; }

/* ボックス下部にボタンを設置 */
.box-item .btn{ width: 100%; margin-top: auto; margin-bottom: 0; } /* flex-column で下詰めする設定 */
.box-item .btn-small { font-size: 0.85em; width:fit-content; min-width: 10em; align-self: flex-end; margin-left: auto; }

.box-item .btn-small a ,
.box-item .btn a {
    display: block; text-align: center; padding: 0.75em; margin-top: 1em; border-radius: 4px; 
    color:var(--text-white); line-height: 1; background: var(--base-color);
    text-decoration: none; font-weight: bold;
}

.box-item picture + p{ margin-top: 1em; }
.box-item p:last-of-type{ margin-bottom: auto; } /* 最後のアイテムの下詰めを解除 */

/* ---------------------------
汎用ボックス基本形
<div class=boxset>
------------------------------*/
.boxset{
    font-size: 0.95em;
    border: 1px solid var(--border-base-color); background-color: var(--bg-gray-light); overflow: hidden;
    padding:var(--padding-box); margin: var(--margin-top-large) 0 0; 
}
.boxset h3:first-child , .boxset h4:first-child{
    font-size: 1.1em; border: none; margin: -0.5em -0.5em 0.5em; padding: 0.25em 0.5em; overflow: hidden;
    background-color: var(--bg-base-light);
}
.boxset .btn{ width: 100%; }
.boxset .btn-small { width:fit-content; min-width: 10em; }
.boxset .btn-small a ,
.boxset .btn a {
    display: block; text-align: center; padding: 0.75em; margin-top: 1em; border-radius: 4px; 
    color:var(--text-white); line-height: 1; background: var(--base-color);
    text-decoration: none; font-weight: bold;
}

/* ---------------------------
汎用ボックス バリエーション
<div class=boxset type->
----------------------------*/


.type1 { border-top: 4px solid var(--base-color); background-color: var(--bg-base-light); }
.type-small{ font-size: 0.85em; }
.type-gray { filter: grayscale(100%); }

.type-base-color { background-color: var(--bg-base-light); }
.type-base-color h3:first-child { background-color: var(--bg-base-light2); }

.type-border-bold{ border-width: 3px !important; }
.type-border-bold-warning{ border-width: 3px !important; border-color: var(--alert-red) !important;}





/* box3 */
.type-box3{
    padding:var(--padding-box);
    border: 1px solid var(--border-main); border-top: 5px solid var(--base-color);
    background-color: var(--bg-white);
}
.type-box3 h4:first-child ,
.type-box3 h3:first-child{ font-size: 1.2em; border: none; margin:0; background:none;  }


/* box-dl */
.type-box-dl dt{ margin-bottom: 0.5em;  }
.type-box-dl dd{ margin-left: 1em; }

.type-box-dl dd + dt::before{
    display: block; content: ""; width: 100%;
    margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--border-main);
}



/* 目次系 */
.type-index-sub dt{ font-size: 1em;}
.type-index-sub dt::before{
    display:inline-block; content: "▲"; transform: rotate(90deg);
    font-size: 0.75em; font-weight: bold; color: var(--base-color); margin-right: 0.25em; margin-left: -0.25em; 
}
.type-index-sub dd{ margin-left: 1em; line-height: 1.6; }
.type-index-sub dd + dt{ border-top: 1px dotted var(--base-color); padding-top: 0.25em; margin-top: 0.25em; }
.type-index-sub .btn { width:fit-content; min-width: 10em; align-self: flex-end; margin-left: auto; margin-top: 0.25em; }
.type-index-sub .btn a { font-size: 0.9em; font-weight: normal; padding: 0.5em; margin: 0;}




/* 色変更 */
.type-warning{ border-color: var(--alert-red); background-color: var(--bg-alert-light); }
.type-warning h3:first-child { background-color: var(--bg-alert-light); }

.type-border-top-accent{ border-top-color: var(--accent); }
.type-border-top-warning{ border-top-color: var(--alert-red); }






/* ---------------------------
注釈ボックス
<dl class=box-annotation>
<div class=box-annotation>
------------------------------*/

.box-annotation{
    position: relative; font-size: 0.85em;
    width: fit-content; max-width: var(--width-box); overflow: hidden;
    background: var(--bg-gray-light); border-radius: 0.5em; box-shadow: 1px 1px 5px #66666699;
    padding: 1.75em; margin:calc( 2.5em + 2vw ) auto !important;
}
.box-annotation dt::before{
    position: absolute; top:0 ; left: 0;
    content:"annotation" ; font-size: 0.75em; padding: 0.25em 0.5em;
    background-color: var(--base-navy); color: var(--text-white);
}


/* ---------------------------
経歴など
<dl class=history-list>
------------------------------*/
.history-list{
    font-size: 0.95em;
    max-width: var(--width-box); padding:3em 1.5em; margin:var(--margin-top-large) auto;
    background-color: var(--bg-gray-light); border: 1px solid var(--border-main); border-radius: 0.5em; box-shadow: var(--shadow-box1);
}
.history-list dt{ color: var(--accent); padding: 0.3em 0.5em; margin-bottom: 0.75em; border-bottom: 1px solid var(--accent); }

.history-list dd{ margin-left: 1em; padding-left: 1em; border-left: 1px dotted var(--accent); }


/* ---------------------------
ボックスPDCA
<dl class=box-pdca>
<div class=box-pdca>
------------------------------*/
.box-pdca{
    font-size: 0.95em;
    max-width: var(--width-box); padding:3em 1.5em; margin: 2em auto;
    background-color: var(--bg-gray-light); border: 1px solid var(--border-main);
}
.box-pdca dt{ color: var(--accent); padding-bottom: 0.3em; margin-bottom: 0.75em; border-bottom: 1px solid var(--accent); }

.box-pdca dd + dt::before{
    display: block; content: "▼"; 
    text-align: center; color: #ddd; font-size: 1.2em; margin: 1em auto;
}
.box-pdca dd{ margin-left: 1em; padding-left: 1em; border-left: 1px solid var(--accent); }

/* ---------------------------
ボックス 
<dl class=box-workflow>
------------------------------*/
.box-workflow{
    padding: var(--padding-box); margin: var(--margin-top-large) 0;
}
.box-workflow dt{ color: var(--base-color); padding-bottom: 0.3em; margin-bottom: 0.75em; border-bottom: 1px solid var(--border-base-color); }
.box-workflow dd{ margin-left: 1em; padding-left: 1em; border-left: 1px solid var(--border-base-color); }

.box-workflow dd + dt::before{
    display: block; content: "▼"; 
    text-align: left; color:var(--border-base-color); font-size: 1.2em; margin:0.5em 0 0.5em 0.1em;
}
.box-workflow dt b{
    display:block; width: fit-content; border-radius: 0.25em;
    color: var(--text-white); background-color: var(--base-color);
    font-size: 0.7em; font-weight: normal; text-align: center;
    min-width: 4.5em; padding: 0.4em 0; line-height: 1;
}

/* ---------------------------
ボックスフロー
<div class="warap-box-flow"><div class="box-flow">
------------------------------*/
.wrap-box-flow{ margin-bottom: var(--margin-top-large); } /* 位置調整用のダミー */
.box-flow{
    position: relative;
    width: 100%;
    max-width: var(--width-narrow); padding:var(--padding-box); margin: calc( 1.5em + 1.5em ) auto 0;
    background-color: var(--bg-gray-light); border: 1px solid var(--border-main); border-radius: 0.25em;
}

.box-flow h3{ font-size: 1.25em; color: var(--base-color); text-align: left; margin:0 0 1em; border-left: none; padding-left: 0; }
.box-flow p{ padding-left: 0.4em; }

.box-flow h3 span{
    display: inline-block; background: var(--base-green); color: var(--bg-white);
    padding: 0.2em 0.5em; border-radius: 4px; margin-right: 0.5em; font-size: 0.9em;
}
.box-flow p{ text-align: left; margin-inline:0; }
.box-flow ul{ list-style: none; padding: 0; margin: 2em; }
.box-flow ul.listmark-type1{ margin-left: 1em; } 
.box-flow ul.listmark-type1 li::before{ content: "・"; font-size: 0.8em; margin-right: 0.5em;  vertical-align: middle;  } 

.box-flow p:last-child{ color: var(--text-muted); font-size: 0.8em;}
.box-flow p:last-child::before{ content:"※"; margin-right: 0.25em; }

.box-flow ul.listmark-type2{ margin-left: 0.5em; } 

.box-flow dl{
    font-size: 0.95em; margin:1.2em 0 1em; padding: 1em;
    background-color:#f6f6f6; border:1px solid var(--border-light); border-left: 4px solid var(--text-muted); 
}
.box-flow dt{ font-weight: bold; }
.box-flow dt::before{ content: "【"; margin-right: 0.2em; margin-left: -0.5em; }
.box-flow dt::after{ content: "】"; margin-left: 0.2em; }

.box-flow:not(:last-child)::after{
    position: absolute; display: block; width: 100%; bottom: -1.5em; left:0;
    content: "▼"; font-size: 1.5rem;  color:var(--text-muted); line-height: 1; text-align: center;
}



/* ---------------------------
ボックス 料金表
<div class=box-fee>
------------------------------*/

.box-fee-a{
    position: relative; font-size: 1.0em; overflow: hidden;
    grid-template-columns: 3fr 2fr; 
    background: var(--bg-gray-light); border-radius: 0.5em; box-shadow: 1px 1px 5px #66666699;
    padding: 1.75em; margin:var(--margin-top-large) 0 1.5em ;
}
.box-fee-a::before{
    position: absolute; top:0 ; left: 0;
    content:"基本料金" ; font-size: 0.9em; padding: 0.2em 1.0em;
    background-color: var(--base-navy); color: var(--text-white);
}
.box-fee-a .box{ padding-top: 0.75em; }
.box-fee-a h3{ text-align: left; margin: 0; }
.box-fee-a ul{ margin: 0.75em 0 0; padding-left: 0.5em; list-style: none;}
.box-fee-a li::before{ content: "✓"; margin-right: 0.5em; }

.box-fee-a .price{ width: fit-content; max-width: var(--width-narrow); margin:0 0 0 auto; }
.box-fee-a .price dt{ font-size: 0.8em; margin:0 }
.box-fee-a .price dd{ font-size: 1.5em; font-weight: 700; line-height: 1; text-align:right; color: var(--text-main); padding: 0; margin-left: 2em; }
.box-fee-a .price dd::after{ content: "（税込）"; font-size: 0.5em; }
.box-fee-a .price dt + dd{ margin-top: 0.25em; }
.box-fee-a .price dd + dt{ margin-top: 1.5em; }
@media (max-width: 599px) { .box-fee-a .box + .box { margin-top: 2em ; } }


.box-fee-b{
    position: relative; font-size: 0.8em; overflow: hidden;
    grid-template-columns: 1fr 1fr; gap:calc( 1em + 1vw ); padding:2px; margin:0;
}
.box-fee-b .box{ background: var(--bg-gray-light); border-radius: 0.5em; box-shadow: 1px 1px 5px #66666699; padding:1.75em; }
.box-fee-b .box h3{ display: flex; align-items: center; margin: 0 0 1em; padding-bottom: 0.5em; border-bottom: 1px dotted var(--border-main); }

.box-fee-b table{ width: fit-content; min-width: 0; margin: 0 0 0 auto; min-width: 15em; }
.box-fee-b th{ padding:0.75em 1em; line-height: 1; }
.box-fee-b td{ padding:0.75em 1.5em; line-height: 1; text-align: right; }
.box-fee-b table + ul{ font-size: 0.9em; margin-top: 1em; }

.box-fee-b .box1 h3::before{
    content: "オプション"; color: var(--text-white); background-color: var(--alert-red); border-radius: 0.25em;
    font-size: 0.7em; font-weight: normal; padding: 0 0.5em; margin-right: 0.5em; }

/*
.box-fee-b .box1 p:last-of-type::after{ display: block; content:""; border-top:1px dotted var(--text-muted); margin-top: 1em; margin-bottom: 1em; }
*/



/* ---------------------------
ボックスFAQ
<dl class=box-faq>
<div class=box-faq>
------------------------------*/

.box-faq{
    font-size: 0.9em;
    max-width: var(--width-box); padding:3em 1.5em; margin: 2em auto; overflow: hidden;
    background-color: var(--bg-gray-light); border: 1px solid var(--border-color);
}
.box-faq dt{ font-size: 1.1em; color: var(--accent); }
.box-faq dd{ padding-left: 1em; margin-bottom: 0.75em; border-left: 2px solid var(--accent); }
.box-faq dd + dt{ margin-top:calc( 2em + 1vw ); }
.box-faq dt::before{
    font-size: 1.5em; content: "Q"; color: var(--accent); margin-right:0.4em;
}
.box-faq dd ul{ margin-top: 1em; padding-bottom: 1em;}
.box-faq dd br{ margin-bottom: 0.5em; }

.box-faq dd strong{ color: var(--alert-red); }


/* ---------------------------
ボックス 所在地
<div class=box->
------------------------------*/

.selector.location{ max-width: none; padding: 0;}
.selector.location .btn { color: var(--text-main); border: 1px solid var(--accent); line-height: 1; padding: 1.5em; }
.selector.location .btn b { font-size: 1.5em; margin-bottom: 0; }

/* スペックエリア */
.spec-area { display: grid;  gap:calc( 0.25em + 1vw ); margin-top: var(--margin-top-large); }
.spec-area.col2 { grid-template-columns: 1fr 1fr; }
.spec-area.col3 { grid-template-columns: 1fr 1fr 1fr; }
.spec-area .box {  border: 1px solid var(--border-main); }
.spec-area .box dl{ font-size: 0.9em; text-align: center ; margin: 2.5em auto;}
.spec-area .box dt { font-size: 1em; color:var(--accent); letter-spacing: 0.2em; min-height: 2em; text-transform: uppercase; }
.spec-area .box dd { margin-top: 1.5em; line-height: 1; }
.spec-area .box dl dd:last-child { line-height: 2;}  
.spec-area .box dd b { font-size: 2.25em; font-weight: 300; letter-spacing: 0.05em; }
.spec-area .box dd span { display: inline-block; font-size: 1.1em; }
.spec-area .box dd b + span { margin-left: 1vw; }
.spec-area .box dd span + b { margin-left: 1vw; }

/* アクセスエリア */
.box-access { font-size: 0.9em; display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5em; margin-top: calc( 1em + 1vw ); }
.box-access .info { display: flex; flex-direction: column; align-items: center; justify-content:space-between;}
.box-access .info address { order: 2; }
.box-access .info picture{ order: 1; }
.box-access .info img { width: 100%; height: 15.625em; object-fit: cover; }
.box-access address dl { font-style: normal; font-weight:700; text-align: center;  }
.box-access address dt{ font-size: 1.25em; margin-bottom: 1em; }
.box-access iframe.gmap{ box-sizing: border-box; margin: 0 auto ; width: 100%; }

/* スマホ対応 */
@media (max-width: 599px ) { .box-access { grid-template-columns: 1fr; } }

/*-----------------------------
指導方針
<section class="common-section">
<h2>03. 定着の技術：理解を証明する「逆授業」</h2>
-----------------------------*/

.cycle-container { font-size:0.95em; max-width: var(--width-box); margin: 2em auto 0; counter-reset: step-counter; }
.cycle-step {
    position: relative; border: 1px solid var(--border-main); padding: 1.5em 1.5em;
    border-radius: 0.5em; background:var(--bg-white);
}
div + .cycle-step{ margin-top: 1.5em; }

.cycle-step:not(:last-child)::after {
    content: "↓"; position: absolute; bottom: -1.3em; left: 1em; 
    font-size: 1.5rem; color: var(--base-color); font-weight: bold;
}
.cycle-step::before {
    counter-increment: step-counter; content: counter(step-counter);
    font-size: 0.75rem; font-weight: bold;
    position: absolute; left: 1em; top: 1em; width: 1.8em; height: 1.8em;
    background: var(--base-green); color:var(--bg-white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.cycle-step .step-label {
      display:inline-block; border-radius: 1em;
      font-size: 0.75em; padding: 0.1em 0.8em;
      background:var(--bg-white); border: 1px solid var(--base-green); color: var(--base-green);
}

.cycle-step h3 { text-align: left; padding-left: 0; margin-top: 0.5em; margin-bottom: 1.25em; }
.cycle-step p { max-width:100%; }

/* --- 画像を挿入する --- */
.cycle-step .grid-img{ display: grid; grid-template-columns: 1fr 1fr; gap:calc( 0.5em + 0.5vw ); margin-top:1.5em; }
.cycle-step .grid-img img{ height: 100%; object-fit: cover; padding: calc( 2px + 0.1vw ); background-color: var(--bg-gray); box-shadow: var(--shadow-sm);  }
.cycle-step .grid-img picture{ margin:0; }

/* --- ボックス内の左右幅 --- */
.cycle-step h3 ,
.cycle-step .step-label ,
.cycle-step p ,
.cycle-step .grid-img{ margin-left:1.5vw; margin-right: 1.5vw; }




/* ------------------------------------------------------
中学受験対応校
<div class="wrap-grid capability">
------------------------------------------------------ */
.school-lineup { margin: calc( 2rem + 1vw ) auto; }
.school-lineup{ text-align: center; }
.school-lineup ul{ display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top:0 ; padding: 0 2em; }
.school-lineup ul + ul { margin-top: 1em; }
.school-lineup li{ margin: 0; padding: 3px 1em; border: 1px solid var(--accent); color: var(--accent); }
.school-lineup li + li{ margin: 0; }

/* サンプル */
.capability{ padding: 1em; border: 1px solid var(--border-base-color); margin-bottom: 1em; } 

.capability h3{ text-align: left; margin: 0 0 0.75em; }
.capability h3 i{
    display:block; width: fit-content;
    font-size: 0.5em; font-style: normal; line-height: 1; letter-spacing: 0; padding: 0.4em 0.5em;
    background-color: var(--base-color); color: var(--text-white); border-radius: 0.25em; }




/* アコーディオン補正 */
.school-list-acc .acc-wrap{
    position: relative; font-size: 90%; padding:0; margin: 1em auto; border-radius:2px; border-color: var(--border-base-color); }
.school-list-acc .acc-wrap .acc-header{ font-size: 1em; color: var(--text-main); background-color: var(--bg-base-light2); margin-bottom: 0; }
.school-list-acc .acc-wrap dt{ font-weight: bold; line-height: 1.5; margin-left: -4px; margin-bottom: 0.5em; }
.school-list-acc .acc-wrap dd + dt{ margin-top: 1em; }
.school-list-acc .acc-wrap dd{ line-height: 1.5; margin:0; }
.school-list-acc .acc-wrap p + p{ margin-top: 0.5em;}


.school-list-acc .acc-contents table{ margin:2em 0 !important; }
.school-list-acc .acc-contents table th{ vertical-align:text-top; }

.school-list-acc .acc-contents table ul{ display: flex; flex-wrap: wrap; gap: 1.25em; margin:0 0.5em; padding: 0; }
.school-list-acc .acc-contents table ul li { margin: 0; padding: 0; }
.school-list-acc .acc-contents table ul li + li { margin: 0; }
.school-list-acc .acc-contents table li::before{ position: static; content:none;  }


/*-----------------------------
合格実績
<section class="result-section">
-----------------------------*/
.result-section{ font-size: 0.9em; margin-top: var(--margin-top-large); }

/* ピックアップ */
.result-picup .item{ border-bottom: 1px solid var(--border-color); padding-bottom: 1.5em; }
.result-picup .item h3{
    font-family: serif; margin: 0; padding: 0.2em 0.5em;
    background-color: var(--base-green); color: var(--text-white);
}
.result-picup .item p{ padding-left: 1em; border-left: 2px solid var(--base-green); }

.result-picup .item picture { width: 100%; height: auto; margin: 1em auto; padding: 0; }
.result-picup .item img { width: 100%; height: auto; margin: 0; padding: 0; }

/* 羅列 */

.result-list{
    display: grid; grid-template-columns: 1fr 2fr; gap: calc( 0.25em + 1vw ); align-items: flex-start; margin-bottom: 3em;
    margin: 0 auto;
    padding-bottom: 2em; padding-top: 2em;
}
.result-list:not(:first-of-type){ border-bottom: 1px solid var(--border-main); }




/* ------------------------------------------------------
入塾審査セクション
<section class="sec-common admission">
------------------------------------------------------ */
.admission{ padding-bottom: calc( 4em + 3vw ); ;}
.admission h2{ margin-bottom: calc( 2em + 1vw );}

/* 初期表示 show-z */
#show.show-z p{ text-align: center; } 

/* show-a show-b */
.admission .target-conditions{ font-size: 0.95em; }
.admission .target-conditions th ,
.admission .target-conditions td{ border-color: var(--accent); padding: 1em calc( 0.5em + 1.5vw ); }
.admission .target-conditions th{
    font-size: 1.2em; font-weight: normal; background-color: var(--accent); color: var(--text-white);
    border-color: var(--border-main);
}

.admission h3{ display: flex; align-items: center; }
.admission h3 i{
    font-size: 0.6em; font-style: normal; line-height: 1; letter-spacing: 1px; padding: 0.3em 0.5em; margin-left: 0.5em;
    background-color: var(--text-main); color: var(--text-white); border-radius: 0.25em; }
.admission h3 i.red{ background-color: var(--alert-red); }

.admission .boxset2 li i{
    font-size: 0.8em; font-style: normal; letter-spacing: 1px; padding: 0.4em 0.5em; margin-right: 0.5em;
    background-color:var(--text-main); color: var(--text-white); }

.restrictions{ margin-top: calc( 3em + 2vw );}
.restrictions h3 { width: fit-content; margin-inline:auto; }
.restrictions dl{
    font-size: 0.9em;
    max-width: var(--width-box); padding:3em 1.5em; margin: 1em auto 0; overflow: hidden;
    background-color: var(--bg-gray-light); border: 1px solid var(--border-color);
    border-top: 3px solid var(--base-color);
}
.restrictions dt{ display:flex; align-items: center; font-size: 1.1em; color: var(--accent2); }
.restrictions dd{ padding-left: 1em; margin-bottom: 3em; border-left: 2px solid var(--accent); }
.restrictions dd + dt{ margin-top:calc( 2em + 1vw ); }
.restrictions dd br{ margin-bottom: 0.5em; }

.restrictions dt::before{
    display: inline-block; transform: rotate(90deg);
    content: "▲"; color: var(--accent2); margin-right:0.4em; 
}



/*-----------------------------
LINE
<section class="common-section section-flow">
-----------------------------*/

.cta-line{
    position: relative; width: 100%; max-width: var(--width-narrow); margin: 3em auto; 
    padding: 3em 1.5em; text-align: center;
    background-color:var(--bg-gray-light); border: 0.05em solid #444; color: #333;
}
.cta-line h3{ font-size: 1.1em; }

.line-assets { 
    position: relative;
    display: flex; flex-wrap: wrap; justify-content:space-evenly;  align-items: center; gap: 20px;
    max-width: var(--box-width); margin: 3em auto; padding: 10px 15%;
}

.line-assets a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity:0; }
.line-assets a:hover{ opacity: 0; }
.line-assets picture { flex: 1; }
.line-assets img { max-width: 100px;}
.line-assets p { flex-basis: 100%; font-size: 0.8em; margin: 0 auto; text-align: center; }

/* コピペ用ボックス */
.copy-box {
    text-align: left; margin-top: 2.5em; padding: 1.5em;
    background-color: rgba(255, 255, 255, 0.5); border: 0.05em solid #ccc; border-radius: 0.2em;
}
.copy-box h4 { font-size: 0.9em; color: #444; font-weight: bold; text-align: center; margin-bottom: 1em; }

/* コピー元のテキストエリア */
#copy-target {
    width: 100%; max-width: 600px; margin: 0 auto; height: 6em; resize: none;  padding: 1em;
    font-family: inherit; font-size: 0.8em; line-height: 1.6; color: #555;
    background-color: #fcfcfc; border: 0.05em solid #ddd; border-radius: 0.2em;
}
.btn-copy {
    display: block; width: 100%; margin-top: 1em; padding: 1em;
    background-color: #06C755; color: #fff; border: none; border-radius: 0.2em;
    font-weight: bold; cursor: pointer; transition: opacity 0.2s;
}
.btn-copy:hover { opacity: 0.8; }
#copy-target:focus { outline: none; border-color: #ccc; }

.btn-policy{
    width: fit-content; margin-inline: auto; text-align: center;
    font-size: 0.7em; color: var(--text-muted); text-decoration: underline;
    margin-top: 1em; cursor: pointer;
}


/* Dialog Styling */
/* ダイアログが表示された時のスタイルを強制する */
.close-btn button { all: unset; cursor: pointer; }
.close-btn button:focus, .close-btn button:focus-visible { outline: none !important; box-shadow: none !important; }
.close-btn button::-moz-focus-inner { border: 0 !important; padding: 0 !important; }
.close-btn button::-webkit-focus-inner { border: 0 !important; padding: 0 !important; }
dialog[open] {
    display: block; position: fixed; top: 50%; left: 50%; z-index: 9999;
    transform: translate(-50%, -50%); margin: 0;
    font-size: 0.8em;
}
#policy-dialog {
    background: #1a1a1a; color: #ffffffcc;
    border: 1px solid var(--bg-gray);
    padding: 2em; max-width: 90%;
}
#policy-dialog .close-btn { text-align: center; margin-top: 1em; border: 1px solid #ffffffaa; }
#policy-dialog .close-btn button{ width: 100%;}











/*----------------------------------------------------------*/
/* フォーム要素リセット */
input, button, select, textarea {
    font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; 
    -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border: none; border-radius: 0; background: none;
    box-sizing: border-box; }
textarea { resize: vertical; display: block; width: 100%; }
button, input[type="button"], input[type="submit"], input[type="reset"], select { cursor: pointer; }
input[type="checkbox"], input[type="radio"] { -webkit-appearance: auto; appearance: auto; width: auto; }
input::-ms-clear, input::-ms-reveal { display: none; }
/* フォーム要素リセットここまで */

.entry-form-container {
    position: relative; font-size: 0.8em; color:var(--clr-text-sub);
    max-width:600px; margin: 0 auto; padding: 1.5em; border-radius: 0.3em;
    background-color: transparent; border: 1px solid var(--bg-supplement-border);
}

/* 行 */
.entry-form-container form .field-group { position: relative; display: flex; margin-bottom: 1em; }
.entry-form-container form .field-group label {
    flex:0 0 35%; display:flex; align-items:center;
    font-size: 0.9em; color:var(--clr-accent); font-weight: bold; text-align:left;
    box-sizing: border-box; padding-right: 1.5em;
}
/* 入力ラッパー */
.entry-form-container form .field-group .input-unit { flex:0 0 65%; }

.entry-form-container form .field-group .input-unit input,
.entry-form-container form .field-group .input-unit select,
.entry-form-container form .field-group .input-unit textarea {
    display: block; width:100%; max-width: 100%; padding:calc( 0.2em + 0.25vw ) 0.8em; border-radius: 2px;
    color: #fff; background: rgba(0, 0, 0, 0.05); border: 1px solid var(--clr-accent-border);
}


/* 同意エリア */
.entry-form-container form .agreement-group { margin: 3em 0 1em; padding: 0.5em; background-color: var(--bg-supplement); }

.entry-form-container form .agreement-group .check-unit input { margin-right: 0.5em; }

.entry-form-container form .agreement-group .check-unit button {
    background: none; border: none; text-decoration: underline; cursor: pointer; padding: 0;
    font-size: 1em; color:var(--clr-accent);
}
.entry-form-container form .submit-unit input {
    display: inline-block;
    padding: 0.8em 2em; border: none; cursor: pointer; transition: 0.3s;
    background:var(--clr-accent); color: #111;
    font-size: 0.8em; font-weight: bold; text-decoration: none;
}
.entry-form-container form .submit-unit input:hover { opacity: 0.8; }

/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/

/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/

