/*
Theme Name: Maeda DIVE Resort Hotel
Description: Maeda DIVE Resort Hotelの公式サイト
Author: Togo
Version: 1.0.0
*/
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/
/* リセットCSS */
@charset "UTF-8";

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

li {
  list-style: none;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: inherit;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
select {
  vertical-align: middle;
}
/* ---------------- */
/* 共通CSS */
html {
  font-size: 16px;
}

body {
  width: 100%;
  box-sizing: border-box;
  font-family: "Yu Mincho", "Yu Gothic", "Hiragino Mincho Pro",
    "Hiragino Mincho ProN", "MS Mincho", serif;
  /* color: #343434; */
  color: #575757;
  line-height: 1.8;
  /* background-image: url(./images/hotel_background.png); */
}

main {
  background-image: url("./images/main_background.png");
  font-size: 16px;
}

.container {
  padding: 0 5rem;
}

.text-primary {
  color: #5181aa;
}

.text-dark-blue {
  color: #00023e;
}

.heading-underline {
  border-bottom: 1px solid #d9dfe4;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
}

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

@media screen and (max-width: 1024px), (orientation: portrait) {
  .width-adjust {
    width: 90%;
  }
}

/* アニメーション */
.hidden {
  display: none !important;
}

.menu {
  display: none;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in.delay {
  transition-delay: 1s;
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 12px;
  }

  .container {
    font-size: 16px;
  }
}

@media screen and (max-width: 520px) {
  html {
    font-size: 10px;
  }
  .container {
    padding: 0 8px;
    font-size: 14px;
  }
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  position: relative;
  display: flex;
  justify-content: end;
  align-items: center;
}

.header-content-wrapper {
  position: absolute;
  top: 2rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f0f0f0;
  color: #646464;
  border-radius: 50%;
  border: none;
}

.header-contact-btn {
  border: 1.5px solid #5181aa;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  color: #5181aa;
  font-size: 1rem;
  background-color: white;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  z-index: 5;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255);
  z-index: 900;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  z-index: 999;
  display: flex;
  overflow-y: auto;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.menu-column-wrapper {
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
  box-sizing: border-box;
}

.menu-column {
  padding-top: 7rem;
  display: flex;
  flex-direction: column;
  width: 20%;
  height: 100%;
  box-sizing: border-box;
}

.grey-column {
  background-color: #f0f0f0;
}

.menu-column-title {
  padding: 0 1rem;
  word-wrap: break-word;
  line-height: 1.3;
  font-size: 1.5rem;
  color: #b1b1b1;
  height: 4rem;
  box-sizing: border-box;
}

.menu-link {
  display: flex;
  width: 100%;
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
}

.menu-link:hover {
  background-color: #d9d9d9;
}

.menu-link-text {
  text-wrap: wrap;
  line-height: 1.2;
}

.menu-more-icon {
  width: 5rem;
  height: 5rem;
}

@media screen and (max-width: 1024px) {
  .menu-column-wrapper {
    margin-top: 8rem;
    flex-direction: column;
    justify-content: start;
  }

  .menu-column {
    width: 100%;
    padding: 2rem 4rem;
    height: auto;
  }

  .menu-column-title {
    font-size: 2.5rem;
    width: 100%;
  }

  .menu-column-title,
  .menu-link {
    max-width: 500px;
    margin: 0 auto;
  }
}

.header-logo-wrapper {
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10rem;
  box-sizing: border-box;
}

.header-logo {
  width: 100%;
}

/* トップビュー */
.top-view-wrapper {
  background-image: url(./images/main_image.jpg);
  margin: 0 1rem;
  background-size: cover;
  background-position: center;
  width: calc(100% - 2rem);
  display: flex;
  height: 100vh;
  box-sizing: border-box;
  margin-bottom: 3rem;
}

.top-view-text {
  margin: auto 0 auto 6vw;
  color: #fff;
  text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.4);
  font-size: 2rem;
  line-height: 150%;
  letter-spacing: 8px;
}

/* 共通 */
.section-title {
  font-size: 2rem;
  color: #0061a5;
  text-align: center;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: #0061a5;
  text-align: center;
  width: 100%;
  line-height: 1.2;
}

/* News */
.news-content-wrapper {
  display: flex;
  flex-direction: column;
}

.news-posts-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.news-card {
  width: 25%;
  background-color: #f2fcff;
  /* height: 18rem; */
  flex-grow: 1;
}

img.wp-post-image.news-thumbnail {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
}

.news-text-wrapper {
  padding: 0.5rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.news-published-date {
  font-size: 0.8rem;
  color: #575757;
}

.news-title {
  font-size: 1rem;
  color: #575757;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 520px) {
  .news-posts-wrapper {
    flex-wrap: wrap;
  }
  .news-card {
    width: 45%;
  }
}

/* Stay */
.stay-wrapper {
  background-color: #f2fcff;
  padding: 3rem 0;
  margin-top: 3rem;
}

.stay-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 0 auto;
  padding-bottom: 5rem;
  position: relative;
  margin-top: 3rem;
}

.stay-card {
  display: flex;
  width: 100%;
  background-color: #fff;
}

.stay-image {
  width: 60%;
  object-fit: cover;
}

.stay-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  max-height: 400px;
  width: 40%;
  position: relative;
  box-sizing: border-box;
}

.stay-room-name {
  font-size: 2.2rem;
  line-height: 1;
}

.stay-room-name-jp {
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.stay-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.row-title,
.row-value {
  font-size: 16px;
}

.row-title {
  width: 48px;
}

.view-details {
  width: 160px;
  align-self: end;
}

.view-details img {
  width: 100%;
}

.view-all {
  width: 160px;
  margin-top: 2rem;
  align-self: end;
  display: inline-block;
}

.stay-content-wrapper .view-all {
  margin-top: 0;
}

.view-all img {
  width: 100%;
}

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

@media screen and (max-width: 1024px), (orientation: portrait) {
  .stay-row {
    font-size: 0.8rem;
  }

  .view-all,
  .view-details {
    width: 140px;
  }

  .view-details {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 520px) {
  .stay-card {
    flex-direction: column;
  }

  .stay-image {
    width: 100%;
    flex-shrink: 1;
  }

  .stay-text-wrapper {
    width: 100%;
    height: auto;
    padding: 2rem 3rem;
  }

  .stay-room-name {
    font-size: 2rem;
  }

  .stay-row {
    flex-direction: column;
    gap: 0;
  }

  .row-title {
    font-size: 12px;
    color: #b1b1b1;
  }

  .view-all {
    width: 120px;
  }

  .view-details {
    width: 120px;
  }
}
/* Eat */
.eat-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.eat-content-wrapper {
  height: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  padding-bottom: 5rem;
}

.eat-image-wrapper {
  display: flex;
  gap: 1rem;
  height: 100%;
}

.eat-item {
  position: relative;
}

.eat-text {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3rem;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 4px 4px 12px rgba(0, 0, 0, 0.9),
    6px 6px 16px rgba(0, 0, 0, 0.8);
  letter-spacing: 1.5px;
  text-wrap: balance;
}

.eat-image-left {
  width: 50%;
  height: 100%;
}

.eat-image-left .eat-item {
  height: 100%;
}

.eat-image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.eat-image-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eat-image-right .eat-item {
  height: calc((100% - 1rem) / 2);
}

.eat-image-right img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: right bottom;
  aspect-ratio: 4/3;
}

@media screen and (max-width: 1024px), (orientation: portrait) {
  .eat-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 520px) {
  .eat-text {
    padding: 1rem 1.8rem;
    font-size: 12px;
  }
}

/* Have Fun */
.havefun-wrapper {
  margin-top: 3rem;
  background-color: #f2fcff;
  padding-top: 3rem;
  box-sizing: border-box;
}

.havefun-content-wrapper {
  height: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 5rem;
  margin-top: 3rem;
}

.havefun-image-wrapper {
  display: flex;
  gap: 1rem;
  height: 100%;
  width: 100%;
}

.havefun-item {
  position: relative;
  width: calc((100% - 3rem) / 4);
}

.havefun-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 4px 4px 12px rgba(0, 0, 0, 0.9),
    6px 6px 16px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  letter-spacing: 1.5px;
}

.havefun-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 1024px), (orientation: portrait) {
  .havefun-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 520px) {
  .havefun-content-wrapper {
    height: auto;
  }
  .havefun-image-wrapper {
    flex-direction: column;
  }

  .havefun-item {
    width: 100%;
    margin: 0 auto;
    height: 120px;
  }
}

/* Access */
.home-access-wrapper {
  padding: 3rem 0;
  background-image: url("./images/beach_dark.jpg");
  background-size: cover;
  margin-top: 3rem;
}

.home-access-content-wrapper {
  display: flex;
  gap: 1rem;
  margin: 0 auto;
  color: white;
  text-shadow: 0 0 6px rgba(0, 0, 0);
}

.home-access-map {
  width: 50%;
  height: auto;
}

.home-access-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-access-text-wrapper {
  width: 50%;
  padding: 1rem;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.home-access-hotel-name {
  font-size: 18px;
  margin-top: 1rem;
}

.home-access-address {
  font-size: 14px;
}

.home-access-body {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 16px;
  display: flex;
  flex-direction: column;
}

.home-access-view-details {
  width: 160px;
  display: inline-block;
  align-self: end;
}

.home-access-view-details img {
  width: 100%;
}

@media screen and (max-width: 1024px), (orientation: portrait) {
  .home-access-content-wrapper {
    height: auto;
    gap: 1rem;
    flex-direction: column;
  }

  .home-access-map {
    width: 100%;
  }

  .home-access-text-wrapper {
    width: 100%;
  }

  .home-access-body {
    line-height: 2;
  }
}

@media screen and (max-width: 520px) {
  .home-access-map {
    width: 100%;
    height: 40vh;
  }

  .home-access-text-wrapper {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Photo Gallery */
.home-gallery-wrapper {
  padding: 3rem 0;
  background-color: #f2fcff;
}
.home-gallery-title {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.home-gallery-title img {
  width: 2rem;
  height: 2rem;
}

.home-gallery-content-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  margin-top: 3rem;
  padding-bottom: 5rem;
}

.home-gallery-image-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
}

.home-gallery-image {
  width: calc((100% - 3rem) / 4);
}

.home-gallery-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.home-gallery-insta-link {
  align-self: end;
}

.home-gallery-insta-link img {
  width: 160px;
}

@media screen and (max-width: 1024px), (orientation: portrait) {
  .home-gallery-image {
    width: calc((100% - 2rem) / 3);
  }
}

@media screen and (max-width: 520px) {
  .home-gallery-image {
    width: calc((100% - 1rem) / 2);
  }
}

/* フッター */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
}

.footer-logo-wrapper {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  box-sizing: border-box;
}

.footer-logo {
  width: 100%;
}

.footer-buttons-wrapper {
  display: flex;
  width: 600px;
  max-width: 600px;
  margin: 0 auto;
  gap: 2rem;
  height: 150px;
}

@media screen and (max-width: 520px) {
  .footer-buttons-wrapper {
    width: 80%;
    height: auto;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-button-left,
  .footer-button-right {
    width: 100% !important;
    height: 100%;
  }

  .footer-button {
    padding: 1.5rem 0;
  }
}

.footer-button-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.footer-button-cliper {
  width: 1rem;
  aspect-ratio: 1;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: white;
  position: absolute;
  bottom: 0;
  right: 0;
}

.footer-button-left .footer-button {
  width: 100%;
  height: 50%;
  background-color: #cde3f6;
}

.footer-button-right {
  width: 50%;
  height: auto;
}

.footer-button-right .footer-button {
  height: 100%;
  background-color: #b9ddfc;
}

.footer-bottom-wrapper {
  margin-top: 3rem;
  background-color: #006da6;
  color: white;
  width: 100%;
  position: relative;
}

.footer-content-wrapper {
  display: flex;
  margin: 0 auto;
  align-items: center;
}

.footer-bottom-logo {
  width: 50%;
}

.footer-bottom-logo img {
  width: 70%;
  margin: auto 0;
}

.footer-right-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.footer-sns-icons-wrapper {
  display: flex;
  justify-content: end;
  gap: 1rem;
  width: 100%;
}

.footer-sns-icon {
  width: 2rem;
  height: 2rem;
}

.footer-hotel-address {
  font-size: 0.8rem;
  width: 100%;
  text-align: right;
  margin-top: 0.5rem;
}

.footer-copy-right {
  font-size: 0.8rem;
  text-align: center;
}

.image-license {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 0.8rem;
}

@media screen and (max-width: 1024px), (orientation: portrait) {
  .footer-buttons-wrapper {
    width: 80%;
  }
}

@media screen and (max-width: 520px) {
  .footer-content-wrapper {
    flex-direction: column-reverse;
    width: 80%;
  }

  .footer-bottom-logo {
    width: 100%;
  }

  .footer-bottom-logo img {
    width: 100%;
    padding: 1rem 0;
  }

  .footer-right-wrapper {
    width: 100%;
  }

  .footer-hotel-address {
    width: 100%;
    font-size: 1.6rem;
    text-align: left;
  }

  .footer-sns-icons-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .footer-sns-icon {
    width: 4rem;
    height: 4rem;
  }

  .footer-sns-icons-wrapper {
    padding: 2.5rem 0;
  }

  .footer-copy-right {
    font-size: 1rem;
  }
}
