@charset "utf-8";

/* CSS Document */
html {
  font-size: 62.5%;
  width: 100%;
  color: #333;
}

body {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  line-height: 1.6;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

h2 {
  font-size: 2.4rem;
}

/* 画面外にいる状態 */
.fadein {
  opacity: 0.1;
  transform: translate(0, 20px);
  transition: all 500ms;
}

/* 画面内に入った状態 */
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

@media(max-width:960px) {
  main {
    max-width: 375px;
    margin: 0 auto;
  }

  .header {
    width: 100%;
    height: 50px;
    background-color: #FFF;
  }

  .header h1 {
    display: none;
  }

  .header_navigation {
    display: none;
  }

  /*ハンバーガーボタン*/
  .open-button {
    position: fixed;
    top: 0;
    right: 20px;
    display: flex;
    width: 50px;
    height: 47px;
    justify-content: center;
    align-items: center;
    border: #f8b862 solid 2px;
    z-index: 520;
  }

  .open-button span,
  .open-button span:before,
  .open-button span:after {
    content: "";
    display: block;
    height: 4px;
    width: 30px;
    border-radius: 3px;
    background-color: #f8b862;
    position: absolute;
  }

  .open-button span:before {
    bottom: 8px;
  }

  .open-button span:after {
    top: 8px;
  }

  #header_button:checked~.open-button span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }

  #header_button:checked~.open-button span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #header_button:checked~.open-button span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #header_button {
    display: none;
  }

  .menu-content {
    width: 65%;
    height: 100%;
    position: fixed;
    top: -680px;
    left: 0;
    z-index: 80;
    background-color: rgba(255, 255, 255, 0.9);
    /*アニメーション設定*/
    transition: 0.7s;
    opacity: 0;
  }

  .headersp-rogo {
    width: 100px;
  }

  .header_sns {
    margin-top: 40px;
    text-align: center;
  }

  .menu-content ul {
    text-align: center;
    padding: 40px 10px 0;
  }

  .menu-content ul li {
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    color: #333;
    text-decoration: none;
    margin-bottom: 20px;
    position: relative;
    transition: 0.5s;
  }

  .menu-content ul li a::before {
    background: #f8b862;
    content: '';
    width: 80%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .5s;
  }

  .menu-content ul li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  #header_button:checked~.menu-content {
    top: 0;
    /*メニューを画面内へ*/
    opacity: 1.0;
  }
}

@media(min-width:960px) {
  main {
    max-width: 1440px;
    margin: 0 auto;
  }

  .hamburger-menu {
    display: none;
  }

  .header {
    width: 100%;
    background-color: #FFF;
    position: fixed;
    display: flex;
    height: 84px;
    font-size: 1.8rem;
    z-index: 500
  }

  .header h1 {
    padding: 10px;
  }

  .header a {
    color: #333;
    text-decoration: none;

    position: relative;
  }

  .header-rogo {

    height: 200px;
    background-color: #FFF;

  }

  h1 {

    margin-left: -31px;
    background-color: #FFF;
    display: inline-block;
  }

  .header ul li a::before {
    background: #f8b862;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .5s;
  }

  .header ul li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  .header_navigation {
    margin: 0 auto;
  }

  .header_navigation ul li {
    padding-top: 25px;
    margin-left: 130px;
    display: inline-block;
  }

  .header_navigation nav li a {
    font-family: 'Zen Antique Soft', serif;
    text-decoration: none;
    color: #333;
  }
}

.second_title__profile {
  font-size: 3.0rem;
  font-family: 'Zen Antique Soft', serif;
  color: #FFF;
  position: absolute;
  top: 80px;
  left: 27px;
}

.second_title__image {
  width: 100%;
  object-fit: cover;
}

@media(min-width:960px) {
  .second_title__profile {
    font-size: 5.0rem;
    top: 180px;
    left: 165px;
  }
}

.contact {
  max-width: 327px;
  margin: 0 auto;
}

.contact h2 {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.contact h2::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #2ca9e1;
  display: block;
}

.contact_mail {
  text-align: center;
  margin-bottom: 60px;
}

.contact a {
  text-decoration: none;
  color: #333;
  border-radius: 30px;
  border: solid 2px #f8b862;
  padding: 10px 25px;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.contact a::after {
  border-radius: 30px;
  background: #f8b862;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.contact a:hover {
  color: #fff;
}

.contact a:hover::after {
  transform: scale(1, 1);
}

.contact p {
  margin-bottom: 100px;
}

.top_back {
  position: fixed;
  right: 30px;
  bottom: 110px;
  color: #333;
  font-size: 1.1rem;
}

#page-top {
  position: fixed;
  right: 70px;
  bottom: 25px;
  height: 100px;
  text-decoration: none;
  transform: rotate(90deg);
  padding: 0 0 0 60px;
  border-top: solid 3px #f8b862;
}

#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 20px;
  border-top: solid 3px #f8b862;
  transform: rotate(35deg);
  transform-origin: left top;
}

@media(min-width:960px) {
  .contact {
    max-width: 1110px;
    margin: 80px auto 0 auto;
  }

  .contact h2 {
    margin-bottom: 100px;
  }

  .contact_mail {
    margin-bottom: 80px;
  }

  .contact p {
    margin-bottom: 150px;
  }
}

.footer {
  background-image: url("../image/index/pepar.png");
  padding: 30px 27px 60px 27px;
}

.footer nav {
  background-color: #FFF;
}

.footer nav ul {
  display: inline-block;
  margin: 0 70px 50px 50px;
}

.footer nav ul li {
  margin-top: 30px;
}

.footer_rogo {
  width: 100px;

}

.footer nav li a {
  color: #333;
  text-decoration: none;
  font-family: 'Zen Antique Soft', serif;
  padding-bottom: 3px;
  position: relative;
}

.footer a::before {
  background: #f8b862;
  content: '';
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .5s;
}

.footer a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.footer_sns {
  display: inline-block;
  margin: 50px;
}

.footer_facebook,
.footer_instergram {
  width: 20px;
  height: 20px;
}

.footer_facebook {
  margin-left: 20px;
}

.footer small {
  margin-top: 40px;
  display: block;
  text-align: center;
}

@media(min-width:960px) {
  .footer {
    padding: 40px 200px 40px 200px;
  }

  .footer_rogo {
    width: 170px;
    margin-left: 50px;

  }

  .footer nav {
    display: flex;
    padding: 0px;
  }

  .footer nav ul {
    display: flex;
    margin: 20px 10px 10px 0;
  }

  .footer nav ul li {
    margin-left: 20px;
  }

  .footer_sns {
    text-align: right;

    margin: 60px 0px 0px 200px;
  }
}
