.sub-header-brand {
  height: 100px;
  background: #212A3F;
  display: flex;
  align-items: center;
  padding-left: 24px;
}

.sub-logo {
  display: block;
  width: auto;
  height: 85px;
  margin: 5px;
}

.sub-mobile-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 5px;
}

.sub-main {
  width: min(1100px, 92%);
  margin: 42px auto 70px;
}

#about section {
  margin-bottom: 80px;
}

.headheadding05 {
    margin: 0 0 30px 0;
    padding: 2px 10px;
    background: #1d8ade;
    background: -moz-linear-gradient(left, #1d8ade 0%, #53a2e2 50%, #1d8ade 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #1d8ade), color-stop(50%, #53a2e2), color-stop(100%, #1d8ade));
    background: -webkit-linear-gradient(left, #1d8ade 0%, #53a2e2 50%, #1d8ade 100%);
    background: -o-linear-gradient(left, #1d8ade 0%,#53a2e2 50%,#1d8ade 100%);
    background: -ms-linear-gradient(left, #1d8ade 0%,#53a2e2 50%,#1d8ade 100%);
    background: linear-gradient(left, #1d8ade 0%,#53a2e2 50%,#1d8ade 100%);
    color: #FFF;
    text-shadow: 1px 1px 2px #333;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4), inset 0 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.menuLineDoubleLightW {
    margin: 0 20px 10px 0;
    padding: 2px 8px;
    border-width: 5px 0;
    border-color: #029EBC;
    border-style: solid;
    background: #fff;
    color: #017589;
    line-height: 140%;
    font-weight: bold;
    text-align: center;
}

.kisotsu {
    width: 400px;
}

.koukoku ul {
      display: flex;
      flex-wrap: wrap;
      margin-block-start: 0;
      margin-block-end: 0;
      padding-inline-start: 0;
      justify-content: space-between;
}

.koukoku li {
    list-style-type: none;
    width: 32%;
    margin-bottom: 10px;
}

.koukoku li img {
    width: 100%;
}

.milmagazin-cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.mailmagazin-inner-l {
    width: 25%;
}

.mailmagazin-inner-l img {
    width: 100%;
}

.mailmagazin-inner-r {
    width: 70%;
}

.mailmagazin-inner-r ul {
    margin-top: 0;
}

.dousoukai-title {
    background: url(/img/dousoukaiadv-big.jpg);
    width: 800px;
    height: 150px;
    margin: 0 auto;
}

.dousoukai-cover {
    width: 800px;
    margin: 50px auto 0px;
    padding: 7px 0 2px 0;
}

.dousoukai-inner-secound {
    border-bottom: 2px solid gray;
    font-size: 25px;
}

.dousoukai-info {
    width: 800px;
    margin: 0px auto 20px;
    padding: 0px 0 2px 80px;
    font-size: 18px;
}

.dousoukai-toiawase-cover {
    width: 800px;
    margin: 0 auto;
    text-align: center;
}


.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.dousoukai-atag {
    font-weight: bold;
    width: 350px;
    letter-spacing: 1.4px;
    font-size: 18px;
    text-decoration: none;
}

.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}


.btn-info:hover {
    color: #fff;
    background-color: #31b0d5;
    border-color: #269abc;
}

ul.nav_pc {
    z-index: 10;
    display: table;
    margin-bottom: 3px;
    padding-bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
}

/* -------------------------- */
/* ▼メインメニュー項目の装飾 */
/* -------------------------- */
ul.nav_pc li {
	z-index: 10;
	width: 150px;
   min-width: 50px;          /* メニュー項目の横幅(125px) */
   display: inline-block;  /* ★1:横並びに配置する */
   list-style-type: none;  /* ★2:リストの先頭記号を消す */
   position: relative;     /* ★3:サブメニュー表示の基準位置にする */
border-left: 1px solid #ccc;
}

ul.nav_pc li:first-child{
border-left: none;
}

ul.nav_pc a {
	z-index: 10;
   display: block;
width: 100%;
text-decoration: none;
color: #555;
padding-bottom: 0;
}

ul.nav_pc a:hover {
  color: #87ceeb;
	margin-bottom: -3px;
border-bottom: 3px solid #87ceeb;}

/* ▼サブメニューの装飾 */
/* -------------------- */
ul.nav_pc ul {
	z-index: 10;
   display: none;       /* ★1:標準では非表示にする */
   margin: 0px;         /* ★2:サブメニュー外側の余白(ゼロ) */
   padding: 0px;        /* ★3:サブメニュー内側の余白(ゼロ) */
    background-color: #f0f8ff; /* メニュー項目の背景色(濃い赤色) */
   line-height: 40px;         /* メニュー項目のリンクの高さ(40px) */
   text-align: center;        /* メインメニューの文字列の配置(中央寄せ) */
   text-decoration: none;     /* メニュー項目の装飾(下線を消す) */
   font-weight: bold;   
   position: absolute;  /* ★4:絶対配置にする */
   min-width: 100%;
   border-right: none;
   border-bottom: none;
   border-left: none;
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */
ul.nav_pc li:hover ul {
   display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
}
@media (min-width: 800px) {
.only_mo{
		display: none;
}
}

@media (max-width: 799px) {
.only_PC{
	display: none;
	}
}

/* 同窓会-TIMESページ専用スタイル */
.times-header-brand {
  height: 100px;
  background: #212A3F;
  display: flex;
  align-items: center;
  padding-left: 24px;
}

.times-logo {
  display: block;
  width: auto;
  height: 85px;
  margin: 5px;
}

.times-mobile-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 5px;
}

.times-main {
  width: min(1100px, 92%);
  margin: 42px auto 70px;
}

.times-intro {
  margin-bottom: 34px;
}

.times-intro .heading07,
.times-archive .heading07 {
  margin-bottom: 22px;
}

.tie-info {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  text-align: left;
}

.times-archive {
  margin-top: 36px;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 24px;
  align-items: start;
}

.times-card {
  min-width: 0;
  text-align: center;
  padding: 0 8px;
}

.times-cover-link {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 16px;
}

.times-cover {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 0 5px #333;
  transition: opacity 0.2s ease;
}

.times-cover-link:hover .times-cover {
  opacity: 0.82;
}

.times-hidden-images {
  display: none;
}

.times-number {
  margin: 8px 0 4px;
  font-weight: bold;
  line-height: 1.6;
}

.times-pdf {
  display: inline-block;
  margin: 2px 0;
  text-decoration: underline;
}

.times-date {
  margin: 4px 0 0;
  font-size: 0.95em;
}

.times-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 40px auto;
  list-style: none;
}

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

.times-footer-heading {
  font-weight: bold;
  color: #ff0;
}

.times-copyright {
  position: relative;
  padding: 12px 24px;
  text-align: center;
  font-size: 12px;
}

.times-copyright p {
  margin: 0;
}

#back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  margin: 0;
}

#back-top a,
#back-top img {
  display: block;
}

/* 智慧ページ専用スタイル */

.tie-main {
  width: min(1100px, 92%);
  margin: 42px auto 70px;
}

.tie-intro {
  margin-bottom: 34px;
}

.tie-intro .heading07,
.tie-archive .heading07 {
  margin-bottom: 22px;
}

.tie-info {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  text-align: left;
}

.tie-archive {
  margin-top: 36px;
}

.tie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 16px;
  align-items: start;
}

.tie-card {
  min-width: 0;
  text-align: center;
  padding: 0 8px;
}

.tie-cover-link {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 5px;
}

.tie-cover {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s ease;
}

.tie-cover-link:hover .tie-cover {
  opacity: 0.82;
}

.tie-hidden-images {
  display: none;
}

.tie-number {
  margin: 8px 0 4px;
  font-weight: bold;
  line-height: 1.6;
}

.tie-pdf {
  display: inline-block;
  margin: 2px 0;
  text-decoration: underline;
}

.tie-date {
  margin: 4px 0 0;
  font-size: 0.95em;
}

.sokaishiryo-card{
  min-width: 0;
  text-align: center;
  padding: 0 8px;
}

  .sokaishiryo-card img{
   display:inline; 
  }

.sokaishiryo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 16px;
  align-items: start;
}

@media (max-width: 767px) {
  .sub-main {
    width: 92%;
    /* モバイル用の固定ヘッダーに本文が隠れないよう、上部に余白を確保 */
    margin: 40px auto 48px;
  }

  .times-intro {
    margin-bottom: 28px;
  }

  .times-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .times-card {
    padding: 0;
  }

  .times-cover-link {
    width: 80%;
    max-width: 360px;
    margin-bottom: 14px;
  }

  .times-number,
  .times-date {
    text-align: center;
  }

  .times-social {
    gap: 8px;
    margin: 28px auto;
  }

  .times-social img {
    width: 72px;
  }

  .times-copyright {
    padding: 12px 16px;
  }
/*智慧モバイル*/
  .tie-intro {
    margin-bottom: 28px;
  }

  .tie-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .tie-card {
    padding: 0;
  }

  .tie-cover-link {
    width: 80%;
    max-width: 360px;
    margin-bottom: 14px;
  }

  .tie-number,
  .tie-date {
    text-align: center;
    line-height: 0.8;
  } 

  .sokaishiryo-card{
    min-width: 0;
  text-align: center;
  padding: 0 8px;
}

  .sokaishiryo-card img{
   display:inline; 
  }

  .sokaishiryo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }
}


/* モバイル用ハンバーガーメニュー */
.sub-mobile-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

#mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sub-menu-toggle {
  display: none;
}

.sub-mobile-nav[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .sub-menu-toggle {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    margin: 5px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid #d6d9df;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 1002;
  }

  .sub-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #212A3F;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .sub-menu-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .sub-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .sub-menu-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sub-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: #212A3F;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  }

  .sub-mobile-nav ul {
    margin: 0;
    padding: 8px 0;
    list-style: none;
  }

  .sub-mobile-nav li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .sub-mobile-nav li:last-child {
    border-bottom: 0;
  }

  .sub-mobile-nav a {
    display: block;
    padding: 12px 22px;
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
  }

  .sub-mobile-nav a:hover,
  .sub-mobile-nav a:focus {
    background: rgba(255, 255, 255, 0.12);
  }

  #top-head {
    position: relative;
  }

  #top-head.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
  }
}

/* 準備中ページ専用スタイル
   ヘッダー・ナビ・フッターは既存の共通CSSとdosokaitimes.cssを使用 */

.preparing-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 92%);
  min-height: 430px;
  margin: 42px auto 70px;
  padding: 24px 0;
}

.preparing-panel {
  width: 100%;
  padding: clamp(36px, 7vw, 76px) 24px;
  border: 1px solid #e2e6eb;
  background: #f8fafc;
  text-align: center;
}

.preparing-eyebrow {
  margin: 0 0 14px;
  color: #6d849b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.preparing-panel h1 {
  margin: 0;
  color: #212a3f;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
}

.preparing-message {
  margin: 22px 0 30px;
  color: #5f6670;
  line-height: 2;
}

.preparing-home {
  display: inline-block;
  min-width: 220px;
  padding: 12px 24px;
  border: 1px solid #212a3f;
  background: #212a3f;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.preparing-home:hover,
.preparing-home:focus-visible {
  background: #fff;
  color: #212a3f !important;
}

@media (max-width: 767px) {
  .preparing-main {
    min-height: 360px;
    margin: 88px auto 48px;
  }

  .preparing-panel {
    padding: 42px 18px;
  }

  .preparing-message {
    font-size: 0.95rem;
  }

  .preparing-home {
    width: 100%;
    max-width: 280px;
  }
  .kisotsu {
  width: 90%;
  } 

  .dousoukai-title {
    background: url(/img/dousoukaiadv-small.jpg);
    width: 90%;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
}

.dousoukai-cover {
    width: 90%;
    margin: 50px auto 0px;
    padding: 7px 0 2px 0;
}

.dousoukai-inner-secound {
    border-bottom: 2px solid gray;
    font-size: 25px;
}

.dousoukai-info {
    width: 90%;
    margin: 0px auto 20px;
    padding: 0;
    font-size: 18px;
}

.dousoukai-toiawase-cover {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

}
