@charset "UTF-8";

html {
  /* 基準フォントサイズを10pxにするための設定 (16px * 62.5% = 10px) */
  font-size: 62.5%;
}

/* PC表示(961px以上)の時だけ基準フォントサイズを1.5倍 (10px * 1.5 = 15px) */
@media screen and (min-width: 961px) {
  html {
    /* 62.5% * 1.5 = 93.75% */
    font-size: 93.75%;
  }
}

body {
 /* 背景画像の上に70%不透明な白色を重ねて、画像を透過したように見せる */
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("../img/wave.png");
  color: #121212;
  font-family: 'Noto Sans JP', sans-serif;
}
a {
  color: #121212;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

/*コンテンツ幅を設定するための共通クラス*/
.wrapper {
  max-width: 900px;
  padding: 80px 20px;
  margin: 0 auto;
}
.site-title {
  width: 200px;
  line-height: 1px;
  margin-bottom: 30px;
}
.site-title a {
  display: block;
}

.sec-title {
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 60px;
  text-align: center;
  color: rgb(250, 102, 3);
}

/* サイドメニュー用の余白は削除 */
.container {
  margin-left: 0;
}

/*--------------------------------------
ヘッダー（PC/SP共通）
--------------------------------------*/
#header {
  width: 100%;
  height: 90px;
  padding: 0 30px;
  background-color: rgba(14, 178, 228, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title {
  width: 200px;
  margin: 0;
}
.site-title img {
  height: 90px;
  width: 90px;
  object-fit: contain;
}


/* ▼▼▼ ナビゲーション（ハンバーガー）の修正 ▼▼▼ */
#navi {
  width: 100%;
  height: auto;
  background: #fff;
  padding: 25px;
  position: fixed;
  top: -100vh; /* 初期位置を画面外上部へ */
  left: 0;
  bottom: auto;
  overflow-y: auto;
  transition: top 0.5s ease-in-out;
  z-index: 20;
}
.open #navi {
  top: 90px; /* PCヘッダーの高さ */
}
#navi ul.nav-menu {
  margin-bottom: 30px;
}
#navi ul li {
  padding: 8px 0;
}
#navi ul li a {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
  padding: 2px 0;
}
/* ▲▲▲ ここまで ▲▲▲ */

/* ハンバーガー */
.hamburger {
  width: 35px;
  height: 35px;
  cursor: pointer;
  position: relative;
  transition: 0.5s;
  z-index: 30;
}
.hamburger span {
  width: 35px;
  height: 3px;
  background-color: #121212;
  border-radius: 4px;
  display: block;
  position: absolute;
  left: 0;
  transition: 0.5s;
}
.hamburger span:nth-child(1) { top: 4px; }
.hamburger span:nth-child(2) { top: 14px; }
.hamburger span:nth-child(3) { bottom: 8px; }

.open .hamburger span {
  background-color: #fff;
}
.open .hamburger span:nth-child(1) {
  transform: translateY(10px) rotate(-315deg);
}
.open .hamburger span:nth-child(2) {
  opacity: 0;
}
.open .hamburger span:nth-child(3) {
  transform: translateY(-10px) rotate(315deg);
}

/* 背景マスク */
#mask {
  display: none;
  transition: 0.5s;
}
.open #mask {
  width: 100%;
  height: 100%;
  background-color: #000;
  cursor: pointer;
  display: block;
  opacity: 0.8;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
}

/* ▼▼▼ PC表示用ヘッダーナビゲーション（フォント統一スタイル） ▼▼▼ */
@media screen and (min-width: 961px) {
  #header {
    justify-content: space-between;
  }

  /* PCではハンバーガーメニューを非表示に */
  .hamburger,
  #mask {
    display: none;
  }

  /* PC用のナビゲーションメニューのスタイル */
  #navi {
    position: static;
    top: auto;
    background: none;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: auto; /* 右揃えにする */
  }

  #navi ul.nav-menu {
    display: flex;
    margin: 0;
  }
  
  #navi ul li {
    padding: 0 15px; /* 項目間の余白 */
  }
  
  #navi ul li a {
    font-size: 1rem;
    color: #121212;
    /* ▼▼▼ フォントと太さを統一 ▼▼▼ */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700; /* 700はboldと同じ */
  }
  
  #navi ul.nav-sns {
    display: none; /* SNSリンクを非表示 */
  }
}
/* ▲▲▲ PC表示用スタイルの修正ここまで ▲▲▲ */

/*-------------------------------------------
メイン
--------------------------------------------*/
.main {
  padding-top: 120px;
  padding-bottom: 80px;
}

.text {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.text p {
  color: #2c3e50;
  font-size: 1.6rem;
  line-height: 2;
  white-space: pre-wrap;
  margin: 0;
}

.report-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/*--------------------------------------
フッター
--------------------------------------*/
#footer {
  background-color: rgba(14, 178, 228, 0.8);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
#footer .footer-logo img {
  width: 120px;
  margin-bottom: 20px;
}
#footer .menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
#footer .menu li {
  border-right: solid 1px #fff;
  font-size: 1.4rem;
  padding: 0 15px;
  margin-bottom: 10px;
}
#footer .menu li:last-child {
  border-right: none;
}

#footer .sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

#footer .sns li img {
  height: 30px;
  width: auto;
}

#footer .sns li a {
  display: inline-block;
  transition: opacity 0.3s;
}

#footer .sns li a:hover {
  opacity: 0.7;
}

#footer .copyright {
  margin-top: 30px;
  font-size: 1.4rem;
}

/*-------------------------------------------
トップへ戻るボタン
-------------------------------------------*/
#to-top {
  width: 50px;
  height: 50px;
  background-color: #121212;
  border: solid 1px #fff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 50;
  cursor: pointer;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

#to-top:hover {
  opacity: 0.8;
}

#to-top::after {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
}
/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 960px) {
  
  html {
    font-size: 62.5%;
  }

  .main {
    padding-top: 100px;
  }

  /* ▼▼▼ スマホ画面でのタイトルフォントサイズ調整 ▼▼▼ */
  .sec-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    padding: 0;
  }
  /* ▲▲▲ ここまで ▲▲▲ */

  .text p {
    font-size: 1.5rem;
  }

  /* ▼▼▼ SP用ヘッダーの調整 ▼▼▼ */
  #header {
    height: 72px;
    padding: 0 15px;
  }
  .site-title {
      width: auto;
      margin: 0;
  }
  .site-title img {
      height: 60px;
      width: 60px;
  }
  .hamburger {
      position: relative;
      top: auto;
      right: auto;
  }
  .open #navi {
      top: 72px; /* SPヘッダーの高さ */
  }
  /* ▲▲▲ ここまで ▲▲▲ */
}