@charset "utf-8";
/* =====================
   Reset & Base
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

:root {
  --header-height-sp: calc(3rem + 0.5rem * 2);
  --header-height-pc: calc(3.5rem + 1rem * 2);
}

body {
  background-color: #E2D9BC;
  color: #42210b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0;
}

.main-content-wrapper {
  position: relative;
  z-index: 1;
  }
.main-content-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    135deg,
    #4b3a00 0%,
    #8b6f1f 12%,
    #d4af37 25%,
    #fff8c1 37%,
    #f7d94e 50%,
    #d4af37 63%,
    #8b6f1f 80%,
    #4b3a00 100%
  );
  background-size: 400% 400%;
  background-position: 50% 50%;
  background-blend-mode: overlay;
  box-shadow: inset 0 0 50px rgba(255,255,255,0.15);
  animation: metalShine 6s ease-in-out infinite;
}

@keyframes metalShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* =====================
   ▼ Header
===================== */
.header {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 3%;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 50;
  background-color: transparent;
}

.header__menu-btn {
  background: linear-gradient(
    150deg,
    rgba(247, 172, 12, 1) 0%,
    rgba(255, 254, 34, 1) 40%,
    rgba(238, 197, 39, 1) 74%,
    rgba(247, 170, 35, 1) 100%
  );
  border-radius: 0.2rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: background-color 0.3s;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2), inset 0 0.2rem 0.5rem rgba(255, 255, 255, 0.4);
}

.header__menu-btn .bar {
  display: block;
  width: 1.5rem;
  height: 0.2rem;
  margin: 0.2rem 0;
  background-color: #8b0000;
  transition: 0.4s;
  border-radius: 0.125rem;
}

.header__menu-btn.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(0.312rem, 0.312rem);
}
.header__menu-btn.open .bar:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(0.312rem, -0.312rem);
}

.header__brand-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.header__brand-logo .logo {
  height: auto;
  max-height: 2.5rem;
  width: auto;
  filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.7));
}

.header__nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.3s ease-in-out;
  z-index: 40;
  gap: 2rem;
  font-size: 1.5rem;
}
.header__nav.nav-open {
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
}
.header__nav-link {
  padding: 0.5rem 1rem;
  color: white;
}
.header__nav-link:hover {
  color: #9ca3af;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .header {
    top: 3%;
  }

  .header__brand-logo .logo {
    height: clamp(1.562rem, 2.5vw, 3.125rem);
    max-height: 3.75rem;
  }

  .header__inner {
    justify-content: space-between;
    padding: 0 5.5rem;
  }
  .header__menu-btn {
    width: 3rem;
    height: 3rem;
  }
  .menu-btn {
    display: none;
  }
.header__menu-btn .bar {
  width: 1.2rem;
  height: 0.2rem;
  margin: 0.2rem 0;
}
  .header-nav {
    display: block;
    position: static;
    background-color: transparent;
    width: auto;
    height: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav-list {
    flex-direction: row;
    gap: 2rem;
  }

  .header__menu-btn .bar {
    width: 2.5rem;
  }

  .header__nav {
    font-size: 2rem;
  }

  .hero {
    margin-top: calc(-1 * var(--header-height-pc));
    padding-top: var(--header-height-pc);
  }
}
/* PC Styles */
@media (min-width: 1025px) {

  .header__menu-btn {
    width: 4rem;
    height: 4rem;
  }
.header__menu-btn .bar {
  width: 2.5rem;
  height: 0.2rem;
  margin: 0.2rem 0;
  border-radius: 0.2rem;
}
}

/* =====================
   CTA Button
===================== */
.cta-button {
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 0;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.cta-button--black {
  background: linear-gradient(to right, #ffd700, #ff8c00);
  color: #42210b;
  border: 1px solid #df9500;
}
.cta-button--black:hover {
  background: #000;
  color: #ffd700;
}

/* =====================
   Hero
===================== */
.hero {
	position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
	margin-top: 0;
    padding-top: 0;
		background-color: transparent;
}
.hero__bg-image {
  position: absolute;
	top: 0;
  inset: 0;
  background-image: url('../images/sp_hero.jpg');
  background-size: cover;
  background-position: center 0%;
  background-repeat: no-repeat;
  filter: brightness(0.9);
}
.hero__content {
  position: absolute;
  z-index: 10;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.catch-copy-chars {
  text-align: left; 
  color: #000;
  font-family: "HG明朝E", "Cormorant Garamond", serif;
  font-weight: normal;
  line-height: 1.2;
  text-shadow: -1.5px -1.5px 0 #fff, 1.5px -1.5px 0 #fff,
    -1.5px 1.5px 0 #fff, 1.5px 1.5px 0 #fff, -1.5px 0 0 #fff, 1.5px 0 0 #fff,
    0 -1.5px 0 #fff, 0 1.5px 0 #fff,
    /* Outer glow */ 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.hero__subtitle {
    text-align: left;
    white-space: normal;
	font-family: 'Noto Serif JP', "HG明朝E", "Cormorant Garamond", serif;
	font-weight: 700;
	color: #000;
	text-shadow: -1.5px -1.5px 0 #fff, 1.5px -1.5px 0 #fff,
    -1.5px 1.5px 0 #fff, 1.5px 1.5px 0 #fff, -1.5px 0 0 #fff, 1.5px 0 0 #fff,
    0 -1.5px 0 #fff, 0 1.5px 0 #fff, 0 0 8px rgba(255, 255, 255, 0.8),
    0 0 16px rgba(255, 255, 255, 0.6);
	background-color: rgba(255, 255, 255, 0.4);
	padding: 1rem;
	border-radius: 0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Keyframes for text animation */
@keyframes fadeInUp {
  from {
    transform: translateY(1em);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Hero Mobile */
@media (max-width: 767px) {
  .hero {
    padding-top: 18rem;
    padding-bottom: 10rem;
    margin-bottom: 2rem;
  }
  .hero__bg-image {
  }
  .hero__content {
    top: 0;
    bottom: 0;
    left: clamp(1rem, -0.679rem + 7.674vw, 3rem);
    width: calc(100% - 3rem); 
    max-width: clamp(23rem, 21.715rem + 6.852vw, 25rem); 
  }
  .catch-copy-chars {
    position: absolute;
    top: 35%;
    font-size: clamp(1.4rem, 0.827rem + 2.864vw, 2.2rem); 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero__subtitle {
    position: absolute;
    bottom: 5%;
    font-size: clamp(0.8rem, 0.35rem + 2.398vw, 1.5rem); 
    line-height:1.8; 
    padding: 0.5rem;
  }
}

/* Hero Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: clamp(31rem, -2rem + 68.75vw, 42rem);
  }
  .hero__bg-image {
    background-image: url('../images/pc_hero.jpg');
    background-position: center 0%;
  }
  .hero__content {
    top: 58%;
    left: 5%;
    right: auto;
    transform: translateY(-50%);
    width: auto;
    max-width: 60rem;
    padding-right: 2rem;
  }

  .catch-copy-chars {
    font-size: clamp(2.1rem, -0.3rem + 5vw, 2.9rem);
    margin-bottom: clamp(6.3rem, -1.8rem + 16.875vw, 9rem);
    letter-spacing: 0.1rem;
    white-space: normal;
  }
  .hero__subtitle {
   font-size: clamp(1.5rem, 0rem + 3.125vw, 2rem);
   max-width: 40rem;
   white-space: normal;
  }
}

/* Hero PC */
@media (min-width: 1025px) {
  .hero {
    height: clamp(45rem, 27.821rem + 26.82vw, 60rem);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero__bg-image {
    background-image: url('../images/pc_hero.jpg');
    background-position: center 0%;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    inset: 0;
    filter: brightness(0.9);
  }

  .hero__content {
    position: absolute;
    top: 68%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 60rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: white;
    box-sizing: border-box;
  }

  .catch-copy-chars {
    font-size: clamp(2.5rem, 0.782rem + 2.682vw, 4rem);
    margin-bottom: 8rem;
    letter-spacing: 0.3rem;
    white-space: normal; 
  }

  .hero__subtitle {
    font-size: clamp(1.5rem, 0.584rem + 1.43vw, 2.3rem);
    max-width: 60rem;
    white-space: normal;
	letter-spacing: 0.3rem;
	line-height: clamp(2.8rem, 1.311rem + 2.324vw, 4.1rem);
  }
}

/* ========================================
   MESSAGE (temp) / ABOUT US (temp) Section
=========================================== */
/* Common styles */
.message-about-section {
    padding: 1%;
    text-align: center;
	  align-items: center;
		margin: 0 auto;
}

.message-about-header {
  display: flex;
  flex-direction: column;
}

/* Content container */
.message-about-content {
    margin: 0 auto; 
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Didot LT Pro', serif;
    color: #ffd700;
    margin: 0;
}

.section-subtitle {
	font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
	letter-spacing: 0.1em;
    font-weight: bold;
}

.section-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 0 10px;
	text-align: left;
}

/* Divider style */
.header-divider {
	border: 0;
    height: 1px;
    background: linear-gradient(to right, #ffd700, transparent);
    margin: 20px auto;
    width: 100%;
}


/* PC & Tablet Layout */
@media (min-width: 768px) {
  .message-about-section {
    padding: 2% 3%;
    text-align: center;
	  align-items: center;
		margin: 0 auto;
		max-width: 80%;
  }

  .message-about-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem; 
  }

  .message-about-header .title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .title-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .message-about-header .cta-button {
    flex-shrink: 0;
  }

  .header-divider {
    margin: 10px 0 0 0;
    width: 100%;
    max-width: none;
  }

  .section-title {
    font-size: 3.5rem;
  }

  .section-intro {
    padding: 0;
  }
}

/* Adjust section subtitle font size for PC */
@media (min-width: 1025px) {
  .section-subtitle {
    font-size: 1.8rem;
  }
}

/* Adjust font size for "What is ShopKloset?" section on PC/Tablet */
@media (min-width: 768px) {
  #aboutus .section-intro {
    font-size: 1.3rem;
  }
}

/* Responsive display toggle for "What is ShopKloset?" section */
.about-text--pc {
  display: none; /* モバイルでは非表示 */
}
.about-text--mobile {
  display: block; /* モバイルでは表示 */
}
@media (min-width: 768px) {
  .about-text--pc {
    display: block; /* PC/タブレットでは表示 */
  }
  .about-text--mobile {
    display: none; /* PC/タブレットでは非表示 */
  }
}
/* ========================================
▼ "What is ShopKloset" Section Styles
=========================================== */
.about-section {
background: linear-gradient(to right, #fce0a7, #fcf0d3);
border-radius: 1rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
padding: 1.5rem;
}

.about-container {
width: 100%;
max-width: 80rem;
margin-left: auto;
margin-right: auto;
}

.about-content {
display: flex;
flex-direction: column;
gap: 2rem;
}

.about-text-group {
flex: 1;
}

.about-section-title {
text-align: center;
font-size: 1.5rem;
font-weight: bold;
color: #1a202c;
letter-spacing: 0.025em;
}

.about-divider {
height: 0.125rem;
width: 6rem;
background-color: #f7b949;
margin-left: auto;
margin-right: auto;
margin-top: 1rem;
margin-bottom: 1rem;
}

.about-intro-text {
color: #1a202c;
line-height: 1.6;
font-size: 0.875rem;
}

.download-group {
background: linear-gradient(to right, #fde466, #fce0a7);
padding: 1rem;
border-radius: 0;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
text-align: center;
}

.download-text {
color: #1a202c;
font-weight: 600;
margin-bottom: 0.75rem;
text-align: center;
}

.download-badges {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}

.download-badge {
width: 9rem;
display: flex;
align-items: center;
}

.download-badge-icon {
width: 100%;
height: auto;
height: 100%;
object-fit: contain;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
.about-content {
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
}

.about-text-group {
text-align: left;
}

.about-section-title {
text-align: left;
}

.about-divider {
margin-left: 0;
margin-right: 0;
}

.download-group {
text-align: left;
}

.download-badges {
justify-content: flex-start;
}
}

/* Adjust display order on mobile */
@media (max-width: 767px) {
.about-content {
flex-direction: column;
}
.about-text-group {
order: 1;
}
.download-group {
order: 2;
margin-top: 1.5rem;
}
}

/* Download section above the video */
.download-section {
  padding: 2rem 1rem;
}
.download-section .download-group {
  max-width: 30rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .download-section {
    padding: 3rem 1rem;
  }
}

/* Responsive display toggle for download buttons */
.download-group--pc {
  display: none; /* モバイルでは非表示 */
}
.download-group--mobile {
  display: block; /* モバイルでは表示 */
}

@media (min-width: 768px) {
  .download-group--pc {
    display: block; /* PC/タブレットでは表示 */
  }
  .download-group--mobile {
    display: none; /* PC/タブレットでは非表示 */
  }
}

/* Display toggle for download buttons in the "For Resale Shops" section */
.download-group--reuse-pc {
  display: none; /* モバイルでは非表示 */
}
.download-group--reuse-mobile {
  display: block; /* モバイルでは表示 */
  max-width: 30rem;
  margin: 2rem auto 0;
}

@media (min-width: 768px) {
  .download-group--reuse-pc {
    display: block; /* PC/タブレットでは表示 */
  }
  .download-group--reuse-mobile {
    display: none; /* PC/タブレットでは非表示 */
  }
}

/* ========================================
   ▼ Key Visual (Thumbnail or YouTube Video)
=========================================== */
.kv-video-wrapper {
  position: relative;
  width: 100%;
}

.kv-video-thumb,
.kv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PC display (769px and up) */
@media (min-width: 769px) {
  .kv-video-wrapper {
    aspect-ratio: 16 / 9;
  }
}

/* Smartphone display (768px and below) */
@media (max-width: 768px) {
  .kv-video-wrapper {
    height: 56.25vw; /* 16:9 */
  }

  .kv-video-thumb,
  .kv-video {
    position: absolute;
    top: 0;
    left: 0;
  }
}







/* Display toggle for additional text in "For Resale Shops" section */
.additional-text--pc {
  display: none; /* モバイルでは非表示 */
}
.additional-text--mobile {
  display: block; /* モバイルでは表示 */
  padding: 0 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .additional-text--pc {
    display: block; /* PC/タブレットでは表示 */
  }
  .additional-text--mobile {
    display: none; /* PC/タブレットでは非表示 */
  }
}

/* Signature-style closing */
.closing-remark {
  display: flex;
  align-items: center;
  gap: 1rem; /* Gap between divider and text */
  margin-top: 2rem; /* Space above */

  /* ▼▼▼ Settings for star animation ▼▼▼ */
  position: relative;
  overflow: hidden; /* Hide overflowing stars */
}

/* Create a "sparkle" effect */
.closing-remark::before,
.closing-remark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px; /* 左側の画面外からスタート */
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, white 10%, rgba(255,255,255,0.6) 50%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: kirran-sparkle 4s ease-in-out infinite;
}

.closing-remark::after {
  animation-delay: -2s; /* Delay the second sparkle by 2s */
}

.closing-remark__line {
  flex-grow: 1; /* Grow to fill available space */
  border: none;
  height: 1px;
  background-color: #42210b; /* Match the main text color */
}

.closing-remark__text {
  flex-shrink: 0; /* Prevent text from shrinking */
  font-family: 'Noto Serif JP', serif; /* Use a serif font for appearance */
  font-style: italic; /* Make it slightly italic */
  font-weight: bold; /* Make the text bold */

  /* ▼▼▼ Shine animation ▼▼▼ */
  color: transparent; /* Make the text itself transparent */
  background: linear-gradient(
    90deg,
    #42210b, #c3922e, #fff, #c3922e, #42210b
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine-effect 4s linear infinite;
}

@keyframes shine-effect {
  to {
    background-position: -200% center;
  }
}

@keyframes kirran-sparkle {
  0% {
    left: -20px;
    transform: translateY(-50%) scale(0.5);
    opacity: 0.5;
  }
  20% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    left: 110%;
    transform: translateY(-50%) scale(0.5);
    opacity: 0.5;
  }
}

/* =============================
   ▼ Message Section Common Structure (temp)
============================= */
.service__grid.message-sub {
  padding: 0.5rem;
  position: relative;
  overflow: visible;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 2rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.service__grid.message-sub::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/service.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  filter: invert(1);
  opacity: 0.15;
  z-index: -1;
}
.service__item {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 1rem;
  box-sizing: border-box;
overflow: visible;
}
.service__grid.message-sub .service__item:first-child,
.service__grid.message-sub .service__item:last-child {
  margin-left: 0;
  margin-right: 0;
}
.service__image--circle {
  border-radius: 50%;
  overflow: visible;
  width: 12rem;
  height: 12rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  object-fit: cover;
  background-size: contain;
  background-position: center center;
  z-index: 1;
  box-shadow: 0 0 50px 10px rgba(112, 128, 144, 0.9);
  position: relative;
}

.service__image--message-sub-1 {
  background-image: url('../images/message_sub_1.jpg');
  background-size: cover;
}

.service__image--message-sub-2 {
  background-image: url('../images/message_sub_2.jpg');
  background-size: cover;
}
.service__text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.service__grid.message-sub::-webkit-scrollbar {
  display: none;
}
.scroller-container {
  position: relative;
    padding-left: calc(50px + 1.5rem); 
    padding-right: calc(50px + 1.5rem);
  background: linear-gradient(
    45deg,
    #b1b5b3 0%,
    #e4e5e4 25%,
    #b9c3c9 50%,
    #e9eaea 75%,
    #bdc3c9 100%
  );	
}
.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, opacity 0.3s;
}
.scroll-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}
.scroll-button--left { left: 0.5rem; }
.scroll-button--right { right: 0.5rem; }
.scroll-button i { font-size: 1rem; }

/* ▼ Message Section - New section styles */
.service__item-list {
  list-style: none; /* Remove list bullets */
  padding: 0;
  margin: 0;
}

.service__item-list > li {
  margin-bottom: 1rem;
}

/* Subheading style (bold) */
.service__item-heading {
  display: block;
  font-weight: bold;
}

/* Body text style */
.service__item-list li p {
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* ブランド名リストの文字サイズを小さく */
.brand-list {
  font-size: 0.9em;
}

/* ▼ Message Section PC Styles (1025px and up) */
@media (min-width: 1025px) {
  .scroller-container {
    padding-left: 8rem; 
    padding-right: 8rem;
  } 

  /* Remove horizontal scroll and create a fixed two-row vertical layout */
  .service__grid.message-sub.message-sub--two-rows {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    overflow-y: visible;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 0;
    gap: 4rem;
  }

  /* Align image and text horizontally for both top and bottom items */
  .service__item.service__item--top,
  .service__item.service__item--bottom {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    display: flex;
  }

  /* Image size and margin */
  .service__image--circle {
    border-radius: 50%;
    width: 15rem;
    height: 15rem;
    margin: 0 4rem;
    flex-shrink: 0;
    object-fit: cover;
    background-size: contain;
    background-position: center center;
    box-shadow: 0 0 50px 20px rgba(112, 128, 144, 0.9); 
  }

  /* Top text block adjustment: split into two columns */
  .service__item--top .service__text-block--two-cols {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    flex-grow: 1;
  }

  /* Style for each column in the top text block */
  .service__item--top .service__text-block--two-cols .text-col {
    width: calc(50% - 2rem);
    flex-shrink: 0;
  }

  /* Bottom text block (long list) adjustment: use full width */
  .service__item--bottom .service__text-block {
    flex-grow: 1;
    max-width: none;
  }

  /* Hide scroll buttons */
  .scroll-button {
    display: none !important;
  }
}

/* ▼ MessageMessage(仮)タブレット表示（768~1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  
  .scroller-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* Remove horizontal scroll and create a fixed two-row vertical layout */
  .service__grid.message-sub.message-sub--two-rows {
    display: flex;
    flex-direction: column; 
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: visible; 
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 0;
    gap: 4rem; 
  }

  /* Align image and text horizontally for both top and bottom items */
  .service__item.service__item--top,
  .service__item.service__item--bottom {
    width: 100%;
    flex-direction: row; 
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    display: flex;
  }

  /* Image size and margin */
  .service__image--circle {
  border-radius: 50%;
  margin: 0 1rem;
  flex-shrink: 0;
  object-fit: cover;
  background-size: contain;
  background-position: center center;
  box-shadow: 0 0 50px 20px rgba(112, 128, 144, 0.9); 
  }
  
  /* Top text block adjustment: split into two columns */
  .service__item--top .service__text-block--two-cols {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    flex-grow: 1;
  }
  
  /* Style for each column in the top text block */
  .service__item--top .service__text-block--two-cols .text-col {
    width: calc(50% - 2rem); 
    flex-shrink: 0;
  }

  /* Bottom text block (long list) adjustment: use full width */
  .service__item--bottom .service__text-block {
    flex-grow: 1;
    max-width: none;
  }
  
  /* Hide scroll buttons */
  .scroll-button {
    display: none !important;
  }
}

/* ▼ MessageMessage(仮)モバイル表示（767px以下） */
@media (max-width: 767px) {

  .scroller-container {
    padding-left: 0; /* Set to 0 to prevent clipping shadows */
    padding-right: 0;
  }
  
  /* Re-enable horizontal scrolling */
  .service__grid.message-sub {
    /* Restore original horizontal scroll settings */
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem;
  }
  .service__grid.message-sub::-webkit-scrollbar {
    display: none;
  }
  
  /* Stack items vertically based on screen width */
  .service__item {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 1rem;
    box-sizing: border-box;
    overflow: visible;
    align-items: center; /* Center the image */
  }

  .service__image--circle {
    margin-left: 0; 
    margin-right: 0;
	      box-shadow: 0 0 50px 10px rgba(112, 128, 144, 0.9);
  }
  
  /* Top text block fix: remove two-column layout and stack vertically */
  .service__item--top .service__text-block--two-cols {
    display: flex;
    flex-direction: column; 
    gap: 1rem;
  }
  .service__item--top .service__text-block--two-cols .text-col {
    width: 100%; 
  }
}

/* =============================
   ▼ Footer Common Structure
============================= */
.site-footer {
  padding: 1.5rem 1rem;
	  font-weight: 400;
  font-style: normal;
	  background: linear-gradient(
    90deg,
    #a27c2c 0%,        /* Dark gold (left) */
    #e0b75e 30%,       /* Medium gold */
    #f9e0a0 50%,       /* Bright highlight (center) */
    #e0b75e 70%,       /* Medium gold */
    #a27c2c 100%       /* Dark gold (right) */
  );
}

/* Common wrapper for footer content */
.footer__inner-wrap {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

/* Each footer block */
.footer__group {
  width: 100%;
}

.footer__group:last-child {
  margin-bottom: 0;
}

/* Brand logo and copyright group */
.footer__group--brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  height: 3.75rem;
  width: auto;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #42210b;
  line-height: 1.5;
}

/* Contact group */
.footer__group--contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem; 
}

.contact-title {
    font-size: clamp(0.8rem, 0.543rem + 1.37vw, 1.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    margin-bottom: 0;
}

/* Added: Adjust font size for Japanese part on mobile */
.contact-title .contact-jp {
    font-size: 0.8em;
}

.contact-email {
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}


.contact-email a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: #d1d5db;
}

/* Mail icon */
.dli-mail {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  width: 1.06667em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  box-sizing: content-box;
  overflow: hidden;
}

.dli-mail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.75425em;
  height: 0.75425em;
  border: 0.1em solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 0 0.1em;
  box-sizing: content-box;
  transform: translate(-50%, -50%) rotate(-45deg) skew(10deg, 10deg);
}

/* Social icons group */
.footer__group--social {
}

.social-links-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
}

.social-icon img {
  height: 2rem;
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}


/* ===== Adjustments for PC display (applies at min-width: 768px) ===== */
@media (min-width: 768px) {
  .site-footer {
    padding: 2.5rem 1rem;
  }

  .footer__inner-wrap {
	 display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
    max-width: 80%;
    margin: 0 auto;
  }

  .footer__group {
    width: auto;
    margin-bottom: 0;
  }
  /* Adjust width of each group */
  .footer__group--brand,
  .footer__group--contact,
  .footer__group--social {
    
  }

  /* Brand logo and copyright group (PC) */
  .footer__group--brand {
	display: flex;
    flex-direction: row;
    align-items: center;
  }
  .footer-logo img {
    height: 3.75rem;
  }

  .footer-copyright {
    font-size: 0.875rem;
  }
 /* Contact group (PC) */
    .footer__group--contact {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Reset bottom margin for contact-title */
    .footer__group--contact .contact-title {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .contact-title .contact-jp {
        font-size: 0.8em;
    }
  .contact-email {
        justify-content: flex-start;
        font-size: 1rem;
        white-space: nowrap;
        flex-grow: 1;
  }
  /* Social icons group (PC) */
  .footer__group--social {
    display: flex;
    justify-content: flex-end;
  }
  .social-links-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
  }
  .social-icon img {
    height: 3rem;
  }
  .contact-email a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
	}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
.site-footer {
    padding: 2rem 1rem;
  }

  .footer__inner-wrap {
	    max-width: 80%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__group {
    width: auto;
    margin-bottom: 0;
  }


  /* Brand logo and copyright group (PC) */
  .footer__group--brand {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.5rem, -2.5rem + 6.25vw, 1.5rem);
    flex-basis: auto;
  }

  .footer-logo img {
    height: clamp(2.3rem, 0.2rem + 4.375vw, 3rem);
  }

  .footer-copyright {
    font-size: clamp(0.7rem, -0.2rem + 1.875vw, 1rem);
  }
 /* Contact group */
    .footer__group--contact {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

 /* Reset bottom margin for contact-title */
 .footer__group--contact .contact-title {
        margin-bottom: 0;
        flex-shrink: 0;
    }
	
.contact-title {
        font-size: clamp(0.6rem, -0.9rem + 3.13vw, 1.1rem);
    }
.contact-email {
        justify-content: flex-start;
        font-size: clamp(0.5rem, -0.4rem + 1.88vw, 0.8rem);
        white-space: nowrap;
        flex-grow: 1;
  }

  /* Social icons group */
  .footer__group--social {
    flex-basis: auto;
  }

  .social-links-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
  }

  .social-icon img {
    height: 2rem;
  }
	}


/* Logo size application */
/* Mobile (0px - 767px) */
.header__brand-logo .logo {
  height: 1.562rem;
  max-height: 2.5rem;
  width: auto;
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .header__brand-logo .logo {
    height: 2.5rem;
    max-height: 3.75rem;
  }
}

/* PC (1025px and up) */
@media (min-width: 1025px) {
  .header__brand-logo .logo {
    height: clamp(1.562rem, 2.5vw, 3.125rem);
    max-height: 3.75rem;
  }
}

/* ===========================================
   ▼ Adjustment to center content of right-side blocks in 2x2 layout (769px-1024px)
=========================================== */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer__group--contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; /* 念のためテキストも中央揃え */
    }
    
    /* Center social icons (social-links-wrapper) internally */
    .footer__group--social .social-links-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Prevent email address text from being left-aligned (if it exists) */
    .footer__group--contact .contact-email {
        justify-content: center;
        text-align: center;
    }
}

/* Initial state for characters to be animated */
.catch-copy-chars .char {
  display: inline-block; /* transformを適用するため */
  opacity: 0; /* 初期状態は透明 */
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
