/*==============================
  基本レイアウト
==============================*/
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

html {
    scroll-padding-top: 70px;
    scroll-behavior: smooth;
}

body {
    padding-top: 50px;
    font-family: 'Noto Sans JP', sans-serif;
}



/*==============================
  ヘッダー
==============================*/
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 60px;
    padding: 20px 30px;
    box-sizing: border-box;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h1 a {
    display: flex;
    align-items: center;
    color: #538298;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Ubuntu Mono', monospace;
}

h1 a img {
    margin-right: 5px;
}

header .nav .menu {
    display: flex;
}

header .nav .menu li {
    list-style: none;
    margin-left: 40px;
}

header .nav .menu li a {
    color: gray;
    font-weight: bold;
    text-decoration: none;
    font-size: clamp(12px, 1.1vw, 16px);
}
.underline {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 3px;
  text-decoration-color: #83CBEB;
}

@media (max-width: 1100px) {

header {
    padding: 20px 15px;
}
h1 a img {
    margin-right: 2px;
}
header .nav .menu li a {
    font-size: 14px;
}
}

/*==============================
  ハンバーガーメニュー
==============================*/

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}
.hamburger span {
  height: 3px;
  background: #83CBEB;
  border-radius: 3px;
  transition: 0.3s;
}

/* ハンバーガー開閉時のアニメーション */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 4px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -4px);
}

/* ナビゲーションの表示切替 */
.nav {
  display: flex;
  gap: 15px;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: absolute;
    top: 50px;
    right: 10px;
    padding: 5px;
    border-radius: 8px;
    z-index: 3;
  }
  .nav.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .nav .menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 35px 10px 0px;
    margin: 0;
  }

}



/*==============================
  トップ画像
==============================*/
.top {
    width: 90%;
    margin: 0 auto 20px;
    position: relative;
}

.top img {
    width: 100%;
}

.top p {
    position: absolute;
    margin: 0;
    padding: 0;
    color: white;
    font-family: "IBM Plex Sans JP", sans-serif;
    text-shadow: 1px 2px 5px #778899;
}

.top .title {
    top: 5px;
    left: 10px;
    font-size: clamp(20px, 4vw, 50px);
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
}

.top .info {
    right: 15px;
    bottom: clamp(14px, 2.5vw, 30px);
    font-size: clamp(14px, 2.5vw, 30px);
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}
@media (max-width: 1100px) {
.top {
    width: 95%;
    margin: 0 auto 10px;
}
}

/*==============================
  メイン（背景グラデーション）
==============================*/
.back {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    background: linear-gradient(-5deg, #FDFCCB 0%, #DFFDE9 50%, #C1F2FA 100%);
}


/*==============================
  セクション
==============================*/
.main {
    width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* h2（アイコン＋下線） */
h2 {
    color: #83CBEB;
    position: relative;
    padding-left: 60px; /* アイコン用スペース */
    padding-bottom: 0; /* アイコン下と下線を寄せる余白調整 */
    font-size: 24px;
}

/* アイコン */
h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 55px;
    height: 55px;
    background-image: url("../images/Michigan.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* 下線をアイコン下に合わせる */
h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 34px);
    height: 4px;
    background: linear-gradient(
        to right,
        rgba(131, 203, 235, 1),
        rgba(131, 203, 235, 0)
    );
}

.section p {
   font-size: 16px;
}

@media (max-width: 1100px) {
.main {
    width: 80%;
    padding: 10px 20px;
}

/* h2（アイコン＋下線） */
h2 {
    padding-left: 50px; /* アイコン用スペース */
    font-size: 18px;
}

h2::before {
    width: 40px;
    height: 40px;
}
h2::after {
    bottom: calc(100% - 27px);

}

}

.section {
    padding: 0 60px;
    color: #3a4b54;
}

dl {
    display: flex;
    flex-wrap: wrap;
    color: #3a4b54;
    font-size: 16px;
}

.list dt {
    width: 15%;
    margin: 0;
}

.list dd {
    width: 85%;
    margin: 0;
    padding-bottom: 8px;
}

.committee dt {
    width: 25%;
    margin: 0;
}

.committee dd {
    width: 75%;
    margin: 0;
    padding-bottom: 15px;
}


details {
    margin-top: -10px;
}


@media (max-width: 1100px) {
.section {
    padding: 0 10px;
}
.section p {
   font-size: 14px;
}
dl {
    font-size: 14px;
}
.list dt {
    width: 100%;
}

.list dd {
    padding-left: 5%;
    width: 95%;
}

.committee dt {
    width: 170px ;
}

.committee dd {
    width: calc(100% - 170px) ;
}


details {
    margin-top: -20px;
}
}

.section a {
 color: #f25c7f;
}
.section a:hover {
  color: #ff87a3;
}
.section a:visited {
  color: gray;
}

/*==============================
  h3
==============================*/


h3 {
    position: relative;
    color: #538298;
    left: 15px;
    font-size: 20px;
    bottom: -6px;
}

h3::before {
    content: "";
    display: block;
    position: absolute;
    left: -15px;
    top: 0;
    height: 100%;

    border-left: 5px solid #538298;
}

@media (max-width: 1100px) {
h3 {
    font-size: 16px;
    left: 10px;
}
h3::before {
    left: -10px;
    border-left: 4px solid #538298;
}
}

/*==============================
  アンカー
==============================*/
.anchor {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.anchor a {
    background-color: #fff;
    color: gray;
    opacity: 0.9;
    border-radius: 35px;
    text-decoration: none;
    padding: 10px 30px;
    margin: 0px 5px;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: opacity 0.3s, border-color 0.3s; 
    font-size: 14px;
}

.anchor a:hover {
    opacity: 1;
    border-color: #9bbee0;
}


@media screen and (max-width: 1100px) {
    .anchor a {
    font-size: 12px;
    padding: 5px 10px;
    margin: 0px 3px;
    }
}

/*==============================
  ボタン
==============================*/
.button {
  width: fit-content;
  min-width: 200px;
  font-size: 14px;
}


.button a {
    color: #7494b5;
    background: #e1f4fc;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 10px 45px 10px 25px;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.button a::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border: 2px solid #9bbee0;
  transition: 0.2s;
}

.button a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #9bbee0;
  border-right: 3px solid #9bbee0;
  transform: rotate(45deg);
  position: absolute;
  right: 20px;
  margin: auto;
}


.button a:hover::before {
  top: 0;
  left: 0;
}

.button a:hover {
  background-color: #def3fc;
}


/*==============================
  フッター
==============================*/
footer {
    background: #ffffff;
    margin-top: 10px;
}

footer p {
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
    font-size: 0.8em;
    font-weight: bold;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer a {
    margin-left: 20px;
}