@charset "UTF-8";



/*共通部分
------------------------------- */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    height: 100%;
    width: 100%;
}
body{
    font-size: 1.6rem;
    font-family:"Zen Maru Gothic", sans-serif;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 1.3px;
    color: #0B241C;
}
@media screen and (max-width: 768px) {/* 768px以下*/
  body {
      font-size: 1.4rem;/*14px*/
      line-height: 1.8;
      letter-spacing: 1px;
  }
}
a {
    text-decoration: none;
    color:inherit
}
a:hover {
    opacity: 0.8;
    transition: 0.3s;
}
img {
    max-width: 100%;
    vertical-align:top;
}
table {
    width: 100%;
}
.wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 3%;
}
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}
hr {
  display: none;
}


/* 調整用スタイル */
ul,
li {
  list-style: none;
}

/*スマホだけ改行（brにclassを付与して使用する）*/
.br-sp{ display: none; }
@media screen and (max-width: 767px) {
  .br-sp{ display: block; }
}

/*PCだけ改行*/
.br-pc{ display: block; }
@media screen and (max-width: 767px) {
  .br-pc{ display: none; }
}

/*ページ内リンク　位置調整*/
.jump::before{
  content:'';
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
.jump::before{
  content:'';
  display: block;
  padding-top: 100px;
  margin-top: -100px;
}
}

/*お問い合わせ>メールアドレス画像*/
.mail-img{
  width: 180px;
}
@media screen and (max-width: 640px) {/* 640px以下*/
  .mail-img{
    width: 140px;
  }
}


/*
スクロールに沿って、ふわっと表示
------------------------------- */

/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

/*----------------------------
scroll_left ｜左から出現
----------------------------*/
.scroll_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}
/*----------------------------
scroll_right ｜右から出現
----------------------------*/
.scroll_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}


/* ボタン
------------------------------- */
.btn,
a.btn,
button.btn {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 15px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 15px;
  width: 270px;
}
.btn-blk{
    margin: 3% 0 5%;
}

/* お問い合わせボタン */
a.btn_contact {
  display: block;
  max-width: 460px;
  margin: 0 auto;
  padding: 2rem 3rem;
  background-color: #fabf1c;
  border-radius: 10px;
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.3s;
  color: #000;
  letter-spacing: 3px;
  font-size: 2rem;
  text-align: center;
  opacity: 1;
}
a.btn_contact:hover{
  background-color: #1D347D;
  color: #FFF2CE;
  transition: 0.3s;
}

/* 佐用町昆虫館とは ボタン */
a.btn_more-2 {
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 2rem 3rem;
  background-color: #069740;
  border-radius: 50px;
  box-sizing: border-box;
  text-decoration: none;
  transition: 0.3s;
  color: #fff;
  letter-spacing: 3px;
  font-size: 1.6rem;
}
a.btn_more-2:hover {
  background-color: #055c28;
  opacity: 1;
}
.arrow-2{
	position: relative;
	display: inline-block;
	padding: 0 0 0 16px;
	vertical-align: middle;
	text-decoration: none;
}
.arrow-2::before,
.arrow-2::after{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}
.arrow-obj-2::before{
	left: 250px;
	width: 7px;
	height: 1px;
	background: #fff;
}
.arrow-obj-2::after{
	left: 250px;
	width: 6px;
	height: 6px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.arrow-obj-2:hover::before{
	background: #B9DBA0;
}
.arrow-obj-2:hover::after{
	border-top: 1px solid #B9DBA0;
	border-right: 1px solid #B9DBA0;
}


/* header
------------------------------- */
.header-area {
  width: 100%;
  height: 70px;
  box-sizing: border-box;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  box-shadow: 5px 5px 10px #9c865b17;
}
.header-area-in {
  display:flex;
  justify-content :space-between;
  padding: 10px 2% 10px;
  position: relative;
}
.pc__nav{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-main {
  width: 175px;
}
.header-main .logo img {
  width: 100%;
}
.header-sub {
  display:none;
}
#gnavi ul.gnavi__lists {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
}
#gnavi ul.gnavi__lists li.gnavi__list a.gnavi-list__link{
  display: block;
  font-weight: 700;
  line-height: 1;
  color: #13358b;
  text-decoration: none;
}
.header-sub-access {
  display: block;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  position: relative;
  padding-top: 45px;
  margin: 0 0 0 20px;
  border-left: 1px solid #c8c8c8;
  padding-left: 15px;
}
.header-sub-access a{
  display: block;
  font-weight: 700;
  line-height: 1;
  color: #13358b;
  text-decoration: none;
}
.header-sub-access a::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 10px;
  left: calc(50% - 5px);
  z-index: 10;
  transition: all .3s;
  background-image: url(../images/icon-map.png);
  background-repeat: no-repeat;
  background-size: contain;
}


@media screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  .header-area {
    height: 100px;
    padding-left: 10px;
  }
  .header-area-in {
    padding:20px;
  }
  .header-main {
    width: 287px;
  }
}

@media print, screen and (min-width: 960px) {/*--960pxより大きい場合-- */
  .header-area-in {
    display:block;
    justify-content:initial;
    padding:0;
  }
  .header-sub {
    width: 994px;
    height: 100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 15px;
    margin-right: 15px;
  }
}



/* sp__menu（スマホ版） */
.sp__nav {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fccd3d;
  transition: ease .4s;
	z-index:200;
  box-shadow: 0px 5px 10px 0px rgba(112, 110, 100, 0.21);
  overflow-y: auto;                 /* SPmenu内スクロール */
  -webkit-overflow-scrolling: touch;
}
.spmenu{
  padding: 70px 5%;
}
@media screen and (min-width: 767px) {
	.sp__nav {
		left: 50%;
		width: 50%;
	}
}
@media print, screen and (min-width: 960px) {
	.sp__nav {
		display:none;
	}
}

/* sp__menu inner */
.spmenu--menu_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-bottom: 1rem;
}
.spmenu--menu_item a {
  width: 100%;
  padding: 13px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1b347d;
  text-align: left;
  line-height: 1.4;
  background-color: #f9f9f9;
    border-radius: 5px;
  box-sizing: border-box;
  text-decoration: none;
}

/* ▼ アイコン */
.spmenu--menu_item a::before {
  content: "";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.spmenu--menu_banner{
  display: grid;
  gap:10px;
  margin-bottom: 1rem;
}

/* 補助リンクエリア */
.spmenu--menu_list-faq {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
.spmenu--menu_faq {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.spmenu--menu_faq a {
  display: block;
  padding: 10px 4px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1b347d;
  text-decoration: none;
  position: relative;
}

/* 小さな矢印 */
.spmenu--menu_faq a::after {
  content: "›";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  opacity: 0.6;
}
/* タップアニメーション */
.spmenu--menu_item a {
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.spmenu--menu_item a:active {
  transform: scale(0.96);
  box-shadow: 0 2px 0 rgba(0,0,0,0.15) inset;
}


/* ハンバーガーメニュー */
.header__hamburger {
  width: 40px;
  height: 100%;
}
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
	margin-top: 5px;
}

@media print, screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1.5px;
  background-color: #152c86;
  position: relative;
  transition: ease .4s;
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  margin: 8px 0;
}
.hamburger span:nth-child(3) {
  top: 0;
}
.hamburger p {
	font-family: 'Outfit', sans-serif;
	font-weight:600;
	color:#152c86;
	margin-top:7px;
}


/* ハンバーガーメニュークリック後のスタイル */
.sp__nav.active {
  transform: translateX(0);
}
.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}




/*  main image 
------------------------------- */
#main_visual {
  position: relative;
  background: #FAC11B;
  overflow: hidden;
}
.visual-wrapper {
  position: relative;
  margin: 0 auto;
  border-radius: 0 5em 0 0;
}
.main_v {
  padding: 25% 10% 10% 0;
  position: relative;
}
.main_img img {
  width: 100%;
  height: 70vh;
  max-height: 100%;
  border-radius: 0 15em 0 0;
  object-fit: cover;
}
.main_v-tips {
  position: absolute;
  top: 100px;
  right: 10px;
  width: 50%;
}
.main_v-tips2 {
  position: absolute;
  top: 45%;
  right: 0;
  left: 0;
  width: 70%;
  margin: 0 auto;
  filter: drop-shadow(0 0 0.7rem #BE6710);
  z-index: 1;
}
.main_info {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1em;
}
.main_info .info1 {
  display: none;
}
.main_info .info2 {
  margin: 0 auto;
  width: 300px;
  display: flex;
  justify-content: center;
}
.main_info .imfo2 img {
  width: 100%;
  height: auto;
}


/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .main_v {
    padding: 15% 10% 2% 0;
  }
  .main_img img {
    height: 80vh;
  }
  .main_v-tips {
    top: 140px;
    right: 10px;
    width: 40%;
  }
  .main_v-tips2 {
    position: absolute;
    top: 40%;
    right: 20px;
    left: auto;
    width: 50%;
    margin: 0;
  }
  .main_info {
    right: 20px;
    left: auto;
    width: 50%;
    justify-content: flex-start;
  }
  .main_info .info1 {
    display: block;
  }
  .main_info .info2 {
    width: auto;
    margin: 0;
  }
}

/* 画面幅 1280px 以上 */
@media screen and (min-width: 1280px) {
  .main_v {
    padding: 10% 10% 2% 0;
  }
  .main_info {
    width: 30%;
  }
  .main_v-tips {
    width: 25%;
  }
  .main_v-tips2 {
    width: 30%;
  }
}


/* season-info（開館／冬期休館）
------------------------------- */
/* 

#season-info{
  display: none;
}
  
*/

.season {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: #f5f0f0;
  margin-top: 3%;
  border-radius: 10px;
}
.s-txt {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1b347d;
  margin-bottom: 1rem;
}
.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
}
.c-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d93a0a;
  font-weight: 800;
  font-size: 2rem;
  background-color: #fff;
  padding: 0.4em 0.6em;
  border-radius: 50px;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
}

/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .season {
    padding: 2rem 0;
  }
  .s-txt {
    font-size: 2.3rem;
  }
  .countdown {
    font-size: 2.5rem;
    gap: 0.8rem;
  }
  .c-num {
    font-size: 3rem;
    padding: 0.4em 0.8em;
  }
}



/*  top menu
------------------------------- */
.menu-container {
  margin: 6% 0;
}
.menu_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  margin: 0 0 2%;
  list-style: none;
}

.menu_item {
  display: flex;
}

.menu_item a {
  width: 100%;
  background-color: #fdf5dd;
  border: 7px solid #fccd3d;
  border-radius: 10px;

  padding: 18px 12px;
  min-height: 110px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 1.8rem;
  font-weight: bold;
  color: #1b347d;
  text-align: center;
  text-decoration: none;

  box-sizing: border-box;
  line-height: 1.5;
  transition: transform 0.2s ease;
}

/* アイコン */
.menu_item a::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 各アイコン */
.item1::before { background-image: url(../images/icon-guide.png); }
.item2::before { background-image: url(../images/icon-display.png); }
.item3::before { background-image: url(../images/icon-ikimono.png); }
.item4::before { background-image: url(../images/icon-map.png); }
.item5::before { background-image: url(../images/icon-activities.png); }

/* バナー */
.menu_banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 3rem 0 6rem;
}


/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .menu_list {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  /* 上段（2列） */
  .menu_item:nth-child(1),
  .menu_item:nth-child(2) {
    grid-column: span 3;
  }
  /* 下段（3列） */
  .menu_item:nth-child(3),
  .menu_item:nth-child(4),
  .menu_item:nth-child(5) {
    grid-column: span 2;
  }
  .menu_item a {
    border: 10px solid #fccd3d;
    border-radius: 20px;
    padding: 28px 16px;
    font-size: 2.3rem;
    min-height: auto;
    line-height: 1.6;
  }
  .menu_item a:hover {
    transform: translateY(-4px);
  }
  .menu_banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}



/*  prologue
------------------------------- */
#prologue{
  background-color: #fbf9e6;
}
.prologue-wrapper{
  margin: 0 auto;
  padding: 0 3%;
  overflow: hidden;
}
.prologue-ttl_bl{
  font-family:"Zen Kaku Gothic New", sans-serif;
  text-align: center;
  padding: 12% 0 5%;
}
.pb-content{
  position: relative;
  text-align: left;
  font-weight: 600;
}
.pb-content h2{
  font-size: 2.2rem;
  line-height: normal;
  margin-bottom: 30px;
  position: relative;
  z-index: 2; 
}
.pb-content h2::after{
  content: "";
  top: -32px;
  right: -95px;
  display: block;
  width: 210px;
  height: 175px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../images/insect-sp.png);
  position: absolute;
  z-index: -1; 
}
.pb-content p{
  font-size: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: normal;
  line-height: 2.2;
  z-index: 2;
}
.pl-left{
  display: none;
}
.pl-right{
  display: none;
}
.prologue-img{
  padding-bottom: 5%;
}

/* 画面幅 640px 以上 */
@media screen and (min-width: 640px) {
  .pb-content h2{
    font-size: 3rem;
  }
}

/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .pb-content{
    display: inline-block;
  }
  .pb-content h2{
    font-size: 5rem;
  }
  .pb-content h2::after{
    display: none;
  }
  .pb-content p{
    font-size: 1.8rem;
  }
  .pl-left{
    display: block;
    position: absolute;
    top: -20%;
    left: -40%;
    width: 40%;
  }
  .pl-right{
    display: block;
    position: absolute;
    top: -20%;
    right: -35%;
    width: 35%;
  }
}


.example-blk{
  padding: 3% 0 10%;
}
.ex-ttl-blk{
  text-align: center;
  margin: 2rem 0 2rem;
}
h3.example-ttl{
  font-size: 2rem;
}
h3.example-ttl::before{
    content: "";
    display: block;
    width: 130px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 8px;
    background-image: url(../images/ex-ttl-content.png);
    margin: 0 auto;
}
.ex-bl{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.e-c img{
  border-radius: 30px;
}
.e-c h4{
  font-size: 2rem;
  color: #143488;
  text-align: center;
  margin: 10px 0;
}

/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .ex-ttl-blk{
    margin: 2rem 0 5rem;
  }
  h3.example-ttl{
    font-size: 3rem;
  }
  .ex-bl{
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
  }
  h3.example-ttl::before{
      width: 250px;
      height: 150px;
  }
  .e-c h4{
    font-size: 2.5rem;
    margin: 15px 0;
  }
}



/* livecamera
------------------------------- */
#livecamera {
  background-color: #fabf1c;
  padding: 5% 0;
  text-align: center;
}
.contents_ttl{
  margin-bottom: 6%;
}
.contents_ttl h3{
  font-size: 2.8rem;
  line-height: normal;
  color: #1D347D;
  position: relative;
  text-align: center;
}
.contents_ttl h3::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 8px;
  background-image: url(../images/icon-livecamera.png);
  margin: 0 auto;
}
.contents_ttl p{
  font-size: 1.6rem;
}
.livecamera-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.2rem;
  background: #fff;
  border-radius: 30px;
  font-weight: 700;
}
.livecamera-clock::before {
  content: "LIVE";
  background: #e60012;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.livecamera-info {
  margin: 1.5rem 0;
}
.livecamera-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.livecamera-youtube {
  margin-top: 2rem;
}
.lb-river{
  margin: 2rem 0 0;
}
.lb-river a{
  color: #0f5b93;
  font-weight: 600;
  border-bottom: 1px solid #0f5b93;
}


/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .contents_ttl h3{
    font-size: 4rem;
  }
  .contents_ttl p{
    font-size: 1.9rem;
  }
}

/* --GoogMAP・YouTubeレスポンシブ-- */
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* top-faq
------------------------------- */
#faq{
  padding: 7% 0;
}
.faq-bl{
  margin-bottom: 15px;
}
p.question {
  cursor: pointer;
  background: #f9f7ed;
  border-radius: 50px;
  padding: 1rem 2rem;
  border-bottom: 4px solid #a4c5d5;
}
p.answer {
  display: none;
  background: #ecf1f4;
  padding: 1rem 2rem;
  margin-top: 10px;
  border-radius: 10px;
}
p.indent {
  padding-left: 2em;
  text-indent: -1em;
}


/* top-link
------------------------------- */
#top-link{
  padding: 4% 0;
  background-color: #e4f2f6;
}
.link-blk{
  text-align: center;
}
.link-blk a{
  margin-bottom: 60px;
}
.link-blk img{
    width: 175px;
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 0.8rem 1rem;
    background-color: #fff;
}
.link-blk p{
  font-size: 1.3rem;
}

/* 画面幅 768px 以上 */
@media screen and (min-width: 768px) {
  .link-blk img{
    width: 250px;
  }
}


/* footer
------------------------------- */
.page-footer {
  background-color: #FBF9E6;
  color: #000;
  padding: 10% 0;
}
.okuduke{
  display: block;
  justify-content: space-between;
}
.f_logo{
  max-width: 175px;
  margin-bottom: 15px;
}
.f_add p{
  line-height: normal;
}
.f_menu{
  margin-left: initial;
  width: initial;
  margin-top: 25px;
}
.f_menu ul{
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.f_menu ul li{
  padding: 0 20px 0 0;
  box-sizing: border-box;
  margin-bottom: 5px;
}
.small {
  text-align: center;
  color: #13358b;
  font-weight: 600;
  margin-top: 5%;
  padding-top: 10px;
  border-top: 1px solid #cacaca;
}
.small p{
  font-size: 1.2rem;
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  .page-footer {
    padding: 5% 0;
  }
  .okuduke{
    display: flex;
  }
  .f_logo{
    max-width: 300px;
  }
  .keisen{
    margin-bottom: 3%;
  }
  .f_menu{
    margin-left: 30px;
    width: 50%;
    margin-top: initial;
  }
  .f_menu ul li{
    margin-bottom: 10px;
    font-size: 1.4rem;
    padding: 0 15px;
    box-sizing: border-box;
  }

}


/* page
------------------------------- */
.main_contents{
  margin-top: 40px;
  margin-bottom: 50px;
}
a.b-banner img{
  width:100%;
  margin-top: 15px;
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  .main_contents{
    margin-top: 70px;
    margin-bottom: 90px;
  }
  a.b-banner img{
    max-width: 500px;
  }
}

/* page-title */
#page_title{
  padding-top: 70px;
}
.page_title_block{
  padding:10% 0;
  text-align: center;
  background: #FAC01B;
}
.page_title_block h2{
  font-size: 2.5rem;
  color: #3C3C3C;
  font-weight: 600;
  letter-spacing: 2px;
}


/* 作成用パーツ
------------------------------- */

/* 情報のまとまりブロック */
.Contents-bl{
  margin-top: 5%;
  margin-bottom: 2rem;
}

/* 大タイトル */
.C_h3_bl{
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 2rem;
  border-bottom: 1px solid #B5B5B5;
  padding: 5px 0;
  color: #13358b;
}
/* 中タイトル */
.C_h4_bl{
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 1.8rem;
  background-color: #fff2ce;
  padding: 5px 10px;
}
/* 小タイトル */
.C_h5_bl{
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: #644529;
  font-size: 1.8rem;
  border-left: 3px solid #fac01b;
  padding: 0 10px;
  line-height: normal;
}
/* 文字強調（サイズ大・文字色赤） */
.C_p_st{
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.C_p_st span{
  color: #DE2C0C;
}
/* リンク色 */
a.C_link{
  color: #F47D05;
  border-bottom:1px solid #F47D05;
}
a.C_link2{
  color: #13358b;
}
/* 画像2列ブロック（SP：1列） */
.C_img_list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
/* 注意事項（文字色赤） */
.attention{
  color: #de2c0c;
  font-weight: 600;
  margin-top: 1rem;
}
/* 書類DLアイコン（PDF・Word・Excel）*/
.PDF-Link{
  font-size: 1.3rem;
  font-weight: 500;
  color: #5a1b1b;
}
.PDF-Link::before{
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url(../images/pdf.png) no-repeat;
  background-size: contain;
  margin-right: 5px;
  vertical-align: top;
  margin-bottom: 15px;
}

.Word-Link{
  font-size: 1.3rem;
  font-weight: 500;
  color: #5a1b1b;
}
.Word-Link::before{
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url(../images/word.png) no-repeat;
  background-size: contain;
  margin-right: 5px;
  vertical-align: top;
  margin-bottom: 15px;
}

.Excel-Link{
  font-size: 1.3rem;
  font-weight: 500;
  color: #5a1b1b;
}
.Excel-Link::before{
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url(../images/excel.png) no-repeat;
  background-size: contain;
  margin-right: 5px;
  vertical-align: top;
  margin-bottom: 15px;
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  .PDF-Link,
  .Word-Link,
  .Excel-Link {
    font-size: 1.5rem;
  }
  .PDF-Link::before,
  .Word-Link::before,
  .Excel-Link::before {
    width: 30px;
    height: 30px;
  }
}


/* 施設と展示
------------------------------- */
.Pho_img_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 21px;
  margin: 2.5rem 0;
}
.Pho_img_list h5{
  font-size: 1.6rem;
  margin:10px 0;
}
.Pho_img_list p{
  font-size: 1.3rem;
  line-height: 1.7;
  text-align: justify;
  letter-spacing: normal;
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  .Pho_img_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 21px;
  }
  .Pho_img_list p{
    font-size: 1.4rem;
  }
}


/* 昆虫館の生きものたち
------------------------------- */
.living_thing_img_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}
.living_thing_img_list li{
  font-size: 1.3rem;
  letter-spacing: normal;
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  .living_thing_img_list {
    grid-template-columns: repeat(4, 1fr);
    gap: 21px;
  }
  .living_thing_img_list li{
    font-size: 1.5rem;
  }
}


/* 佐用町昆虫館とは
------------------------------- */
.history_bk{
  background-color:#EDF0F8;
  margin-top: 3rem;
}
.history_list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 4% 4%;
}
.history_img {
  width: 100%;
}
.history_img img{
  margin-top: 10px;
}
.history_text h4{
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #13358b;
}
.history_text p{
  font-size: 1.3rem;
  line-height: 1.7;
  text-align: justify;
}
/* 文字サイズ小 */
.txt-small{
  font-size: 1rem !important;
  margin-top: 15px;
  letter-spacing: normal;
  border-top: 1px solid #d0d7ea;
  border-bottom: 1px solid #d0d7ea;
  padding: 15px 0;
}

@media (min-width: 768px) {
  .history_list {
    flex-direction: row;
    align-items: flex-start;
    gap: 3%;
  }
  .history_img {
    flex-shrink: 0;
    width: 40%;
  }
  .history_text p{
    font-size: 1.4rem;
  }
}

@media print, screen and (min-width: 768px) {/*--768pxより大きい場合-- */
  #page_title{
    padding-top: 100px;
  }
  .page_title_block{
    padding:5% 0;
  }
  .page_title_block h2{
    font-size: 3.5rem;
    letter-spacing: 7px;
  }
  .C_h3_bl{
    font-size: 2.5rem;
  }
  .C_p_st{
    font-size: 2rem;
  }
  .C_img_list {
    grid-template-columns: repeat(2, 1fr); /* PC：2列 */
  }
}


/* バックナンバーアーカイブ（目次）
------------------------------- */
.archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 1em;
  background-color: #E6EEF2;
}
.archive-list a {
  display: inline-block;
  width: 80px;
  padding: 10px 0;
  text-align: center;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 0.9em;
  transition: background-color 0.2s ease;
}
.archive-list a:hover {
  background-color: #FFD795;
}

@media (max-width: 768px) {/*--768pxより小さい場合-- */
  .archive-list a {
    width: 30%;
  }
}


/* バックナンバーアーカイブ（本編）
------------------------------- */
  .pdf-section-list {
    margin: 2em auto;
    padding: 0;
    list-style: none;
    font-family: sans-serif;
    font-size: 1.4rem;
  }
  .pdf-section-list li {
    display: flex;
    gap: 1em;
    padding: 0.5em;
    border-bottom: 1px solid #ccc;
    background: #f9f9f9;
    transition: background 0.3s;
  }
  .pdf-section-list a {
    text-decoration: none;
    color: #0066cc;
    font-weight: bold;
    width: 8em; 
    flex-shrink: 0;
  }
  .pdf-section-desc {
    color: #555;
    font-size: 0.9em;
    flex: 1;
  }


  /* 404
------------------------------- */
.nF-bl {
  text-align: center;
  padding: 60px 20px;
}
.error_lead {
  font-size:2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.8;
}
.error_btn {
  margin-top: 40px;
}
.error_btn .btn {
  display: inline-block;
  padding: 12px 28px;
  background: #4b2e1e;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.4rem;
  transition: 0.3s;
}
.error_btn .btn:hover {
  background: #6a4630;
}
.error_lead::before {
  content: "🐞";
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

