/******************************************
Basic Style
*******************************************/
:root{
  --maincolor : #DEEE9C ;
  --maicolor-light:#F9FCEB;
  --maincolor-dark:#88A31D;
  --textcolor:#333;
  --textcolor-light:#aaa;
  --lightbg:#e0e0e0;
  --orange:#f39300;
  --modal-bg:rgba(0,0,0,0.75);
}

/******************************************
ヘッダー
*******************************************/
#header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  transition: background-color 0.5s ease;
}
#header.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ==== ロゴ ==== */
.logo img {
  height: 40px;
}

/* ==== ハンバーガーボタン ==== */
#menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--textcolor);
  cursor: pointer;
}

/* ==== ナビゲーション（PC） ==== */
#main-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  text-decoration: none;
  color: var(--textcolor);
  padding: 6px 0;
  display: inline-block;
}

/* ==== ドロップダウン（PC） ==== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  min-width: 150px;
  padding: 10px 0;
  z-index: 1001;
}

.menu-item-has-children:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: var(--textcolor);
  white-space: nowrap;
}

/* ==== モバイル表示（幅920px以下） ==== */
@media screen and (max-width: 920px) {
  #menu-toggle {
    display: block;
  }
  #menu-toggle::after{
    display: block;
    font-size: 11px;
    content: "MENU";
  }
  #main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    border-top: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  #main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-top: 1px solid #eee;
    padding: 10px 20px;
  }

  .menu-item-has-children:hover .dropdown-menu {
    display: none;
  }

  .menu-item-has-children.open .dropdown-menu {
    display: block;
    position: relative;
    padding-left: 1rem;
    box-shadow: none;
    border: none;
  }
}

/******************************************
フッター
*******************************************/
footer{
  background-color: var(--lightbg);
  text-align: center;
}

/******************************************
メインビジュアルカルーセル
*******************************************/
.carousel-copy{
  color: #fff;
  z-index: 2;
}
.carousel-item{
  height: 100vh;
  background-size: cover;
  background-position: center;
}
@media screen and (orientation: landscape) {
  .carousel-item-1{
    background-image: url(../img/carousel-1-pc.jpg);
  }
  .carousel-item-2{
    background-image: url(../img/carousel-2-pc.jpg);
  }
  .carousel-item-3{
    background-image: url(../img/carousel-3-pc.jpg);
  }
}
@media screen and (orientation: portrait) {
  .carousel-item-1{
    background-image: url(../img/carousel-1-sp.jpg);
  }
  .carousel-item-2{
    background-image: url(../img/carousel-2-sp.jpg);
  }
  .carousel-item-3{
    background-image: url(../img/carousel-3-sp.jpg);
  }
}

/******************************************
コンテンツ一般
*******************************************/
.content-section{
  padding: 35px 0;
}

/******************************************
スクロール促し・ページトップへ戻る
*******************************************/
/*スクロールリンクの形状*/
.scroll-top {
	/*表示位置*/
	position: fixed;
	right: 20px;
	bottom: 10px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	visibility: hidden; 
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}
@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }
/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
	opacity: 1;
	visibility: visible;
}
/*リンク全体の aタグの形状*/
.scroll-top a {
	text-decoration: none;
	color: var(--textcolor);
	text-transform: uppercase;
	font-size:0.9rem;
  display: block;
  font-weight: 600;
  padding-right: 2px;
}
/*スクロールリンクの形状*/
.js-scroll a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:2px;
	height: 50px;
	background:var(--textcolor);
}
.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: var(--textcolor);
    transform: skewX(-31deg);
}
/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
	right:-11px;
}
/*ページトップリンクの形状*/
.js-pagetop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:2px;
	height: 50px;
	background:var(--textcolor);
}
.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 2px;
    height: 20px;
    background: var(--textcolor);
    transform: skewX(31deg);
}
/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
	right:0;
}
/*検証のためのCSS*/
section{
padding: 500px 0;
}

/******************************************
スライドショー（slick）
*******************************************/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:94%;
    margin:0 auto;
}
.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;
}
/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}
.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}
.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}
/*ドットナビゲーションの設定*/
.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
  padding: 0;
}
.slick-dots li {
    display:inline-block;
	margin:0px;
}
.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}
.slick-dots .slick-active button{
    background:var(--textcolor);/*ドットボタンの現在地表示の色*/
}

/******************************************
スライドインディケーター（carousel,slick）
*******************************************/
.carousel-indicators button[data-bs-target],
.slick-dots button{
  width: 13px;
  height: 13px;
  margin-left: 6px;
  margin-right: 6px;
  background-color: #fff;
  opacity: 1;
  border-radius: 13px;
  border: 2px solid #fff;
}
.carousel-indicators .active,
.slick-dots .slick-active button{
  background-color: var(--textcolor)!important;
}

/******************************************
新着情報
*******************************************/
.infomaition-item{
  position: relative;
}
.thumbnail-box{
  aspect-ratio: 4/3;
  overflow: hidden;
}
.thumbnail-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.infomaition-item {
  transition: opacity 0.3s ease;
}
.infomaition-item .thumbnail-box img {
  transition: transform 0.5s ease;
}
.infomaition-item:hover {
  opacity: 0.7;
}
.infomaition-item:hover .thumbnail-box img {
  transform: scale(1.1);
}
.infomaition-item h3{
  margin-bottom:0;
}
/******************************************
Gallery
******************************************/
.gallery-area {
  padding: 80px 0;
}
.gallery-area #grid-container {
  width: 100%;
  margin: auto;
  overflow: hidden;
}
.single-gallery {
  overflow: hidden;
  margin-bottom: 0px;
  width: auto;
  display: inline-block;
  position: relative;
}
.grid-item {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}
.zoomup-icon {
  position: absolute;
  bottom: 7px; /*main.jsの②グリッド構築（justified layout）で設定したgutter*/
  right: 7px; /*main.jsの②グリッド構築（justified layout）で設定したgutter*/
  z-index: 2;
  padding: 5px;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
}



/******************************************
一般
*******************************************/
a{
  color: var(--textcolor);
  text-decoration: none;
}
.button-box{
  text-align: center;
  padding-top: 35px;
}
.position-center{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
h3, .h3 {
  font-size: 1rem;
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.25rem;
  }
}
/* magnific-popup の背景を Bootstrap モーダルと同じにする */
.modal-backdrop.show,.mfp-bg {
  background: #000 !important;
  opacity: 0.8 !important;
}

/**********************
　個別スタイル
***********************/
body.single,
body.category,
body.page{
  padding-top: 90px;
}
body.single #header,
body.category #header,
body.page #header{
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.breadcrumb-area{
  padding: 20px 0 10px 0;
}
.breadcrumb-area ol{
  padding-left: 0;
  margin-bottom: 0;
}
.breadcrumb-area ol::after{
  content: "";
  display: block;
  clear: both;
}
.breadcrumb-area ol li{
  list-style: none;
  font-size: 0.8em;
  float: left;
}
.breadcrumb-area ol li::after{
  content: "/";
  margin: 0 7px;
}
.breadcrumb-area ol li:last-child::after{
  content: "";
  margin-right: 0;
}

h1{
  margin-bottom: 2rem;
  background-image: url(../img/header-bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 1.0em;
}

/* WordPress標準ライトボックス内の画像比率を維持 */
.wp-lightbox-overlay img {
  width: auto !important;
  height: auto !important;
  max-width: 100vw !important;
  max-height: 85vh !important;
  object-fit: contain !important;
}

/* ライトボックス内の壊れた画像アイコン・alt文字の重なり対策 */
.wp-lightbox-overlay img:not([src]),
.wp-lightbox-overlay img[src=""] {
  display: none !important;
}

/* 操作ボタンを前面に出す */
.wp-lightbox-overlay .scrim,
.wp-lightbox-overlay .close-button {
  z-index: 10;
}