@charset "utf-8";
.ffJosefin{
  font-family: 'Josefin Sans', sans-serif !important;
}


/* 全体のベース：日本語は筑紫A丸ゴ、英語はJosefin Sans */
body {
  font-family: 'fot-tsukuardgothic-std', 'Josefin Sans', sans-serif;
  font-weight: 300; /* ページ全体のデフォルト */
}

/* 英語テキストはJosefin Sansを優先 */
:lang(en) {
  font-family: 'Josefin Sans', 'fot-tsukuardgothic-std', sans-serif;
  font-weight: 600; /* 英語だけ太めに */
}


:root {
  --content-w: 1000px;
}

footer ul {
  display: flex;
  justify-content: flex-end;
  vertical-align: center;
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
}

/* ナビゲーションメニュー */
.nav-menu {
  display: none;
  position: absolute;
  top: 100%; /* ハンバーガー下に配置 */
  right:0;  /* menuWrapの左端からスタート */
  background-color: white;
  width: 200px;
  z-index: 1000;
}

.nav-menu.open {
  display: block;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: block;       /* aタグをブロック化して幅いっぱいに */
  text-align: center;   /* 中央寄せ */
  padding: 10px 0;      /* 上下の余白だけ */
}

.nav-menu a {
  color: #8c6c57 !important;
  text-decoration: none;
  display: block;
  padding: 10px 50px 10px 10px; /* 上右下左 */
  text-align: left;
  margin: 0 auto;
  width: auto;
  box-sizing: border-box;
}

.nav-menu a:hover {
  background-color: #f0f0f0;
}

/* ドロップダウン */
.dropdown {
  position: relative;
}

.dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: auto;
  right: 0; /* 親の右端基準に */
  transform: translateX(-100%); /* 親の幅分左にずらす */
}



.dropdown:hover ul {
  display: block;
}

/* 全体テキスト位置 */
body,
header,
footer {
  text-align: left !important;
}



body {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  background-color: #8c6c57;
  color: white;
  line-height: 1.8
}

.innnerWrap {
justify-content: space-between;
display: flex;
flex-direction: column;
align-items:center;
max-width: 1000px;
width: 100%;
margin: 0 auto;
padding: 0;
box-sizing: border-box;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  z-index: 1000;
  position: relative; /* ここは relative でOK */
  right:20px;
}

.headerBg {
  width: 100%;
  background-color: #5a6157; /* 必要なら上書き */
}

/* 中身（ロゴとメニュー）を収めるコンテナ */
.headerWrap {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  max-width: 1000px;
  margin: 0 auto;
}


.menuWrap {
  position: relative; /* absolute を使わずに右寄せ */
  padding: 0;         /* 余白をリセット */
  margin-left: 200px;

}


header, footer {
  background-color:#5a6157;
}

/*ロゴ*/
.logo {
  flex: 0 0 auto;
   margin-right: auto; 
}

.logo img {
  display: block;
  height: 100px; /* 元の高さ */
  width: 120px;
  object-fit: cover;
}


/*ハンバーガー?*/




/* フェードイン用（アニメーションする要素だけ） */
.fade-in,
.fade-in-img2,
.fade-in-text2 {
  opacity: 0;
  transition: opacity 2s ease;
}

/* 表示状態 */
.show {
  opacity: 1;
}

/* 常に表示したい要素 */
.always-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important; /* アニメーションなし */
}

/* 帯や文字のフェードイン（帯＋文字まとめ） */
.fade-in-text2 {
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease, visibility 2s ease;
}

.fade-in-text2.show {
  opacity: 1;
  visibility: visible;
}

.overlay-text.delay {
  opacity: 0;
  transition: opacity 2s ease;
}

.overlay-text.delay.show {
  opacity: 1;
}





:root {
  --content-w: 1000px; /* main-image と同じ幅 */
}

.hero-image-box {
  position: relative;
  display: inline-block; /* 必要なら block に変更 */
}

.hero-image {
  display: flex;       /* 横並びレイアウト */
  justify-content: flex-start; /* 左寄せ */
}

.hero-img {
  width: 100%;
  height: 600px; /* 高さを600pxに */
  object-fit: cover; /* 比率は保って拡大・トリミング */
  object-position: center 40%; /* 上下の表示位置を少し下げる */
  display: block;
}

.hero-image-box {
  width: 100%;
  margin: 0;
  padding: 0;
}

.overlay-text {
  position: absolute;
  top: 45%; /* 画像の高さのちょうど半分 */
  left: 50%; /* 横の中央 */
  transform: translate(-50%, -50%);
  color: white;
  font-size: 40px;
  font-family: 'fot-tsukuardgothic-std', sans-serif;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap; /* 改行を制御したい場合は追加 */
}


:root { 
  --content-w: 1000px;
}

.main-image {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.photo-area img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center 80%; /* 下寄りに表示 */
  display: block;
}

/* 左寄せの背景帯（コンテンツ幅1000px内） */
.color-layer {
  position: absolute;
  left: calc((100% - var(--content-w)) / 2);
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(90, 97, 87, 0.85);
  padding: 20px 40px;
  z-index: 2;
}

/* 中のテキスト */
.overlay-text2 {
  font-size: 3rem;
  color: white;
  line-height: 1.2;
  margin: 0;
}


/* コンテンツ幅内に配置 */
.content-box {
  max-width: var(--content-w);
}

.menu {
  padding: 20px;
  text-align: center;
  margin-top: 200px;
}

.menu-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  margin:0;
  margin-top: 100px;
}

.menu-links img {
  width: 500px;
  height: auto;
}

.right-line {
  text-align: right;
 position:relative;
 overflow: visible;
 width: 100%;
}

.right-line::after {
  display: block!important;
  content:"";
  position: absolute !important;
  bottom: 0 !important;
  right:-10px !important;
  width: 80% !important;
  height: 5px!important;
  background-color: #ffffff!important;
  transform: translateX(-10px)!important;
}

.menu-links2 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  margin-top:100px;
}

.menu-links2 img {
  width: 500px;
  margin-left: 20px;
}

.right-line {
  font-size: 30px;
  position: relative;
  padding-bottom: 8px;
  float: right;
  margin-left: 100px;
}

.left-align{
  text-align:left;
  transform: translateX(-300px);
}

p.right-line::after {
  content:"";
  display: block;
  position: relative;
  right: 0px;
  width: 60%;
  height: 5px;
  background-color: #ffffff;
  transform: translateX(-10px)
}

.right-line.left-align {
  text-align: left;
  transform: translateX(-100px); /* 下線と合わせるために左に移動 */
}

.right-line.left-align::after {
  left: 0;          /* テキストの真下から始める */
  transform: none;  /* 余計なずれを消す */
}


.menu-links3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  margin-top:100px;
}

.menu-links3 img {
  width: 500px;
  height: auto;
}

.right-line {
  text-align: right;
 position:relative;
 overflow: visible;
 width: 100%;
}

.right-line::after {
  display: block!important;
  content:"";
  position: absolute !important;
  bottom: 0 !important;
  right:-10 !important;
  width: 80% !important;
  height: 5px!important;
  background-color: #ffffff!important;
  transform: translateX(-10px)!important;
}


.suspectParent {
  display: block important;
}

.access{
  margin-top: 100px;
}

.access, .news {
  padding: 40px;
  text-align: center;
}

.access img {
  width: 600px;
  height: 550px;
}

.news{
  margin-top: 50px;
}

.information{
  flex-wrap: wrap;
}

.info{
  position: relative;
  display:inline-block;
  font-size: 16px;
}

.info::after {
  content:"";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
}

.past-info{
  text-decoration: underline;
  font-size: 16px;
}

footer nav a {
  margin-left: 0px;
}

footer nav ul{
  list-style: none;
   gap: 20px; /* 任意のpx値に調整 */
}

footer{
  margin-bottom: 0;
}

a,
a:visited,
a:hover,
a:active {
  color: white;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  br.sp-only {
    display: none;
  }
}


/* =========================
   スマホ用スタイル（768px以下）
   ========================= */
@media (max-width: 768px) {

  /* ヘッダー調整 */
  .headerWrap {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
    height: auto;
  }

  .logo img{
    width: 110px;
    height: auto;
    padding-left:0;
  }

  .menuWrap {
    margin-left: 0;
  }

  /* ナビゲーションメニュー全幅化 */

  nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    box-sizing: border-box;
    display: none;
    padding: 0;
}

  .nav-menu a{
    display:block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    overflow-wrap: break-word;
  }

  .nav-menu li a{
    margin: 0;
  }

  /* ヒーロー画像縮小 */
  .hero-img {
    height: 300px;
    object-position: center;
  }
  .overlay-text {
    font-size: 20px;
    top: 50%;
  }

  /* メイン画像（ラテ） */
 .main-image {
  position: relative;
  height: 300px;
}

.photo-area {
  height: 300px; /* .main-imageと合わせる */
  overflow: hidden; /* はみ出した部分を隠す */
}

.photo-area img {
  width: 120%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ったまま埋める */
  object-position: 150% 100%; 
}

.color-layer {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  padding: 10px;
  text-align: center;
  background-color: 5a6157; /* 半透明帯 */
  color: white;
  z-index: 10; /* ← これで画像より前面に */
}

.overlay-text2 {
  font-size: 1.5rem;
}


  /* メニュー3つの並び → 縦並び */

    br.sp-only {
    display: inline;
  }

  .menu{
    margin-top: 100px;
  }

  .menu-links,
  .menu-links2,
  .menu-links3 {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .menu-links img,
  .menu-links2 img,
  .menu-links3 img {
    width: 100%;
    height: auto;
      display: block;     /* 中央寄せのために必要 */
  margin: 0 auto;     /* 左右中央寄せ */
  }

  /* 下線の位置とサイズリセット */
.right-line {
    font-size: 20px;
    padding-bottom: 6px;
    right: 50px;
  }

  .right-line::after {
    right: 30px; /* 見切れ防止で内側にずらす */
    width: calc(100% - 1em); /* 親要素の幅に収める */
    max-width: 100%;
    height: 3px; /* スマホでは少し細く */
  }

.right-line.left-align {
  font-size: 20px;
  padding-bottom: 6px;
  text-align: center;    /* 文字は左寄せ */
  position: relative;     /* 線の基準にする */
}

.right-line.left-align::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100px;               /* 左も30px内側にずらす */
  width: calc(100% - 200px); /* 左右30pxずつ引く */
  height: 3px;
} 

  /* アクセス画像 */
  .access img {
    width: 100%;
    height: auto;
  }

.information{
  text-align:center;
  font-size: 14px;
}

.info a {
  white-space: nowrap;
}

footer {
  width: 100%;
  height: 60px;
  background-color: 5a6157; /* 背景色はお好みで */
}

html, body {
  overflow-x: hidden;
}

footer .headerWrap {
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: space-between; /* 左右に配置 */
  height: 100%;
  padding: 0 10px; /* 右端の見切れ防止 */
  box-sizing: border-box;
}

footer .logo {
  width: 110px;
  height: auto;
  max-height: 100%;
  object-fit: contain; /* 上下切れ防止 */
}

footer nav ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}


}