@charset "utf-8";

html { overflow: auto; }
body { overflow: hidden; }

html {
  overflow-y: scroll;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.618;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,h2,h3,h4,h5,h6,p,ul,ol {
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.41;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

p:not(:last-child),ul,ol {
  margin-bottom: 1em;
}

@media(max-width: 599px) {
  p br {
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

strong {
  font-weight: 600;
}

ins {
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

address {
  font-style: normal;
}

figure {
  border: 0;
  margin: 0;
}

fieldset {
  border: 0;
}

/* 文字色
======================================================================= */

body {
  color: #333;
}

/* リンク */

a,
a:hover {
  color: #17458f;
  text-decoration: none;
}

a:hover, 
a:focus {
  text-decoration: none;
}

a:active {
  color: #9d8e2f;
  text-decoration: none;
}

a:hover > img {
  opacity: .9;
}

/* =======================================================================
  メディアクエリによる表示／非表示
======================================================================= */

.pc { display: block; }
.sp { display: none; }

@media(max-width: 599px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* =======================================================================
  レイアウト
======================================================================= */

/* 幅 */

.l-width {
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  max-width: 1080px;
}

.l-width2 {
  margin: 0 auto;
  padding: 0 ;
  width: 100%;
}

/* バック横幅いっぱい */

body .l-wide {
  margin-right: -100%;
  margin-left: -100%;
  padding-right: 100%;
  padding-left: 100%;
}

@media(max-width: 599px) {
  body .l-wide {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* 間隔 */

.l-margin {
  margin: 40px auto;
}

.l-padding {
  padding: 40px;
}

.l-padding-s {
  padding: 1.5em;
}

.l-padding > .l-margin:first-child {
  margin-top: 0;
}
.l-padding > .l-margin:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .l-margin {
    margin: 24px auto;
  }
  .l-padding {
    padding: 24px;
  }
}

/* 二段組 */

.l-columns-2 {
  columns: 2;
  column-gap: 24px;
}


@media(max-width: 599px) {
  .l-columns-2 {
    columns: 1;
    column-gap: 0;
  }
}
/* 画像の大きさ */

.l-max-width-90 { max-width: 90%; }
.l-max-width-80 { max-width: 80%; }
.l-max-width-70 { max-width: 70%; }
.l-max-width-60 { max-width: 60%; }
.l-max-width-50 { max-width: 50%; }
.l-max-width-40 { max-width: 40%; }
.l-max-width-30 { max-width: 30%; }
.l-max-width-20 { max-width: 20%; }
.l-max-width-10 { max-width: 10%; }

@media(max-width: 599px) {
  .l-sp-max-width-90 { max-width: 90%; }
  .l-sp-max-width-80 { max-width: 80%; }
  .l-sp-max-width-70 { max-width: 70%; }
  .l-sp-max-width-60 { max-width: 60%; }
  .l-sp-max-width-50 { max-width: 50%; }
  .l-sp-max-width-40 { max-width: 40%; }
  .l-sp-max-width-30 { max-width: 30%; }
  .l-sp-max-width-20 { max-width: 20%; }
  .l-sp-max-width-10 { max-width: 10%; }
}

/* 文字揃え */

.l-txt-center,
p.l-txt-center {
  text-align: center;
}

.l-txt-right,
p.l-txt-right {
  text-align: right;
}

.l-txt-left,
p.l-txt-left {
  text-align: left;
}

/* 形状 */

.is-shadow-s {
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}

.is-shadow-l {
  filter: drop-shadow(0 16px 16px rgb(0 0 0 / .15));
}

.is-round {
  border-radius: 8px;
}

/* =======================================================================
  ヘッダー
======================================================================= */

.header {
}

.header__logo {
  padding: 15px;
}

@media(max-width: 599px) {
  .header__logo {
  }
}

/* 小見出し H3
======================================================================= */

.h3 {
  margin: 40px auto;
  padding: 20px 0;
  border-top: 1px solid #171d57;
  border-bottom: 1px solid #171d57;
  text-align: center;
  font-size: 30px;
  line-height: 1.333;
  color: #333;
}

.h3:first-child {
  margin-top: 0;  
}

.h3-small {
  font-size: 22px;
}

@media(max-width: 599px) {
  .h3 {
    margin: 20px 0;
    padding: .75em 1em;
    font-size: 24px;
  }
  .h3-small {
    font-size: 18px;
  }
}

/* =======================================================================
  メニュー
======================================================================= */

.menu {
}

.main-nav {
  padding: 0;
  width: 100%;
  background-color: #9d8e2f;  
}

.main-nav ul {
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
  color: #fff;
  margin: 0 auto;
}

.main-nav li {
  flex: 0 1 auto;
  line-height: 1.25em;
  color: #fff;
}

.main-nav a {
  display: block;
  padding: 1rem 1.2rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #fff; 
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background-color: #171d57;
}

/* レスポンシブ　ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #9d8e2f;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 80px 0 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
  }
  .main-nav.active {
    right: 0;
  }
  .main-nav ul {
    background-color: #9d8e2f;  
    flex-direction: column;
    gap: 0;
    padding-left: 0;
  }
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }
  .main-nav a {
    padding: 1rem;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.2rem;
  }
}

/* ドロップダウンメニュー */
.has-submenu {
  position: relative;
}

/* 基本は非表示 */
.main-nav .has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0;
}

.submenu li {
  width: 100%;
  border-bottom: 1px solid #171d57;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu a {
  padding: 0.8rem 1.5rem;
  display: block;
  font-size: 0.9rem;
  border-bottom: none !important;
  line-height: 1.4;
  color: #171d57;
}

.submenu a:hover {
  background-color: #dcd5a6;
  color: #171d57;
}

/* PC版:ホバーで表示 */
@media (min-width: 769px) {
  .main-nav .has-submenu:hover .submenu {
    display: block;
  }
}

/* スマホ版:常に表示 */
@media (max-width: 768px) {
  /* サブメニューを常に表示 */
  .main-nav .has-submenu .submenu {
    display: block !important;  /* 常に表示 */
    position: static;
    box-shadow: none;
    background-color: #fff;
    padding-left: 0;
  }
  .has-submenu > a::after {
    content: none;
  }
}

/* =======================================================================
  フォトスライダー
======================================================================= */

.hero-slider {
  position: relative;
  max-width: 1080px;
  width: 100%;
  /* 固定heightを削除し、aspect-ratioを使用 */
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background-color: #000;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を切り取って表示 */
  /* または object-fit: contain; を使用すると全体を表示（余白あり） */
}

.slide-caption {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.slide-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  animation: fadeInUp 0.8s ease-out;
}

.slide-caption p {
  font-size: 1.3rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スライダーコントロールボタン */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  border: none;
  font-size: 3rem;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(170, 160, 92, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* タブレット向け */
@media (max-width: 768px) {
  .hero-slider {
    aspect-ratio: 16 / 9;
  }
  .slide-caption {
    bottom: 60px;
  }
  .slide-caption h2 {
    font-size: 1.8rem;
  }
  .slide-caption p {
    font-size: 1rem;
  }
  .slider-prev,
  .slider-next {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
}

/* スマートフォン向け */
@media (max-width: 480px) {
  .slide-caption {
    bottom: 40px;
  }
  .slide-caption h2 {
    font-size: 1.4rem;
  }
  .slide-caption p {
    font-size: 0.9rem;
  }
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
}

/* =======================================================================
  メイン
======================================================================= */

.main {
  padding-top: 40px;
  padding-bottom: 40px;
}

.main > *:first-child {
  margin-top: 0;
}

.main > *:last-child {
  margin-bottom: 0;
}

.l-columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.l-link {
  margin-bottom: 20px;
}

.l-2columns {
  min-width: 250px;
  max-width: 250px;
}

.top__figure {
  margin-top: -20px;
  padding-bottom: 20px;
}

@media(max-width: 768px) {
  .main {
    padding-bottom: 24px;
  }
  .l-columns {
    display: block;
  } 
  .l-2columns {
    margin-top: 40px;
    max-width: none;
  }
  .l-link {
    text-align: center;
  }
}

@media(max-width: 599px) {
  .main {
    padding-top: 20px;
  }
  .main__h4 {
    font-size: 15px;
    text-align: center;
  }
  .top__figure {
    margin-top: 0;
  }
}

/* =======================================================================
  タイポグラフィー
======================================================================= */

.main p:not([class]) {
  font-size: 1.1em;
}

@media(max-width: 599px) {
  .main p:not([class]) {
    font-size: 1em;
  }
}

/* =======================================================================
  TOPコンテンツ
======================================================================= */

.message {
  margin: 40px 0;
}

.message-h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.message-grid {
  display: flex;
  gap: 40px;
}

.message img {
  max-width: 200px;
}

.message-txt h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

@media(max-width: 599px) {
  .message {
    margin: 20px 0;
  }
  .message-h2 {
    font-size: 22px;
  }
  .message-grid {
    flex-direction: column;
    gap: 20px;
  }
  .message-img {
    text-align: center;
  }
  .message img {
    max-width: 120px;
  }
  .message-txt h3 {
    font-size: 19px;
  }
}

/* =======================================================================
  会報
======================================================================= */

.list-design {
  list-style: none;
  margin: 20px 0;
  padding: 0 20px;
  text-align: center;  
}
.list-design li {
  margin-top: 10px;
}
.report-p {
  text-align: center;
}

/* ==========================================================================
  規約
========================================================================== */

.kiyaku {
  padding: 80px 0;
  color: #413e3c;
  line-height: 1.7;
}

.kiyaku h1 {
  text-align: left;
  font-size: 32px;
}

.kiyaku h2 {
  margin-top: 30px;
}

.kiyaku h3 {
  margin-top: 20px;
  font-weight: 700;
}

.kiyaku ul {
  list-style-type: disc;
  padding-left: 20px;
}

.kiyaku ol {
  list-style-type: decimal;
  padding-left: 20px;    
}

ol.list-type-kakko {
  list-style: none;
  padding-left: 0; 
  counter-reset: list-counter;
}

ol.list-type-kakko li {
  counter-increment: list-counter;
}

ol.list-type-kakko li::before {
  content: "(" counter(list-counter) ") ";
}

@media (max-width: 768px) {
  .kiyaku {
    padding: 40px 0;
  }
  .kiyaku h1 {
    font-size: 24px;
  }
  .kiyaku h2 {
    font-size: 21px;
  }
  .kiyaku h3 {
    margin-top: 10px;
    font-size: 18px;
  }
}

/* =======================================================================
  フッター
======================================================================= */

.footer {
  margin: 0;
  padding: 40px 0;
  font-size: 15px;
  text-align: center;
  background-color: #9d8e2f;
  color: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
}

.footer-links a {
  color: #fff;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #171d57;
}

@media(max-width: 599px) {
  .footer {
    padding: 20px 0;
   font-size: 12px;
  }
  .footer__inner {
    flex-direction: column;
  }
}

/* ==========================================================================
  プライバシーポリシー
========================================================================== */

.privacy {
  padding: 80px 0;
  color: #413e3c;
  line-height: 1.7;
}

.privacy h1 {
  text-align: left;
  font-size: 32px;
}

.privacy h2 {
  margin-top: 24px;
}

.privacy ul {
  list-style-type: disc;
  padding-left: 20px;
}

.privacy ol {
  list-style-type: decimal;
  padding-left: 20px;    
}

@media (max-width: 768px) {
  .privacy {
    padding: 40px 0;
  }
  .privacy h1 {
    font-size: 24px;
  }
  .privacy h2 {
    margin-top: 16px;
    font-size: 20px;
  }
}

/* =======================================================================
  色囲み
======================================================================= */

.color-box {
  background-color: #f2efe6;
}

.main .color-box *:last-child {
  margin-bottom: 0;
}

/* =======================================================================
  線囲み
======================================================================= */

.border-box {
  border: 1px solid #ddd;
}

.main .border-box *:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .border-box {
  }
}

/* =======================================================================
  アクセント
======================================================================= */

.a-center,
p.a-center {
  text-align: center;
}

.a-marker,
p.a-marker {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #ffea00;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}

.a-red,
p.a-red {
  color: #cc2200;
}

.a-blue,
p.a-blue {
  color: #171d57;
}

.a-underline,
p.a-underline {
  text-decoration: underline;
}