.art-and-craft p,h1,h2,h3 {
  line-height: 1.5;
}

.art-and-craft .features_headings {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #00146e;
}

.features__lead {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 27px;
  font-size: 1.2rem;
  text-align: left;
}

.mv-section {
  position: relative;
  width: 98.5%;
  margin: 15px auto 50px;
  border-radius: 16px;
  overflow: hidden;
}

.mv-images {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mv-row {
  display: flex;
  gap: 6px;
}

.mv-row img {
  width: 50%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.mv-row.mv-bottom :nth-child(1) {
  border-radius: 12px 12px 0 12px;
}

.mv-row.mv-bottom :nth-child(2) {
  border-radius: 12px 12px 12px 0;
}

.mv-bottom {
    clip-path: ellipse(56% 69% at 50% 30%);
}

.mv-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 100px;
  padding: 24px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 2;
}

.mv-badge {
  color: white;
  width: 55px;
  height: auto;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
}

.mv-text h1 {
  margin-top: 14px;
  color: #00146E;
  font-size: 2.2rem;
  font-weight: 600;
}

.mv-text p {
  font-size: 1.4rem;
  color: #333;
}

.art-and-craft .v1-features__listContent {
  margin-top: 100px;
}

.v1-features__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 35px;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
}

.v1-features__listItem {
  max-width: 400px;
  padding: 0;
  margin: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v1-cardFeaturedColumn__spot {
  margin-left: 0;
}

.v1-cardFeaturedColumn__title {
  margin: unset;
  color: #333333;
}

.v1-recommendationItinerariesList__link {
  height: 100%;
}

.v1-recommendationItinerariesList__body {
  padding: 17px 20px 30px 20px;
}

.v1-recommendationItinerariesList__body::after {
  content: "";
  background-image: url(/japan-travel-planner/features/common/images/arrow_right_ico.png);
  background-repeat: no-repeat;
  width: 30px;
  height: 10px;
  position: absolute;
  right: 15px;
  bottom: 13px;
  margin-bottom: unset;
}

.art-and-craft .v1-cardFeaturedColumn__spotItem:not(:first-child)::before {
  content: ",";
  margin: 0 .25em;
}

.art-and-craft .v1-cardFeaturedColumn__spotItem.-others {
  margin-left: .25em;
}

.art-and-craft .v1-cardFeaturedColumn__spotItem.-others::before {
  content: none;
}

.v1-features__listItem:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.v1-cardFeaturedColumn__spotIcon {
  font-size: 1.6rem;
}

.v1-cardFeaturedColumn__spotItem {
  color: #333;
}


.area-list__item>a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 213px;
  height: 55px;
  border: solid 1px #00146E;
  background-color: #fff;
  border-radius: 3em;
  color: #00146E;
  font-size: 1em;
  filter: none;
}

.area-list__item>a::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0.7em;
  height: 0.7em;
  /* margin-left: 10px; */
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  color: #00146E;
  line-height: 1;
  box-sizing: border-box;
  transform: translateY(-0%) rotate(45deg);
  position: absolute;
  right: 10%;
  font-size: 1em;
}

.v1-features__categories {
  text-align: center;
  margin-bottom: 70px;
}

.v1-features__categoriesList {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  margin-top: 80px;
}

.cat-card {
  width: 220px;
  height: 250px;
  border: 1.8px solid currentColor;
  border-radius: 20px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cat-card:nth-child(2) { border-radius: 20px; border-top-right-radius: 0; }
.cat-card:nth-child(3) { border-radius: 20px; border-top-right-radius: 0; }
.cat-card:nth-child(4) { border-radius: 20px; border-top-right-radius: 0; }
.cat-card:nth-child(5) { border-radius: 0 20px 20px 0; }

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.cat-icon {
  margin-bottom: 24px;
}

.cat-card p {
  font-weight: bold;
  font-size: 1.5rem;
}

/* 🎨 Color Variants */
.purple { color: #573797; }
.orange { color: #CB4206; }
.pink { color: #CF3061; }
.gold { color: #8A6A00; }
.green { color: #00711E; }
.brown { color: #711F06; }

.tb-map-area {
  margin-top: min(60px, 10.26vw);
  background-color: #ffffff;
  padding: 0 var(--content-padding);
}

.area-list__item>a:hover {
  color: #fff;
  background-color: #00146E
}

.ribbon__border {
  --c: 100px;
  position: relative;
  width: 100%;
  height: 22.625em;
  aspect-ratio: auto;
  mask: radial-gradient(54% var(--c) at 50% var(--c), #0000 calc(100% - 2px), #000) 0 calc(-1 * var(--c));
  background-color: #00146E;
  transform: translateX(-50%);
  left: 50%;
}

.ribbon__border.first {
  top: -200px;
  z-index: -1;
  margin-bottom: -290px;
}

.area-list__item {
  width: fit-content;
}

.area__caption {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  text-align: left;
}

.area-list__item>a::before {
  content: none;
}

.back_to_top {
  margin-top: 80px;
  text-align: center;
}

.top_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #001b7c;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 20px 35px;
  height: 80px;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 0 1px rgba(0, 27, 124, 0.1);
  line-height: 1.5;
}

.top_btn::before {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-right: 5px;
  position: relative;
  top: -1px;
}

.top_btn:hover {
  background-color: #006dc4;
}

@media screen and (min-width: 769px) and (max-width: 1439px) {
  .v1-features__categoriesList {
    max-width: 800px;
    margin: 80px auto 0;
  }

  .cat-card {
    width: 200px;
  }
}

@media screen and (min-width: 768px) {
  .mv-badge {
   margin-top: 10px;
  }

  .area-list__item>a {
    width: 170px !important;
    height: 45px !important;
  }

  .area__wrap {
    width: 85vw;
    margin-top: 80px;
    max-width: 750px;
  }

  .area-list__item.-hkd {
    top: 10%;
    left: 20%;
  }

  .area-list__item.-thk {
    top: 40%;
    right: 22%;
    left: auto;
  }

  .area-list__item.-chu {
    top: 61%;
    left: -15%;
  }

  .area-list__item.-skk {
    bottom: 5%;
    left: 16%;
  }

  .area-list__item.-kyu {
    bottom: 0;
    left: -17%;
  }

  .area-list__item.-chb {
    bottom: 43%;
    left: 7%;
  }

  .area-list__item.-kant {
    right: 34%;
    bottom: 25%;
  }

  .area-list__item.-oki {
    bottom: 10%;
    right: 0%;
  }

  .area-list__item.-kan {
    bottom: 15%;
    left: 31%;
  }
}


@media screen and (max-width: 1100px) {
  .map__container {
    padding: 0 17.5px;
    max-width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  .area__wrap {
    width: 68vw;
  }

  .area-list__item>a {
    width: 130px !important;
    height: 38px !important;
  }
}

@media screen and (max-width: 768px) {
  .mv-badge {
    width: 40px;
  }

  .mv-text h1 {
    font-size: 2.2rem;
  }

  .mv-text p {
    font-size: 1.3rem;
  }

  .mv-bottom {
    clip-path: ellipse(75% 69% at 50% 30%);
  }

  .art-and-craft .features_headings {
    font-size: 1.8rem;
  }

  .v1-features__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__lead {
    margin-top: 32px;
    font-size: 1.2rem;
  }

  .v1-features__categories {
    margin-bottom: 0;
  }

  .v1-features__categoriesList {
    margin-top: 35px;
  }

  .cat-card {
    width: 212px;
  }

  .cat-card p {
  font-size: 1.4rem;
  }

  .area__wrap {
    width: 80vw;
    max-width: 311px;
  }

  .area-list__item>a {
    width: 7.2em !important;
    height: 2em !important;
  }

  .area-list__item>a {
    font-size: 0.6em;
  }

  .area-list__item.-hkd {
    top: 12%;
    left: 18%;
  }

  .area-list__item.-thk {
    top: 40%;
    right: 19%;
    left: auto;
  }

  .area-list__item.-chu {
    top: 62%;
    left: -15%;
  }

  .area-list__item.-skk {
    bottom: 3%;
    left: 14%;
  }

  .area-list__item.-kyu {
    bottom: -2%;
    left: -16%;
  }

  .area-list__item.-chb {
    bottom: 41%;
    left: 4%;
  }

  .area-list__item.-kant {
    bottom: 23%;
    right: 32.3%;
  }

  .area-list__item.-oki {
  bottom: 10%;
  right: 3%;
  }

  .area-list__item.-kan {
    bottom: 13%;
    right: 48%;
  }

  .ribbon__border {
    --c: 82px;
    position: relative;
    width: 101vw;
    height: 18.625em;
    aspect-ratio: auto;
    mask: radial-gradient(67% var(--c) at 50% var(--c), #0000 calc(100% - 2px), #000) 0 calc(-1 * var(--c));
  }

  .area__caption {
    margin-top: 1em;
    font-size: 1.2rem;
  }

  .back_to_top {
    margin-top: 100px;
  }

  .top_btn {
    height: 60px;
    padding: 0 25px;
    font-size: 1rem;
  }
}

.v1-cardFeaturedColumn__spotList {
  margin-bottom: 0.3rem;
}

@media screen and (max-width: 768px) and (min-width: 576px) {
  .cat-card {
    width: 150px;
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  .art-and-craft .v1-features__listContent {
    margin-top: 50px;
  }

  .v1-recommendationItinerariesList__body {
    padding: 8px 10px 15px 10px;
  }
  .v1-features__list {
    gap: 25px 18px;
  }

  .cat-card {
    width: 130px;
    height: 130px;
  }
  .cat-icon {
    width: 36px;
    margin-bottom: 12px;
  }
  .cat-card p {
    font-size: 0.8rem;
  }
  .v1-recommendationItinerariesList__body::after {
    width: 15px;
    height: 5px;
    background-size: 100%  auto;
  }
  .v1-features__categoriesList {
    gap: 12px;
  }
  .ribbon__border.second {
    margin-bottom: -40px;
  }
}

@media screen and (min-width: 450px) {
  .area__wrap {
    margin: 80px auto 0;
  }
}

@media screen and (max-width: 449px) {
  .mv-text {
    padding: 24px 40px;
  }

  .area__wrap {
    margin-left: 11%;
  }

  .ribbon__border.first {
    margin-bottom: -250px;
  }

  .back_to_top {
    margin-top: 70px;
  }
}

@media screen and (max-width: 443px) {
  .cat-card {
    width: 95px;
    height: 120px;
  }
}

@media screen and (max-width: 768px) {
  .v1-footerGlobal__pageToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: block;             
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .v1-footerPageToTop {
    border: 2px solid white;
  }

  .v1-footerGlobal__pageToTop.show {
    display: block;
    opacity: 1;
  }
}

@media screen and (max-width: 390px) {
  .area__image {    
    position: relative;
    transform: scale(1.08);
  }
}

@media screen  and (min-width: 400px) and (max-width: 500px) {
  .area__image {
    transform: scale(1.12);
    position: relative;
  }

  .area__wrap{
    margin-left: 13%;
  }
}

@media screen  and (min-width: 500px) and (max-width: 768px) {
  .area__image {
    transform: scale(1.4);
    position: relative;
  }

  .area__wrap{
    margin-left: 25%;
  }
}

@media screen  and (min-width: 1200px){
  .area__image {
    position: relative;
    transform: scale(1.15);
    }
}
.show-pc {
  display: block;
}
@media screen and (max-width: 768px) {
  .show-pc {
    display: none;
  }
}
.show-spl {
  display: none;
}
@media screen and (max-width: 768px) {
  .show-spl {
    display: block;
  }
}
.area__map {
  margin: min(10vw, 40px) auto 0;
  max-width: 1080px;
}
@media screen and (max-width: 768px) {
  .area__map {
    margin-left: -17.5px;
    margin-right: -17.5px;
  }
}
.area__map svg {
  width: 100%;
  height: auto;
  max-width: 1000px;
  padding-bottom: 5px;
}
.area__map #map #map-button_group a:hover path, .area__map #map #map-button_group a:focus path {
  fill: #00146e;
}
.area__map #map #map-button_group a:hover path, .area__map #map #map-button_group a:focus path {
  stroke: #fff;
}
.area__map #map #map-button_group a:hover text, .area__map #map #map-button_group a:focus text {
  fill: #fff;
}
.area__map #map_sp #map_sp-button_group a:hover path, .area__map #map_sp #map_sp-button_group a:focus path {
  fill: #00146e;
}
.area__map #map_sp #map_sp-button_group a:hover path, .area__map #map_sp #map_sp-button_group a:focus path {
  stroke: #fff;
}
.area__map #map_sp #map_sp-button_group a:hover text, .area__map #map_sp #map_sp-button_group a:focus text {
  fill: #fff;
}