/* ============================================================
   SAISON SERVICE - style.css
   ============================================================ */

:root {
  --saison-blue: #0099cc;
  --saison-dark-blue: #004f9f;
  --bg-page: #ddeef7;
  --bg-alt: #cce4f0;
  --text-primary: #464646;
  --text-secondary: #3d3535;
  --card-shadow: 0 2px 10px rgba(0, 80, 160, 0.08);
  --card-shadow-hover: 0 6px 20px rgba(0, 80, 160, 0.14);
  --border-light: #c8e0f0;
  --section-btn-color: #39b0d8;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  background-color: #e8f0f8;
  color: var(--text-primary);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.7;
}

.container {
  max-width: 1224px;
}

.mb-minus {
  margin-bottom: -50px;
}

.radius-top {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.radius-bottom {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.ps-100 {
  padding-top: 100px !important;
}

/* ============================================================
   HEADER
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #f1f4f8;
  border-bottom: 5px solid #b2e0c7;
  position: relative;
}

.hero-img {
  width: 80%;
  height: auto;
  display: block;
  margin: auto;
}

.point {
  position: absolute;
}

.zone01 {
  bottom: 35%;
  left: 21.65%;
}

.zone02 {
  bottom: 68%;
  left: 26.4%;
}

.zone03 {
  bottom: 29.6%;
  left: 34.4%;
}

.zone04 {
  bottom: 5%;
  left: 40.2%;
}

.zone05 {
  bottom: 56%;
  left: 48.55%;
}

.zone06 {
  bottom: 14.75%;
  left: 49.3%;
}

.zone07 {
  bottom: 24.25%;
  left: 60.84%;
}

.zone08 {
  bottom: 62%;
  left: 64.6%;
}

.zone09 {
  bottom: 0.75%;
  left: 67.75%;
}

.zone10 {
  bottom: 40.75%;
  left: 75%;
}

.point-pin {
  width: 27px;
  height: 40px;
  display: block;
  margin-left: 22%;
}

/* 767px以下: 中央オーバーレイ */
#popup-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#popup-overlay.active {
  display: flex;
}

#popup-overlay-inner {
  width: 80%;
  max-width: 300px;
}

#popup-overlay-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ホバーでpointの上にpopupを表示 */
.popup {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease 0s;
  white-space: nowrap;
  z-index: 10;
  animation: none;
}

.point:hover .popup {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease 0.2s;
}

/* ホバー中はアニメーションを一時停止して安定させる */
.point:hover {
  animation-play-state: paused;
  z-index: 100;
}

.popup-img {
  display: block;
  height: auto;
  max-width: 250px;
  position: relative;
  z-index: 20;
}

/* ============================================================
   PAGE INTRO
   ============================================================ */
.page-intro {
  padding: 110px 0 48px;
}

.intro-catch {
  font-size: 2.6rem;
  color: var(--saison-dark-blue);
  margin-bottom: 4px;
  font-weight: 700;
}

.intro-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #009844;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.intro-desc {
  color: var(--text-secondary);
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Recommendation Placeholder */
.recommendation-placeholder {
  background: url("../images/dashed.svg")no-repeat top center/100% 100%;
  padding: 75px 32px 45px;
  margin-top: 24px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #004097;
  margin-left: auto;
  margin-right: auto;
}

/* Search Bar */
.search-bar {
  background-color: #fff;
  border: 2px solid #004f9f;
  border-radius: 15px;
  padding: 4rem 32px;
  display: inline-flex;
}

.search-label {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  align-self: center;
}

.search-select {
  max-width: 350px;
  min-width: 140px;
  border-radius: 6px;
  border: 1px solid #e3e8e6;
  color: var(--text-primary);
  font-size: 1.675rem;
  font-weight: bold;
  background-color: #f9f9f9;
  cursor: pointer;
  padding: 1.875rem;
}

.search-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 79, 159, 0.15);
  border-color: #004f9f;
}

/* Category Nav */
.category-nav {
  margin-top: 44px;
  padding-bottom: 8px;
}

.category-item {
  transition: .3s;
}

.category-item:hover {
  transform: translateY(-3px);
}

.category-item img {
  width: 100%;
  height: auto;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  padding: 64px 0;
}

.content-section--alt {}

/* Section Button Header */
.section-btn {
  font-size: 2rem;
  font-weight: bold;
  max-width: 200px;
}

.section-btn img {
  width: 100%;
  max-width: 400px;
}

/* ============================================================
   SUBSECTIONS
   ============================================================ */
.subsection {
  background-color: #ecf4fa;
  padding: 50px 0;
}

.subsection-header {
  background: #fff;
  border-bottom: 10px solid rgb(200 224 240/0.5);
  padding: 1.5rem;
  margin-bottom: 24px;
}

.subsection-icon {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

.subsection-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 1rem 0 0;
  color: #2c79e2;
  padding-right: 1rem;
  border-right: 1px solid #2c79e2;
  position: relative;
}

.subsection-title::before {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: -4rem;
}

.icon01::before {
  width: 45px;
  height: 155px;
  background: url("../images/title_icon01.svg")no-repeat top center;
  background-size: 45px 155px;
}

.icon02::before {
  width: 62px;
  height: 101px;
  background: url("../images/title_icon02.svg")no-repeat top center;
  background-size: 62px 101px;
  bottom: -1.75rem;
  left: -6rem;
}

.icon03::before {
  width: 32px;
  height: 90px;
  background: url("../images/title_icon03.svg")no-repeat top center;
  background-size: 32px 90px;
}

.icon04::before {
  width: 102px;
  height: 96px;
  background: url("../images/title_icon04.svg")no-repeat top center;
  background-size: 102px 96px;
  left: -8rem;
}

.icon05::before {
  width: 60px;
  height: 91px;
  background: url("../images/title_icon05.svg")no-repeat top center;
  background-size: 60px 91px;
  left: -6rem;
}

.icon06::before {
  width: 121px;
  height: 109px;
  background: url("../images/title_icon06.svg")no-repeat top center;
  background-size: 121px 109px;
  left: -10rem;
}

.icon07::before {
  width: 53px;
  height: 90px;
  background: url("../images/title_icon07.svg")no-repeat top center;
  background-size: 53px 90px;
  left: -5rem;
}

.icon08::before {
  width: 68px;
  height: 102px;
  background: url("../images/title_icon08.svg")no-repeat top center;
  background-size: 68px 102px;
  left: -6rem;
}

.icon09::before {
  width: 75px;
  height: 117px;
  background: url("../images/title_icon09.svg")no-repeat top center;
  background-size: 75px 117px;
  left: -5.5rem;
}

.icon10::before {
  width: 80px;
  height: 101px;
  background: url("../images/title_icon10.svg")no-repeat top center;
  background-size: 80px 101px;
  left: -7rem;
}

.zone02 .popup,
.zone08 .popup {
  bottom: -20%;
}

.zone04 .popup {
  bottom: 0%;
}

.zone09 .popup {
  bottom: 0%;
}

.subsection-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  border-radius: 0;
  border: 0px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  color: inherit;
}

.product-card .card-head {
  border: 1px solid #e0e0e0;
}

.product-card .card-body {}

/* Tags */
.product-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.tag-rec {
  background-color: var(--saison-blue);
  color: #fff;
}

.tag-new {
  background-color: #e04040;
  color: #fff;
}

.tag-cat {
  background-color: #f2f2f2;
  border-radius: 50px;
  color: var(--saison-dark-blue);
  margin-bottom: .75rem;
}

/* Card Content */
.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.product-points {
  padding-left: 18px;
  margin: 10px 0 0 0;
}

.product-points li {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 4px;
}

.product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #eee;
  flex-shrink: 0;
}

.product-link {
  color: var(--saison-blue);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.product-link:hover {
  color: var(--saison-dark-blue);
  border-bottom-color: var(--saison-dark-blue);
}

/* ============================================================
   HERO POINT FLOAT ANIMATION
   ============================================================ */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.point img {
  animation: float 3s ease-in-out infinite;
}

.humans img {
  animation: none;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.zone01 .humans img {
  width: var(--human-w-1, 71px);
  height: var(--human-h-1, 117px);
}

.zone02 .humans img {
  width: var(--human-w-2, 109px);
  height: var(--human-h-2, 102px);
}

.zone03 .humans img {
  width: var(--human-w-3, 122px);
  height: var(--human-h-3, 109px);
}

.zone04 .humans img {
  width: var(--human-w-4, 59px);
  height: var(--human-h-4, 89px);
}

.zone05 .humans img {
  width: var(--human-w-5, 73px);
  height: var(--human-h-5, 106px);
}

.zone06 .humans img {
  width: var(--human-w-6, 34px);
  height: var(--human-h-6, 92px);
}

.zone07 .humans img {
  width: var(--human-w-7, 67px);
  height: var(--human-h-7, 108px);
}

.zone08 .humans img {
  width: var(--human-w-8, 76px);
  height: var(--human-h-8, 107px);
}

.zone09 .humans img {
  width: var(--human-w-9, 54px);
  height: var(--human-h-9, 155px);
}

.zone10 .humans img {
  width: var(--human-w-10, 79px);
  height: var(--human-h-10, 121px);
}

.zone01 {
  animation-duration: 3.2s;
  animation-delay: 0s;
}

.zone02 {
  animation-duration: 3.8s;
  animation-delay: 0.5s;
}

.zone03 {
  animation-duration: 3.5s;
  animation-delay: 1.1s;
}

.zone04 {
  animation-duration: 4.0s;
  animation-delay: 0.3s;
}

.zone05 {
  animation-duration: 3.3s;
  animation-delay: 1.6s;
}

.zone06 {
  animation-duration: 3.7s;
  animation-delay: 0.8s;
}

.zone07 {
  animation-duration: 4.2s;
  animation-delay: 1.4s;
}

.zone08 {
  animation-duration: 3.6s;
  animation-delay: 0.2s;
}

.zone09 {
  animation-duration: 3.9s;
  animation-delay: 1.9s;
}

.zone10 {
  animation-duration: 3.4s;
  animation-delay: 0.7s;
}

/* ============================================================
   SORT VIEW
   ============================================================ */
.sort-view {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 80, 160, 0.10);
}

.sort-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--saison-dark-blue);
  text-align: center;
  margin-bottom: 24px;
}

/* ============================================================
   PAGE TOP
   ============================================================ */
a.page_top {
  width: 80px;
  aspect-ratio: 1 / 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 12px;
  color: #fff;
  background-color: #004097;
  border-radius: calc(infinity * 1px);
  border: solid 1px #004097;
  position: fixed;
  right: 10px;
  bottom: 35px;
  z-index: 100;
  -webkit-transition: background 0.2s ease-in, color 0.2s ease-in, opacity 0.5s ease-in;
  transition: background 0.2s ease-in, color 0.2s ease-in, opacity 0.5s ease-in;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  cursor: pointer;
  text-decoration: none;
}

a.page_top::after {
  background: #fff;
  content: "";
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  position: absolute;
  top: 18px;
  left: calc(50% - 6.5px);
  display: block;
  width: 13px;
  height: 8px;
  -webkit-mask-image: url("../images/pagetop_arrow.svg");
  mask-image: url("../images/pagetop_arrow.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: 13px 8px;
  mask-size: 13px 8px;
  -webkit-transition: background 0.2s ease-in;
  transition: background 0.2s ease-in;
}

a.page_top.active {
  pointer-events: auto;
  opacity: 1;
}

@media screen and (min-width: 600px) {
  a.page_top {
    bottom: 30px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {

  /* HERO POINT: ホバー無効 → クリックで表示 */
  .point:hover .popup {
    opacity: 0;
    pointer-events: none;
  }

  .point:hover {
    animation-play-state: running;
  }

  .point.active .popup {
    opacity: 1;
    pointer-events: auto;
  }

  .zone02 .popup {
    bottom: -55%;
  }

  .point.active {
    animation-play-state: paused;
    z-index: 100;
  }

  /* COMMON */
  .content-section {
    padding: 48px 0;
  }

  /* HERO */
  .hero-img {
    width: 95%;
  }


  .zone01 {
    left: 16%;
  }

  .zone02 {
    left: 24%;
  }

  .zone03 {
    left: 33%;
  }

  .zone04 {
    left: 39%;
  }

  .zone05 {
    left: 48.5%;
  }

  .zone06 {
    left: 48.5%;
  }

  .zone07 {
    left: 63.5%;
  }

  .zone08 {
    left: 68%;
  }

  .zone09 {
    left: 71%;
  }

  .zone10 {
    left: 80.5%;
  }

  /* Recommendation Placeholder */
  .recommendation-placeholder {
    background: url("../images/dashed_sp.svg")no-repeat top center/100% 100%;
    padding: 75px 32px 45px;
    margin-top: 24px;
    font-size: 1.1rem;
  }

  /* page-intro */
  .page-intro {
    padding: 48px 0 48px;
  }

  .intro-title,
  .intro-catch {
    font-size: 1.5rem;
  }

  .search-label {
    font-size: 1.1rem;
  }

  .search-select {
    font-size: 1.15rem;
  }
	
  .section-btn {
  font-size: 1.12rem;
  font-weight: bold;
  max-width: 200px;
}
}

.pc {
  display: block;
}

.sp {
  display: none;
}

@media (max-width: 767px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* オーバーレイで表示するため元のpopupは常に非表示 */
  .point.active .popup {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .page-intro {
    padding: 44px 0 36px;
  }

  .search-bar {
    border-radius: 16px;
    padding: 16px 20px;
    gap: 10px !important;
    width: 90%;
    flex-direction: column;
  }

  .search-select {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 1rem;
  }

  .category-nav {
    gap: 12px !important;
    flex-wrap: wrap;
  }

  .category-item {
    width: 30%;
  }

  .category-icon {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }

  .category-label {
    font-size: 0.74rem;
  }

  /*  */

  .zone01 {
    left: 31%;
    bottom: 20%;
  }

  .zone02 {
    left: 41%;
    bottom: 34%;
  }

  .zone03 {
    left: 59%;
    bottom: 17%;
  }

  .zone04 {
    left: 72%;
    bottom: 7%;
  }

  .zone05 {
    left: 18.45%;
    bottom: 76%;
  }

  .zone06 {
    bottom: 60.75%;
    left: 19.5%;
  }

  .zone07 {
    bottom: 64.25%;
    left: 41.5%;
  }

  .zone08 {
    bottom: 79%;
    left: 48.5%;
  }

  .zone09 {
    left: 54.5%;
    bottom: 55%;
  }

  .zone10 {
    bottom: 70.75%;
    left: 69.5%;
  }

  /*  */

  .content-section {
    padding: 48px 0;
  }

  .subsection-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  .subsection-header {
    padding-left: 130px;
    flex-direction: column;
    margin-left: auto;
  }

  .subsection-title {
    width: 100%;
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    padding-right: 0;
    padding-bottom: 1rem;
    border-right: 0px;
    border-bottom: 1px solid #2c79e2;
    text-align: center;
  }

  .subsection-desc {
    font-size: 1rem;
  }

  .intro-desc {
    color: var(--text-secondary);
    font-size: 1.12rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .category-nav {
    gap: 12px !important;
  }

  .category-item {
    min-width: 72px;
  }

  .section-btn img {
    width: 90%;
  }

  .subsection-desc {
    text-align: center;
  }

  .subsection-title::before {
    bottom: -3rem;
  }

  /* POPUP */
  .popup {
    width: 60%;
  }

  .icon01::before {
    bottom: -4.5rem;
    left: -6rem;
  }

  .icon02::before {
    left: -7rem;
  }

  .icon03::before {
    left: -6rem;
  }

  .icon04::before {
    left: -7.5rem;
  }

  .icon05::before {
    left: -7rem;
  }

  .icon06::before {
    width: 110px;
    height: 100px;
    left: -7.5rem;
  }

  .icon07::before {
    left: -5.5rem;
  }

  .icon08::before {
    left: -5.5rem;
  }

  .icon09::before {
    left: -6.5rem;
    bottom: -4rem;
  }

  .icon10::before {
    left: -6.25rem;
  }
}