/**
 * Front site styles (no Bootstrap). Adaptive PC/SP aligned with /ref corporate theme.
 * Image paths are relative to this file under public/assets/css/.
 */
:root {
  --sg-purple: rgb(229, 0, 101);
  --sg-purple-soft: rgb(240, 64, 140);
  --sg-contact: var(--sg-purple);
  --sg-accent: #ecbf37;
  --sg-ink: #262626;
  --sg-muted: #59493f;
  --sg-nav: #aeaeae;
  --sg-line: #e6e5e5;
  --sg-bg-soft: #f8f8f8;
  --sg-red: #c00;
  --ref-img: ../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body.preload *,
body.preload *::before,
body.preload *::after {
  transition: none !important;
}

body {
  margin: 0;
  padding-top: 105px;
  font-size: 1.6rem;
  line-height: 2;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "メイリオ", "ヒラギノ角ゴ Pro W3", "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: var(--sg-ink);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

a {
  color: var(--sg-ink);
  text-decoration: none;
  transition: opacity .2s linear, color .2s linear;
}

a:hover {
  opacity: .75;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.innerWrap {
  max-width: 1280px;
  margin: 0 auto;
}

.w1000 {
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 1320px) {
  .innerWrap { padding: 0 20px; }
}
@media screen and (max-width: 1040px) {
  .w1000 { padding: 0 20px; }
}

.pcCont { display: inline-block; }
.spCont { display: none; }

.slider {
  opacity: 0;
  transition: opacity .3s linear;
}
.slider.slick-initialized {
  opacity: 1;
}

/* ========== Header ========== */
/* Wide laptop (default): logo | message on one row — 附圖1
   ≤1215px: message above logo — 附圖2
   ≤768px: message on top, logo + hamburger — 附圖3 (/ref sp) */
.site-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .9);
  overflow: hidden;
  box-sizing: border-box;
}

/* DOM: message then brand; row-reverse → logo left, message right of logo */
.site-header .left {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  padding-left: 38px;
  width: calc(100% - 815px);
  min-width: 0;
  box-sizing: border-box;
}

.site-header .left-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo {
  margin-right: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.site-header .logo img {
  height: 30px;
  width: auto;
}

.site-header .logo a {
  display: inline-block;
}

.site-header .header-message {
  font-size: 1.2rem;
  color: #59493f;
  background: transparent;
  line-height: 1.5;
  margin: 0;
  padding: 0 0 5px;
  width: calc(100% - 190px);
  min-width: 0;
}

.site-header .tagline {
  font-size: 1.2rem;
  color: var(--sg-muted);
  line-height: 1.5;
  padding-bottom: 5px;
  min-width: 0;
}

/* Menu + CONTACT grouped on the right */
.site-header nav.right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 797px;
  max-width: 62%;
  padding-right: 15px;
  line-height: 1;
  box-sizing: border-box;
}

.site-header nav ul {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav li {
  text-align: center;
  width: 120px;
  flex-shrink: 0;
}

.site-header nav li a {
  display: block;
  height: 105px;
  position: relative;
  overflow: hidden;
  font-size: 1.2rem;
  color: var(--sg-nav);
  box-sizing: border-box;
}

.site-header nav li a span {
  display: block;
  margin-bottom: 7px;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
}

.site-header nav li a p {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding-top: 37px;
  line-height: 1.2;
}

/* Top decorative bar on hover (slides in from left) */
.site-header nav li a p::after {
  content: "";
  width: 100%;
  height: 15px;
  background: var(--sg-accent);
  position: absolute;
  left: -100%;
  top: 0;
  transition: all .2s linear;
}

.site-header nav li a:hover {
  color: var(--sg-accent);
  opacity: 1;
}

.site-header nav li a:hover p::after {
  left: 0;
}

/* CONTACT purple box (far right) */
.site-header nav .contact {
  padding: 15px 0;
  text-align: center;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header nav .contact a {
  display: block;
  position: relative;
  overflow: hidden;
  width: 200px;
  height: 77px;
  margin: 0 auto;
  border: 5px solid var(--sg-contact);
  background: #fff;
  color: var(--sg-contact);
  font-size: 1.2rem;
  line-height: 1;
  box-sizing: border-box;
  transition: color .1s;
}

.site-header nav .contact a::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: -100%;
  top: 0;
  background: var(--sg-contact);
  transition: left .3s;
  z-index: 0;
}

.site-header nav .contact .en {
  display: block;
  font-size: 1.6rem;
  letter-spacing: .05em;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.site-header nav .contact p {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  padding: 17px 28px 17px 0;
  transition: color .3s;
}

/* Chevron hint without depending on missing ref PNGs */
.site-header nav .contact p::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.site-header nav .contact a:hover {
  color: #fff;
  opacity: 1;
}

.site-header nav .contact a:hover::after {
  left: 0;
}

.site-header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.site-header .menu-toggle span,
.site-header .menu-toggle span::before,
.site-header .menu-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sg-purple);
  position: absolute;
  transition: .2s;
}

.site-header .menu-toggle span { top: 21px; }
.site-header .menu-toggle span::before {
  content: "";
  top: -8px;
}
.site-header .menu-toggle span::after {
  content: "";
  top: 8px;
}

body.nav-open .site-header .menu-toggle span {
  background: transparent;
}
body.nav-open .site-header .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.nav-open .site-header .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 附圖2: narrower desktop — message stacks above logo (/ref ≤1215px) */
@media screen and (max-width: 1215px) {
  .site-header .left {
    padding-left: 15px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .site-header .header-message {
    width: 100%;
    padding-bottom: 4px;
  }

  .site-header .logo {
    margin-right: 0;
  }
}

@media screen and (max-width: 1065px) {
  .site-header .left {
    width: calc(100% - 615px);
  }

  .site-header nav.right {
    width: 605px;
    max-width: 58%;
  }

  .site-header nav li {
    width: 100px;
  }

  .site-header nav .contact a {
    width: 150px;
  }
}

@media screen and (max-width: 900px) {
  .site-header .logo img {
    height: 25px;
  }

  .site-header .header-message {
    font-size: 1rem;
  }
}

/* ========== Hero (center mode) ========== */
#top_main_vs,
.sg-hero {
  text-align: center;
  position: relative;
  padding: 50px 0 40px;
  background-color: #fff;
  background-image: var(--sg-hero-bg, none);
  background-repeat: no-repeat;
  background-position: center top;
}

.sg-hero .sg-hero-slider,
#top_main_vs .slider {
  margin: 0;
  padding: 0;
}

.sg-hero .sg-hero-slider > li,
.sg-hero .sg-hero-slider .slick-slide,
#top_main_vs .slider > li,
#top_main_vs .slider .slick-slide {
  /* Width / margin set by front.js applySlideSizes() — never target .slick-dots li */
  padding-bottom: 12px;
}

.sg-hero .sg-hero-slide-link {
  display: block;
  line-height: 0;
}

.sg-hero .sg-hero-slider img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .15);
}

.sg-hero-fallback {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f0f8;
  color: var(--sg-purple);
  font-weight: 700;
  border-radius: 30px;
  padding: 24px;
  line-height: 1.4;
}

.sg-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin-top: -12px;
  border: 0;
  border-radius: 50%;
  background: var(--sg-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  left: 50%;
  padding: 0;
  font-size: 1.6rem;
}

.sg-hero-arrow:hover { opacity: .75; color: #fff; }
.sg-hero-prev { margin-left: -410px; }
.sg-hero-next { margin-left: 360px; }

.sg-hero .slick-dots {
  position: absolute;
  bottom: -36px;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  line-height: 0;
}

.sg-hero .slick-dots li {
  display: inline-block;
  float: none;
  vertical-align: middle;
  width: 10px !important;
  height: 10px !important;
  margin: 0 5px !important;
  padding: 0 !important;
}

.sg-hero .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sg-purple);
  opacity: .25;
  font-size: 0;
  color: transparent;
}

.sg-hero .slick-dots li button:before { content: none; }
.sg-hero .slick-dots li.slick-active button { opacity: 1; }

/* ========== Shortcut menu ========== */
.sub_img_menu {
  background: var(--sg-bg-soft);
  padding: 54px 0;
  margin-bottom: 60px;
}

.sub_img_menu_inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 12px;
}

.sub_img_menu > .sub_img_menu_inner > ul {
  display: flex;
  border-left: 1px solid var(--sg-line);
}

.sub_img_menu > .sub_img_menu_inner > ul > li {
  width: 14.2857%;
  border-right: 1px solid var(--sg-line);
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.29;
  position: relative;
}

.sub_img_menu > .sub_img_menu_inner > ul > li > a {
  display: block;
  padding: 70px 8px 20px;
  color: var(--sg-ink);
  background-repeat: no-repeat;
  background-position: center 12px;
  background-size: 39px auto;
}

.sub_img_menu li.chi > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico01.png"); color: #e94e77; }
.sub_img_menu li.adl > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico02.png"); color: #3aa8c1; }
.sub_img_menu li.pro > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico03.png"); color: var(--sg-purple-soft); }
.sub_img_menu li.ser > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico04.png"); color: #5a8f3c; }
.sub_img_menu li.kai > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico05.png"); color: #c47a2c; }
.sub_img_menu li.sou > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico06.png"); color: #2f6fed; }
.sub_img_menu li.stu > a { background-image: url("../../ref/suganami_wp/wp-content/themes/suganami2018/corporate/img/ico10.png"); color: #8b5a2b; }

.sub_img_menu li .child {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  width: 160px;
  margin-left: -80px;
  padding-top: 10px;
  z-index: 20;
}

.sub_img_menu li .child.open { display: block; }

.sub_img_menu li .child ul {
  background: #fff;
  border: 1px solid var(--sg-line);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 8px 0;
}

.sub_img_menu li .child li a {
  display: block;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: left;
}

.sub_img_menu li .child li a:hover {
  background: #f5f2fa;
  color: var(--sg-purple);
  opacity: 1;
}

/* ========== Promo / slide_bnr ========== */
#slide_bnr,
.sg-promo {
  margin-bottom: 80px;
  padding: 0;
  background: transparent;
}

.sg-promo .promo-slider > li,
.sg-promo .promo-slider .slick-slide,
#slide_bnr .slider > li,
#slide_bnr .slider .slick-slide {
  /* Width / margin set by front.js applySlideSizes() — never target .slick-dots li */
  position: relative;
}

.sg-promo .promo-slider img {
  width: 100%;
  border-radius: 8px;
}

.sg-promo .slick-dots {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  line-height: 0;
}

.sg-promo .slick-dots li {
  display: inline-block;
  float: none;
  vertical-align: middle;
  width: 10px !important;
  height: 10px !important;
  margin: 0 4px !important;
  padding: 0 !important;
}

.sg-promo .slick-dots li button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--sg-purple);
  opacity: .25;
  font-size: 0;
  padding: 0;
}

.sg-promo .slick-dots li.slick-active button { opacity: 1; }
.sg-promo .slick-dots li button:before { content: none; }

.sg-promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: var(--sg-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 1.6rem;
}
.sg-promo-arrow:hover { opacity: .8; color: #fff; }
.sg-promo .slick-prev,
.sg-promo-prev { left: 8%; }
.sg-promo .slick-next,
.sg-promo-next { right: 8%; left: auto; }

/* ========== Rules banner (.covid) ========== */
.covid,
.rules-banner {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 14px 20px;
  text-align: center;
  border-top: 2px solid #c00;
  border-bottom: 2px solid #c00;
  background: #fff;
}
.covid a,
.rules-banner a {
  color: #c00;
  font-weight: 700;
  font-size: 1.6rem;
}
.covid a:hover,
.rules-banner a:hover {
  opacity: .75;
}

/* ========== Topics ========== */
.topics {
  margin-bottom: 70px;
}

.topics-panel {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  padding: 28px 32px 32px;
  border-radius: 2px;
}

.topics .hd01,
.event_list_area .hd01,
.bnr_area .hd01 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--sg-purple);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.topics .hd01 .ja,
.event_list_area .hd01 .ja,
.bnr_area .hd01 .ja {
  color: var(--sg-purple);
}

.topics .hd01 .en-label,
.event_list_area .hd01 .en-label {
  font-family: Roboto, sans-serif;
  font-size: 2rem;
  letter-spacing: .06em;
  color: var(--sg-purple);
}

.topics ul li {
  border-bottom: 1px solid var(--sg-line);
}

.topics ul li a {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  align-items: baseline;
}

.topics ul li time {
  flex: 0 0 110px;
  color: #888;
  font-size: 1.4rem;
}

.topics .btn01,
.event_list_area .btn01 {
  text-align: center;
  margin-top: 28px;
}

.topics .btn01 a,
.event_list_area .btn01 a,
.bnr_area .btn01 a,
.more-btn a {
  display: inline-block;
  min-width: 180px;
  padding: 12px 28px;
  border: 2px solid var(--sg-purple);
  color: var(--sg-purple);
  font-weight: 700;
  background: #fff;
  text-align: center;
}

.topics .btn01 a:hover,
.event_list_area .btn01 a:hover,
.more-btn a:hover {
  background: var(--sg-purple);
  color: #fff;
  opacity: 1;
}

/* ========== Events ========== */
.event_list_area {
  margin-bottom: 80px;
}

.event_list_area .empty-note,
.topics .empty-note {
  color: #888;
  padding: 20px 0;
}

.event-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.event-tab-btn {
  border: 0;
  padding: 10px 22px;
  background: #efe6f6;
  color: var(--sg-purple);
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
}
.event-tab-btn.is-active {
  background: var(--sg-purple);
  color: #fff;
}
.event-tab-panel[hidden] { display: none; }

.event_cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.event_cards .card {
  width: 33.333%;
  padding: 0 15px 30px;
  box-sizing: border-box;
}

.event_cards .card a {
  display: block;
}

.event_cards .card .img {
  margin-bottom: 12px;
  line-height: 0;
}

.event_cards .card .img img {
  width: 100%;
  border-radius: 6px;
}

.event_cards .card .day,
.event_cards .card .area {
  font-size: 1.3rem;
  color: #888;
  line-height: 1.5;
}

.event_cards .card .txt {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
}

/* ========== Feature LESSON / STORE ========== */
.bnr_area {
  margin-bottom: 70px;
}

.bnr_area .inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.bnr_area.reverse .inner {
  flex-direction: row-reverse;
}

.bnr_area .img_area {
  flex: 0 0 48%;
}

.bnr_area .txt_area {
  flex: 1;
}

.bnr_area .txt_area .lead {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.bnr_area .txt_area .body {
  margin-bottom: 24px;
  line-height: 1.9;
}

.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.feature-points li {
  flex: 1 1 120px;
  max-width: 140px;
  text-align: center;
}
.feature-points .point-label {
  display: inline-block;
  font-size: 1.5rem;
  color: #888;
  bottom: -34px;
  background: white;
  position: relative;
  padding: 10px 8px;
  line-height:1.25;
  color:var(--sg-purple);
}
.feature-points .point-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--sg-purple);
  color: var(--sg-purple);
  font-size: 1.2rem;
  line-height: 1.35;
  padding: 12px;
  box-sizing: border-box;
}
.bnr_area .btn-website a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}
.bnr_area .btn-website .en {
  font-size: 1.6rem;
  font-weight: 700;
}
.bnr_area .btn-website .ja {
  font-size: 1.2rem;
}

/* ========== CTA / more_area + main_menu (aligned to /ref corporate) ========== */
#more_area {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 73px 20px;
  margin-bottom: 0;
  background-color: #9e80d1;
  background-image: linear-gradient(180deg, rgba(158, 128, 209, .55) 0%, rgba(73, 41, 127, .35) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#more_area.has-bg {
  background-color: transparent;
  background-image: var(--cta-bg);
}
#more_area .txt_area a {
  display: block;
  font-family: "Noto Serif JP", "Yu Mincho Medium", "游明朝 Medium", YuMincho, "游明朝体", serif;
  font-weight: 600;
  background: #fff;
  box-sizing: border-box;
  border: 5px solid #9e80d1;
  width: 470px;
  max-width: 100%;
  text-align: center;
  color: #49297f;
  padding: 55px 20px 14px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
#more_area .txt_area a:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: -100%;
  top: 0;
  background: #ebe5f7;
  transition: all .2s linear;
  z-index: 0;
}
#more_area .txt_area a:hover {
  opacity: 1;
}
#more_area .txt_area a:hover:after {
  left: 0;
}
#more_area .txt_area a p {
  position: relative;
  z-index: 1;
  margin: 0;
}
#more_area .txt_area a .catch {
  font-feature-settings: "palt";
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 24px;
  color: #49297f;
}
#more_area .txt_area a .txt {
  font-size: 1.8rem;
  margin-bottom: 38px;
  line-height: 1.77;
  color: #49297f;
}
#more_area .txt_area a .more {
  font-family: Roboto, sans-serif;
  font-weight: 500;
  text-align: right;
  font-size: 1.4rem;
  background-image: var(--cta-more-arrow);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 5px auto;
  padding-right: 15px;
  line-height: 1;
  color: #49297f;
}

#main_menu {
  background: #f6f6f6;
  padding: 277px 0 73px;
  margin-top: -200px;
  margin-bottom: 0;
}
#main_menu .w1000 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
#main_menu ul {
  display: flex;
  justify-content: space-between;
  border-left: 1px solid #bfbfbf;
  list-style: none;
  margin: 0;
  padding: 0;
}
#main_menu ul li {
  width: 33.33%;
  box-sizing: border-box;
  border-right: 1px solid #bfbfbf;
  text-align: center;
}
#main_menu ul li a {
  display: block;
  line-height: 1.3;
  padding: 75px 10px 20px;
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
}
#main_menu ul li a > i {
  display: block;
  font-size: 4rem;
  margin: 0 auto 18px;
  line-height: 1;
}
#main_menu ul li a span {
  font-size: 1.3rem;
  color: #999 !important;
  font-weight: normal;
  display: block;
  margin-top: 3px;
}
#main_menu ul li.com a {
  color: #f48365;
}
#main_menu ul li.ser a {
  color: #55c4cf;
}
#main_menu ul li.emp a {
  color: #ecbf37;
}
#main_menu ul li a:hover {
  opacity: .75;
}

/* legacy class hooks (avoid old gradient covering image) */
.sg-cta,
.sg-link-row {
  /* kept for older markup; homepage CTA uses #more_area / #main_menu */
}

/* ========== main_menu / link_row ========== */
#main_menu,
.sg-link-row {
  margin-bottom: 50px;
}

.sg-link-row ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.sg-link-row li a {
  display: block;
  min-width: 200px;
  padding: 18px 24px;
  text-align: center;
  border: 1px solid var(--sg-ink);
  font-weight: 700;
  background: #fff;
}

.sg-link-row li a:hover {
  background: var(--sg-ink);
  color: #fff;
  opacity: 1;
}

/* ========== Pickup (footer banner grid) ========== */
#puckup_bnr,
.sg-pickup {
  padding: 40px 20px 60px;
  background: #fff;
}

.sg-pickup .pickup-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sg-pickup .pickup-grid > li {
  width: calc(20% - 12px);
  min-width: 160px;
  max-width: 200px;
}

.sg-pickup .pickup-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--sg-purple);
  color: #fff;
  padding: 48px 20px 28px;
}

.site-footer a {
  color: #fff;
}

.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
}

.site-footer .footer-brand {
  flex: 0 0 auto;
}

.site-footer .logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer .footer-sns {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}

.site-footer .footer-sns a,
.site-footer .footer-sns .is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.8rem;
  color: #fff;
  opacity: .95;
}

.site-footer .footer-sns a:hover {
  opacity: .7;
}

.site-footer .footer-sns .is-disabled {
  opacity: .45;
  cursor: default;
}

.site-footer .footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-nav a {
  font-size: 1.4rem;
  line-height: 1.4;
}

.site-footer .footer-nav a:hover {
  opacity: .75;
}

.site-footer .footer-named {
  border-left: 1px solid rgba(255, 255, 255, .55);
  padding-left: 20px;
  max-width: 280px;
}
.site-footer .footer-named-title {
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.site-footer .footer-named ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .footer-named a {
  font-size: 1.3rem;
}

.site-footer .footer-contact a {
  display: block;
  width: 200px;
  border: 4px solid #fff;
  text-align: center;
  padding: 18px 12px;
  line-height: 1.3;
  transition: background .2s, color .2s;
}

.site-footer .footer-contact .en {
  display: block;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.site-footer .footer-contact .ja {
  display: block;
  font-size: 1.2rem;
}

.site-footer .footer-contact a:hover {
  background: #fff;
  color: var(--sg-purple);
  opacity: 1;
}

/* Outside </footer>: white strip (ref copyright) */
.site-copyright {
  margin: 0;
  padding: 28px 15px 22px;
  text-align: center;
  letter-spacing: .075em;
  color: var(--sg-purple);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* Floating SNS (right) + PAGE TOP — site chrome from /ref */
.sns_fix {
  position: fixed;
  top: 115px;
  right: 20px;
  z-index: 100;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sns_fix li {
  text-align: center;
  margin-bottom: 12px;
}

.sns_fix a,
.sns_fix .is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sg-purple);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.sns_fix a:hover {
  opacity: .8;
  color: #fff;
}

.sns_fix .is-disabled {
  opacity: .45;
  cursor: default;
}

.pageTop {
  position: fixed;
  z-index: 100;
  bottom: 20px;
  right: 16px;
}

.pageTop a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--sg-purple);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .08em;
  line-height: 1.2;
}

.pageTop a:hover {
  opacity: .7;
  color: var(--sg-purple);
}

.pageTop-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid var(--sg-purple);
}

.pageTop-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ========== Inner page ========== */
.page-banner img {
  width: 100%;
  display: block;
}

.page-banner .fallback-title {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px;
}

.page-banner .fallback-title h1 {
  font-size: 2.8rem;
  color: var(--sg-purple);
  line-height: 1.4;
}

.breadcrumb-nav {
  border-bottom: 1px solid var(--sg-line);
  padding: 12px 0;
}

.breadcrumb-nav ol {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 1.3rem;
}

.breadcrumb-nav li:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
  color: #999;
}

.breadcrumb-nav a {
  color: var(--sg-purple);
}

.page-article {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.page-article h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  line-height: 1.4;
  color: var(--sg-purple);
}

.page-article .body {
  line-height: 2;
  font-size: 1.6rem;
}

.page-article .body p {
  margin-bottom: 1em;
}

.muted {
  color: #888;
}

/* ========== SP (max-width: 768px) — 附圖3: message top, then logo + menu ========== */
@media screen and (max-width: 768px) {
  body { padding-top: 88px; font-size: 1.5rem; }

  .pcCont { display: none !important; }
  .spCont { display: inline-block !important; }

  .site-header {
    height: auto;
    min-height: 65px;
    display: block;
    padding: 0 0 10px;
    overflow: visible;
  }

  .site-header .left {
    width: 100%;
    padding: 7px 52px 0 10px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .site-header .header-message {
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 7px;
    padding: 0;
  }

  .site-header .logo {
    margin-right: 10px;
  }

  .site-header .logo img {
    height: 23px;
  }

  .site-header .menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    top: auto;
    bottom: 2px;
    margin: 0;
    z-index: 102;
  }

  .site-header nav.right {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    background: #fff;
    padding: 20px;
    padding-top: calc(12px + 88px);
    overflow: auto;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
  }

  body.nav-open .site-header nav.right {
    display: flex;
  }

  body.nav-open .site-header {
    z-index: 101;
  }

  .site-header nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-header nav li {
    width: 100%;
    margin: 0 0 8px;
    text-align: left;
  }

  .site-header nav li a {
    height: auto;
    padding: 14px 8px;
    border-bottom: 1px solid var(--sg-line);
    color: var(--sg-ink);
  }

  .site-header nav li a p {
    padding-top: 0;
  }

  .site-header nav li a p::after {
    display: none;
  }

  .site-header nav li a span {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }

  .site-header nav .contact {
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
  }

  .site-header nav .contact a {
    width: 100%;
    height: auto;
    min-height: 64px;
  }

  .site-header nav .contact p {
    padding: 18px 28px 18px 0;
  }

  .sg-hero { padding: 28px 0 48px; }

  /* Slide width/margin: only via front.js applySlideSizes() — never CSS (avoids hitting .slick-dots) */

  .sg-hero .sg-hero-slider img,
  .sg-hero-fallback { border-radius: 15px; }

  .sg-hero-arrow {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    margin-top: 2.5px;
  }

  .sg-hero-prev { margin-left: -181px; }
  .sg-hero-next { margin-left: 146px; }

  .sub_img_menu {
    padding: 28px 0;
    margin-bottom: 36px;
  }

  .sub_img_menu > .sub_img_menu_inner > ul {
    flex-wrap: wrap;
    border: 0;
  }

  .sub_img_menu > .sub_img_menu_inner > ul > li {
    width: 50%;
    border: 1px solid var(--sg-line);
    margin: 0 -1px -1px 0;
  }

  .sub_img_menu > .sub_img_menu_inner > ul > li > a {
    padding-top: 56px;
    font-size: 1.3rem;
    background-size: 32px auto;
    background-position: center 10px;
  }

  .sub_img_menu li .child {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .event_cards .card { width: 50%; }

  .bnr_area .inner,
  .bnr_area.reverse .inner {
    flex-direction: column;
    gap: 24px;
  }

  .bnr_area .img_area { flex: none; width: 100%; }

  .sg-link-row li a { min-width: 140px; width: 100%; }

  .site-footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-sns {
    justify-content: center;
  }

  .site-footer .footer-nav ul {
    align-items: center;
  }

  .site-footer .footer-contact a {
    width: 180px;
    margin: 0 auto;
  }

  .sns_fix {
    top: auto;
    bottom: 90px;
    right: 12px;
  }

  .sns_fix a,
  .sns_fix .is-disabled {
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }

  .pageTop {
    bottom: 15px;
    right: 12px;
  }

  .topics ul li a {
    flex-direction: column;
    gap: 4px;
  }

  .topics ul li time { flex: none; }

  .event_cards .card { width: 100%; }

  .sg-pickup .pickup-grid > li {
    width: calc(50% - 12px);
    max-width: none;
  }

  .feature-points {
    justify-content: center;
  }

  .site-footer .footer-named {
    border-left: 0;
    padding-left: 0;
    max-width: none;
    text-align: center;
  }

  #more_area.has-bg,
  .sg-cta.has-bg {
    background-image: var(--cta-bg-sp, var(--cta-bg));
  }

  #more_area {
    padding: 80px 25px;
    margin-left: 25px;
    margin-right: 25px;
  }
  #more_area .txt_area a {
    border-width: 3px;
    width: 100%;
    max-width: 280px;
    padding: 22px 10px 10px;
  }
  #more_area .txt_area a:after {
    content: none;
  }
  #more_area .txt_area a .catch {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  #more_area .txt_area a .txt {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.91;
  }
  #more_area .txt_area a .more {
    font-size: 1.1rem;
    padding-right: 10px;
  }

  #main_menu {
    padding: 188px 0 35px;
    margin-top: -150px;
  }
  #main_menu ul {
    border-left: none;
    flex-direction: column;
  }
  #main_menu ul li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #bfbfbf;
  }
  #main_menu ul li:last-of-type {
    border-bottom: none;
  }
  #main_menu ul li a {
    padding: 28px 10px 24px;
    font-size: 1.5rem;
  }
  #main_menu ul li a > i {
    font-size: 3rem;
    margin-bottom: 10px;
  }
}
