@charset "UTF-8";

/* 全体のリセットとフォント */
body {
  font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho',
               'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN',
               'MS 明朝', serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}
/* ロゴ画像のスタイル */
header {
    background-color: white;
    text-align: center;
    padding: 20px 0;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 250px; /* 必要に応じて調整 */
}

/* ナビゲーションバー */
nav {
  background-color: #44546a;
  position: sticky;
  top: 0;           /* ここで画面上に固定される位置を指定 */
  z-index: 9999;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.nav-list li {
    margin: 0 20px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.nav-list a:hover {
    text-decoration: underline;
}
.site-footer {
  text-align: center;
  padding: 20px 0 40px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
}
.footer-line {
  border-top: 2px dashed #6b7280; /* グレーの点線 */
  width: 100%;
  margin-bottom: 10px;
}

.footer-text {
  margin: 10px 0;
}

.footer-icons {
  margin-top: 10px;
}

.footer-icons a {
  display: inline-block;
  margin: 0 10px;
}

.footer-icons img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  transition: opacity 0.3s;
}

.footer-icons img:hover {
  opacity: 0.7;
}
p{
  padding-left: 20px;
  padding-right: 20px;
}
* ====================================
   ハンバーガーメニュー
   ==================================== */
.hamburger-demo-menubox * { font-size: 16px; }
.hamburger-demo-menubox li { font-size: 14px; }
.input-hidden { display: none; }
.hamburger-demo-switch {
  cursor: pointer;
  position: fixed;
  right: 3%;
  top: 0;
  z-index: 9999;
  width: 4em;
  height: 4em;
}
#hamburger-demo1:checked ~ .hamburger-demo-switch {
  position: fixed;
}
.hamburger-switch-line1,
.hamburger-switch-line1:before,
.hamburger-switch-line1:after {
  width: 25px;
  height: 3px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: .3s;
  content: "";
}
.hamburger-switch-line1 {
  transform: translate(-50%, -50%);
}
.hamburger-switch-line1:before { transform: translate(-50%, -300%); }
.hamburger-switch-line1:after  { transform: translate(-50%, 200%); }
#hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1 {
  width: 0;
}
#hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1:before {
  transform: rotate(45deg) translate(-40%, 325%);
}
#hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1:after {
  transform: rotate(-45deg) translate(-40%, -325%);
}
.hamburger-demo-menuwrap {
  position: fixed;
  top: 0;
  left: 100%;
  width: 70%;
  height: 100%;
  background: #44546a;
  padding: 5em 3% 2em;
  z-index: 9998;
  transition: .3s;
  overflow-y: scroll;
}
.hamburger-demo-menulist {
  margin-right: 3%;
  padding-left: 5% !important;
  list-style: none;
}
.hamburger-demo-menulist li { margin: 20px 0; }
.hamburger-demo-menulist li a {
  text-decoration: none;
  color: #f5f5f5;
  display: block;
  font-size: 18px;
  padding: 10px;
}
#hamburger-demo1:checked ~ .hamburger-demo-menuwrap {
  left: 30%;
}
#hamburger-demo1:checked ~ .hamburger-demo-cover {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9997;
  background: rgba(3,3,3,.5);
  display: block;
}
@media (min-width: 600px){
  .hamburger-demo-menubox { display: none; }
}
.hamburger { display: none; }

@media (max-width: 600px) {
  h2 {
    font-size: 30px;
    gap: 0.5em;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    padding: 0;
  }
}