@charset "UTF-8";

html {
  color: #222;
  font-size: 62.5%;
}

.noto-sans-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: auto;
  font-style: normal;
}

.crimson-text-regular {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'Noto Sans JP';
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.5rem;
}

@media (max-width: 599px)
{
  h2 {
    font-size: 2.5rem
  }
}


h1,
h2 {
  font-weight: 400;
}

h3 {
  font-size: 1.8rem;
}

h1,
h2,
h3 {
  font-family: 'Crimson Text', 'Noto Sans JP';
}

h4 {
  font-size: 1.6rem;
}

a {
  color: #222;
  text-decoration: none;
}

p {
  line-height: 2;
  font-size: 1.6rem;
}

.link span,
.tel span {
  font-size: 1.6rem;
}

/*=========================
============================*/

@media (max-width: 1399px) {
  p {
    font-size: 1.6rem;
  }
}

@media (max-width: 599px) {
  h1 {
    font-size: 1.95rem;
  }
}

@media (max-width: 499px) {
  h1 {
    font-size: 2rem;
  }
}

/*---------------------
header
---------------------*/
#header {
  display: flex;
  justify-content: space-between;
  margin: 20px;
}

.site-title {
  display: flex;
}

.site-title img {
  width: 50px;
}

.site-title h1 {
  margin: 0 10px;
}

#header h1 {
  font-size: 2.8rem
}

.site-title span {
  background: linear-gradient(180deg, #f2b7d6, #9ad7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-title a {
  color: #333;
  text-decoration: none;
}

.header {
  position: relative;
  padding: 20px;
}

.hamburger {
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 110;
  width: 48px;
  height: 48px;
  border: none;
  cursor: pointer;
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background: #333;
  transition: all 0.4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}

.hamburger__line:nth-of-type(2) {
  top: 23px;
}

.hamburger__line:nth-of-type(3) {
  top: 32px;
}

.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s;
  z-index: 99;
}

.nav.active {
  transform: translateY(0);
}

.nav__list {
  display: block;
  padding: 100px 0 0;
  margin: 20px 25px;
  list-style: none;
}

.nav__item {
  font-size: 1.6rem;
  padding: 0 20px;
}

.nav__link {
  display: block;
  padding: 20px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #222;
  margin: 30px 0;
  z-index: 110;
}


/*---------------------
contact
----------------------*/
.contact {
  width: 100%;
  padding: 80px 5%;
  border-radius: 40% 40% 0 0;
  background: linear-gradient(180deg, #ffd7e6, #d8ecff);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
}

.contact-title img {
  width: 80px;
}

.contact-title {
  text-align: center;
  flex: 1;
}

.contact-text {
  flex: 1.2;
}

.c-text {
  margin-bottom: 40px;
  margin-left: 20px;
}

.link {
  background: #fff;
  border-radius: 40px;
  padding: 18px 49px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
  width: 600px;
  z-index: 0;
  overflow: hidden;
  position: relative;
}

.link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #d7c1d0;
  transition: width 0.3s ease;
  z-index: -1;
}

.link:hover::before {
  width: 100%;
}

.link span {
  margin: 0 0 5px;
}

.link img {
  width: 40px;
}

.tel img {
  width: 40px;
}

.tel {
  background: #fff;
  border-radius: 40px;
  padding: 18px 49px;
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 20px;
  width: 600px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.tel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #c8d3e7;
  transition: width 0.4s ease;
  z-index: -1;
}

.tel:hover::before {
  width: 100%;
}

.tel span {
  margin: 0 0 5px;
}

.link-arrow {
  position: relative;
}

.link-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -70px;
  transform: translateY(-50%) skewX(45deg);
  width: 70px;
  height: 4px;
  border-bottom: 1px solid #222;
  border-right: 1px solid #222;
  transition: 0.4s ease, border-color 0.4s ease;
  display: inline-block;
  z-index: 1;
}

/*-------------------
footer
--------------------*/
#footer {
  background: #c1d7e7;
  /* height: 650px; */
}

.logo img {
  width: 50px;
}

.logo {
  display: flex;
  font-size: 1rem;
  gap: 20px;
  padding: 30px;
}

.logo h1 {
  margin: 10px 0 0 0;
}

.footer-text-wrapper {
  width: 400px;
  margin: 0 auto;
}

.footer-text {
  text-align: left;
  margin-left: 30px;
}

.footer-text2 {
  text-align: right;
  margin-right: 30px;
}

.right {
  border-right: none;
  width: 333px;
  height: 100%;
  margin: 40px auto 0;
  border-top: 1px dashed #222;
  text-align: center;
}

.right p {
  border-bottom: 1px dashed #222;
  padding: 30px 0;
}

.right a:hover {
  color: #ffffff;
  transition: 0.25s ease;
  border-color: #222;
}

.sns img {
  width: 30px;
  height: 30px;
}

.sns {
  display: none;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.copy {
  text-align: center;
  padding: 60px 0 10px;
  font-size: 1.4rem;
}

/*-------------------
back to top
--------------------*/
.btn {
  z-index: 100;
  position: fixed;
  right: 30px;
  bottom: 20px;
  font-size: 1.6rem;
}

.btn a {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  font-family: 'Crimson Text', serif;
}

.btn a::before {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  border-top: solid 1px #222;
  border-right: solid 1px #222;
  content: '';
  transform: rotate(-45deg) translateY(-40%);
  top: 50%;
  right: 86px;
}

@media (max-width: 767px) {
  .btn {
    right: 15px;
  }
}

/*========================
==========================*/

@media (max-width: 768px) {

  /*------------------
    contact
    -------------------*/
  .contact {
    flex-direction: column;
  }

  .c-text {
    text-align: center;
    padding: 20px 0 0;
  }
}

@media (max-width: 599px) {

  /*-----------------
    contact
    ----------------*/
  .link {
    width: 500px;
    margin: 0 auto 20px;
  }

  .tel {
    width: 500px;
    margin: 0 auto 20px;
  }
}

@media (max-width: 599px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    /* font-size: 1.4rem; */
  }

  .footer-text-wrapper {
    width: 100%;
    text-align: center;
  }

  .footer-text-wrapper>div {
    text-align: center;
    margin: 0;
  }

  /*-------------------
    contact
    -------------------*/
  .contact {
    border-radius: 100px 100px 0 0;
    background: linear-gradient(180deg, #ffd7e6, #d8ecff);
  }

  .link {
    flex-direction: column;
    width: 310px;
    height: 200px;
    position: relative;
  }

  .link-arrow::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -33px;
    transform: translateY(-50%) skewX(45deg);
    width: 70px;
    height: 4px;
    border-bottom: 1px solid #222;
    border-right: 1px solid #222;
    transition: 0.4s ease, border-color 0.4s ease;
    display: inline-block;
    z-index: 1;
  }

  .tel {
    flex-direction: column;
    width: 310px;
    height: 160px;
  }
}

/*=========================
=========================*/