@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP","游明朝体", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  font-weight: 500; /* 游明朝は細めなので少し太く */
  line-height: 1.8; /* 明朝体は行間を広めに */
  color: #333;
  background: #fff;
  overflow-x: hidden;
  padding-top: 75px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ==========================================================================
  共通設定
========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.35;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  position: relative;
  color: #887663 !important;
}

.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  background: #ffda22;
  margin: 10px auto 16px;
}

.news .section-title::after {
  margin: 0;
  margin-bottom: 32px;
}

.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 40px;
  } 
  .section-title {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
}

/* =======================================================================
  メディアクエリによる表示／非表示
======================================================================= */

.pc { display: block; }
.sp { display: none; }

@media (max-width: 768px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* ==========================================================================
  Loading Screen
========================================================================== */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #edeaf5 0%, #edeaf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #e6ddd0;
  border-top: 3px solid #603b6c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-spinner p {
  font-size: 1.1rem;
  color: #603b6c;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
  ヘッダー
========================================================================== */

header {
  background: #603b6c;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: 1px solid #603b6c;
  transition: box-shadow 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.logo-text small {
  font-size: 15px;
}

nav ul {
  display: flex;
  gap: 24px;
}

nav a {
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: #ffda22;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover {
  color: #ffee9b;
}

nav a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .header-container {
    padding: 12px 15px;
  }
  .logo-text strong {
    font-size: 1.2rem;
  }
  .logo-text small {
    font-size: 0.8rem;
  }    
  nav ul {
    display: none;
  }
  nav ul li a {
    color: #603b6c !important;
  }
  nav ul li a:hover {
    color: #7f4d84;
  }
}

/* ========================================
  メインコンテンツ
======================================== */
.main-content {
  min-height: calc(100vh - 400px);
}
  
/* ========================================
   メインビジュアルスライダー
======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide1.active {
  opacity: 1;
  z-index: 2;
}

.slide1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-caption {
  position: absolute;
  bottom: 80px;
  left: 50%;
  font-size: 28px;
  text-align: center;
  color: #fff;
  transform: translateX(-50%);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.slide-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  animation: fadeInUp 0.8s ease-out;
}

.slide-caption p {
  font-size: 1.3rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スライダーコントロールボタン */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  border: none;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: #7f0e7f52;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* インジケーター */
.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background-color: #fff;
  border-color: #2c5aa0;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
  }
  .slider-container {
    height: 400px;
  }
  .slide-caption {
    bottom: 60px;
    font-size: 22px;
  }
  .slide-caption h2 {
    font-size: 1.8rem;
  }
  .slide-caption p {
    font-size: 1rem;
  }
  .slider-prev,
  .slider-next {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 350px;
  }
  .slider-container {
    height: 350px;
  }
  .slide-caption {
    bottom: 40px;
    font-size: 19px;
  }
  .slide-caption h2 {
    font-size: 1.4rem;
  }
  .slide-caption p {
    font-size: 0.9rem;
  }
  .slider-prev,
  .slider-next {
    top: 200px;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  .indicator {
    width: 10px;
    height: 10px;
  }
  .slider-indicators {
    bottom: 20px;
    gap: 10px;
  }
}

/* ==========================================================================
  YouTube
========================================================================== */
  
.movie {
  padding-top: 120px;
  background: #faf7f3;
}

.movie-grid {
  max-width: 600px;
  margin: 0 auto;
}

.movie-item {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9の比率 */
  height: 0;
}

.movie-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {  
  .movie {
    padding-top: 80px;
  }
}

/* ==========================================================================
  お知らせ
========================================================================== */

.news {
  padding: 80px 0;
  background: #faf7f3;
}

.news h2 {
  text-align: left;
  margin-bottom: 10px;
}

.news-content {
  padding: 24px;
}

.news-contact li {
  margin-top: 16px;
  padding:0 20px 16px;
  border-bottom: 2px dotted #887663;
  max-width: 1100px;
}

.news-contact dt {
  float: left;
  width: 200px;
  padding: 0 10px 0 0;
  box-sizing: border-box;
  font-weight: bold;
}

.news-contact dd {
  text-align: left;
}

@media (max-width: 768px) {
  .news {
    padding: 60px 0;
  }
  .news-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .news-contact li {
    margin-top: 8px;
    padding: 0 8px 8px;
  }
  .news-contact dt {
    float: none;
    text-align: left;
    padding-bottom: 3px;
  }
}  

@media (max-width: 480px) {
  .news {
    padding: 40px 0;
  }
}

/* ==========================================================================
  プロフィール
========================================================================== */

.profile {
  padding: 180px 0 100px;
  background: #faf7f3;
  padding-bottom: 1px;
  margin-bottom: -30px;
}

.profile-comment {
  padding: 150px 40px;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
}

.profile-background {
  background: url(img/about-img-1.jpg) no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

.profile-item {
  max-width: 960px;  
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 80px 48px 48px;
  margin: 80px auto;
  background: #fff;   
}

.profile-name {
  text-align: center;
  margin-bottom: 80px;
}

.profile-1 h2 {
  font-size: 36px;
  color: #887663;
  border-bottom: 3px solid #ffda22;
  display: inline-block;
  padding-bottom: 5px;
}

.profile-flex {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

.profile h3 {
  font-size: 30px;
}

.profile h5 {
  font-size: 18px;
  margin-top: 8px;
}

.profile-left {
  width: 75%;
}

.profile-flex img {
  margin-top: 8px;
  margin-bottom: 8px;
}

.profile-work {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .profile {
    padding: 100px 0 40px;
  }
  .profile-background {
    background-position: center 20%;
  }  
  .profile-comment {
    padding: 100px 40px;
    text-align: left;
  }
  .profile-item {
    padding: 32px 24px 24px;
    margin: 40px auto;   
  }
  .profile-flex {
    flex-direction: column-reverse; 
    gap: 16px;
    margin-bottom: 0;
  }
  .profile-left {
    width: 100%;
  }
  .profile-work {
    flex-direction: column;
    gap: 8px;
  }
  .profile h2 {
    font-size: 26px;  
  }
  .profile-name {
    margin-bottom: 16px;
  }
  .profile h3 {
    font-size: 24px;
  }
  .profile-flex img {
    margin:0 auto;
    max-width: 300px;
  }
}

/* ==========================================================================
  旅写真
========================================================================== */

.gallery {
  max-width: 960px;
  padding: 180px 0 100px;
  margin: 0 auto;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  background: white;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-info {
  padding: 1rem;
  background: white;
}

.gallery-country {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 0.3rem;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px 8px 0 0;
}

.modal-info {
  background: white;
  padding: 1.5rem;
  border-radius: 0 0 8px 8px;
  text-align: center;
}

.modal-country {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: white;
  border: none;
  font-size: 2rem;
  color: #2c3e50;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: #ecf0f1;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 2rem;
  color: #2c3e50;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  transition: background 0.3s;
}

.modal-nav:hover {
  background: white;
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

@media (max-width: 768px) {
  .gallery {
    padding: 100px 0 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .modal-prev {
    left: 10px;
  }
  .modal-next {
    right: 10px;
  }
}

/* ==========================================================================
  出版本
========================================================================== */

.book {
  background-color: #faf7f3;
  padding: 180px 0 100px;
  margin-bottom: -30px;
}

/* Book Section */
.book-section {
  max-width: 960px;
  background: white;
  border-radius: 12px;
  padding: 3rem;
  margin:0 auto 6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.book-content {
  display: flex;
  gap: 3rem;
}

.book-img {
  flex: 0 0 300px;
}

.book-cover {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  margin-bottom: 1.5rem;
}

.book-preview {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.book-info {
  flex: 1;
}

.book-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid #bcab98;
  padding-bottom: 1.5rem;
}

.book-meta {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #bcab98;
}

.book-meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.book-meta-item:last-child {
  margin-bottom: 0;
}

.book-meta-label {
  font-weight: 700;
  color: #2c3e50;
  min-width: 120px;
}

.book-price {
  font-size: 1.5rem;
  color: #BF1733;
  font-weight: 700;
}

.book-description {
  font-size: 1.05rem;
  line-height: 2;
  color: #555;
  margin-bottom: 2rem;
}

/* Order Section */
.order-section {
  max-width: 960px;
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 0 auto;
}

.section-heading {
  font-size: 2rem;
  color: #603b6c;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 700;
}

.section-subheading {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
}

/* Form */
.order-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-size: 1rem;
}

.required {
  color: #e74c3c;
  margin-left: 0.3rem;
  font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Noto Serif JP', serif;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2c3e50;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-top: 0.3rem;
}

.submit-button {
  background: linear-gradient(45deg, #887663, #b39a7f);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: 'Noto Serif JP', serif;
  margin: 0 auto;
  display: block;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.form-notice {
  background: #faf7f3;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 3rem 0;
  color: #555;
  line-height: 1.8;
}

.privacy-note {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  text-align: center;
  margin-top: 15px;
}

.privacy-note a {
  color: #264399;
  text-decoration: underline;
}

/* Bank Info */
.bank-info {
  background: #faf7f3;
  border-radius: 8px;
  padding: 2rem;
}

.bank-info-title {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.bank-details {
  background: white;
  padding: 1.5rem 1.5rem 1rem;
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 2;
  border: 1px solid #bcab98;
}

.bank-details p {
  margin-bottom: 0.5rem;
}

.bank-details strong {
  color: #2c3e50;
}

@media (max-width: 768px) {
  .book {
    padding: 100px 0 40px;
  }
  .book-section {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }
  .book-content {
    flex-direction: column;
    gap: 2rem;
  }
  .book-img {
    flex: 1;
    max-width: 300px;
    margin: 0 auto;
  }
  .book-title {
    font-size: 1.2rem;
  }
  .book-price {
    font-size: 1.2rem;
  }
  .section-heading {
    font-size: 1.6rem;
  }
  .book-meta-item {
    font-size: 1rem;
  }
  .book-meta-label {
    min-width: 90px;
  }
  .book-description {
    font-size: 1rem;
    margin-bottom: 0;
  }
  .order-section {
    padding: 2rem 1.5rem;
  }
  .form-notice {
    margin: 2rem 0;
    font-size: 0.9rem;
  }
  .bank-info {
    padding: 1.5rem;
  }
}

/* ==========================================================================
  グロリアグループ紹介
========================================================================== */

.group {
  padding: 180px 0 100px;
}

.group h2 {
  text-align: center;
  margin-bottom: 10px;
}

.group-contact {
  margin-top: 15px;
  padding-bottom:15px;
  border-bottom: 4px dotted #7A5230;
  width: 1100px;
  max-width: 100%;
}

.group-contact p {
  display: block;
  text-align: left;
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 20px;
}

.group-all-link {
  color: #8B4513;
  font-size: 0.95rem;
  padding: 10px 25px;
  border: 2px solid #8B4513;
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.group-all-link:hover {
  background: #8B4513;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.group-item {
  background: #faf7f3;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid #887663;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.group-item:hover {
  transform: translateY(-5px);
  border-left-color: #5b4d3d;
  border-left-width: 6px;
  box-shadow: 0 10px 25px rgba(139, 69, 19, 0.1);
}

.group-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.group-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.group-item:hover .news-image img {
  transform: scale(1.05);
}

.group-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #603b6cba;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.group-content {
  padding: 25px;
}

.group-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.group-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.group-tags {
  margin-top: 5px;
}

.tag {
  background: #603b6c;
  color: white;
  padding: 3px 12px;
  border-radius: 12px;
  margin-right: 5px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* カルーセルスライダー - クロスフェード版 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.slides2,
.slides {
  position: relative;
  width: 100%;
  height: 300px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2枚スライド用アニメーション */
.slides2 .slide:nth-child(1) {
  animation: fadeSlide2-1 10s infinite;
}

.slides2 .slide:nth-child(2) {
  animation: fadeSlide2-2 10s infinite;
}

@keyframes fadeSlide2-1 {
  0%   { opacity: 1; }
  35%  { opacity: 1; }
  50%  { opacity: 0; }
  85%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeSlide2-2 {
  0%   { opacity: 0; }
  35%  { opacity: 0; }
  50%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

/* 3枚スライド用アニメーション */
.slides .slide:nth-child(1) {
  animation: fadeSlide3-1 15s infinite;
}

.slides .slide:nth-child(2) {
  animation: fadeSlide3-2 15s infinite;
}

.slides .slide:nth-child(3) {
  animation: fadeSlide3-3 15s infinite;
}

@keyframes fadeSlide3-1 {
  0%   { opacity: 1; }
  23%  { opacity: 1; }
  33%  { opacity: 0; }
  90%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeSlide3-2 {
  0%   { opacity: 0; }
  23%  { opacity: 0; }
  33%  { opacity: 1; }
  56%  { opacity: 1; }
  66%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes fadeSlide3-3 {
  0%   { opacity: 0; }
  56%  { opacity: 0; }
  66%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

/* レスポンシブ対応 */
@media (max-width: 1150px) {
  .slides2,
  .slides {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .group {
    padding: 100px 0 40px;
  }
  .slides2,
  .slides {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .slides2,
  .slides {
    height: 250px;
  }
}

/* ==========================================================================
  フッター
========================================================================== */

footer {
  background: #603b6c;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 20px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  margin-left: 30px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}

.footer-logo .logo-icon {
  font-size: 1.5rem;
}

.footer-section p {
  line-height: 1.8;
  font-size: 0.9rem;
  color: #fff;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.footer-section a {
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 2px 0;
}

.footer-section a:hover {
  color: #ffee9b;
  font-weight: 500;
}

.footer-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d4b896;
}

.footer-contact a {
  color: #fff;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid #fff;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-bottom p {
  color: #fff;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #fff;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffee9b;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
    margin-top: 0;
  }

  .footer-right {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }
  .footer-section h3 {
    margin: 0 auto 15px;
    text-align: center;
  }
  .footer-section h4 {
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 0px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  footer {
    padding: 20px 0;
  }
}

/* ==========================================================================
  プライバシーポリシー
========================================================================== */

.privacy {
  padding: 180px 0 100px;
  color: #413e3c;
  line-height: 1.7;
}

.privacy h1 {
  text-align: left;
  font-size: 32px;
}

.privacy h2 {
  margin-top: 24px;
}

.privacy ul {
  list-style-type: disc;
  padding-left: 20px;
}

.privacy ol {
  list-style-type: decimal;
  padding-left: 20px;    
}

@media (max-width: 768px) {
  .privacy {
    padding: 100px 0 40px;
  }
  .privacy h1 {
    font-size: 24px;
  }
  .privacy h2 {
    margin-top: 16px;
    font-size: 20px;
  }
}

/* ==========================================================================
  特定商取引法
========================================================================== */

.law {
  max-width: 960px;
  margin: 0 auto;
  padding: 180px 0 100px;
  color: #413e3c;
  line-height: 1.7;
}

.law h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.law table {
  width: 100%;
  border-collapse: collapse;
}

.law th, .law td {
  border: 1px solid #ccc;
  padding: 1em;
  text-align: left;
}
.law th {
  background-color: #f9f9f9;
  font-weight: bold;
}
.law ul {
  list-style-type: disc;
  padding-left: 20px;
}
.law li {
  margin-bottom: 5px;
}
.law p {
  margin: 10px 0;
}

@media(max-width: 768px) {
  .law {
    padding: 100px 0 40px;
  }
  .law table {
    border-bottom: 1px solid #ccc;
  }
  .law th, .law td {
    display: block;
  }
  .law th {
    border-bottom: none;
  }
  .law td {
    border-bottom: none;
  }
}

/* ==========================================================================
  サンクスページ
========================================================================== */

body {
  padding-top: 0;
}

.thanks {
  padding: 180px 0 400px;
  color: #413e3c;
  background: #faf7f3;
  line-height: 1.7;
  text-align: center;
}

.thanks-h2 {
  margin-bottom: 16px;
  color: #603b6c;
}

.thanks-btn {
  background: #603b6c;
  color: #fff;
  margin: 40px auto;
  padding: 10px 20px;
  width:200px;
  font-weight: bold;
  border-radius: 30px;
}

/* ==========================================================================
  アクセント
========================================================================== */

/* マーカー */
.a-marker,
p.a-marker {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #ffea00;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}

/* 文字の色 */
.a-red {
  color: #BF1733;
}

.a-blue {
  color: #264399;
}

.a-skyblue {
  color: #0161bd;
}
