@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;
}

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: 2.5rem;
  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; }
.tb { display: none; }
.sp { display: none; }

@media (min-width: 481px) and (max-width: 768px) {
  .pc { display: none; }
  .tb { display: block; }
}

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

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

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #fad0d0 0%, #fad0d0 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 #CB4042;
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-spinner p {
  font-size: 1.2rem;
  color: #CB4042;
  font-weight: 500;
}

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

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

header {
  background: #CB4042;
  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 #CB4042;
  transition: box-shadow 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 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: 1.1rem;
  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: #CB4042 !important;
  }
  nav ul li a:hover {
    color: #7f4d84;
  }
}

/* ========================================
  メインコンテンツ
======================================== */
.main-content {
  min-height: calc(100vh - 400px);
}
  
/* ========================================
   メインビジュアルスライダー
======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 730px;
  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: #c75c5e9e;
  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: #CB4042;
  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: 320px;
  padding: 0 10px 0 0;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 19px;
}

.news-contact dd {
  text-align: left;
  font-weight: bold;
  font-size: 19px;
}

@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;
    font-size: 18px;
  }
  .news-contact dd {
    font-size: 18px;
  }
}  

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

/* ==========================================================================
  イベント
========================================================================== */

.event {
  background-color: #faf7f3;
  padding: 130px 0 60px;
  margin: 0 auto -30px;
}

.event-comment {
  padding: 60px 40px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.event-comment p {
  color: #000;
  text-align: center;  
}

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

.event-grid {
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  gap:40px;
  margin: 80px auto 0;
  justify-content: center;
}

.event-grid > div {
  width: calc(50% - 20px); /* 2列固定（gapの半分を引く） */
  text-align: center;
  min-width: 330px;
}

.event-item {
  flex-direction: column;
  margin-bottom: 16px;
}

.event-grid img {
  width: 100%;
  height: auto;
}

.event-txt {
  margin-top: 8px;
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .event {
    padding: 100px 0 40px;
  }
  .event-comment {
    padding: 40px 20px;
  }
  .event-grid{
    margin: 40px 20px 0;
    gap: 16px;
    justify-items: center;
    flex-direction: column;
    align-items: center;  
  }
  .event-grid > div {
    width: 100%;
  }  
}  

/* ==========================================================================
  グロリアケープタワーホテル
========================================================================== */

.subtitle {
  text-align: right;
  color: #666;
  font-size: 16px;
  margin-bottom: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
th {
  background-color: #f0e6d2;
  color: #333;
  font-weight: bold;
}
.building-name {
  background-color: #faf8f3;
  font-weight: bold;
  text-align: left;
  padding-left: 20px;
}
.room-number {
  background-color: #fff;
}
.price-normal {
  color: #000;
}
.price-weekend {
  color: #0066cc;
}
.price-peak {
  color: #cc0000;
}
.note-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
}
.note-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.note-item {
  margin: 8px 0;
  line-height: 1.6;
  font-size: 14px;
}
.color-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  font-size: 14px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.color-box {
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
}

/* ==========================================================================
  ゲストハウス
========================================================================== */

.gh {
  background-color: #faf7f3;
  padding: 130px 0 60px;
  margin: 0 auto;
}

.gh-photo {
  max-width: 906px;
  margin: 0 auto;
}

.gh-grid {
  display: flex;
  flex-wrap: wrap;
  gap:40px;
  margin:0 auto 60px;
}

.gh-grid > div {
  width: calc(50% - 20px); /* 2列固定（gapの半分を引く） */
  text-align: center;
  min-width: 330px;
}

.gh-item {
  flex-direction: column;
  margin-bottom: 16px;
}

.gh-grid img {
  width: 100%;
  height: auto;
}

.gh-info {
  background: #fff;
  padding: 48px 32px;
  border-radius: 16px;
  max-width: 900px;
  margin: 60px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gh-info h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #264399;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.gh-info h2 small {
  font-size: 0.7em;
}

.gh-price h3 {
  font-size: 1.4rem;
  color: #264399;
  margin-bottom: 0.5em;
  border-bottom: 3px solid #ffda22;
  display: inline-block;
  padding-bottom: 0.2em;
}

.gh-price p {
  line-height: 1.9;
  color: #333;
  margin-bottom: 1.1em;
}

/* テーブル（料金表） */
.gh-price table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.8em;
}

.gh-price th, .gh-price td {
  border: 1px solid #9c876f;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.gh-price th {
  background: #887663;
  font-weight: bold;
  color: #fff;
}

.gh-note {
  font-size: 0.9em;
  text-align: center;
}

.gh-rule {
  border: 1px solid #9c876f;
  padding: 40px 40px 16px;
  margin-top: 40px;
}

.gh-txt {
  border-bottom: 1px solid #887663;
  margin-bottom: 20px;
}

.gh-reserve {
  background: linear-gradient(45deg, #887663, #b39a7f);
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 24px auto 16px;
  max-width: 300px;
  display: block;
}

.gh-reserve:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

.gh-rp {
  text-align: center;
}

@media (max-width: 768px) {
  .gh {
    padding: 100px 0 40px;
  }
  .gh-grid{
    gap: 16px;
    justify-items: center;
    flex-direction: column;
    align-items: center;  
  }
  .gh-grid > div {
    width: 100%;
  }
  .gh-info {
    margin: 24px auto;
    padding: 24px 20px;
  }
  .gh-info h2 {
    font-size: 1.3em;
  }
  .gh-info h2 small {
    font-size: 0.75em;
  }
  .gh-price table {
    font-size: 14px;
  }
  .gh-price h3 {
    font-size: 1.2em;
  }
  .gh-price th, .gh-price td {
    padding: 6px;
  }
  .gh-note {
    text-align: left;
  }
  .gh-rule {
    padding: 24px;
  }
  .gh-reserve {
    margin: 16px auto;      
  }
}

/* ==========================================================================
  Googleカレンダー
========================================================================== */

.calendar-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px; /* iframe周囲に少し余白を取る */
}

.calendar-frame {
  display: block;
  width: 100%;
  min-height: 500px;
  border: none;
  background-color: #faf8f4;
}

@media (max-width: 599px) {
  .calendar-wrapper {
    padding: 16px 0 0;
  }
}

@media (max-width: 480px) {
  .calendar-frame {
    min-height: 400px;
  }
}

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

.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: #cb4042b0;
  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: #CB4042;
  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: #CB4042;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 10px;
  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: 1.3rem;
  font-weight: 600;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  margin-left: 30px;
  font-size: 1.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-logo small {
  font-size: 0.9rem;
}

.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: 1rem;
  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: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 0;
  }

  .footer-right {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }
  .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;
}
