/* ============================================
   悠遊四国 カスタムスタイル
   youyou-style.css
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
  --yy-primary: #3a9d6e;
  --yy-primary-light: #5cb88a;
  --yy-primary-dark: #1e6b47;
  --yy-accent: #c8a45c;
  --yy-accent-light: #e4cc8a;
  --yy-text: #2c2c2c;
  --yy-text-light: #666;
  --yy-bg-cream: #faf8f4;
  --yy-bg-sage: #f0f4ef;
  --yy-white: #ffffff;
  --yy-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --yy-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --yy-radius: 8px;
  --yy-transition: 0.3s ease;
}

/* ========== RESET for template page ========== */
.youyou-page { font-family: 'Noto Sans JP', 'Noto Sans TC', sans-serif; color: var(--yy-text); line-height: 1.8; }
.youyou-page *, .youyou-page *::before, .youyou-page *::after { box-sizing: border-box; }
.youyou-page a { text-decoration: none; color: inherit; transition: color var(--yy-transition); }
.youyou-page img { max-width: 100%; height: auto; }
.youyou-page .yy-hero .yy-hero-content h1 { color: #F5F0E8 !important; }
.youyou-page .yy-hero .yy-hero-content .yy-hero-badge { color: #F5F0E8 !important; }
.youyou-page .yy-hero .yy-hero-content .yy-hero-areas { color: #F5F0E8 !important; }
/* ========== CUSTOM HEADER ========== */
.yy-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}
.yy-header-top {
  background: var(--yy-primary-dark);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.yy-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
}
.yy-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yy-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.yy-logo-icon {
  width: 40px; height: 40px;
  background: var(--yy-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

/* ========== NAV MENU ========== */
.yy-nav { display: flex; list-style: none; gap: 0; margin: 0; padding: 0; }
.yy-nav li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--yy-text);
  position: relative;
  letter-spacing: 0.3px;
}
.yy-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; width: 0;
  height: 2px;
  background: var(--yy-accent);
  transition: all var(--yy-transition);
  transform: translateX(-50%);
}
.yy-dropdown-toggle::after {
  content: ' ▾' !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  transform: none !important;
}
.yy-nav li a:hover::after, .yy-nav li a.active::after { width: 70%; }
/* ========== LANG SWITCH ========== */
.yy-header-actions { display: flex; align-items: center; gap: 12px; }
.yy-lang-switch {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
}
.yy-lang-btn {
  padding: 5px 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--yy-transition);
}
.yy-lang-btn.active { background: var(--yy-primary); color: #fff; }
/* ========== NAV DROPDOWN ========== */
.yy-nav-dropdown { position: relative; }
.yy-dropdown-toggle { position: relative; }
.yy-dropdown-toggle::after { content: ' ▾'; font-size: 0.7rem; position: static; width: auto; height: auto; background: none; transform: none; }
.yy-dropdown-toggle.active { position: relative; }
.yy-dropdown-toggle.active::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 70%; height: 2px; background: var(--yy-accent); transform: translateX(-50%); }
.yy-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  box-shadow: var(--yy-shadow-lg);
  border-radius: var(--yy-radius);
  min-width: 220px;
  padding: 8px 0;
  z-index: 10000;
  list-style: none;
  margin: 0;
}
.yy-nav-dropdown:hover .yy-dropdown-menu { display: block; }
.yy-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--yy-text);
  white-space: nowrap;
  border-bottom: none;
}
.yy-dropdown-menu li a::after { display: none; }
.yy-dropdown-menu li a:hover { background: var(--yy-bg-sage); color: var(--yy-primary); }

/* ========== HAMBURGER ========== */
.yy-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.yy-hamburger span { display: block; width: 24px; height: 2px; background: var(--yy-text); transition: all var(--yy-transition); }

/* ========== HERO ========== */
.yy-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.yy-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a9d6e 0%, #1e6b47 40%, #2d8a5e 70%, #1e6b47 100%);
}
.yy-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.yy-hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}
.yy-hero-overlay-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1524413840807-0c3cb6fa808d?w=1920&q=80') center/cover;
  opacity: 0.25;
  z-index: 1;
}
.yy-hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 30px; }
.yy-hero-badge {
  display: inline-block;
  padding: 6px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 30px;
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.yy-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  color: #F5F0E8 !important
}
.yy-hero-sub { font-size: 1.15rem; font-weight: 300; opacity: 0.9; margin-bottom: 40px; letter-spacing: 1px; }
.yy-hero-areas { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,0.65);}
.yy-area-tag {
  padding: 10px 28px;
  background: rgba(120,120,120,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  transition: all var(--yy-transition);
}
.yy-area-tag:hover { background: rgba(255,255,255,0.25); }
.yy-scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; animation: yyBounce 2s infinite; }
.yy-scroll-indicator span { display: block; width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.6); border-bottom: 2px solid rgba(255,255,255,0.6); transform: rotate(45deg); }
@keyframes yyBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== SECTIONS ========== */
.yy-section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.yy-section-full { padding: 100px 0; }
.yy-section-title { text-align: center; margin-bottom: 60px; }
.yy-section-title h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 600; color: var(--yy-primary-dark); margin-bottom: 10px; }
.yy-section-title .yy-sub { font-size: 0.9rem; color: var(--yy-accent); letter-spacing: 2px; }
.yy-section-title .yy-line { display: block; width: 50px; height: 2px; background: var(--yy-accent); margin: 16px auto 0; }

/* ========== NEWS ========== */
.yy-news-list { max-width: 800px; margin: 0 auto; }
.yy-news-item { display: flex; align-items: flex-start; gap: 24px; padding: 24px 0; border-bottom: 1px solid #e8e4dc; }
.yy-news-date { flex-shrink: 0; font-size: 0.85rem; color: var(--yy-primary); font-weight: 500; min-width: 100px; }
.yy-news-tag { display: inline-block; background: var(--yy-primary); color: #fff; font-size: 0.7rem; padding: 2px 10px; border-radius: 3px; margin-right: 12px; }

/* ========== TOUR CARDS ========== */
.yy-tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.yy-tour-card { border-radius: var(--yy-radius); overflow: hidden; box-shadow: var(--yy-shadow); transition: transform var(--yy-transition), box-shadow var(--yy-transition); background: #fff; }
.yy-tour-card:hover { transform: translateY(-5px); box-shadow: var(--yy-shadow-lg); }
.yy-tour-card-img { height: 280px; position: relative; overflow: hidden; }
.yy-tour-card-img img { width: 100%; height: 100%; object-fit: cover; }
.yy-tour-card-img .yy-overlay-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 20px 20px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); color: #fff; }
.yy-tour-card-body { padding: 24px; }
.yy-tour-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--yy-primary-dark); }
.yy-tour-card-body p { font-size: 0.88rem; color: var(--yy-text-light); }

/* ========== SERVICES ========== */
.yy-services-highlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.yy-sh-card { background: #fff; border-radius: var(--yy-radius); overflow: hidden; box-shadow: var(--yy-shadow); transition: transform var(--yy-transition); }
.yy-sh-card:hover { transform: translateY(-3px); }
.yy-sh-card .yy-img-area { height: 200px; position: relative; overflow: hidden; }
.yy-sh-card .yy-img-area img { width: 100%; height: 100%; object-fit: cover; }
.yy-sh-card .yy-card-content { padding: 20px; text-align: center; }
.yy-sh-card h4 { font-size: 1rem; color: var(--yy-primary-dark); margin-bottom: 6px; }
.yy-sh-card p { font-size: 0.82rem; color: var(--yy-text-light); }

.yy-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.yy-service-card { background: #fff; border-radius: var(--yy-radius); padding: 36px 28px; text-align: center; box-shadow: var(--yy-shadow); transition: all var(--yy-transition); position: relative; overflow: hidden; }
.yy-service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--yy-primary), var(--yy-accent)); transform: scaleX(0); transition: transform var(--yy-transition); }
.yy-service-card:hover::before { transform: scaleX(1); }
.yy-service-card:hover { transform: translateY(-3px); }
.yy-service-icon { width: 60px; height: 60px; background: var(--yy-bg-sage); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.yy-service-card h4 { font-size: 1rem; font-weight: 600; color: var(--yy-primary-dark); margin-bottom: 8px; }
.yy-service-card p { font-size: 0.85rem; color: var(--yy-text-light); }

/* ========== SHIKOKU ========== */
.yy-shikoku-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.yy-shikoku-card { border-radius: var(--yy-radius); overflow: hidden; box-shadow: var(--yy-shadow); background: #fff; transition: transform var(--yy-transition); }
.yy-shikoku-card:hover { transform: translateY(-5px); }
.yy-shikoku-card .yy-img-area { height: 300px; position: relative; overflow: hidden; }
.yy-shikoku-card .yy-img-area img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.yy-shikoku-card:hover .yy-img-area img { transform: scale(1.05); }
.yy-shikoku-card .yy-card-body { padding: 28px; }
.yy-shikoku-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--yy-primary-dark); margin-bottom: 10px; }

/* ========== PARTNER ========== */
.yy-partner-bg { background: var(--yy-primary-dark); color: #fff; }
.yy-partner-bg .yy-section-title h2 { color: #fff; }
.yy-partner-bg .yy-section-title .yy-sub { color: var(--yy-accent-light); }
.yy-partner-content { max-width: 800px; margin: 0 auto; text-align: center; }
.yy-partner-content > p { font-size: 1rem; line-height: 2; opacity: 0.9; margin-bottom: 40px; }
.yy-partner-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.yy-partner-item { padding: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--yy-radius); font-size: 0.95rem; }
.yy-partner-item .yy-icon { font-size: 1.4rem; margin-bottom: 8px; }
.yy-partner-reg { padding: 24px; background: rgba(200,164,92,0.15); border: 1px solid var(--yy-accent); border-radius: var(--yy-radius); font-size: 0.9rem; line-height: 1.9; }

/* ========== DIANPING ========== */
.yy-dianping-content { max-width: 700px; margin: 0 auto; text-align: center; }
.yy-dianping-badges { display: flex; justify-content: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.yy-dianping-badge { padding: 24px 36px; background: #fff; border-radius: var(--yy-radius); box-shadow: var(--yy-shadow); text-align: center; }
.yy-dianping-badge .yy-badge-icon { font-size: 2rem; margin-bottom: 10px; }
.yy-dianping-badge h4 { font-size: 0.95rem; color: var(--yy-primary-dark); }
.yy-dianping-badge p { font-size: 0.82rem; color: var(--yy-text-light); }

/* ========== COMPANY ========== */
.yy-company-table { max-width: 800px; margin: 0 auto; background: #fff; border-radius: var(--yy-radius); box-shadow: var(--yy-shadow); overflow: hidden; }
.yy-company-row { display: flex; border-bottom: 1px solid #f0ece4; }
.yy-company-row:last-child { border-bottom: none; }
.yy-company-label { flex: 0 0 200px; padding: 18px 24px; background: var(--yy-bg-sage); font-weight: 500; font-size: 0.9rem; color: var(--yy-primary-dark); }
.yy-company-value { flex: 1; padding: 18px 24px; font-size: 0.9rem; }

/* ========== CONTACT ========== */
.yy-contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 900px; margin: 0 auto; }
.yy-contact-form { background: #fff; padding: 40px; border-radius: var(--yy-radius); box-shadow: var(--yy-shadow); }
.yy-form-group { margin-bottom: 24px; }
.yy-form-group label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 8px; color: var(--yy-primary-dark); }
.yy-form-group input, .yy-form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 0.9rem; transition: border-color var(--yy-transition); }
.yy-form-group input:focus, .yy-form-group textarea:focus { outline: none; border-color: var(--yy-primary); }
.yy-form-group textarea { height: 150px; resize: vertical; }
.yy-privacy-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; font-size: 0.82rem; color: var(--yy-text-light); }
.yy-privacy-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--yy-primary); }
.yy-submit-btn { width: 100%; padding: 14px; background: var(--yy-primary); color: #fff; border: none; border-radius: 6px; font-family: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background var(--yy-transition); }
.yy-submit-btn:hover { background: var(--yy-primary-dark); }
.yy-contact-info-block { margin-bottom: 30px; }
.yy-contact-info-block h4 { font-size: 1rem; color: var(--yy-primary-dark); margin-bottom: 8px; }
.yy-contact-info-block p { font-size: 0.9rem; color: var(--yy-text-light); line-height: 1.8; }
.yy-line-qr { width: 160px; height: 160px; background: #f0f0f0; border-radius: var(--yy-radius); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #999; margin-top: 10px; border: 2px dashed #ddd; }
.yy-lang-note{margin-top:10px;font-size:0.9rem;color:#666;}
.yy-lang-note { margin-top: 20px; padding: 12px 16px; background: var(--yy-bg-cream); border-radius: 6px; font-size: 0.85rem; color: var(--yy-text-light); }

/* ========== FOOTER ========== */
.yy-footer { background: #fff; color: #2c2c2c; padding: 60px 40px 30px; }
.yy-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.yy-footer-brand .yy-logo { color: #fff; margin-bottom: 16px; }
.yy-footer-brand p { font-size: 0.82rem; line-height: 1.8; }
.yy-footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.yy-footer-nav a { font-size: 0.82rem; padding: 4px 0; opacity: 0.7; transition: opacity var(--yy-transition); display: block; }
.yy-footer-nav a:hover { opacity: 1; }
.yy-footer-nav a { margin-bottom: 1px; padding-top: 1px; padding-bottom: 1px; }
.yy-footer-social a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; font-size: 0.82rem; transition: all var(--yy-transition); width: fit-content; }
.yy-footer-social a:hover { background: rgba(255,255,255,0.1); }
.yy-footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; }

/* ========== HOME: Area Nav Buttons ========== */
.yy-area-nav-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--yy-primary);
  color: var(--yy-primary);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--yy-transition);
}
.yy-area-nav-btn:hover {
  background: var(--yy-primary);
  color: #fff;
}

/* ========== HOME: Spot Card Grid ========== */
.yy-home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.yy-home-spot-card {
  background: #fff;
  border-radius: var(--yy-radius);
  overflow: hidden;
  box-shadow: var(--yy-shadow);
  transition: transform var(--yy-transition), box-shadow var(--yy-transition);
}
.yy-home-spot-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--yy-shadow-lg);
}
.yy-home-spot-img {
  height: 200px;
  overflow: hidden;
}
.yy-home-spot-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.yy-home-spot-card:hover .yy-home-spot-img img {
  transform: scale(1.08);
}
.yy-home-spot-body {
  padding: 20px;
}
.yy-home-spot-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--yy-primary-dark);
  margin-bottom: 8px;
}
.yy-home-spot-body p {
  font-size: 0.84rem;
  color: var(--yy-text-light);
  line-height: 1.7;
}

/* ========== HOME: Service Block Grid ========== */
.yy-home-service-block {
  display: block;
  padding: 28px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--yy-radius);
  text-align: center;
  color: #fff;
  transition: all var(--yy-transition);
  text-decoration: none;
}
.yy-home-service-block:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
  color: #fff;
}
.yy-home-service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.yy-home-service-block h4 {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ========== PAGE SECTIONS ========== */
.yy-page-section { display: none; }
.yy-page-section.active { display: block; }
/* ========== RESPONSIVE: TABLET (1024px以下) ========== */
@media (max-width: 1024px) {
  /* ナビゲーション */
  .yy-nav { display: none; }
  .yy-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    box-shadow: var(--yy-shadow-lg);
    padding: 20px;
    z-index: 9999;
  }
  .yy-nav.open li a { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; }
  .yy-dropdown-menu { position: static; box-shadow: none; display: none; padding-left: 20px; }
  .yy-nav-dropdown:hover .yy-dropdown-menu { display: block; }
  .yy-nav.open .yy-dropdown-menu { display: block; }
  .yy-hamburger { display: flex; }
  .yy-header-main { padding: 0 20px; }

  /* ヒーロー */
  .yy-hero h1 { font-size: 2.2rem; }

  /* セクション */
  .yy-section { padding: 60px 20px; }

  /* グリッド */
  .yy-tour-grid, .yy-shikoku-grid { grid-template-columns: 1fr; }
  .yy-services-highlight { grid-template-columns: 1fr; }
  .yy-services-grid { grid-template-columns: repeat(2, 1fr); }
  .yy-contact-wrapper { grid-template-columns: 1fr; }
  .yy-company-row { flex-direction: column; }
  .yy-company-label { flex: unset; }
  .yy-partner-services { grid-template-columns: 1fr; }
  .yy-home-card-grid { grid-template-columns: 1fr; }
  .yy-home-service-block h4 { font-size: 0.8rem; }

  /* エリアブロック */
	#yy-page-plans .yy-section > div:last-child { grid-template-columns: repeat(2, 1fr) !important; }
  #area-ehime > div > div:first-child,
  #area-kagawa > div > div:first-child,
  #area-tokushima > div > div:first-child,
  #area-kochi > div > div:first-child { grid-template-columns: 1fr !important; }
  #area-services > div > div:last-child { grid-template-columns: repeat(2, 1fr) !important; }
  .yy-chugoku-area-block { grid-template-columns: 1fr !important; }

  /* フッター */
  .yy-footer { padding: 40px 20px 20px; }
  .yy-footer-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .yy-footer-brand { text-align: center; }
  .yy-footer-brand .yy-logo { justify-content: center; }
  .yy-footer-nav { justify-content: center; }
  .yy-footer-nav a { margin-left: 0 !important; }
  .yy-footer-nav div[style*="inline-block"] { display: block !important; text-align: center; }
  .yy-footer-social { align-items: center !important; }
  .yy-footer-inner > div:last-child { flex-direction: column !important; align-items: center !important; }
  .yy-footer-bottom { border-top: 1px solid #e8e4dc; }
}

/* ========== RESPONSIVE: MOBILE (600px以下) ========== */
@media (max-width: 600px) {
  /* ヒーロー */
  .yy-hero h1 { font-size: 1.8rem; }
  .yy-hero-sub { font-size: 0.95rem; }
  .yy-hero-areas { gap: 10px; }
  .yy-area-tag { padding: 8px 18px; font-size: 0.8rem; }
  .yy-logo span { font-size: 1rem; }
  /* セクション */
  .yy-section-title h2 { font-size: 1.6rem; }
  .yy-services-grid { grid-template-columns: 1fr; }
#yy-page-plans .yy-section > div:last-child { grid-template-columns: 1fr !important; }
  /* ニュースバー */
  .yy-news-item { flex-direction: column; gap: 8px; }

  /* コンタクト */
  .yy-contact-form { padding: 24px 16px; }

  /* フッター */
  .yy-footer { padding: 30px 16px 16px; }
  .yy-footer-inner { gap: 24px; }
  .yy-footer-nav { grid-template-columns: 1fr !important; text-align: center; gap: 6px; }
  .yy-footer-nav a { margin-left: 0 !important; padding: 6px 0; font-size: 0.78rem; }
  .yy-footer-brand .yy-logo span { font-size: 1.2rem; }
  .yy-footer-brand p { font-size: 0.72rem; }
  .yy-footer-inner > div:last-child { gap: 16px !important; }
  .yy-footer-social a { font-size: 0.78rem; padding: 6px 12px; }
  .yy-footer-bottom { font-size: 0.7rem; padding-top: 16px; }
  .yy-footer-bottom a { font-size: 0.7rem; }

  /* エリアセクション */
  .yy-area-block { gap: 30px !important; }
  .yy-area-block img { height: 250px !important; }
}





/* ========== MODAL POPUP ========== */
.yy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.yy-modal.active { display: flex; }
.yy-modal-inner {
  position: relative;
  max-width: 700px;
  max-height: 90vh;
  width: 100%;
}
.yy-modal-inner img {
  width: 100%;
  height: auto;
  border-radius: var(--yy-radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.yy-modal-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.yy-modal-close:hover { background: #f0f0f0; }

