@charset "utf-8";

/*===========================================
  common
===========================================*/
:root {
  /* パディング 100px */
  --padding-rightleft: 3.47vw;
  --padding-topbottom: 50px;
  --margin-short: 10px;
  --margin-small: 20px;
  --margin-medium: 30px;
  --margin-large: 50px;
  --margin-superlarge: 70px;
  --color-white: #fff;
  --color-black: #3a3a3a;
  --color-gray: #7a7a7a;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-black);
  overflow-x: hidden;
  overflow-y: auto;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

h1 {
  font-family: "PlayfairDisplay", serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--margin-large);
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--margin-medium);
}

@media (max-width: 440px) {
  :root {
    /* パディング 100px */
    --padding-rightleft: 4.54vw;
    --margin-short: 8px;
    --margin-small: 15px;
    --margin-medium: 20px;
    --margin-large: 30px;
    --margin-superlarge: 50px;
  }

  body {
    font-size: 1.2rem;
  }
}

/*===========================================
  modal
===========================================*/
/* all */
#modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.thumb {
  cursor: pointer;
}

/* hidden */
#modal.hidden {
  display: none;
}

/* content */
.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  padding: 20px;
  overflow: auto;
}

/* image */
#modal-img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
}

/* close */
#close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/*===========================================
  header
===========================================*/
header {
  padding: var(--padding-topbottom) var(--padding-rightleft);
}

.header_inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

nav {
  width: fit-content;
}

.header_h1_link {
  width: fit-content;
}

.header_h1 {
  font-family: "PlayfairDisplay", serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.header_h1_sub {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
}

.sns_box {
  display: flex;
  gap: 8px;
}

.icon_sns {
  width: 15px;
  height: 15px;
  transition: 0.4s;
}

.icon_sns:hover {
  opacity: 0.4;
}

.cc {
  max-width: 430px;
}

.header_top {
  width: fit-content;
  height: 87svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--margin-superlarge);
}

.header_inner_top {
  height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--margin-superlarge);
}

header nav ul li {
  margin-bottom: 4px;
}

.text-hover {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.text-hover span {
  display: block;
  transition: transform 0.4s ease;
}

.text-hover .text-top {
  transform: translateY(0%);
}

.text-hover:hover .text-top {
  transform: translateY(-100%);
}

.text-hover .text-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(0%);
}

.text-hover:hover .text-bottom {
  transform: translateY(-100%);
}

@media (max-width: 1024px) {
  .header_top {
    width: 100%;
    height: auto;
  }

  .header_inner_top {
    height: auto;
    flex-direction: row;
  }
}

@media (max-width: 440px) {
  header {
    padding-top: 30px;
  }
}

/*===========================================
  top
===========================================*/
.top_wrap {
  width: 100%;
  height: 100svh;
  display: flex;
  justify-content: space-between;
}

.swiper {
  height: 100svh;
}

.swiper-slide {
  width: 60vw;
  height: auto;
  aspect-ratio: 3 / 2;
}

.swiper-slide img {
  height: 100%;
}

@media (max-width: 1024px) {
  .top_wrap {
    flex-direction: column;
    height: auto;
  }

  .swiper {
    height: auto;
    padding-right: var(--padding-rightleft);
    padding-left: var(--padding-rightleft);
  }

  .swiper-slide {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }
	
  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    touch-action: pan-y !important;
  }
}

/*===========================================
  each page
===========================================*/
/* all */
.wrap {
  padding-right: var(--padding-rightleft);
  padding-left: var(--padding-rightleft);
  padding-bottom: var(--padding-topbottom);
}

/* About */
.about_container {
  display: flex;
  max-width: 1024px;
  gap: var(--margin-superlarge);
}

.profile-photo {
  width: 160px;
}

.about_text {
  margin-bottom: var(--margin-large);
}

.about_link_contact {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .about_container {
    flex-direction: column;
  }
}

/* Photo */
#photo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--margin-large);
}

#photo img {
  width: calc(33.333% - var(--margin-large));
}

@media (max-width: 768px) {
  #photo {
    flex-direction: column;
  }

  #photo img {
    width: 100%;
  }
}

/* Contact */
.contact_text {
  margin-bottom: var(--margin-large);
}

.contactform {
  width: 440px;
}

@media (max-width: 440px) {
  .contactform {
    width: 100%;
  }
}

/*=================================================================
  index.php
  ================================================================= */
.index__contents {
  width: 100%;
  height: calc(100svh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.index__inner {
  text-align: center;
}

.index__inner a {
  text-decoration: underline;
}
