@charset "UTF-8";
@font-face {
  font-family: "blanch";
  src: url("font/blanch-caps-light.otf") format("truetype");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  font-weight: 550;
  vertical-align: top;
}
.wrap {
  width: 900px;
  margin: 0 auto;
}
body {
  background: #fde9eb;
  color: #666;
  display: grid;
  font-family: "Poppins", sans-serif;
  font-size: 27px;
  line-height: 1.5;
}

/***************headerまでのメディアクエリここから***************/
@media screen and (max-width: 767px) {
  .wrap {
    width: 100%;
  }
  html {
    width: 100%;
  }
}
/***************headerまでのメディアクエリここから***************/

/******************************************header*********************/

header {
  width: 900px;
  height: 130px;
  background-color: #fff;
  position: fixed;
  z-index: 1000;
}

h1 img {
  width: 130px;
  padding: 10px;
}

.header-flex-container {
  display: flex;
  justify-content: space-between;
}
.header-flex-container ul {
  display: flex;
  justify-content: flex-end;
}
.header-flex-container li {
  margin: 0 1em 0 0;
  padding: 60px 0 30px 0;
}

.line01 {
  width: 900px;
  display: flex;
  justify-content: flex-start;
}
.line01 img {
  width: 180px;
}

/***************logoのホバー***************/
h1 img {
  cursor: pointer;
  transition-duration: 0.7s;
}
h1 img:hover {
  transform: scale(1.3) rotate(9deg); /*回転*/
  transition-duration: 0.7s;
}
/***************naviのホバー***************/
a {
  overflow: hidden;
  position: relative;
  display: inline-block;
}

a::before,
a::after {
  position: absolute;
  width: 100%;
  left: 0;
}
a::before {
  background-color: #f5b5bb;
  /* height: 2px; */
  /* bottom: 0; */
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}
a::after {
  content: attr(data-replace);
  height: 100%;
  top: 0;
  transform-origin: 100% 50%;
  transform: translate3d(200%, 0, 0);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  color: #f5b5bb;
}

a:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}
a:hover::after {
  transform: translate3d(0, 0, 0);
}

a span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

a:hover span {
  transform: translate3d(-200%, 0, 0);
}

/***************headerのメディアクエリここから***************/
@media screen and (max-width: 767px) {
  header {
    width: 130px;
    height: 250px;
    background-color: #fde9eba9;
    border-right: #666666bd 1px solid;
    border-bottom: #666666bd 1px solid;
    border-radius: 0 0 30px 0;
  }
  h1 img {
    display: none;
  }
  .header-flex-container ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 10px 0 0 0;
  }
  .header-flex-container li {
    margin: 0 10px 0 20px;
    padding: 0;
  }
  .line01 img {
    display: none;
  }
}
/***************headerのメディアクエリここまで***************/

/******************************************main*********************/

/***************ページトップに戻る矢印***************/
html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #ffffff00;
  border: solid 2px pink;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}
.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid pink;
  border-right: 3px solid pink;
  transform: translateY(20%) rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
  .pagetop:hover,
  .pagetop:hover .pagetop__arrow {
    border-color: #ccc;
  }
}
/***************ここまで***************/

main {
  width: 100%;
  background-color: #ffffff;
  padding: 150px 0 50px;
  margin: 0 auto;
}

main {
  background: url(img/photo/info-bg.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #fff;
  background-size: 950px auto;
  background-position: 50% 0%;
}

h2 {
  position: relative;
  margin: 50px 230px -8px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

h2:before,
h2:after {
  position: absolute;
  z-index: 0;
  bottom: -10px;
  display: block;
  content: "";
  border: 1em solid #fbe2e5;
}

h2:before {
  left: -30px;
  border-left-width: 15px;
  border-left-color: transparent;
}

h2:after {
  right: -30px;
  border-right-width: 15px;
  border-right-color: transparent;
}

h2 span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1rem 1rem;
  color: #fff;
  background: #fde9eb;
  text-shadow: 1px 2px 3px #808080;
}

h2 span:before,
h2 span:after {
  position: absolute;
  bottom: -10px;
  display: block;
  width: 10px;
  height: 10px;
  content: "";
  border-style: solid;
  border-color: #fde9eb transparent transparent transparent;
}

h2 span:before {
  left: 0;
  border-width: 10px 0 0 10px;
}

h2 span:after {
  right: 0;
  border-width: 10px 10px 0 0;
}

.fade {
  opacity: 0;
  transition: opacity 3s;
}

.fade.view {
  opacity: 1;
}
/***********************************************/

.scroll-space {
  box-sizing: border-box;
  padding-top: 300px;
  height: 1600px;
  color: #fff;
  overflow: hidden;
}
.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1.5s;
  &.fadein-bottom {
    transform: translate(0, 30px);
  }
  &.scrollin {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}

/***********************************************/
.news {
  width: 770px;
  margin: 0 auto;
  border: #f5b5bb 2px solid;
  border-radius: 50px;
  padding: 25px 20px 20px;
  background-color: #ffffff8a;
}
.news table {
  width: 800px;
  margin: 0 0 30px 0;
}
.news tr {
  height: 30px;
}
.news th {
  width: 190px;
  font-size: 18px;
  text-align: right;
  padding: 10px 15px 10px 0;
}
.news td {
  width: auto;
  font-size: 16px;
  padding: 0 0 0 15px;
}
.news td a {
  border-bottom: pink 3px solid;
}

.osirase {
  display: flex;
  background-color: #cccccc66;
  border-radius: 20px;
  width: 700px;
  padding: 20px;
  margin: 20px;
}
.osirase-img img {
  width: 250px;
  height: auto;
  margin: 20px;
  border: 2px #666 solid;
  border-radius: 20px;
}
.osirase-text {
  padding: 20px 0;
}
.osirase-text p {
  font-size: 13px;
  margin: 0 20px 0 0;
}
.osirase-text h3 {
  font-size: 14px;
  font-weight: 900;
  width: fit-content;
  border-bottom: pink 3px solid;
  margin: 0 0 5px 0;
}
.osirase-text h4 {
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
  border-bottom: pink 3px solid;
  margin: 0 0 15px 0;
}
.sns-flex-container {
  width: 770px;
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto 20px;
  border: #f5b5bb 2px solid;
  background-color: #ffffff8a;
  border-radius: 50px;
  padding: 20px;
}

.sns-flex-container-item img {
  width: 25px;
}

.sns-flex-container-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 20px auto 10px;
  width: 220px;
  height: 50px;
  background: #ccc;
  border-radius: 75px;
  font-size: 18px;
  font-weight: lighter;
  letter-spacing: 2px;
  transition: 1s box-shadow;
  transition: 1s border;
}

.sns-flex-container-item:hover {
  box-shadow: 0 5px 35px 0px rgba(169, 167, 167, 0.215);
  border: pink solid 5px;
  background: #fde9eb;
}

/***************mainのメディアクエリここから***************/
@media screen and (max-width: 767px) {
  main {
    background-image: url(img/moon3.png);
    background-position: 300% -10%;
    background-size: 95%;
    background-repeat: no-repeat;
    padding: 270px 0 50px;
  }
  h2 {
    margin: 10px 10px -8px 0px;
    align-items: right;
  }
  h2:before,
  h2:after {
    display: none;
  }
  h2 span {
    width: 350px;
    padding: 0.3em 1em 0.3em 1em;
    border-radius: 0 20px 20px 0;
    text-align: right;
    align-items: right;
  }
  h2 span:before,
  h2 span:after {
    display: none;
  }
  h2 .fade.view::before h2 .fade.view::after {
    display: none;
  }
  /*****     ここまで↑は共通     *****/

  .news {
    width: 360px;
    margin: 0 auto 30px;
    padding: 5px 10px 20px;
    border-radius: 20px;
  }
  .news table {
    width: 330px;
    margin: 0 auto 40px;
  }
  .news tr {
    width: 330px;
    margin: 0 auto;
  }
  .news th {
    display: block;
    width: 100px;
    font-size: 16px;
    text-align: left;
    padding: 5px 5px 5px 0;
  }
  .news td {
    display: block;
    padding: 0;
  }
  .news td a {
    text-decoration: none;
    color: #666;
    font-size: 13px;
    font-weight: 100;
    vertical-align: top;
  }
  .osirase {
    display: block;
    width: 330px;
    margin: 20px auto 0px;
  }
  .osirase-img img {
    width: 280px;
    margin: 0px;
  }
  .osirase-text {
    padding: 20px 0 3px;
  }
  .osirase-text h4 {
    font-size: 12px;
  }
  .sns-flex-container {
    width: 360px;
    display: block;
    border-radius: 20px;
  }
  .sns-flex-container-item {
    margin: 10px auto;
  }
}
/***************mainのメディアクエリここまで***************/

/******************************************footer*********************/
footer {
  background-color: #e0e0e0;
  color: #666;
  padding: 20px 0;
}
.copy {
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  margin: 0 1em 0 0;
}

/**************footerのメディアクエリここまで***************/
@media screen and (max-width: 767px) {
  .copy {
    font-weight: 500;
    text-align: center;
  }
}
/***************footerのメディアクエリここまで***************/
