/*
Theme Name: UTSUNOMIYA CENTRAL LIONS CLUB TEMPLATE
Theme URI: 
Description: 宇都宮中央ライオンズクラブテーマ
*/

@import url(common/css/top.css);
@import url(common/css/blog.css);
@import url(common/css/about.css);
@import url(common/css/contact.css);
@import url(common/css/activity.css);
@import url(common/css/member.css);

* {
  margin: 0;
  padding: 0;
  font-size : 100%;
  box-sizing:border-box;
}

/* どこかがはみ出したら即分かる */
html{ overflow-x: clip; }  /* hiddenより副作用少なめ */
body{ overflow-x: clip; }

html, body{
  max-width: 100%;
}

html{
  scroll-behavior: smooth;
}

body{
  color: #404040;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

table{
  border-collapse: collapse;
}

td,th{
  text-align: left;
  vertical-align: top;
}

.clearfix{
  zoom: 1;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

li{
  list-style-type: none;
}

img{ 
  display: block;
  border:0;
  max-width: 100%;
  height: auto;
}

a:link{color: #5b657e;text-decoration: underline;}
a:visited{color: #5b657e;text-decoration: none;}
a:hover{color: #5b657e;text-decoration: none;}
a:active{color: #2177be;text-decoration: none;}

.img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  font-family: 'object-fit: cover; object-position: center center;'
}

a[href^="tel:"] {
  cursor: default;
  pointer-events: none;
  color:#000;
  text-decoration : none;
}

/* menu-trigger */
.menu-trigger_container{
  position: fixed;
  right: 0;
  top: 0;
  width: 133px;
  height: 133px;
  background: url(img/bg-bt.png) no-repeat 0 0 / 100% auto;
  z-index: 100000000000000000000;
}

.menu-trigger{
  display: block;
  width: 133px;
  height: 133px;
  transition: all .4s;
  cursor: pointer;
}

.menu-trigger div{
  width: 40px;
  height: 40px;
  position: relative;
  margin: 40px auto 0;
}

.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
}

.menu-trigger span:nth-of-type(1) { top: 0; }
.menu-trigger span:nth-of-type(2) { top: 17px; }
.menu-trigger span:nth-of-type(3) { top: 35px; }

.menu-trigger.active span,
.menu-trigger:hover span{
  background-color: #FFCF06;
}

.menu-trigger.active span{
  transform-origin: center;
}

.menu-trigger.active span:nth-of-type(1){
  width: 40%;
  transform: translate3d(2px, 8px, 0) rotate(45deg);
}

.menu-trigger.active span:nth-of-type(2){
  transform: rotate(-45deg);
}

.menu-trigger.active span:nth-of-type(3){
  width: 40%;
  transform: translate3d(22px, -8px, 0) rotate(45deg);
}

@media (max-width: 479px) {
  .menu-trigger_container{
    width: 80px;
    height: 80px;
  }

  .menu-trigger{
    width: 80px;
    height: 80px;
  }

  .menu-trigger div{
    width: 24px;
    height: 24px;
    margin: 17px auto 0;
  }

  .menu-trigger span:nth-of-type(1) { top: 10px; }
  .menu-trigger span:nth-of-type(2) { top: 20px; }
  .menu-trigger span:nth-of-type(3) { top: 30px; }

  .menu-trigger.active span:nth-of-type(1){
    width: 40%;
    transform: translate3d(2px, 4px, 0) rotate(45deg);
  }

  .menu-trigger.active span:nth-of-type(3){
    width: 40%;
    transform: translate3d(13px, -4px, 0) rotate(45deg);
  }
}

/* over-menu */
#over-menu{
  width: 50%;
  max-width: 960px;
  position: fixed;
  right: 0;
  top:0;
  height: 100svh;
  background-color: #00325f;
  color: #fff;
  padding-top: 160px;
  display: none;
  z-index: 1000;
}

@media (max-width: 1580px) { #over-menu{ width: 60%; } }
@media (max-width: 850px)  { #over-menu{ width: 70%; padding-top: 100px; } }

@media (max-height: 850px) { #over-menu{ padding-top: 100px; } }
@media (max-height: 750px) { #over-menu{ padding-top: 50px; } }

@media (max-width: 1180px) { #over-menu{ width: 80%; } }
@media (max-width: 980px)  { #over-menu{ width: 90%; } }

@media (max-width: 880px) {
  #over-menu{
    overflow: auto;
    padding-top: 100px;
  }
}

#over-menu-in{
  width: 77%;
  margin: 0 auto;
}

#over-menu-top a{
  display: block;
  width: 100%;
  font-size: 120%;
  font-family: "Lora", serif;
  color: #fff;
  text-decoration: none;
  padding: 40px 0;
  position: relative;
}

#over-menu-top a:hover{
  color: #FFCF06;
}

#over-menu-in-container{
  display: grid;
  gap: 0 30px;
  grid-template-columns: repeat(2, 1fr);
}

.over-menu-content{
  border-top: 1px solid #4d6072;
  padding-left: 10px;
  padding-bottom: 40px;
}

.over-menu-content:nth-of-type(3),
.over-menu-content:nth-of-type(4){
  border-bottom: 1px solid #4d6072;
}

@media (max-width: 1280px) {
#over-menu-in-container{
gap: 0 10px;
}
.over-menu-content{
padding-bottom: 25px;
}
}

@media (max-width: 880px) {
  #over-menu-in-container{
    grid-template-columns: repeat(1, 1fr);
  }
}

.over-menu-content h3{
  font-size: 110%;
  font-weight: 400;
  font-family: "Lora", serif;
  color: #94aabe;
  padding-top: 40px;
}

@media (max-width: 1280px) {
	.over-menu-content h3{
  padding-top: 25px;
}
}

.over-menu-content a{
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 95%;
  padding-top: 18px;
}

.over-menu-content a:hover{
  color: #FFCF06;
}

@media (max-width: 479px) {
  .over-menu-content a{
    line-height: 1.4;
  }
}

#menu-foot{
  display: flex;
  gap: 0 75px;
  padding-top: 70px;
  padding-bottom: 80px;
}

#menu-foot p{
  font-size: 80%;
  line-height: 1.6;
}

@media (max-width: 1280px) {
#menu-foot{
  padding-top: 40px;
}
}

@media (max-width: 959px) {
  a[href^="tel:"] {
    cursor: pointer;
    pointer-events: auto;
  }

  #menu-foot{
    display: block;
    gap: 0;
    padding-top: 70px;
    padding-bottom: 80px;
  }

  #menu-foot h2{
    margin-bottom: 25px;
  }
}

/* blog_comment */
.comment-num,
#comment-area{
  display: none;
}

/* main */


/* main：背景スライドショー用 */
#main{
  width: 100%;
  min-height: 100svh;
  height: auto;
  background: url(img/top/main.jpg) no-repeat center center / cover;
  position: relative;
}

@media (max-width: 959px) {
  #main{
    height: 100svh;
    background: url(img/top/main-smp.jpg) no-repeat center center / cover;
  }
}
#main{
  position: relative;
  overflow: hidden; /* はみ出し防止 */
  background: none !important; /* 既存の background を無効化 */
}

/* 2枚を重ねてフェードさせる */
#main::before,
#main::after{
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center center / cover;
  z-index: 0;
  transition: opacity 1.2s ease;
}

/* 1枚目 */
#main::before{
  background-image: url(img/top/main.jpg);
  opacity: 1;
}

/* 2枚目 */
#main::after{
  background-image: url(img/top/main2.jpg);
  opacity: var(--main-after-opacity, 0);
}


/* 中身（ロゴや見出し）を背景より上に */
#main > *{
  position: relative;
  z-index: 1;
}

/* SP用（2枚目のSP画像がある場合） */
@media (max-width: 959px) {
  #main::before{ background-image: url(img/top/main-smp.jpg); }
  #main::after{  background-image: url(img/top/main2-smp.jpg); } /* 無いならこの行消してOK */
}




#main header{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
}

#main h1{
  position: absolute;
  top: 95px;
  left: 105px;
}

#main h1 img.pc{ display: block; }
#main h1 img.sp{ display: none; }

@media (max-width: 1280px) {
  #main h1{
    top: 45px;
    left: 55px;
    width: 480px;
  }
}

@media (max-width: 1100px) {
  #main h1{
    top: 30px;
    left: 35px;
    width: 380px;
  }
}

@media (max-width: 1000px) {
  #main h1{
    top: 120px;
    left: 35px;
    width: 380px;
  }
}

@media (max-width: 599px) {
  #main h1{
    top: 160px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 360px;
  }
}

@media (max-width: 479px) {
  #main h1{
    top: 120px;
    width: 150px;
  }

  #main h1 img.pc{ display: none; }
  #main h1 img.sp{ display: block; }
}

#main #head-bt{
  width: 364px;
  position: absolute;
  right: 170px;
  top: 40px;
  display: flex;
  gap: 12px;
  z-index: 100;
}

#main #head-bt li{ width: 100%; }

#main #head-bt li a{
  display: block;
  width: 100%;
  padding: 17px;
  text-align: center;
  font-size: 95%;
  line-height: 1;
  font-weight: 500;
  color: #404040;
}

#main #head-bt li a span{
  display: inline-block;
  padding-left: 25px;
  min-height: 15px;
}

#main #head-bt li:first-child a{ background-color: #fff; }
#main #head-bt li:first-child a:hover{ background-color: #FFCF06; }
#main #head-bt li:first-child a span{ background: url(img/ico-contact.png) no-repeat 0 0 / 15px auto; }

#main #head-bt li:last-child a{ background-color: #ffcf06; }
#main #head-bt li:last-child a:hover{ background-color: #fff; }
#main #head-bt li:last-child a span{ background: url(img/ico-login.png) no-repeat 0 0 / 13px auto; }

#main header.is-animation #head-bt{
  width: 160px;
  position: absolute;
  right: 135px;
  top: 0;
  display: flex;
  gap: 0;
  transition: all 0.3s ease;
}

#main header.is-animation #head-bt li a{
  display: block;
  width: 100%;
  padding: 0;
  height: 80px;
  text-align: center;
  font-size: 0px;
  line-height: 1;
  font-weight: 500;
  color: transparent;
  transition: all 0.3s ease;
}

#main header.is-animation #head-bt li a span{
  display: block;
  padding-left: 0;
  min-height: 80px;
  width: 80px;
}

#main header.is-animation #head-bt li:last-child a span{
  background: url(img/ico-login.png) no-repeat center center / 18px auto;
}
#main header.is-animation #head-bt li:first-child a span{
  background: url(img/ico-contact.png) no-repeat center center / 18px auto;
}

/* ※ここは挙動（is-animationとの兼ね合い）が絡むので、元のまま維持 */
@media (max-width: 680px) {
  #main header #head-bt{
    width: 160px;
    position: absolute;
    right: 135px;
    top: 0;
    display: flex;
    gap: 0;
    transition: all 0.3s ease;
  }

  #main header #head-bt li a{
    display: block;
    width: 100%;
    padding: 0;
    height: 80px;
    text-align: center;
    font-size: 0px;
    line-height: 1;
    font-weight: 500;
    color: transparent;
    transition: all 0.3s ease;
  }

  #main header #head-bt li a span{
    display: block;
    padding-left: 0;
    min-height: 80px;
    width: 80px;
  }

  #main header #head-bt li:last-child a span{
    background: url(img/ico-login.png) no-repeat center center / 18px auto;
  }
  #main header #head-bt li:first-child a span{
    background: url(img/ico-contact.png) no-repeat center center / 18px auto;
  }
}

@media (max-width: 479px) {
  #main header #head-bt,
  #main header.is-animation #head-bt{
    right: 80px;
  }
}

#main h2{
  text-align: center;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 150px;
  width: 100%;
}

#main h2 strong{
  font-family: "Lora", serif;
  display: block;
  font-size: 800%;
  font-weight: 300;
  line-height: 1;
}

#main h2 span{
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 300%;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .05em;
  padding-top: 15px;
  text-shadow:
    0 0 4px rgba(0,0,0,0.3),
    0 0 42px rgba(0,0,0,0.2);
}

@media (max-width: 1280px) {
  #main h2{ bottom: 60px; }
  #main h2 strong{ font-size: 500%; }
  #main h2 span{ font-size: 140%; padding-top: 15px; }
}

@media (max-width: 599px) {
  #main h2{
    bottom: 50px;
    left: 50px;
    text-align: left;
  }
  #main h2 strong{ font-size: 350%; }
  #main h2 span{ font-size: 140%; padding-top: 15px; }
}

@media (max-width: 440px) {
  #main h2{ left: 30px; }
  #main h2 strong{ font-size: 250%; }
  #main h2 span{ font-size: 120%; }
}

/* scroll */
#scroll{
  width: 29px;
  height: 150px;
  position: absolute;
  right: 50px;
  bottom: 50px;
}

/* バー専用のマスク箱（ここだけで切る） */
#scroll .scroll-bar{
  position: absolute;
  top: 0;
  left: 0;
  width: 29px;
  height: 90px;          /* ←レールの長さ＝マスク範囲 */
  overflow: hidden;      /* ←マスクはここに効かせる */
}

/* レール */
#scroll .scroll-bar::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 90px;
  margin-left: -1px;
  background: rgba(255,255,255,.25);
}

/* 動くバー */
#scroll .scroll-bar::before{
  content: "";
  position: absolute;
  left: 50%;
  top: -40px;            /* ←上からはみ出した状態でスタート */
  width: 2px;
  height: 40px;          /* ←バーの長さ */
  margin-left: -1px;
  background: #fff;
  animation: mainmove 1.4s linear infinite;
}

@keyframes mainmove{
  0%   { transform: translateY(0); }
  100% { transform: translateY(130px); } /* レール(90)+バー(40)=130 */
}

/* アイコンは下に固定 */
#scroll img{
  position: absolute;
  left: 0;
  bottom: 0;
}

@media (max-width: 400px) {
  #scroll{
    right: 25px;
    bottom: 35px;
  }
}

#bg{
  background-color: #ece8e4;
}

/* top-block1 */
#top-block1{
  width: 90%;
  max-width: 1270px;
  margin: 0 auto;
  padding-top: 125px;
  display: flex;
  gap: 90px;
}

#top-block1 h2{
  font-family: "Lora", serif;
  font-size: 250%;
  font-weight: 300;
  line-height: 1;
  border-bottom: 1px solid #b7ae82;
  padding-bottom: 30px;
}

.top-block1-container{
  width: 100%;
}

.top-block1-container .top-block1-in a{
  display: block;
  position: relative;
  border-bottom: 1px solid #b7ae82;
  height: 110px;
  width: 100%;
  color: #404040;
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.top-block1-container .top-block1-in a::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: url(img/arrow.png) no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.top-block1-container .top-block1-in a:hover{
  background-color: #DFD9D2;
}

.top-block1-container .top-block1-in a:hover::after{
  opacity: 1;
}

.top-block1-container.activity .top-block1-in a{
  padding-left: 170px;
  position: relative;
}

.top-block1-container.activity .top-block1-in a figure{
  position: absolute;
  left: 0;
  top: 4px;
  width: 143px;
  height: 102px;
}

.top-block1-container .top-block1-in a dl dt{
  font-family: "Lora", serif;
  font-size: 95%;
  line-height: 1;
  padding-bottom: 12px;
  padding-top: 30px;
}

.top-block1-container .top-block1-in a dl dd{
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.top-block1-container.news .top-block1-in a{
  padding-left: 30px;
  position: relative;
}

.top-block1-container.news .top-block1-in a::before{
  content: " ";
  display: block;
  top: 50%;
  left: 0;
  width: 2px;
  height: 60px;
  margin-top: -30px;
  position: absolute;
  z-index: 10;
  background-color: #b6a44a;
}

.top-block1-container ul li a{
  display: block;
  width: 100%;
  font-family: "Lora", serif;
  color: #404040;
  text-decoration: none;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 30px;
  background: url(img/arrow.png) no-repeat right 30px center / 45px auto;
  transition: background .3s ease;
}

.top-block1-container ul li a:hover{
  background: url(img/arrow.png) no-repeat right 10px center / 45px auto;
}

@media (max-width: 959px) {
  #top-block1{
    padding-top: 90px;
    display: block;
    gap: 0;
  }

  #top-block1 h2{
    font-size: 180%;
    padding-bottom: 20px;
  }

  .top-block1-container.news{
    margin-bottom: 50px;
  }
}

@media (max-width: 580px) {
  .top-block1-container.activity .top-block1-in a{
    padding-left: 90px;
  }

  .top-block1-container.activity .top-block1-in a figure{
    width: 70px;
    height: 100px;
  }

  .top-block1-container.activity .top-block1-in a::after{
    top: 40px;
  }
}


#top-block2 h2{
  text-align: center;
  margin-top: 160px;
}

#top-block2 h2 span{
  display: inline-block;
  padding: 10px 25px;
  border-top: 1px solid #b7ae82;
  border-bottom: 1px solid #b7ae82;
  font-size: 130%;
  letter-spacing: .05em;
  line-height: 1;
}

#top-block2 h2 strong{
  display: block;
  font-size: 220%;
  line-height: 1;
  letter-spacing: .05em;
  font-weight: 800;
  padding-top: 20px;
  padding-bottom: 170px;
  background: url(img/logo3.png) no-repeat bottom 28px center / 119px auto;
}

#top-block2 h3{
  text-align: center;
  font-size: 220%;
  line-height: 1.6;
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
}

#top-block2 h4{
  font-family: "Lora", serif;
  color: #b7a64e;
  font-size: 160%;
  line-height: 1;
  text-align: center;
  font-weight: 300;
  padding: 50px 0;
}

#top-block2 h4 span{
  color: #00529b;
}

#top-block2 p{
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
}

@media (max-width: 700px) {
  #top-block2 h2 span{ font-size: 110%; }
  #top-block2 h2 strong{ font-size: 160%; }
  #top-block2 h3{ font-size: 150%; }
  #top-block2 h4{ font-size: 110%; }
}

@media (max-width: 479px) {
  #top-block2 h3{ font-size: 120%; }
  #top-block2 h4{ font-size: 80%; padding: 30px 0; }
}

@media (max-width: 400px) {
  #top-block2 h3{ font-size: 110%; }
  #top-block2 h4{ font-size: 70%; padding: 30px 0; }
}

/* top-block3 */
#top-block3{
  background-color: #dbd3cb;
  position: relative;
}

#top-block3::before{
  content: " ";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 450px;
  position: absolute;
  z-index:5;
  background-color: #ece8e4;
}

.title1 h3{
  display: block;
  font-family: "Lora", serif;
  font-size: 280%;
  line-height: 1;
  text-align: center;
  font-weight: 300;
  padding-top: 200px;
  padding-bottom: 30px;
  position: relative;
  z-index: 10;
}

.title1 h4{
  width: 90%;
  max-width: 1610px;
  margin: 0 auto 65px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.title1 h4::before{
  content: " ";
  display: block;
  top: 18px;
  left: 0;
  width: 100%;
  height: 1px;
  position: absolute;
  z-index: 1;
  background-color: #b7ae82;
}

.title1 h4 span{
  display: inline-block;
  background-color: #ece8e4;
  padding: 0 25px;
  font-weight: 800;
  z-index: 100;
  font-size: 180%;
  position: relative;
}

@media (max-width: 680px) {
  .title1 h3{ font-size: 200%; }
  .title1 h4::before{ top: 14px; }
  .title1 h4 span{ font-size: 140%; }
}

@media (max-width: 479px) {
  .title1 h3{ font-size: 160%; }
  .title1 h4 span{ font-size: 110%; }
}

@media (max-width: 400px) {
  .title1 h4 span{ padding: 0; }
  .title1 h4::before{ display: none; }
}

/* ★ここ：レスポンシブの丸ごと重複を差分だけに整理 */
#top-block3-in{
  width: 90%;
  max-width: 1610px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 200px;
  position: relative;
}

#top-block3-in a{
  display: block;
  background-color: #fff;
  color: #404040;
  text-decoration: none;
  padding-top: 50px;
  position: relative;
  z-index:10;
}

#top-block3-in a:hover{
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

#top-block3-in a figure{
  width: 90%;
  max-width: 143px;
  margin: 0 auto;
}

#top-block3-in a figure img{ margin: 0 auto; }

#top-block3-in a figure figcaption{
  text-align: center;
  font-size: 120%;
  line-height: 1;
  font-weight: 600;
  padding-top: 25px;
  padding-bottom: 20px;
}

#top-block3-in a p{
  width: 80%;
  line-height: 1.6;
  margin: 0 auto;
  padding-bottom: 80px;
}

#top-block3-in a::before{
  content: " ";
  display: block;
  bottom: 30px;
  right: 40px;
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 10;
  border-radius: 50%;
  border: 1px solid #b6a44a;
}

#top-block3-in a::after{
  content: " ";
  display: block;
  width: 45px;
  height: 30px;
  background: url(img/arrow.png) no-repeat 0 0 / 100% auto;
  position: absolute;
  right: 50px;
  bottom: 25px;
}

#top-block3-in a:hover::after{
  right: 20px;
  transition: all 0.3s ease;
}

@media (max-width: 1280px) { #top-block3-in{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 959px)  { #top-block3-in{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { #top-block3-in{ grid-template-columns: repeat(1, 1fr); } }

/* top-block4 */
#top-block4{
  width: 100%;
  background-color: #000;
}

#top-block4 img{
  opacity: 0.5;
}

/* top-block5 */
#top-block5 p{
  width: 90%;
  max-width: 850px;
  margin: 0 auto 35px;
  line-height: 1.8;
}

#top-block5-in{
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 35px;
  padding-top: 35px;
}

#top-block5-in figure{ width: 100%; }

#top-block5-in figure figcaption{
  display: block;
  text-align: center;
}

#top-block5-in figure figcaption span{
  display: block;
  font-size: 120%;
  font-weight: 600;
  padding-top: 30px;
  padding-bottom: 15px;
}

#top-block5-in figure figcaption strong{
  font-family: "Noto Serif JP", serif;
  display: block;
  font-size: 160%;
  line-height: 1;
  letter-spacing: .05em;
  font-weight: 400;
}

/* ここからSP */
@media (max-width: 860px) {
  #top-block5-in{
    gap: 45px 35px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #top-block5-in figure{
    width: calc((100% - 35px) / 2);
    max-width: 380px;
  }

  #top-block5-in figure figcaption span{
    font-size: 110%;
    padding-bottom: 8px;
  }

  #top-block5-in figure figcaption strong{
    font-size: 130%;
  }
}

@media (max-width: 479px) {
  #top-block5-in{ gap: 45px 20px; }
}

/* top-block5-in2 */
#top-block5-in2{
  width: 90%;
  max-width: 1610px;
  margin: 125px auto 0;
  position: relative;
  display: flex;
  gap: 40px;
}

#top-block5-in2 div{
  border: 1px solid #b7ae82;
  width: 100%;
  padding-bottom: 65px;
}

#top-block5-in2 div h2{
  text-align: center;
  padding-top: 55px;
  padding-bottom: 25px;
  border-bottom: 1px solid #b7ae82;
  width: 90%;
  margin: 0 auto;
}

#top-block5-in2 div h2 span{
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 120%;
  line-height: 1;
}

#top-block5-in2 div h2 strong{
  display: block;
  font-size: 140%;
  font-weight: 600;
  padding-top: 15px;
}

.top-slogan p{
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  font-size: 180%;
  line-height: 1;
  padding-top: 45px;
}

.top-slogan p br.sp{ display: none; }

.top-housin ul{
  width: 80%;
  margin: 45px auto 0;
}

.top-housin ul li{
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  font-size: 130%;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
}

.top-housin ul li::before{
  content: " ";
  display: block;
  top: 50%;
  left: 0;
  margin-top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #404040;
  position: absolute;
  z-index: 10;
}

@media (max-width: 1480px) {
  .top-slogan p{ font-size: 130%; }
  .top-housin ul li{ font-size: 110%; }
}

@media (max-width: 959px) {
  #top-block5-in2{
    display: block;
    gap: 0;
  }

  #top-block5-in2 div.top-slogan{
    margin-bottom: 35px;
  }
}

@media (max-width: 500px) {
  #top-block5-in2 div h2 span{ font-size: 110%; }
  #top-block5-in2 div h2 strong{ font-size: 120%; }
}

@media (max-width: 479px) {
  .top-slogan p{ font-size: 110%; }
  .top-slogan p br.sp{ display: inline; }
  .top-housin ul li{ font-size: 100%; }
}

/* top-block6 */
#top-block6{
  background-color: #dbd3cb;
  position: relative;
  padding-bottom: 200px;
  margin-top: 125px;
}

#top-block6::before{
  content: " ";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 105px;
  position: absolute;
  z-index: 10;
  background-color: #ece8e4;
}

#top-block6-in{
  width: 90%;
  max-width: 1610px;
  margin: 0 auto;
  display: flex;
  gap: 45px;
}

#top-block6-in a{
  display: block;
  width: 100%;
  background-color: #fff;
  padding-top: 25px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 100px;
  position: relative;
  z-index: 10;
  color: #404040;
  text-decoration: none;
}

/* SP用（2列で折り返し＋中央寄せ） */
@media (max-width: 860px) {
  #top-block6-in{
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #top-block6-in a{
    width: calc((100% - 15px) / 2);
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  #top-block6-in{ gap: 20px; }

  #top-block6-in a{
    width: 100%;
    max-width: none;
  }
}

#top-block6-in a:hover{
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

#top-block6-in a figure{
  width: 100%;
  margin: 0 auto;
}

#top-block6-in a figcaption{
  display: block;
  padding-top: 25px;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) { #top-block6-in a figcaption{ font-size: 90%; } }
@media (max-width: 379px) { #top-block6-in a figcaption{ font-size: 80%; } }

#top-block6-in a::before{
  content: " ";
  display: block;
  bottom: 30px;
  right: 40px;
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 10;
  border-radius: 50%;
  border: 1px solid #b6a44a;
}

#top-block6-in a::after{
  content: " ";
  display: block;
  width: 45px;
  height: 30px;
  background: url(img/arrow.png) no-repeat 0 0 / 100% auto;
  position: absolute;
  right: 50px;
  bottom: 25px;
}

#top-block6-in a:hover::after{
  right: 20px;
  transition: all 0.3s ease;
}

/* foot-bn */
#foot-bn{ width: 100%; }

#foot-bn-in{
  display: flex;
  background-color: #041729;
}

#foot-bn-in ul:last-child{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

#foot-bn-in ul:last-child li{
  width: 90%;
  margin: 0 auto;
}

#foot-bn-in ul:last-child li a:hover img{
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

@media (max-width: 959px) {
  #foot-bn-in{ flex-wrap: wrap; }

  #foot-bn-in ul{ width: 100%; }

  /* ★ここ：重複してた display/flex〜 を削って差分だけ */
  #foot-bn-in ul:last-child{
    gap: 20px;
    padding-top: 45px;
    padding-bottom: 45px;
  }
}

/* foot-link */
#foot-link{
  background-color: #282828;
}

#foot-link ul{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
}

#foot-link li{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

@media (max-width: 959px) {
  /* ★ここ：背景色の重複削除 */
  #foot-link{ padding: 50px; }

  #foot-link ul{
    flex-wrap: wrap;
    row-gap: 25px;
    column-gap: 30px;
  }

  #foot-link li{ height: 40px; }
}

/* footer */
footer{
  background: url(img/foot-bg.jpg) no-repeat bottom center / 100% auto #705402;
  color: #fff;
  padding: 120px 0;
}

footer a{
  text-decoration: none !important;
  color: #fff !important;
}

#foot{
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

#foot-aboutus{ width: 30%; }

#foot-aboutus h2{ padding-bottom: 45px; }

#foot-aboutus p{
  font-size: 80%;
  line-height: 1.8;
}

#foot-aboutus ul{
  padding-top: 25px;
  font-size: 80%;
}

#foot-txtlink{
  width: 70%;
  border-left: 1px solid #9a8036;
  display: flex;
  padding-left: 10%;
  padding-top: 50px;
}

#foot-txtlink>ul,
.foot-txtlink-in{
  margin-right: 60px;
}

#foot-txtlink>ul,
#foot-txtlink h3{
  font-family: "Lora", serif;
  font-weight: 400;
}

#foot-txtlink h3{
  font-size: 110%;
  line-height: 1;
  padding-bottom: 25px;
}

.foot-txtlink-in ul{ padding-bottom: 45px; }

.foot-txtlink-in ul li{ padding-bottom: 15px; }

#foot-txtlink a{ color: #fff; }

#foot-txtlink a:hover{ color: #deaf05 !important; }

#copy{
  color: #deaf05;
  font-family: "Lora", serif;
  font-size: 70%;
  text-align: right;
  position: absolute;
  right: 0;
  bottom: 0;
}

@media (max-width: 1280px) {
  /* ★ここ：背景の重複削除（paddingだけ変更） */
  footer{ padding: 60px 0; }

  #foot-txtlink{
    border-left: 0;
    padding-left: 2%;
  }
}

@media (max-width: 1180px) {
  #foot-txtlink>ul,
  .foot-txtlink-in{
    margin-right: 30px;
  }
}

@media (max-width: 990px) {
  #foot-txtlink{ flex-wrap: wrap; }
  .foot-txtlink-in{
    width: 100%;
    margin-right: 0;
  }

  #foot-aboutus{ width: 50%; }

  #foot-txtlink{
    width: 50%;
    border-left: 0;
    padding-left: 0;
  }

  #foot-txtlink>ul{ padding-bottom: 50px; }
}

@media (max-width: 650px) {
  #foot{
    max-width: 300px;
    display: block;
  }

  #foot-aboutus{ width: 100%; }

  #foot-aboutus h2{
    max-width: 235px;
    margin: 0 auto;
  }

  #foot-txtlink{
    width: 100%;
    border-left: 0;
    padding-left: 0;
  }

  #copy{
    font-size: 50%;
  }
}

@media (max-width: 350px) {
  #foot-txtlink a{ font-size: 90%; }
}


/*

contents

*/

#main.contents{
  width: 100%;
  min-height: 538px;
  height: 538px;
}

@media (max-width: 1280px) {
#main.contents{
  min-height: 400px;
  height: 400px;
}
}


#main.contents{
  position: relative;
  overflow: hidden;
  background: none;
}

#main.aboutus{
background: url(img/aboutus/main.jpg) no-repeat center center / cover !important;
}

#main.member{
background: url(img/member/main.jpg) no-repeat center center / cover !important;
}

#main.contact{
background: url(img/contact/main.jpg) no-repeat center center / cover !important;
}

#main.news{
background: url(img/news/main.jpg) no-repeat center center / cover !important;
}

#main.activity{
background: url(img/activity/main.jpg) no-repeat center center / cover !important;
}



@media (max-width: 900px) {
#main.member{
background: url(img/member/main.jpg) no-repeat center right 40% / cover !important;
}
}

#main.contents::before,
#main.contents::after{
  display: none;
}

#main.contents h2{
  text-align: center;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 100px;
  width: 100%;
}

#main.contents.nomenu h2{
  bottom: 50px;
}

#main.contents h2 strong{
  font-family: "Lora", serif;
  display: block;
  font-size: 450%;
  font-weight: 300;
  line-height: 1;
}

#main.contents h2 span{
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 180%;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .05em;
  padding-top: 15px;
  text-shadow:
    0 0 4px rgba(0,0,0,0.3),
    0 0 42px rgba(0,0,0,0.2);
}

@media (max-width: 1280px) {
  #main.contents h2{
  bottom: 80px;
}
#main.contents h2 strong{
  font-size: 300%;
}
#main.contents h2 span{
  font-size: 160%;
}
}

@media (max-width: 599px) {
#main.contents h2,
#main.contents.nomenu h2{
  bottom: 40px;
}
#main.contents h2 strong{
  font-size: 230%;
}
#main.contents h2 span{
  font-size: 120%;
}
}

@media (max-width: 479px) {
#main.contents h2,
#main.contents.nomenu h2{
  bottom: 25px;
}
#main.contents h2 strong{
  font-size: 180%;
}
#main.contents h2 span{
  padding-top: 10px;
}
}


#main-menu ul{
  width: 90%;
  max-width: 747px;
  height: 73px;
  box-shadow: 0 0 25px 0 rgba(0,0,0,0.2);
  margin: -36px auto -37px;
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#main-menu ul::before{
  content: " ";
display: block;
top: 50%;
left: 50%;
width: 1px;
height: 46px;
position: absolute;
z-index: 10;
background-color: #ece8e4;
margin-top: -23px;
}

#main-menu li{
  display: block;
}

#main-menu li.now a{
  color: #805b36;
}

#main-menu a{
  display: block;
  width: 100%;
  height: 73px;
  background-color: #fff;
  text-decoration: none;
  text-align: center;
  color: #404040;
  font-weight: 700;
  font-size: 95%;
  padding-top: 28px;
  position: relative;
}

#main-menu a:hover{
  color: #805b36;
}

#main-menu li.now a::before,
#main-menu a:hover::before{
  content: " ";
display: block;
bottom: 0;
left: 20%;
width: 60%;
height: 2px;
position: absolute;
z-index: 10;
background-color: #805b36;
}

@media (max-width: 599px) {
#main-menu{
  display: none;
}
}


/*

title2

*/

.title2{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 130px 15px 30px;
  border-bottom: 1px solid #c7bfa6;
  line-height: 1.4;
}

.title2 strong{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .08em;
}

.title2 span{
  font-family: "Lora", serif;
  font-size: 90%;
  font-weight: 300;
  letter-spacing: .02em;
}

@media (max-width: 959px) {
.title2{
  display: block;
  padding: 130px 15px 30px;
  border-bottom: 1px solid #c7bfa6;
}

.title2 strong{
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
}

.title2 span{
  font-family: "Lora", serif;
  font-size: 90%;
  font-weight: 300;
  letter-spacing: .02em;
  display: block;
  padding-top: 15px;
}
}