/* ******************************************
    layout.css
   全体構造、カラム・ラッパーなど
****************************************** */

/* ============================
  ページ全体
=============================== */
.site-wrapper {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
    padding: 0 0 var(--space-lg); /*上下の空白はここで指定*/
}

/* 全幅表示させる要素 */
.full-width {
  width: 100%;
  margin-inline: auto;
}

/* 中央寄せの基本コンテナ wrapper(広) */
.wrapper {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
@media (max-width: 768px) {
  .wrapper {
    max-width: 100%;
    padding-inline: var(--space-sm);
  }
}

/* 中央寄せの基本コンテナ content-medium(中) */
.content-medium {
  max-width: var(--container-medium); 
  margin-inline: auto;
  padding-inline: 1rem;
}

/* 中央寄せの基本コンテナ content-box(狭)　読み物用の横幅 */
.content-box {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (max-width: 768px) {
  .content-box  {
    padding-inline: var(--space-md);
  }
}


/* ============================
  ヘッダー
=============================== */
#header {
  border-top: 6px solid var(--color-main);
  position: sticky;
  top: 0;
  z-index: 1000; 
}

/* ヘッダー上段：背景レイアウト */
.split-bg-section {
  position: relative;
  width: 100%;
  height: 70px;
  overflow: hidden;
  background-color: white;
}
.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.bg-left {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
/*  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); リボン型*/
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  width: 45%;
  height: 70px;
}
.bg-right {
  width: 55%;
}

/* ヘッダー上段：構造配置 */
.split-content {
  position: relative;
  z-index: 1;
  height: 100%;
}
.anniv-title-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.anniv-left,
.anniv-right {
  display: flex;
  align-items: center;
}
.anniv-left {
  flex: 0 0 45%;
  justify-content: flex-end;
}
.anniv-right {
  flex: 0 0 55%;
  justify-content: flex-start;
  gap: var(--space-xs);
  flex-wrap: nowrap;
}
.org-logo {
  flex-shrink: 0;
}
.org-logo img {
  max-height: 60px;
  width: auto;
  display: block;
  margin-bottom: 0;
}
.anniv-divider {
  width: 1px;
  height: 4rem;
}

/* ヘッダー下段：ナビ構造 */
.header-nav {
  background-color: rgba(0, 47, 108, 0.8);
}
.header-nav .menu {
  display: flex;
  justify-content: center;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding: var(--space-xs) var(--space-md);
  flex-wrap: nowrap;
  margin-bottom: 0;
  gap: 0.9rem;
  font-size: 0.9rem;  
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle .bar {
  width: 30px;
  height: 5px;
  border-radius: 2px;
}

/* レスポンシブ構造768 →1000　メニュー字数増加見切り防止対応 */
@media (max-width: 1000px) {
  .header-nav {
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }
  .header-nav .menu {
    display: none;
    flex-direction: column;
    gap: var(--space-xs);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: var(--z-modal);
  }
  .header-nav.open .menu {
    display: flex;
  }
}


/* ============================
  フッター
=============================== */
.footer-area {
  border-top: 6px solid var(--color-main);
}

.footer-rotary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xxs);
  flex-wrap: wrap;
  padding: var(--space-sm);
}

.footer-rotary-info {
  flex: 0 0 320px;
}

.footer-rotary-anniv {
  flex-shrink: 0;
}

/* ******************************************
   ページタイトル
****************************************** */
.page-title-section {
    padding: 0rem 0;
}
.page-title {
    color: white;
    padding: 2rem 0;
}
 
/* ******************************************
   モバイルで縦並びになった時、Flex/Gridのgapを0にする補助クラス
****************************************** */
@media (max-width: 768px) {
    .nogap-columns {
        gap: 0em;
    }
}

  

