@charset "utf-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
	 overflow-y: scroll;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,p,th,td {
	 margin: 0;
	 padding: 0;
}
caption,em,strong,th {
	 font-style: normal;
}
table {
	 border-collapse: collapse;
}
caption,th {
	 text-align: left;
}
h1,h2,h3,h4,h5,h6 {
	 font-size: 100%;
}
img {
	 border: 0;
}
li {
	 list-style-type: none;
}
.clearfix:after {
	 content: ".";
	 display: block;
	 height: 0;
	 font-size: 0;
	 clear: both;
	 visibility: hidden;
}
body {
	 font-size: 15px;
	 font-family: "游明朝", YuMincho,"ヒラギノ明朝 Pro W3","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
	 line-height: 1.6em;
}
a {
	 -webkit-transition: 0.5s;
	 transition: 0.5s;
	 text-decoration: none;
}
a:hover {
	 -webkit-transition: 0.5s;
	 transition: 0.5s;
	 filter: alpha(opacity=80);
	 -moz-opacity: 0.8;
	 opacity: 0.8;
	 text-decoration: none;
}
h2.ttl{
	font-family: "游明朝", YuMincho,"ヒラギノ明朝 Pro W3","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
	margin: 30px auto 40px;
	position: relative;
	font-size: 30px;
	text-align: center;
	color: #2d4b43;
}
h2.ttl:before {
    content:  '';
    width: 60px;
    height: 5px;
    background-color: #2d4b43;
    display:  block;
    position:  absolute;
    left: calc(50% - 30px);
    bottom: -20px;
}
.head{
	margin: 0 auto 20px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.7;
	text-align: center;
	color: #2d4b43;
}
#page {
	 width: 100%;
	 margin: 0 auto;
}
.wrapper {
	 width: 100%;
	 margin: 0 auto;
	 padding: 20px 0 40px;
	 background: #fff;
}
.wrapperBg {
	 width: 100%;
	 margin: 0 auto;
	 padding: 20px 0 40px;
	 background: #f0f0f0;
}
.container{
	 width: 950px;
	 margin: 0 auto;
}
#header {
	 background: #2d4b43;
}
#header h1 {
	 float: left;
	 padding: 10px 0 10px 15px;
}
#header p {
	 float: left;
	 font-size: 16px;
	 padding: 20px 0 0 30px;
	 color: #fff;
	 line-height: 2.0;
	 font-family: "游明朝", YuMincho,"ヒラギノ明朝 Pro W3","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
}
.nav-outer {
	background-color: #000;
}
.nav-bar {
	width: 950px;
	margin: 0 auto;
	display: flex;
}
.nav-bar .nav-item {
	flex: 1; 
	text-align: center;
	color: white;
	text-decoration: none;
	padding: 15px 0;
	background-color: #000;
	border-left: 1px solid #fff;
	font-size: 16px;
	transition: background-color 0.3s;
}
.nav-bar .nav-item.last {
	background-color: #a00412;
	border-right: 1px solid #fff;
}
.nav-bar .nav-item:hover {
	color: #fff !important; 
}
.fade-slider {
	 position: relative;
	 width: 100%;
	 height: 450px;
	 overflow: hidden;
}
/* 各画像のフェード設定 */
.fade-slider .slide {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: fade 20s infinite;
}
.fade-slider .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* キャプションのスタイル */
.fade-slider .caption {
	position: absolute;
	bottom: 30px;
	left: 30px;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 10px 20px;
	font-size: 18px;
	border-radius: 4px;
	white-space: nowrap;
}
/* 各画像の表示タイミング */
.fade-slider .s1 { animation-delay: 0s; }
.fade-slider .s2 { animation-delay: 4s; }
.fade-slider .s3 { animation-delay: 8s; }
.fade-slider .s4 { animation-delay: 12s; }
.fade-slider .s5 { animation-delay: 16s; }

@keyframes fade {
	0%   { opacity: 0; }
	15%  { opacity: 1; }
	25%  { opacity: 1; }
	40%  { opacity: 0; }
	100% { opacity: 0; }
}

/* ドットのスタイル */
.dots {
	 position: absolute;
	 bottom: 5px;
	 width: 100%;
	 text-align: center;
	 z-index: 10;
}
.dot {
	 display: inline-block;
	 width: 12px;
	 height: 12px;
	 margin: 0 6px;
	 border-radius: 50%;
	 background-color: rgba(45,75,67, 0.5);
}
/* ドットのアニメーション：画像に同期させて色を変える */
@keyframes activeDot1 {
	 0%, 20% {
		 background-color: #2d4b43;
	}
	 24%, 100% {
		 background-color: rgba(45,75,67, 0.5);
	}
}
@keyframes activeDot2 {
	 0%, 20% {
		 background-color: rgba(45,75,67, 0.5);
	}
	 24%, 40% {
		 background-color: #2d4b43;
	}
	 44%, 100% {
		 background-color: rgba(45,75,67, 0.5);
	}
}
@keyframes activeDot3 {
	 0%, 40% {
		 background-color: rgba(45,75,67, 0.5);
	}
	 44%, 60% {
		 background-color: #2d4b43;
	}
	 64%, 100% {
		 background-color: rgba(45,75,67, 0.5);
	}
}
@keyframes activeDot4 {
	 0%, 60% {
		 background-color: rgba(45,75,67, 0.5);
	}
	 64%, 80% {
		 background-color: #2d4b43;
	}
	 84%, 100% {
		 background-color: rgba(45,75,67, 0.5);
	}
}
@keyframes activeDot5 {
	 0%, 80% {
		 background-color: rgba(45,75,67, 0.5);
	}
	 84%, 100% {
		 background-color: #2d4b43;
	}
}
/* ドットにアニメーションを適用 */
.d1 {
	 animation: activeDot1 20s infinite;
}
.d2 {
	 animation: activeDot2 20s infinite;
}
.d3 {
	 animation: activeDot3 20s infinite;
}
.d4 {
	 animation: activeDot4 20s infinite;
}
.d5 {
	 animation: activeDot5 20s infinite;
}


#plan {
  position: relative;
}
.plan-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  margin-bottom: 20px;
  padding: 0;
  position: relative;
  border: 1px solid #ccc;
}

.plan-img {
  width: 350px;
}

.main-img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 55px;
  height: auto;
  opacity: 0.9;
  z-index: 1;
}

.plan-text {
  flex: 1;
  padding: 0 20px;
  text-align: left;
}

.plan-text p {
  font-size: 15px;
  margin: 0;
  font-family: "游明朝", YuMincho,"ヒラギノ明朝 Pro W3","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif !important;
}
.plan-text .ttl {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.gallery {
  max-width: 950px;
  margin: 0 auto;
}

.row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

/* === 比率設定 === */

/* 2:1 比率 */
.row-2to1 .large-2 {
  flex: 2;
}
.row-2to1 .large-1 {
  flex: 1;
}

/* 1:1 & 1:1:1 比率 */
.row-1to1 .equal,
.row-1to1to1 .equal {
  flex: 1;
}

/* === 共通アイテムスタイル === */
.item {
  display: flex;
  flex-direction: column;
  border: 1px solid #cccccc;
}
.wrapper .item{
	 background: #f0f0f0;
}
.wrapperBg .item{
	 background: #fff;
}

/* 高さ280px固定でトリミング表示 */
.item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.item .ttl {
  margin: 20px 10px 10px 10px;
  font-size: 18px;
  font-weight: 600;
}

.item .comment {
  margin: 0px 10px 10px 10px;
  font-weight: 400;
  font-size: 15px;
}

#foot {
	 width: 100%;
	 padding: 5px 0 10px;
	 background: #2d4b43;
}
#foot h1 {
	 text-align: center;
	 padding: 10px 0 0 0;
}
#foot p {
	 text-align: center;
	 font-size: 15px;
	 padding: 10px 0 0 0;
	 color: #fff;
}
.btn{
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
.detailBtn {
	width: 500px;
	margin: 10px auto;
	padding: 12px 0;
	font-size: 18px;
	color: #fff;
	outline: none !important;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: block;
}
.detailBtn.btn-01{
	background: #2d4b43;
	z-index: 1;
}
.detailBtn.btn-01:after {
	position: absolute;
	content: "";
	width: 0;
	height: 100%;
	top: 0;
	right: 0;
	z-index: -1;
	transition: all 0.3s ease;
}
.detailBtn.btn-01 span:after {
	content: "";
	position: absolute;
	top: 50%;
	right:20px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #fff;
	transition: all ease 600ms; 
}
.detailBtn.btn-01:hover {
	color: #fff;
}

/* ページ内リンクアンカー位置調整 */
.anchor-adjust {
  position: relative;
}

.anchor-adjust::before {
  content: "";
  display: block;
  height: 105px; 
  margin-top: -105px; 
  visibility: hidden;
}
