@charset "utf-8";
/* 旧サイトの style.css（Template-Party）に足す分。解説ページの部品を旧サイトの見た目に合わせる */

/* ドロップダウン：旧サイトはJSで開いていたのをCSSのホバーにする */
#menubar li { position: relative; }
#menubar ul.ddmenu { left: 0; top: 100%; width: 220%; }
#menubar li:hover > ul.ddmenu, #menubar li:focus-within > ul.ddmenu { visibility: visible; }
#menubar ul.ddmenu li { width: 100%; float: none; }
#menubar li:last-child ul.ddmenu, #menubar li:nth-last-child(2) ul.ddmenu { left: auto; right: 0; }

/* ロゴ */
header #logo { float: left; }
header #logo a { display: block; }

/* 右上の囲み（旧サイトの電話番号の位置） */
#contact .lead-s { font-size: 13px; line-height: 1.6; }
#contact .big-s { font-size: 18px; letter-spacing: .12em; color: #353baf; line-height: 1.6; }
#contact .big-s span { display: block; font-size: 11px; letter-spacing: .05em; color: #666; }

/* 3本バー（800px以下） */
#menubar_hdr { cursor: pointer; z-index: 20; }
@media screen and (max-width:800px) {
  header .inner { position: relative; }
  #menubar-s { display: none; overflow: hidden; }
  #menubar-s.open { display: block; }
  header #logo img { width: 200px; margin-top: 30px; }
}

/* パンくず（旧サイトの水色の枠） */
.crumb { background: #e0ffff; border: 3px solid #1e90ff; padding: 4px 10px; margin-bottom: 20px; font-size: 14px; line-height: 1.6; }
.crumb a { color: #353baf; }
.crumb .sep { color: #1e90ff; margin: 0 6px; }

/* 機能一覧の早見表（旧サイトの3列の表・今いるページは黄色） */
.fnav { width: 100%; margin: 0 0 25px; border: 1px solid #ccc; }
.fnav td { border: 1px solid #ccc; padding: 4px 8px; width: 33%; vertical-align: top; font-size: 14px; line-height: 1.6; }
.fnav td.now { background: #ffff00; }

/* 本文 */
.contents .main section { margin-bottom: 30px; }
.contents .main ul.dots, .contents .main .doc ul { list-style: disc; padding: 0 20px 15px 45px; }
.contents .main .doc ol { padding: 0 20px 15px 45px; }
.contents .main .doc li { margin-bottom: .3em; }
.contents .main .doc strong { color: #a21e1e; font-weight: bold; }
.contents h3 { padding: 2px 20px; }

/* 冒頭の要点（旧サイトの囲み） */
.memo { margin: 0 0 25px; padding: 15px 20px; border: 4px solid #eee; box-shadow: 0 0 0 1px #dcdcdc inset; }
.memo .memo__ttl { color: #a21e1e; font-size: 17px; padding: 0 0 6px !important; }
.memo ul { list-style: disc; padding: 0 0 0 1.4em !important; }

/* 注意書き */
.note { margin: 0 20px 20px; padding: 12px 18px; background: #f6f5f2; border-left: 5px solid #353baf; }
.note p { padding: 0 !important; margin: 0; }

/* 表 */
.tbl-wrap { overflow-x: auto; margin: 0 20px 20px; }
.tbl-wrap table { width: 100%; min-width: 520px; }
.tbl-wrap th, .tbl-wrap td { border: 1px solid #ccc; padding: 8px 12px; vertical-align: top; text-align: left; line-height: 1.7; }
.tbl-wrap thead th { background: #353baf; color: #fff; font-weight: normal; }
.tbl-wrap tbody th { background: #f6f5f2; font-weight: normal; white-space: nowrap; }

/* 手順 */
ol.flow { list-style: decimal; }

/* よくある質問 */
.qa { padding: 0 20px 10px; }
.qa dt { color: #353baf; font-weight: bold; margin-top: 18px; }
.qa dt::before { content: "Q. "; }
.qa dd { padding: 6px 0 0 1.5em; }
.qa dd p { padding: 0 0 8px !important; }

.next { padding: 15px 20px !important; border-top: 1px dashed #ccc; }

/* トップ：主画像（旧サイトの写真の代わり） */
#mainimg .banner { display: block; background: linear-gradient(100deg, #eaf4ff 0%, #ffffff 55%, #dcecff 100%); padding: 48px 6% 52px; }
#mainimg .banner .b1 { color: #1e6fd9; font-size: clamp(34px, 6vw, 72px); font-weight: bold; letter-spacing: .02em; line-height: 1.1; font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; }
#mainimg .banner .b2 { color: #333; font-size: clamp(16px, 2.2vw, 26px); font-weight: bold; margin-top: 10px; line-height: 1.5; }
#mainimg .banner .b3 { color: #a21e1e; font-size: clamp(14px, 1.6vw, 18px); margin-top: 8px; line-height: 1.6; }

/* トップ：機能の並び（旧サイトの3列） */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; padding: 0 20px 20px; }
.feat a { display: block; text-align: center; text-decoration: none; padding: 14px 8px; border-bottom: 1px dotted #ccc; }
.feat a b { display: block; color: #333; }
.feat a span { display: block; font-size: 13px; color: #353baf; line-height: 1.6; }
.feat a:hover { background: #fcf18f; }
.catch { text-align: center; color: #a21e1e; font-size: 18px; line-height: 2; padding: 10px 20px 25px; }
.box-cp { border: 4px solid #eee; box-shadow: 0 0 0 1px #dcdcdc inset; padding: 15px 20px; margin: 0 0 30px; }
.box-cp p { padding: 0 !important; }
.box-cp .t { color: #a21e1e; font-size: 18px; }

@media screen and (max-width:800px) {
  .feat { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width:480px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .tbl-wrap, .note { margin-left: 0; margin-right: 0; }
  .contents p { padding: 0 0 12px; }
  .contents .main .doc ul, .contents .main .doc ol { padding-left: 25px; padding-right: 0; }
  .qa { padding: 0 0 10px; }
  .fnav td { font-size: 12px; }
  body { font-size: 14px; line-height: 1.8; }
}

/* ページの題（旧サイトの h2 と同じ見た目で、h1 にしている） */
.contents h1.pttl { clear: both; font-size: 22px; line-height: 1.4; margin-bottom: 20px; padding: 10px 20px; background: linear-gradient(#fff, #eee); border-bottom: 1px solid #dcdcdc; border-top: 4px solid #353baf; box-shadow: 0px 1px 3px rgba(0,0,0,0.15); text-shadow: 0px 2px #fff; color: #555; font-weight: normal; }
.contents h1.pttl span { display: block; color: #353baf; font-size: 12px; letter-spacing: 0.1em; padding-left: 3px; }
@media screen and (max-width:480px) { .contents h1.pttl { font-size: 17px; padding: 8px 12px; } }
