@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
	margin: 0;
	background-color: #ffffff;
}

.hakuin-column h3,
.hakuin-column h2,
.hakuin-column h1,
.hakuin-column {
  background-color: #fcfaf2;
  color: #2c3338;
  font-family: "Shippori Mincho", serif !important;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.column-hero {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 50px 10% 70px;
  background: linear-gradient(to bottom, transparent, #fcfaf2);
  opacity: 0; /* 初期状態は非表示 */
  animation: fadeInUp 2s ease-out forwards;
  animation-delay: 0.2s;
}

.main-title {
  writing-mode: vertical-rl;
  font-size: 2.5rem;
  font-weight: 700;
  border-left: 2px solid #2589d0;
  padding: 0 20% 0 20px;
}

.section-title {
  font-size: 22px;
  position: relative;
  margin-top: 140px;
  margin-bottom: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0dbcd;
  opacity: 0; /* 初期状態は非表示 */
  
}

.section-title.is-animated {
  animation: fadeInLeft 2s ease-out forwards;
  animation-delay: 0.2s;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #2589d0;
}

.second_img_wrap {
	display: flex;
	align-items: center;
}

.second_img_wrap img {
	display: block;
	max-width: 150px;
	height: auto;
	margin: 0.5rem 0.5rem 0 0;
}

.cc-by40 {
	display: block;
	width: fit-content;
	font-size: 14px;
	margin: 8px auto 0;
}

.column-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 150px 20px;
}

.third_img {
	display: block;
	width: 90%;
	height: auto;
	margin: 1rem auto 0;
}

.spot-card {
	margin-top: 70px;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.spot-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.fifth-box {
  display: flow-root; 
}

.fifth-box img {
  float: right;
  margin: 20px 6px 4px;
  width: 150px; 
  height: auto;
  border-radius: 4px;
}

.fourth_img {
	display: block;
	max-width: 90%;
	height: auto;
	margin: 70px auto 0;
	border-radius: 4px;
}

.spot-card.is-visible:nth-child(1) { transition-delay: 0s; }
.spot-card.is-visible:nth-child(2) { transition-delay: 0.15s; }
.spot-card.is-visible:nth-child(3) { transition-delay: 0.3s; }
.spot-card.is-visible:nth-child(4) { transition-delay: 0.45s; }
.spot-card.is-visible:nth-child(5) { transition-delay: 0.6s; }

.spot-card h3 {
	display: flex;
	align-items: center;
}

.spot-badge {
  display: inline-block;
  background-color: #2589d0;
  color: #ffffff;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 0.9rem;
}

/* --- フェードインのアニメーション定義 --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* 20px下から開始 */
  }
  to {
    opacity: 1;
    transform: translateY(0);    /* 元の位置へ */
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px); /* 20px左から開始 */
  }
  to {
    opacity: 1;
    transform: translateX(0);    /* 元の位置へ */
  }
}

@media (max-width: 767px) {
.second_img_wrap {
	display: flex;
	flex-direction: column-reverse;
}
	
.second_img_wrap img {
	margin: 0.5rem auto 0;
}

.cc-by40 {
	font-size: 12px;
}
}