@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 {
  background-color: #fec7de;
  background-image: url(img/photo/contact-bg.jpg);
  background-size: 900px auto;
  background-repeat: repeat-x;
  background-position: bottom;
  padding: 150px 0 50px;
}
form {
  max-width: 420px;
  margin: 50px auto 20px;
  border-radius: 20px;
}

.feedback-input {
  color: #0993b2;
  font-family: "blanch", sans-serif;
  font-weight: 900;
  font-size: 25px;
  border-radius: 20px;
  line-height: 22px;
  background-color: #ffffff49;
  border: 2px solid #fff;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
  height: 100px;
}

.feedback-input:focus {
  border: 2px solid #fff;
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

[type="submit"] {
  font-family: "blanch", sans-serif;
  width: 100%;
  background: #ccccccbf;
  border-radius: 20px;
  border: 2px solid #fff;
  cursor: pointer;
  color: #fff;
  font-size: 50px;
  padding-top: 5px;
  padding-bottom: 10px;
  transition: all 0.3s;
  margin-top: 20px;
  font-weight: 700;
}
[type="submit"]:hover {
  background: #ccccccbf;
}

::placeholder {
  color: #fff;
  font-size: 1.3em;
}

h2 {
  position: relative;
  margin: 70px 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 #ccccccbf;
}

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: #ccccccbf;
  text-shadow: 1px 2px 3px #ccccccbf;
}

h2 span:before,
h2 span:after {
  position: absolute;
  bottom: -10px;
  display: block;
  width: 10px;
  height: 10px;
  content: "";
  border-style: solid;
  border-color: #cccccc00 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;
}
.top-p {
  color: white;
  font-size: 12px;
  background: #000000a9;
  border-radius: 20px;
  padding: 15px;
  margin: 20px;
  letter-spacing: 0.16em;
  text-align: center;
}
.bottom-p {
  color: white;
  font-size: 11px;
  background: #000000a9;
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/***************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;
    background-attachment: fixed;
    background-color: #fff;
  }
  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;
  }
  /*****     ここまで↑は共通     *****/
  form {
    max-width: 360px;
    margin: 20px auto;
  }

  .feedback-input {
    background-color: #fde9eb;
    border: 2px solid #fde9eb;
    font-size: 15px;
    color: #666;
  }

  .feedback-input:focus {
    border: 2px solid #fde9eb;
  }

  ::placeholder {
    color: #666;
  }
  .top-p {
    font-size: 11px;
    background: #494747a9;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0 20px;
  }
  .bottom-p {
    background: #494747a9;
  }
}
/***************mainのメディアクエリここまで***************/

/*********************footer*********************/

footer {
  background-color: #fff;
  color: #666;
  padding: 20px 0;
}
.copy {
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  margin: 0 1em 0 0;
}
@media screen and (max-width: 767px) {
  footer {
    background-color: #e0e0e0;
  }
  .copy {
    font-weight: 500;
    text-align: center;
  }
}
