/* ======================================================
   共通CSS（style.css）
   - 全ページ共通レイアウト
   - header/nav/footer
   - section/inner
   - list系
   - responsive調整
   - トップ画像（img方式）もここで定義
====================================================== */

/* ----------------------------
   Reset
---------------------------- */
html, body { margin:0; padding:0; }
.pc-only,.tab-only,.sp-only {display: none;}
.contact-sp {
  display: none;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #0E1A29;
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
a {color: #0074D9;}
a:hover { color: #003357;}

img { max-width: 100%; height: auto; display:block; }

.txt-left{ text-align: left; }
.txt-center{ text-align: center; }
.txt-right{ text-align: right; }

  /* 赤 */
.accent-red{color:#C93A3A;}

  /* 緑 */
.accent-green{color:#2F8F6B;}

  /* 黄 */
.accent-yellow{color:#E3B505;}


.device-only{
display:inline;
}

/* プリント用*/
.print-only {
  display: none;
}

/* ----------------------------
   Header
---------------------------- */
.site-header { width: 100%; 
position: relative;}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* ----------------------------
 Contact list
---------------------------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  white-space: nowrap;
  text-align: left;
  align-items: flex-start;
}

.contact-list.contact-box {
  align-items: center;
  text-align: center;
  padding: 12px 16px;
  gap: 6px;
}

.contact-call {
  font-size: 1.6em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.contact-call .material-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  line-height: 1;
  position: relative;
  top: 5px;
}

.contact-call .phone-number {
  display: block;
  letter-spacing: 0.05em;
  line-height: 1;
}
.contact-text{
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.contact-hours {
  font-size: 0.85em;
  color: #555;
  letter-spacing: 0.04em;
  transform: translateX(-0.5px);
  font-feature-settings: "palt";
}
.contact-call.is-box {
  padding: 6px 0;
}

/* ----------------------------
   Navigation
---------------------------- */
.site-nav {
  width:100%;
  background-color:#034E95;
}

.nav-list {
  display:flex;
  justify-content:space-between;
  max-width:1200px;
  margin:0 auto;
  padding:0 100px;
  list-style:none;
}

.nav-list li a {
  color:#fff;
  padding:15px 20px;
  display:block;
  font-weight:700;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 0;
  color: #034E95;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle .material-icons {
font-size: 32px;
  transform: scale(1.2);
  line-height: 1;
}

.nav-list a[aria-current="page"] {
  background: rgba(255,255,255,0.2);
}

/* JS で .open を付与 */
.site-nav.open .nav-list {
  display:flex !important;
  flex-direction:column;
}
/* ----------------------------
   パンくず
---------------------------- */
.breadcrumb {
  font-size: 14px;
  width: 100%;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  box-sizing: border-box;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.breadcrumb-separator {
  margin-right: 6px;
  color: #B5BEC7;
  flex-shrink: 0;
}

/* ホーム */
.breadcrumb li:first-child {
  white-space: nowrap;
}

/* 現在ページ */
.breadcrumb li[aria-current="page"] {
  color: #333;
  word-break: break-word;
}

.breadcrumb a {
  color: #0074D9;
}
/* ----------------------------
   Main content
---------------------------- */
.site-main .section {
  width:100%;
  box-sizing:border-box;
  padding-bottom:30px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px 0 16px;
  box-sizing: border-box;
}

.contents-inner {
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.row-2columns {
  display: flex;           /* 横並び */
  flex-wrap: wrap;         /* 狭い画面では折り返す */
  max-width: 1200px;       /* 最大幅1200px */
  margin: 0 auto;          /* 中央揃え */
  box-sizing: border-box;
  gap: 30px;               /* 列間の隙間 */
}

.row-2columns > .row-2columns-box {
  flex: 1;                 /* 均等幅に広げる */
  box-sizing: border-box;
  max-width: 50%;
  padding-bottom:30px;
}

.section-2columns-inner {
  margin: 0 auto;
  padding: 30px 16px 0 16px;
  box-sizing: border-box;
}

/* ----------------------------
   Headings
---------------------------- */
h2 {
  margin-top:40px;
  margin-bottom:24px;
  text-align:left;
}

h2.first-title { text-align:center; }

h2 .en {
  display:block;
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  font-size:16px;
  color:#0074D9;
}

h2 .jp {
  display:block;
  font-size:32px;
  font-weight:700;
  letter-spacing:0.05em;
  margin-bottom:12px;
  color:#003357;
}

/* h3 */
.h3-border {
  position:relative;
  padding-left:16px;
  font-size:1.4rem;
  font-weight:700;
  color:#003357;
  margin-top:20px;
  margin-bottom:20px;
  line-height:1.4;
}

.h3-border::before {
  content:"";
  position:absolute;
  left:0; top:0.15em;
  width:5px;
  height:1.1em;
  background:#0074D9;
}

/* サブページ用 h4 */
.h4-sub-underline {
  font-size: 1.2rem;
  font-weight: 700;
  color: #003357;
  margin: 24px 0 10px;
  padding-bottom: 3px;
  position: relative;
}

.h4-sub-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #0074D9;
}
/* ----------------------------
   Contents layout
---------------------------- */
.contents-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 40px);
}

.contents-wrap .contents-text,
.contents-wrap .contents-photo {
  align-self: flex-start;
  flex: 1 1 0;
  margin: 0;
  box-sizing: border-box;
}

/* 画像は親幅にフィット */
.contents-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.contents-wrap.reverse { flex-direction:row-reverse; }

/* テキストは可変 */
.contents-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* 写真*/
.contents-photo {
  flex: 0 0 auto;
  max-width: 420px;
}

/* 画像は親に従う */
.contents-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* no photo */
.contents-wrap.no-photo {
  flex-direction: column;
}
.contents-wrap.no-photo .contents-photo { display:none; }
.contents-wrap.no-photo .contents-text {width: 100%;}

.contents-wrap.no-photo .contents-errortext {
  max-width: 700px;
  margin: 0 auto;
}
.contents-text p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.contents-text p:first-child {
  margin-top: 0;
}

/* list style */
.contents-text ul {
  list-style:disc;
  margin:0px;
}

/* circled list */
.contents-text ul.circled-list {
  list-style:none;
  counter-reset:circled;
  margin: 10px 0 0;
  padding-left: 0;
}

.contents-text ul.circled-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  counter-increment: circled;
}

/* 本文を「揃え基準」にする */
.contents-text ul.circled-list .li-text {
  display: block;
  line-height: 1.7;
}

/* 丸数字は「本文の1行目」に合わせる */
.contents-text ul.circled-list li::before {
  content: counter(circled);
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #003357;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.contents-text ul.subsidy-list {
  list-style: none;
  margin: 10px 0 0;
  padding-left: 0;
}

.contents-text ul.subsidy-list li {
  position: relative;
  padding-left: 32px;
}

.contents-text ul.subsidy-list li::before {
  content: "◎";
  position: absolute;
  left: 0;
  top: 0.4em;          /* ← circled-list と同じ */
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;     /* ○数字と視覚サイズを合わせる */
  color: #003357;
}

.contents-text ul.subsidy-list .li-text {
  display: block;
  line-height: 1.7;
}

/* circled list を assignment 用に変更 */
.contents-text ul.assignment-list {
  list-style: none;
  counter-reset: assignment-counter;
  margin: 10px 0 0;
  padding-left: 0;
}

.contents-text ul.assignment-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  counter-increment: assignment-counter;
}

/* 本文を「揃え基準」にする */
.contents-text ul.assignment-list .li-text {
  display: block;
  line-height: 1.7;
}

/* assignment アイコンを丸数字の位置に表示 */
.contents-text ul.assignment-list li::before {
  content: "\e85d";
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003357;
  top: 0.25em;
}

.contents-image {
  max-width: 800px;
  margin: 20px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}

.contents-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* -----------------------------
  ページ内リンク（サブページ共通）
------------------------------ */
.subpage-menu {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 50px 0 30px;
  flex-wrap: wrap;
}

.subpage-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0074D9;

}

.subpage-menu .menu-item span{
  /* 初期状態：下線あり */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: all 0.3s ease;
}

/* 塗りつぶしの円 ＋ 白いkeyboard_arrow_down */
.subpage-menu .menu-item::before {
  content: "keyboard_arrow_down";
  font-family: "Material Icons";
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: transparent;
  border: 2px solid #0074D9;
  color: #0074D9;
  border-radius: 50%;
  flex-shrink: 0;
  padding-top: 3px; /* 上に少し隙間を作ることで、矢印を下に押し下げる */
  box-sizing: border-box;
  line-height: 0; /* 文字としての高さを完全に消す */
}

/* ホバー：下線消去 + 透過 */
.subpage-menu .menu-item span:hover {
  text-decoration: none;
  color: #6E7580;
  opacity: 0.8;
}

/* ----------------------------
   VIEW ALL
---------------------------- */
.section-viewall-wrap {
  margin:40px 0;
  display:flex;
  justify-content:flex-end;
}

.section-viewall-link {
  display:flex;
  align-items:center;
  gap:8px;
 color:#0074D9;
}

.view-text {
  display:block;
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  font-size:16px;
}

.view-arrow { font-size:18px;}


/* ホバー：下線消去 + 透過 */
.section-viewall-link:hover{
  color: #6E7580;
  opacity: 0.8;
}
/* ----------------------------
   Back to top
---------------------------- */
.back-to-top {
  position:fixed;
  right:20px; bottom:20px;
  width:48px; height:48px;
  background:#034E95;
  border:1px solid #fff;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.25);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:999;
  cursor: pointer;
}
.back-to-top.show {
  opacity:1;
  visibility:visible;
}

/* ----------------------------
   map-frame
---------------------------- */
.map-frame {
  width:100%;
  overflow:hidden;
  margin:20px 0;
}
.map-frame iframe {
  width:100%;
  height:350px;
  border:0;
}

/* --------------------------------
   アクセス info-list
-------------------------------- */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #B5BEC7;
}

.info-row-noline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}


/* ラベル */
.info-label {
  flex: 0 0 80px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  border-radius: 4px;
  background-color: #003357;
  color: #fff;
  white-space: nowrap;
}

/* テキスト */
.info-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 交通ブロック */
.traffic-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.traffic-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 16px;
  color: #003357;
  padding-left: 8px;
}

.traffic-heading .material-icons {
  font-size: 18px;
  color: #0074D9;
}

/* リスト */
.info-traffic {
  list-style: none !important;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}

.info-traffic li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0.5em;
}

/* 内リンク */
.info-text .info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: 0.3em;
  text-decoration: none;
  color: #0074D9;
  font-size: 14px;
}

.info-text .material-icons,
.info-link .material-icons {
  font-size: 18px;
  line-height: 1;
}

.image-center {
  text-align: center;
}

.image-center img {
  width: 600px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ----------------------------
   Footer 全体
---------------------------- */
.site-footer {
  width: 100%;
  background: #034E95;
  color: #fff;
}

.site-footer a {
  color: #fff !important;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* フッター上部画像 */
.footer-image {
  width: 100%;
  height: 300px;
  background: url('../img/common/footer.png') center/cover no-repeat;
}

/* 内部コンテンツ */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ロゴ */
.footer-logo {
  width: 400px;
  height: auto;
}

/* 白ライン */
.footer-line {
  width: 1200px;
  max-width: 100%;
  height: 1px;
  background: #fff;
  margin: 20px auto;
}

/* ----------------------------
   フッターメニュー
---------------------------- */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.menu-title {
  font-weight: 700;
  padding: 14px 0 14px 28px;
  position: relative;
  font-size: 16px;
  text-decoration: none !important;
}

.menu-title::before {
  content: "arrow_right";
  font-family: 'Material Icons';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.menu-title:hover {
  text-decoration: none !important;
}

/* サブメニュー */
.submenu {
  list-style: none;
  padding-left: 25px;
  margin-top: 10px;
}

.footer-menu .submenu li {
  padding: 5px 0;
  font-size: 15px;
}

.footer-menu .submenu li a {
  display: block;
  text-decoration: none;
  color: #fff;
}

/* ----------------------------
   フッター情報（住所・電話）
---------------------------- */
.footer-info {
  max-width: 1200px;
  margin: 30px auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-copy {
  text-align: center;
  margin-top: 20px;
  white-space: nowrap;
}

/* ----------------------------
   フッター YouTubeセクション
---------------------------- */

/* ラップ全体 */
.footer-youtube-wrap {
  display: flex;
  flex-direction: column; /* デフォルト縦並び */
  gap: 8px;
}

/* タイトル（menu-title風） */
.footer-youtube-title{
  position: relative;
  display: block;
 /* padding: 14px 0 14px 28px;*/
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
}

/* 動画横並び */
.footer-youtube {
  display: flex;
  gap: 16px;              /* 動画間の間隔 */
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-youtube img {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}


/* ==============================
   人物写真 共通
============================== */
.photo-person {
  width: 300px;
  max-width: 100%;
  height: auto;
}

/* ======================================================
  information.css（style.css寄せ版）
====================================================== */

.embed-information {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #003357;
}

/* ==============================
   News list
============================== */
.embed-information ul#newsList {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.embed-information ul#newsList li {
  font-size: 16px;
  line-height: 1.7;
  padding: 16px 0;
  border-bottom: 1px solid #B5BEC7;
  box-sizing: border-box;
}

/* 日付 */
.embed-information .up_ymd {
  font-weight: 700;
  margin-right: 8px;
  color: #003357;
  font-size: 15px;
}

/* カテゴリ */
.embed-information .catName {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 4px;
  border: 1px solid #B5BEC7;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
  color: #003357;
  background: #F0F4F8;
  margin-right: 8px;
}

/* New マーク */
.embed-information .newMark {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  background: #C93A3A;
  color: #fff;
  font-style: italic;
  margin-left: 6px;
}

/* タイトル */
.embed-information .title {
  font-weight: 700;
  color: #003357;
  font-size: 17px;
}

/* li全体をクリック可能にする */
.embed-information .news-item {
  position: relative;
}

/* 透明リンク */
.embed-information .news-link-cover {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* 中身はクリックを透過させる */
.embed-information .news-item > span,
.embed-information .news-item .news-header,
.embed-information .news-item .news-body {
  pointer-events: none;
}

/* ただし title 内の a だけは生かす */
.embed-information .news-item .title a {
  pointer-events: auto;
  position: relative;
  z-index: 20;
}

.embed-information .news-item {
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.embed-information .news-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.embed-information .news-item::after {
  content: "chevron_right";
  font-family: "Material Icons";
  font-size: 28px;
  color: #003357;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}


/* ==============================
   Thumbnail / Comment
============================== */
.embed-information .thumbNailWrap {
  width: 110px;
  height: 80px;
}

.embed-information .comment {
  margin-left: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}


.embed-information ul#newsList li .title {
  display: block;
  line-height: 1.6;
  margin-top: 6px;
  word-break: break-word;
}

.embed-information ul#newsList li .thumbNailWrap,
.embed-information ul#newsList li .comment {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* ==============================
   Detail
============================== */
.embed-information #up_ymd {
  text-align: right;
  font-size: 14px;
  margin: 8px 0;
  color: #666;
}

.embed-information .detailText{
  color: #0E1A29;
}

/* ----------------------------
   Responsive
---------------------------- */
@media screen and (min-width: 769px) {
  .pc-only {
    display: block;
  }
  .site-nav {
    display: block !important;
    position: static;
  }

  .site-nav .nav-list {
    display: flex !important;
    flex-direction: row !important;
  }

  .site-nav.open .nav-list {
    flex-direction: row !important;
  }
}
@media screen and (max-width:1024px) and (min-width:769px){

  .pc-only {
    display: block;
  }

  .tab-only {
    display: inline;
  }
  .nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-list li {
    width: 33.333%;
    text-align: left;
    padding-left: 16px;
    box-sizing: border-box;
  }

 /* .logo img { max-width: 420px; }*/


  .section-inner {
      padding: 10px 12px 0 12px;
    }

  .section-2columns-inner {
    padding: 10px 12px 0 12px;
  }
  .contents-wrap {
    gap: 20px;       /* 少し狭め */
  }

  .info-row {
    display: flex;
    flex-direction: column;  /* 縦並び */
    gap: 8px;
    padding: 12px 0;
  }

  .info-row-noline {
    display: flex;
    flex-direction: column;  /* 縦並び */
    gap: 8px;
    padding: 12px 0;
  }

  .info-label {
    flex: none;
    width: auto;           /* 横幅自動 */
    text-align: left;
    margin-bottom: 6px;
  }

  .info-text {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .info-traffic {
    list-style: none;      /* 点を消す */
    padding-left: 0;
    margin: 0;
  }


  .footer-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-image {
    height: 220px;
  }

   /* =========================
     YouTube
  ========================= */

  /* かたまり全体を中央へ */
  .footer-youtube-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 24px auto;
    width: fit-content;
  }

  /* 動画は横並び */
  .footer-youtube {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-youtube img {
    width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }


}

@media screen and (max-width:768px){
.sp-only { display: block; }
.contact-sp {
    display: block;
  }
.breadcrumb-inner {

    padding: 15px 20px 0;
}
/* =====================
   ヘッダー上部
===================== */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

/* ロゴ */
.logo {
  flex: 1;
  min-width: 0;
}

.logo img { max-width: 400px; }

/* PC用お問い合わせは非表示（SP） */
.header-top > .contact-list {
  display: none;
}

/* =====================
   ハンバーガーボタン
===================== */
.menu-toggle {
  display: block;
  background: transparent;
  border: none;
  color: #003357;
  z-index: 10000;
}

.menu-toggle .material-icons {
  font-size: 32px;
  line-height: 1;
}


  /* =====================
     ナビ全体
  ===================== */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #034E95;
    z-index: 9999;
  }

  .site-nav.open {
    display: block;
  }

  /* =====================
     ナビ項目
  ===================== */
  .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .nav-list li {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list li a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
  }

  /* =====================
     スマホ用 お問い合わせ
  ===================== */
  .nav-contact.contact-sp {
    padding: 24px 16px;
    background: #fff;
    border-top: 1px solid #B5BEC7;
    border-bottom: 1px solid #B5BEC7;
  }

  .nav-contact.contact-sp .contact-call,
  .nav-contact.contact-sp .contact-text,
  .nav-contact.contact-sp .contact-hours {
    color: #003357;
  }

  .nav-contact.contact-sp .material-icons {
    color: #0074D9;
  }
  .contact-tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .contact-text,
  .contact-hours {
    font-size: 0.85em;
    color: #fff;
  }

.section-inner {
    padding: 10px 12px 0 12px;
  }

.section-2columns-inner {
  padding: 10px 12px 0 12px;
}
  .row-2columns > .row-2columns-box {
    flex: 1 1 100%;        /* 幅100%で縦並び */
    max-width: 100%;       /* 最大幅も画面いっぱい */
  }

  .contents-wrap {
    flex-direction: column; /* 縦並び */
    gap: 16px;              /* 上下間隔 */
  }

  .contents-text,
  .contents-photo {
    width: 100%;            /* 横幅揃える */
    margin: 0 auto;         /* 中央寄せ */
  }


  .contents-text ul{
    margin: 0; 
  }

  .contents-wrap { flex-direction:column-reverse; }
  .contents-wrap.reverse { flex-direction:column; }

  .subpage-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
    column-gap: 16px;
    padding-bottom: 0;
  }

  .subpage-menu .menu-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
  }

  .subpage-menu .menu-item::before {
    margin-top: 2px;
  }

  .footer-menu{ grid-template-columns:1fr; }
  .footer-info{ flex-direction:column; }


  /* スマホは最初閉じる */
  .submenu {
    display: none !important;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  /* JSで開いた状態 */
  .submenu.open {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
  }

  /* アイコン変更 */
  .menu-title::before {
    content: "arrow_right";
    transition: transform 0.2s ease;
  }

  .menu-title.open::before {
    content: "arrow_drop_down";
  }

 
  /* =========================
     Footer menu
  ========================= */

  .footer-menu .menu-title {
    padding: 14px 0 14px 28px;
    font-size: 16px;
  }

  .footer-menu .submenu li {
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .footer-menu .submenu li a {
    display: block;
    padding: 6px 0;
    color: #fff;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
  /* =========================
     YouTube
  ========================= */

  /* かたまり全体：画面中央 */
  .footer-youtube-wrap {
    display: flex;
    flex-direction: column;     /* 縦並び */
    align-items: flex-start;    /* 中身は左揃え */
    width: fit-content;         /* 中身の幅で箱を作る */
    margin: 24px auto;          /* 画面中央 */
  }


  /* 動画：縦並び・左揃え */
  .footer-youtube {
    display: flex;
    flex-direction: column;     /* 動画1・動画2を縦 */
    gap: 20px;
    align-items: flex-start;    /* 左揃え */
  }

  .footer-youtube a {
    display: block;
  }

  .footer-youtube img {
    width: 240px;               /* 基準サイズ */
    max-width: 100%;
    height: auto;
    border-radius: 4px;
  }

  .breadcrumb ol {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  h2.first-title {
    text-align: left;
  }

  .contents-photo {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .contents-photo img {
    width: auto;
    max-width: 300px;
    margin: 0 auto;
  }
  /* info-row を縦並びに */
  .info-row {
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #B5BEC7;
  }

  /* info-row を縦並びに */
  .info-row-noline {
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }

  /* ラベル */
  .info-label {
    display: inline-flex;        /* テキスト幅に合わせる */
    flex: none;                  /* 幅固定禁止 */
    align-items: center;         /* テキスト縦中央 */
    justify-content: flex-start; /* 左寄せ */
    padding: 4px 8px;
    line-height: 1.2;
    white-space: nowrap;         /* 改行防止 */
    border-radius: 4px;
    background-color: #003357;
    color: #fff;
    width: auto;                 /* 横幅自動 */
  }

  /* ラベル内のアイコン */
  .info-label .material-icons {
    margin-right: 4px;
    font-size: 16px;
    vertical-align: middle;
  }

  /* テキスト */
  .info-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* 交通リスト */
  .info-traffic {
    list-style: none;
    padding-left: 1.5em;
    margin: 0;
  }

  .info-traffic li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0.5em;
  }


  .traffic-heading {
    font-size: 15px;
    margin-top: 12px;
  }

  /* =========================
     お知らせ一覧
     ========================= */
  .embed-information ul#newsList li {
    padding: 16px 0;
  }

  /* 日付 + NEW（1行目） */
  .embed-information .up_ymd,
  .embed-information .newMark {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    vertical-align: middle;
  }

  .embed-information .up_ymd {
    margin-right: 8px;
  }

  /* 2行目：カテゴリ */
  .embed-information .catName {
    margin-top: 6px;
    margin-bottom: 0;
    display: block;
    width: fit-content;
  }

  /* 3行目：タイトル */
  .embed-information .title {
    display: block;
    font-size: 17px;
    line-height: 1.6;
    margin-top: 6px;
  }

  /* サムネ／本文 */
  .embed-information .thumbNailWrap {
    float: none;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
  }

  .embed-information .comment {
    float: none;
    width: 100%;
    margin-left: 0;
    font-size: 16px;
  }

  .embed-information .catName,
  .embed-information .newMark {
  display: inline-block;
  width: auto;
  white-space: nowrap;
}
  /* =========================
     ページャー（SP）
     ========================= */

}