@charset "UTF-8";
@font-face {
  font-family: "Yu Gothic";
  src: url("../font/Yu Gothic/Yu Gothic Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Yu Gothic";
  src: url("../font/Yu Gothic/Yu Gothic Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Yu Mincho";
  src: url("../font/Yu Mincho/Yu Mincho Demibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Yu Mincho";
  src: url("../font/Yu Mincho/Yu Mincho Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Times New Roman";
  src: url("../font/Times New Roman/Times New Roman.ttf") format("trueype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Times New Roman";
  src: url("../font/Times New Roman/Times New Roman Italic.ttf") format("trueype");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Times New Roman";
  src: url("../font/Times New Roman/Times New Roman Bold.ttf") format("trueype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Times New Roman";
  src: url("../font/Times New Roman/Times New Roman Bold Italic.ttf") format("trueype");
  font-weight: 700;
  font-style: italic;
}
:root {
  --header_height: 80px;
}
@media (max-width: 767px) {
  :root {
    --header_height: 65px;
  }
}

/**************************************************
* ページ: hareilla_ATAMI
**************************************************/
/*------------------------------
fv
------------------------------*/
.fv {
  position: relative;
  clip-path: inset(0);
}
.fv::before {
  content: "";
  position: fixed;
  background: url(../img/atami_fv.webp) no-repeat center center/cover;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}
@media (min-width: 768px) {
  .fv {
    width: 100%;
    height: calc(100vh - var(--header_height) - 60px);
    height: calc(100svh - var(--header_height) - 60px);
  }
}
@media (max-width: 767px) {
  .fv {
    aspect-ratio: 750/1198;
  }
  .fv::before {
    height: calc(159.7333333333vw + var(--header_height));
  }
}

.fv__inner {
  width: 1160px;
}

.fv__content {
  padding: 9% 0;
}

.fv__heading {
  font-family: "Yu Mincho", sans-serif;
  font-size: 2.5622254758vw;
  color: #fff;
  font-weight: 600;
  position: absolute;
  top: 11.9%;
  left: 7.4%;
  letter-spacing: 0.15em;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .fv__heading {
    font-size: min(28px, 7.4666666667vw);
    top: 6.9%;
    left: 8.4%;
  }
}

.fv__button {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
}
@media screen and (max-width: 999px) and (min-width: 768px) {
  .fv__button {
    width: 230px;
    font-size: 1.2rem;
  }
}

/*------------------------------
about
------------------------------*/
.about {
  padding-top: 78px;
}
@media (max-width: 767px) {
  .about {
    padding-top: 47px;
  }
}

.about__text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .about__text {
    font-size: min(1.4rem, 3.7333333333vw);
    font-feature-settings: "palt";
    line-height: 2.15;
  }
}

/*------------------------------
movie
------------------------------*/
.movie {
  padding: 85px 0 130px;
}
@media (max-width: 767px) {
  .movie {
    padding: 30px 0 60px;
  }
}

.movie__content {
  width: 60%;
  margin: 30px auto 0;
}
@media (max-width: 767px) {
  .movie__content {
    margin-top: 10px;
    width: 100%;
  }
}

/*------------------------------
plan
------------------------------*/
.plan {
  padding: 115px 0 120px;
  background: #F0EFED;
}
@media (max-width: 767px) {
  .plan {
    padding: 45px 0 53px;
  }
}

.plan__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 12%;
}
@media (min-width: 768px) {
  .plan__item:nth-child(2n) {
    flex-direction: row-reverse;
  }
}
@media (max-width: 767px) {
  .plan__item {
    flex-direction: column-reverse;
    margin-top: 40px;
  }
}

.plan__image {
  width: 50%;
}
@media (max-width: 767px) {
  .plan__image {
    width: 100%;
    margin-top: 15px;
  }
}

.plan__image .modal_img_btn span {
  display: block;
  margin: 30px auto 0;
  width: 6em;
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  text-decoration: underline;
  text-align: center;
  transition: 0.3s;
}

.plan__item:nth-child(2) .plan__image .modal_img_btn span {
  margin-top: 0;
}

.img_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.img_modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}
.img_modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal_container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 95%;
}
.modal_container.mw1000 {
  max-width: 1000px;
}
@media (max-width: 767px) {
  .modal_container.mw1000 img {
    width: 800px;
  }
}
.modal_container.mw800 {
  max-width: 800px;
}
@media (max-width: 767px) {
  .modal_container.mw800 img {
    width: 600px;
  }
}

.modal_close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 20px;
  right: 20px;
  padding-bottom: 5px;
  width: 50px;
  height: 50px;
  color: #fff;
  background: #1a1311;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
}
@media (max-width: 767px) {
  .modal_close {
    width: 40px;
    height: 40px;
    top: initial;
    right: 0;
    left: 0;
    bottom: -20px;
    margin: auto;
  }
}

.modal_content {
  background: #fff;
  padding: 50px;
}
@media (max-width: 767px) {
  .modal_content {
    padding: 20px 0;
  }
}
.modal_content img {
  display: block;
  width: 100%;
}
@media (max-width: 767px) {
  .modal_content .sp_scroll {
    width: 100%;
    overflow-x: scroll;
  }
  .modal_content .sp_scroll img {
    padding: 0 30px;
    max-width: none;
  }
}

.plan__content {
  width: 48%;
  max-width: 390px;
}
@media (max-width: 767px) {
  .plan__content {
    width: 100%;
  }
}

.plan__label {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.07em;
  text-align: center;
  font-family: "Times New Roman", sans-serif;
  color: #008378;
}

.plan__heading {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.1em;
  text-align: center;
  font-family: "Yu Mincho", sans-serif;
  margin-top: 1.5em;
}
@media (max-width: 767px) {
  .plan__heading {
    margin-top: 0.7em;
    font-size: min(2rem, 5.3333333333vw);
  }
}

.plan__description {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-top: 2em;
}
@media (max-width: 767px) {
  .plan__description {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    margin-top: 1.2em;
    padding: 0 0.3em;
    font-feature-settings: "palt";
  }
}

.profile {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 153px;
}
@media (max-width: 767px) {
  .profile {
    display: block;
    margin-top: 65px;
  }
}

.profile__image {
  width: 36%;
}
@media (max-width: 767px) {
  .profile__image {
    width: 100%;
    margin-top: 30px;
  }
}

.profile__content {
  width: 53.6%;
}
@media (max-width: 767px) {
  .profile__content {
    width: 100%;
  }
}

.profile__job {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5555555556;
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .profile__job {
    display: block;
    text-align: center;
  }
}

.profile__info {
  margin-top: 11.7%;
}
@media (max-width: 767px) {
  .profile__info {
    margin-top: 26px;
  }
}

.profile__nmae {
  display: flex;
  align-items: center;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
}
@media (max-width: 767px) {
  .profile__nmae {
    font-size: 2.4rem;
  }
}

.profile__name--en {
  font-family: "Times New Roman", sans-serif;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.1428571429;
  letter-spacing: 0.075em;
  margin-left: 19px;
}

.profile__company {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5555555556;
  letter-spacing: 0.08em;
  margin-top: 1.2em;
}
@media (max-width: 767px) {
  .profile__company {
    font-size: 1.5rem;
  }
}

.profile__text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6666666667;
  letter-spacing: 0.03em;
  margin-top: 3.3em;
}
@media (max-width: 767px) {
  .profile__text {
    font-size: 1.4rem;
    margin-top: 30px;
  }
}

.plan .interview_btn .sp_only {
  display: none !important;
}
@media (max-width: 767px) {
  .plan .interview_btn .sp_only {
    display: block !important;
  }
}

.plan .interview_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 67px;
  text-align: center;
}
@media (max-width: 767px) {
  .plan .interview_btn {
    margin-top: 54px;
  }
}
.plan .interview_btn .txt {
  position: relative;
  display: block;
  margin-bottom: 0.5em;
  color: #1A1311;
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  letter-spacing: 0.05em;
  line-height: 1.5;
  font-family: "Yu Mincho", sans-serif;
}
@media (max-width: 767px) {
  .plan .interview_btn .txt {
    margin-bottom: 1em;
  }
}
.plan .interview_btn .txt:before {
  content: "";
  position: absolute;
  left: -1.3em;
  bottom: 0;
  display: block;
  width: 1px;
  height: 80%;
  background-color: #1A1311;
  transform: rotate(-25deg);
}
.plan .interview_btn .txt:after {
  content: "";
  position: absolute;
  right: -1.3em;
  bottom: 0;
  display: block;
  width: 1px;
  height: 90%;
  background-color: #1A1311;
  transform: rotate(25deg);
}
.plan .interview_btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 470px;
  padding: 0.7em;
  background-color: #73B6C3;
  border-radius: 50px;
  color: #fff;
  font-size: clamp(1.6rem, 1.7vw, 1.8rem);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
@media (max-width: 767px) {
  .plan .interview_btn a {
    justify-content: right;
    gap: 5px;
    padding: 0.5em 0.5em 0.5em 2em;
    max-width: 300px;
  }
}
.plan .interview_btn a .btn_txt {
  position: relative;
  color: inherit;
  font-size: 1em;
  line-height: 1.5;
  font-family: "Yu Mincho", sans-serif;
  z-index: 2;
}
@media (max-width: 767px) {
  .plan .interview_btn a .btn_txt {
    width: 11em;
    margin: auto;
    font-weight: 700;
    text-align: left;
  }
}
.plan .interview_btn a img {
  position: relative;
  display: block;
  width: 18px;
  aspect-ratio: 3/2;
  z-index: 2;
}
.plan .interview_btn a:before {
  content: "";
  position: absolute;
  background-color: #CDCAC1;
  width: 0%;
  height: 100%;
  right: 0%;
  top: 0%;
  transition: width 0.5s;
  z-index: 1;
}
.plan .interview_btn a:hover {
  opacity: 1;
}
.plan .interview_btn a:hover:before {
  width: 100%;
}

/*------------------------------
gallery
------------------------------*/
.gallery {
  background: #008378;
  padding-bottom: 130px;
}
@media (max-width: 767px) {
  .gallery {
    padding-bottom: 60px;
  }
}

.gallery__header {
  padding: 70px 0;
  background: #008378;
  color: #fff;
}
@media (max-width: 767px) {
  .gallery__header {
    padding: 35px 0;
  }
}

.gallery__list {
  position: relative;
}
@keyframes zoomout {
  0% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
.gallery__list .swiper-slide-active img,
.gallery__list .swiper-slide-duplicate-active img,
.gallery__list .swiper-slide-prev img {
  animation: zoomout 7s linear 0s normal both;
}
.gallery__list .swiper-pagination[class][class] {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  position: relative;
  margin-top: 60px;
}
.gallery__list .swiper-pagination-bullet[class][class] {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  width: unset;
  height: unset;
  margin: 0;
  opacity: 1;
  background: #fff;
  border: 1px solid #fff;
  width: 11px;
  aspect-ratio: 1/1;
  margin: 0 10px;
}
.gallery__list .swiper-pagination-bullet[class][class].swiper-pagination-bullet-active {
  background: #1A1311;
}
@media (max-width: 767px) {
  .gallery__list .swiper-pagination[class][class] {
    margin-top: 45px;
  }
}

.gallerySwiper {
  overflow: hidden;
}

.gallery__item {
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: calc(100svh - var(--header_height) - 90px);
  object-fit: cover;
}
@media (max-width: 767px) {
  .gallery__item img {
    height: auto;
  }
}

.gallery__label {
  position: absolute;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .gallery__label {
    font-size: 2.6666666667vw;
  }
}

.gallery__label1 {
  top: 19%;
  left: 5%;
}

.gallery__label2 {
  top: 19%;
  left: 5%;
}

.gallery__label3 {
  top: 19%;
  left: 5%;
  color: #fff;
}

.gallery__label4 {
  top: 19%;
  left: 5%;
  color: #fff;
}

.gallery__label5 {
  top: 19%;
  left: 5%;
  color: #fff;
}

.gallery__label6 {
  top: 19%;
  left: 5%;
}

.gallery__label7 {
  top: 19%;
  left: 5%;
  color: #fff;
}

.gallery__label--en {
  display: block;
  font-size: 3.1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 2;
  font-family: "Times New Roman", sans-serif;
}
@media (max-width: 767px) {
  .gallery__label--en {
    font-size: 3.7333333333vw;
  }
}

/*------------------------------
vr
------------------------------*/
.vr {
  padding: 120px 0;
}
@media (max-width: 767px) {
  .vr {
    padding: 45px 0;
  }
}

.vr__list {
  max-width: 866px;
  margin: 0 auto;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .vr__list {
    display: block;
  }
}

.vr__item {
  width: calc(50% - 10px);
  position: relative;
  aspect-ratio: 423/258;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}
.vr__item::after {
  content: "";
  position: absolute;
  background: #1A1311;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 0%;
  opacity: 0.3;
  mix-blend-mode: multiply;
  transition: all 1s;
  pointer-events: none;
}
@media (hover: hover) {
  .vr__item:hover::after {
    opacity: 0.5;
  }
  .vr__item:hover .vr__image {
    transform: scale(1.1);
  }
  .vr__item:hover a {
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .vr__item:nth-child(2n) {
    margin-left: 20px;
  }
  .vr__item:nth-child(n+3) {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .vr__item {
    width: 100%;
  }
  .vr__item:nth-child(n+2) {
    margin-top: 18px;
  }
}

.vr__image {
  width: 100%;
  height: 100%;
  transition: all 1s;
}
.vr__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr__label {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.2222222222;
  letter-spacing: 0.1em;
  color: #fff;
  font-family: "Times New Roman", sans-serif;
}
.vr__label::after {
  content: "";
  position: absolute;
  bottom: -1em;
  left: 50%;
  transform: translateX(-50%);
  background: url(../img/icon_link.webp) no-repeat center center/contain;
  width: 20px;
  aspect-ratio: 1/1;
}
@media (max-width: 767px) {
  .vr__label {
    font-size: 1.6rem;
  }
}

/*------------------------------
special-plan
------------------------------*/
.special-plan {
  padding: 100px 0;
  background: #F0EFED;
}
@media (max-width: 767px) {
  .special-plan {
    padding: 54px 0 60px;
  }
}

@media (max-width: 767px) {
  .special-plan__inner {
    width: 100%;
    padding: 0 8%;
  }
}

.special-plan__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.2222222222;
  letter-spacing: 0.1em;
  text-align: center;
  font-family: "Yu Mincho", sans-serif;
}
@media (max-width: 767px) {
  .special-plan__title {
    font-size: 1.6rem;
  }
}

.special-plan__description {
  margin-top: 2em;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: center;
}
@media (max-width: 767px) {
  .special-plan__description {
    font-size: min(1.4rem, 3.7333333333vw);
    font-feature-settings: "palt";
    margin-top: 1.5em;
  }
}

.special-plan__table-wrap {
  overflow: scroll;
  overflow-y: hidden;
}
@media (max-width: 767px) {
  .special-plan__table-wrap {
    width: calc(100% + 8vw);
    overscroll-behavior-x: none;
  }
}

.special-plan__table {
  margin-top: 50px;
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
}
.special-plan__table th {
  background: #CDCAC1;
  width: 16.3%;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 4.8888888889;
  letter-spacing: 0.1em;
  font-family: "Times New Roman", sans-serif;
  text-align: center;
  border: 0.5px solid #1A1311;
}
.special-plan__table td {
  background: #fff;
  font-size: min(2rem, 1.953125vw);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.2em;
  border: 0.5px solid #1A1311;
  height: 3.8lh;
}
.special-plan__table td .flex_column {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.special-plan__table td .flex_column.bottom {
  justify-content: flex-end;
}
.special-plan__table td .flex_column dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 98%;
  max-width: 190px;
  padding: 10px 5px 0;
  margin: 10px auto 0;
  border-top: 1px solid #1A1311;
}
.special-plan__table td .flex_column dl * {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
.special-plan__table td .flex_column dl dt {
  width: 4.4em;
}
.special-plan__table td .flex_column dl dd {
  position: relative;
  width: 5.8em;
  text-align: right;
}
.special-plan__table td .flex_column dl dd.w_long {
  width: 7em;
}
.special-plan__table td .flex_column dl dd:before {
  content: "：";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  font-size: 1em;
}
.special-plan__table td span {
  display: block;
  margin-top: 10px;
  font-size: min(1.4rem, 1.5625vw);
  line-height: 1.6666666667;
  letter-spacing: 0.15em;
  text-align: left;
}
.special-plan__table td p {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}
.special-plan__table td em {
  font-size: min(1.5rem, 1.5625vw);
}
@media (max-width: 767px) {
  .special-plan__table {
    width: 880px;
    margin-top: 30px;
  }
  .special-plan__table th {
    font-size: 1.6rem;
    width: 10.3%;
  }
  .special-plan__table td {
    padding: 0 5px;
    height: 3.5lh;
    font-size: 2rem;
  }
  .special-plan__table td span {
    font-size: 1.2rem;
  }
  .special-plan__table td em {
    font-size: 1.5rem;
  }
}

.special-plan__table .child_flex {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 5px;
}
.special-plan__table .child_flex p {
  display: block;
  padding: 10px 5px 5px;
  margin: 0;
  width: 33.3333333333%;
  font-size: clamp(1.1rem, 1.1vw, 1.3rem);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.special-plan__table .child_flex p:not(:last-child) {
  border-right: 1px solid #1A1311;
}

.special-plan__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
@media (max-width: 767px) {
  .special-plan__bottom {
    display: block;
    margin-top: 50px;
  }
}

.special-plan__overview {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.05em;
}
.special-plan__overview span {
  display: inline-block;
  text-decoration: underline;
  cursor: pointer;
}
@media (min-width: 768px) {
  .special-plan__overview {
    margin-left: 2em;
    font-size: 1.8rem;
  }
}

.special-plan__note {
  font-size: 1.5rem;
  line-height: 1.6666666667;
  font-weight: 500;
}
@media (min-width: 768px) {
  .special-plan__note {
    transform: translateX(0.7em);
  }
}
@media (max-width: 767px) {
  .special-plan__note {
    margin-top: 25px;
    text-indent: -1em;
    padding-left: 1.3em;
  }
}

/* ポップアップ
------------------------------*/
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none; /* 最初は隠す */
}
#popup-overlay.active {
  display: flex; /* activeクラスが付いたら表示 */
}

.popup__content {
  max-width: 90%;
  max-height: 90%;
  width: 790px;
  object-fit: contain;
  position: relative;
  background: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 60px 100px;
  line-height: 1.7;
  overflow: scroll;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  .popup__content {
    height: 1030px;
  }
}
@media (max-width: 767px) {
  .popup__content {
    height: 680px;
    width: 320px;
    font-size: 1.4rem;
    padding: 40px min(30px, 8vw);
  }
}

.popup__heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1em;
}
@media (max-width: 767px) {
  .popup__heading {
    font-size: 1.6rem;
    text-align: center;
  }
}

.popup__info li {
  line-height: 1.85;
}
@media (max-width: 767px) {
  .popup__info li {
    line-height: 1.7;
  }
}

.popup__text {
  margin-top: 30px;
}

.popup__button {
  position: absolute;
  top: 50px;
  right: 45px;
  background: transparent;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10000; /* ボタンを画像よりも前に表示 */
  background: url(../img/icon_close2.webp) no-repeat center center/100%;
  aspect-ratio: 1/1;
  width: 40px;
  transform: scale(1.5);
}
@media (max-width: 767px) {
  .popup__button {
    top: 15px;
    right: 6%;
  }
}

/*------------------------------
atami
------------------------------*/
.atami {
  padding-top: 130px;
}
@media (max-width: 767px) {
  .atami {
    padding-top: 35px;
  }
}

.atami__heading {
  margin-top: 50px;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
  font-family: "Yu Mincho", sans-serif;
}
@media (max-width: 767px) {
  .atami__heading {
    font-size: min(2.3rem, 6.1333333333vw);
    margin-top: 1em;
    margin-left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 1em);
  }
}

.atami__deescription {
  margin-top: 50px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: center;
}
@media (max-width: 767px) {
  .atami__deescription {
    margin-top: 30px;
    letter-spacing: 0.01em;
    font-feature-settings: "palt";
    line-height: 1.9;
    margin-left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 1em);
  }
}

.atami__list {
  margin-top: 12%;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .atami__list {
    margin-top: 45px;
    display: block;
  }
}

.atami__item p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-top: 2em;
}
@media screen and (min-width: 1000px) {
  .atami__item {
    width: 29.9666666667%;
  }
  .atami__item:not(:nth-child(3n)) {
    margin-right: 5%;
  }
  .atami__item:nth-child(n+4) {
    margin-top: 70px;
  }
}
@media screen and (max-width: 999px) {
  .atami__item {
    width: 47.5%;
  }
  .atami__item:not(:nth-child(2n)) {
    margin-right: 5%;
  }
  .atami__item:nth-child(n+3) {
    margin-top: 70px;
  }
}
@media (max-width: 767px) {
  .atami__item {
    width: 100%;
  }
  .atami__item:nth-child(n+2) {
    margin-top: 50px;
  }
  .atami__item p {
    font-size: 1.4rem;
    margin-top: 20px;
  }
}

/*------------------------------
access
------------------------------*/
.access {
  padding: 100px 0 130px;
}
@media (max-width: 767px) {
  .access {
    padding: 80px 0 58px;
  }
}

.access__info {
  width: fit-content;
  margin: 0 auto;
  margin-top: 30px;
}
@media (max-width: 767px) {
  .access__info {
    margin-top: 10px;
  }
}

.access__name {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.15em;
  font-family: "Times New Roman", sans-serif;
}

.access__address {
  margin-top: 1em;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
  padding-left: 1.5em;
}
.access__address a {
  display: flex;
  align-items: center;
  font-weight: bold;
  padding-left: 1em;
  letter-spacing: 0.1em;
}
.access__address a::after {
  display: inline-block;
  content: "";
  position: relative;
  background: url(../img/icon_link_gray.webp) no-repeat center center/contain;
  width: 1.5em;
  aspect-ratio: 1/1;
  transform: translateX(10%);
}
@media (max-width: 767px) {
  .access__address {
    font-size: 1.4rem;
  }
}

.access__map {
  max-width: 970px;
  margin: 0 auto;
  margin-top: 28px;
}

#target-wrapper {
  position: relative;
}

#target {
  overflow-x: scroll;
  overflow-y: hidden;
  /* スクロールバー非表示 */
  scrollbar-width: none;
}

#target::-webkit-scrollbar {
  display: none;
}

#custom-scrollbar-x {
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 15px;
  background: #fff;
  width: calc(100% + 8vw);
  border-radius: 5px;
}

#custom-thumb-x {
  position: absolute;
  left: 0;
  height: 100%;
  background-color: #8D8D8D;
  border-radius: 5px;
  cursor: pointer;
}/*# sourceMappingURL=hareilla-atami.css.map */