@charset "UTF-8";
/* CSS Document */
html, body {
  overflow-x: hidden;
}
body{	
font-size:18px;
line-height: 1.5em;
font-family: 'Arial', 'Helvetica', 'Yu Gothic', 'Meiryo', sans-serif;
color: #646464;
font-weight: 300;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

#main {
   display: block;
    unicode-bidi: isolate;
    min-height: calc(100vh - 100px); /* 画面の高さからpadding-top分を引いた高さ */
    height: auto; /* コンテンツに合わせて高さを調整 */
}
@media screen and (max-width: 768px) {
  #main {
    padding-top:50px;
  }
}



/* aの指示 */
a {
  text-decoration: none; /* 下線を消す */
  color: #000; /* 通常時の文字色（黒） */
  cursor: pointer; /* 常に手のマークに */
  transition: color 0.3s; /* 色の変化をなめらかに */
}

a:hover {
  color: orange; /* ホバー時の文字色をオレンジに */
}

a img {
  transition: opacity 0.3s;
}

a:hover img {
  opacity: 0.5;
}
/* aの指示 */





/*トップへ戻るボタン*/
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #FFA500; /* オレンジ色に変更！ */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  opacity: 0.6;
  transition: all 0.3s ease;
  z-index: 9999;
}

.pagetop:hover {
  opacity: 1;
  background: #FFB733; /* 少し明るいオレンジに！ */
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/*トップへ戻るボタン*/


/* logo */
#header-title {
	position: fixed;
	top: 3%; /* ← 左と上をそろえるため、topを3%に */
	left: 3%; /* ← leftも3%に */
	height: auto;
	bottom: auto;
	float: left;
	max-width: 100%;
	margin: 0; /* ← 余計なマージンをゼロに */
	z-index: 1000;
	transition: top 0.3s ease, left 0.3s ease;
}

#header-title img {
	width: 30vw; /* PC時：画面幅の30% */
	height: auto;
	max-width: 100%;
	transition: all 0.3s ease;
}

/* スクロール時に付くfixedクラス用（PC用だけ） */
#header-title img.fixed {
	width: 250px;
}

/* スマホ用調整 */
@media screen and (max-width: 768px) {
	#header-title {
		top: 3%; /* ← スマホもtopとleftを同じに */
		left: 3%;
		margin: 0;
	}
	#header-title img {
		width: 220px; /* スマホ通常時 */
		max-width: 100%;
	}
	#header-title img.fixed {
		width: 180px; /* スクロールしてもスマホは固定サイズ */
	}
}
/* logo */






/* start */
.header-bg {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

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

.slide-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.slider-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}


/* end */



/* catch */
.catch-copy {
  display: none;
  font-size: 2vw; /* ビューポート幅に応じたサイズ */
  line-height: 1.6;
  position: absolute;
  top: 25%;
  left: 15%;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .catch-copy {
   display: none;
  }
}

/* catch */


/* H2 */
h2 {
    text-align: center;
    color: #287E3A;
    font-family: "Noto Serif JP", serif;
    font-weight: 300; /* 細くする */
    letter-spacing: 0.1em; /* 文字の間隔を開ける */
    position: relative;
    margin: 0 0 25px;
    transition-delay: 0.4s;
    
  font-size: 2rem;
}

.lined-heading {
  display: flex;
  align-items: center;
  text-align: center;
  color: #287E3A;
}

.lined-heading::before,
.lined-heading::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #287E3A;
  margin: 0 1em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    h2 {
       margin: 0 0 10px;
       font-size: 1.3rem; /* スマホでは文字サイズを小さく */
        line-height: 1.5em;
       

    }
     .lined-heading {
        
  }

  .lined-heading::before,
  .lined-heading::after {
    margin: 0 0.1em;
  }
    
    
}


/* ライン付き見出しTOP */
.lined-heading-top {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #287E3A;
  max-width: 1000px;
  margin: 0 auto;
}

.lined-heading-top::before,
.lined-heading-top::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #287E3A;
  margin: 0 1em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    h2 {
        margin: 0 0 10px;
    }

    .lined-heading-top::before,
    .lined-heading-top::after {
        margin: 0 0.5em;
    }
}
/* ライン付き見出しTOP */


/* H2 */

/* BOX-A */
.box-a {
  background-color: #FFFAED;
  background-image: url("../image/top-about.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 1600px auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;
}

/* アニメーション設定 */
@keyframes fadeInBackground {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.box-a .inner {
  position: relative;
  z-index: 10;
  width: 600px;
  margin: 0 auto;
  transition-delay: 0.4s;
}

.box-a-image {
  float: left;
  width: 40%;
}

.box-a-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2em;
  line-height: 1.5em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .box-a-text {
    font-size: 0.8em; /* スマホでは文字サイズを少し小さく */
    line-height: 1.6em; /* 行間も少し調整 */
  }
}



@keyframes float {
  0% {
    transform: translate(150px, 200px) translateY(0);
  }
  50% {
    transform: translate(150px, 200px) translateY(-15px);
  }
  100% {
    transform: translate(150px, 200px) translateY(0);
  }
}

.more-btn {
  position: absolute;
  right:30%;
  top: 50%;
  width: 200px;
  height: auto;
  animation: float 2s ease-in-out infinite; /* ふわふわ動くアニメーション */
}
img[src*="more.png"]:hover {
  opacity: 0.7; /* 70%の透明度にする（薄く） */
}

 


/* スマホ用 背景画像切り替え */
@media screen and (max-width: 768px) {
  .box-a {
    background-image: url("../image/top-about-sm.png");
    background-size: cover; /* スマホは画面いっぱいに広げる */
  }
}
@media screen and (max-width: 768px) {
  .more-btn {
  width: 30%;
  position: absolute;
  right:50%;
  top: 30%;
  height: auto;
  
 
}
}

@media screen and (max-width: 768px) {
  .box-a .inner {
    padding: 0 5%; /* スマホのとき左右5%ずつ内側に余白 */
    width: auto; /* 固定幅600pxを解除してスマホに合わせる */
  }
}


/* BOX-A */


/*ボックスB*/
.box-b {
    background-color: rgba(255, 250, 237, 0.8); /* 背景色を薄くする */
  background-image: url('../image/box-b-back.jpeg'); /* 背景画像を追加 */
  background-position: center center; /* 中央に配置 */
  background-repeat: no-repeat; /* リピートしない */
  background-size: cover; /* 画像が上下左右いっぱいに広がる */
  background-attachment: fixed; /* 背景画像をスクロールしても固定 */
  
  /* ここをflexじゃなくblockに！ */
  display: block;
  position: relative;
  
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;

  padding: 5% 0; /* 上下に余白を追加 */
}

/* 中のinnerだけをflexで中央寄せ */
.box-b .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;
  
}

.box-b ul{
  list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.box-b li img{
width: 100%;
}

.box-b ul li {
  list-style: none;
width: 30%;
	padding: 0%;
	float: left;
}

.s_title{
	margin-bottom: 0px;
	margin-top: 20px;
	font-weight: bold;
    text-align: center;
    font-size: 1.3rem;
}


@media screen and (max-width: 768px) {
	.box-b .inner{
	width: auto;
	margin: 0 30px 0 30px;
        
}
.box-b ul li {
  list-style: none;
width: 45%;
	padding: 0%;
	float: left;
}	
}

@media screen and (max-width: 768px) {
  .box-b .inner {
    width: auto;
    margin: 0 20px;
  }

  .box-b ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .box-b ul li {
    width: 45%;
    list-style: none;
    padding: 0;
    margin: 0 2.5% 0px; /* 下にも少し間隔あける */
    text-align: center;
    float: none;
  }

  .box-b ul li img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
  }

  .s_title {
    font-size: 1rem;
    margin: 0;
  }

  /* 1個目の<li>（b-01.png）だけセンターに */
  .box-b ul li:first-child {
    margin-left: auto;
    margin-right: auto;
  }
}

/*ボックスB*/


/*ボックスC*/
.box-c {
  background-color: #FFFAED;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 1600px auto;
  
  /* ここをflexじゃなくblockに！ */
  display: block; 
  position: relative;
  
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;
        padding: 5% 0; /* ←これを追加！ */

}

/* 中のinnerだけをflexで中央寄せ */
.box-c .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;


}
.container {
max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 0px 20px; /* 上下左右に余白を追加 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center; /* 水平方向に中央揃え */
  justify-content: flex-start; /* 垂直方向に上揃え */
  gap: 15px; /* アイテム間の間隔 */
}

.container .item {
  width: 100%; /* 幅を100%にして可変 */
  max-width: 1000px; /* 最大横幅を800pxに設定 */
  text-align: center; /* 画像を中央に配置 */

}

.container img {
  width: 100%; /* 画像を可変に */
  height: auto; /* アスペクト比を保持 */
  max-width: 1000px; /* 最大横幅を800pxに設定 */
  /* border-radius: 10px; 任意で角を丸くする */
}

@media screen and (min-width: 600px) {
  .container {
    flex-direction: column; /* ここで縦並びに強制する */
  }
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 2.5px; /* スマホ用のアイテム間の間隔 */
      
      padding: 0px 20px 0px 20px; /* 上下左右に余白を追加 */
  }
}


@media screen and (max-width: 840px) {
	.box-c .inner{
	width: auto;
	margin: 0 0px 0 0px;
}
	
}
/*ボックスC*/



/*ボックスD*/
.box-d {
  background-color: rgba(255, 250, 237, 0.8); /* 背景色を薄くする */
  background-image: url('../image/box-d-background.jpg'); /* 背景画像を追加 */
  background-position: center center; /* 中央に配置 */
  background-repeat: no-repeat; /* リピートしない */
  background-size: cover; /* 画像が上下左右いっぱいに広がる */
  background-attachment: fixed; /* 背景画像をスクロールしても固定 */
  
  /* ここをflexじゃなくblockに！ */
  display: block;
  position: relative;
  
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;

  padding: 5% 0; /* 上下に余白を追加 */
}

/* 中のinnerだけをflexで中央寄せ */
.box-d .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;

}

/* 基本のスタイル */
.image-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 0px 0;
  flex-wrap: wrap; /* アイテムが画面幅に収まらない場合に折り返しを許可 */
}

.image-container a {
  flex: 1;
  margin-right: 30px;
}

.image-container a:last-child {
  margin-right: 0;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: opacity 0.3s; /* ←ホバー用アニメーション */
}

.image-container img:hover {
  opacity: 0.6; /* ←マウスを乗せた時に薄くする */
}

/* スマホ用レスポンシブ */
@media (max-width: 768px) {
  .box-d .inner {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .image-container {
    padding: 0px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .image-container a {
    margin-right: 15px;
  }

  .image-container a:last-child {
    margin-right: 0;
  }

  .image-container img {
    max-width: 100%;
  }
}







/*ボックスD*/



/*ボックスE*/
.box-e {
  background-color: #FFFAED;
  background-position: center top; /* 上部に合わせて配置 */
  background-repeat: no-repeat; /* リピートしない */
  background-size: 100% auto; /* 横幅いっぱいに画像を広げる */
  
  /* ここをflexじゃなくblockに！ */
  display: block; 
  position: relative;
  
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;
   padding: 5% 0;
}


/* 中のinnerだけをflexで中央寄せ */
.box-e .inner {
  display: flex;
  align-items: center;
  justify-content: center;
   max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;
}
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%; /* 横いっぱいに */
}

.notice-list li {
  width: 100%; /* 横いっぱいに */
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
  display: flex;
  align-items: center;
  box-sizing: border-box; /* padding込みでwidth100%を守る */
}

.notice-list li .date {
  width: 120px; /* 日付部分は少し広めに */
  color: #666;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0; /* 日付部分を縮めない */
}
@media screen and (max-width: 768px) {
  .box-e .inner {
    padding: 0 20px; /* innerに左右20pxの余白をつける */
    box-sizing: border-box;
  }

  .notice-list {
    width: 100%;
    box-sizing: border-box; /* はみ出し防止のため */
  }
}

/*ボックスE*/


/*ボックスF*/
.box-f {
  background-color: #EFEFEF;
  background-position: center top; /* 上部に合わせて配置 */
  background-repeat: no-repeat; /* リピートしない */
  background-size: 100% auto; /* 横幅いっぱいに画像を広げる */
  
  /* ここをflexじゃなくblockに！ */
  display: block; 
  position: relative;
  
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;
  padding: 5% 0;
}


/* 中のinnerだけをflexで中央寄せ */
.box-f .inner {
  display: flex;
  align-items: center;
  justify-content: center;
   max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;
}

.faq-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    display: block; /* Ensure each FAQ is displayed in a vertical stack */
}

.faq h2 {
    font-size: 1rem;
    line-height: 1.6;
    color: #e66000;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Alternating background colors for each FAQ */
.faq:nth-child(odd) {
    background-color: #FFFAED;
}

.faq:nth-child(even) {
    background-color: #f9f9f9;
}

/* Add padding and subtle shadow to the container */
.faq-container {
    padding: 20px;
}

/* Make h2 bold and more prominent */
.faq h2 {
    color: #287E3A;
}

/* Enhance the paragraph text */
.faq p {
    color: #555;
}

@media screen and (max-width: 768px) {
  .box-f .inner {
    padding: 0 20px; /* inner全体に左右20pxの余白 */
    box-sizing: border-box;
  }

  .faq-container {
    width: 100%;       /* 横幅いっぱいに */
    max-width: 100%;   /* maxも100%に */
    margin: 0 auto;    /* 中央揃え */
    padding: 20px;     /* 中の余白はそのまま */
    box-sizing: border-box; /* はみ出さないように */
  }
}



/*ボックスF*/


/*ボックスG*/
.box-g {
  background-color: #FFFAED;
  background-position: center top; /* 上部に合わせて配置 */
  background-repeat: no-repeat; /* リピートしない */
  background-size: 100% auto; /* 横幅いっぱいに画像を広げる */
  display: block; 
  position: relative;
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;
  padding: 5% 0;
}

/* 中のinnerだけをflexで中央寄せ */
.box-g .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;
  border: none;
}

.number-grid {
  box-sizing: border-box;
  max-width: 1000px;
  width: 100%;
  height: 500px;
  margin: 0 auto;
  background-color: #FFF1E6; /* 背景を薄いオレンジに */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.number-cell {
  font-family: "serif";
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #e66000; /* 文字色をオレンジに */
  font-size: 26px;
  padding: 0; /* デフォルトは余白なし（画像用） */
}

/* 画像の設定 */
.number-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
}

/* 文字のセルだけ余白を付ける */
.number1, .number4 {
  padding: 20px;
}

.number1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.number2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.number3 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.number4 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* スマホ用レスポンシブ設定 */
@media screen and (max-width: 768px) {
  .number-cell {
    font-size: 1rem;     /* スマホ時の文字サイズ */
    line-height: 1.6;    /* スマホ時の行間 */
  }

  .number1, .number4 {
    padding: 10px;       /* スマホ時の余白調整 */
  }
}



/*ボックスH*/
.box-h {
  background-color: #EFEFEF;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  display: block;
  position: relative;
  opacity: 0;
  animation: fadeInBackground 2s ease forwards;
  padding: 5% 0;
}

/* 中のinnerだけをflexで中央寄せ */
.box-h .inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transition-delay: 0.4s;
  border: none;
}

.orange-box {
  background-color: white;
  border: 2px solid orange;
  padding: 40px;
  margin: 10px;
  flex: 1;
  max-width: 480px;
  text-align: center;
  font-size: 1rem;
  box-sizing: border-box;
}

.orange-box h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: orange;
}

.orange-box p {
  font-size: 1rem;
  color: #333;
}

@media screen and (max-width: 768px) {
  .box-h .inner {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .orange-box {
    max-width: 100%;
    width: 100%;
    margin: 10px 0;
    box-sizing: border-box;
  }

  .orange-box h3 {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .orange-box p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }
}


.orange-box-btn {
  display: inline-block;
  background-color: #FFA726;  /* オレンジ色 */
  color: #fff;                 /* 白文字 */
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時のスタイル */
.orange-box-btn:hover {
  background-color: #FB8C00;
  color: #fff;
}

/*BOX-H*/



/*フッター*/


footer{

height: auto;
}

.navi_footer{
	margin-bottom: 50px;
}
footer{
text-align: center;
}





.inline-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  padding: 20px 0;
  background-color: #f9f9f9; /* 背景をほんのり白っぽく */
  border-top: 1px solid #eee; /* 上に薄い線を引く */
}





