@charset "UTF-8";
html {
  font-size: clamp(14px, 3.7333vw, 16px);
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  /*font-family: 'M PLUS Rounded 1c', sans-serif;*/
}

body {
  line-height: 1.7;
}
@media screen and (min-width: 768px) {
  body {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
            justify-content: center;
    /*background: url(../img/bg_main.png) top center / cover no-repeat;
    background-attachment: fixed;*/
  }
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}
a {
  text-decoration: underline;
}
a:hover {
  opacity: 0.7;
}

/* main */
main {
  margin: 0 auto;
  padding: 1px 0;
  background: rgba(255, 255, 255, 0.9);
}
@media screen and (min-width: 768px) {
  main {
    margin: 0 0 0 auto;
    width: 80%;
    max-width: 800px;
  }
}
@media screen and (max-width: 767px) {
  main {
    width: 100%;
  }
}

/* h1～h3 */
h1 {
  display: none;
}

h2 {
  color: #fff;
  font-size: clamp(20px, 5.3333vw, 22px);
  padding-left: 10px;
  margin: 40px 10px 10px;
  border-bottom: 2px solid #008446;
  position: relative;
}
h2::before {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: #008446;
  border-radius: 10px 10px 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  h2::before {
    width: 30%;
  }
}
h2 span {
  position: relative;
  z-index: 2;
}
h2 span::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-size: 0.7em;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  margin-right: 10px;
}

#loading {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  -webkit-transition: all 1s;
  transition: all 1s;
  -webkit-animation: bg_gradation 5s infinite ease-in-out;
          animation: bg_gradation 5s infinite ease-in-out;
}
#loading div {
  font-size: 12.26vw;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  opacity: 0;
  -webkit-animation: text_opacity 10s infinite ease-in-out;
          animation: text_opacity 10s infinite ease-in-out;
}

@-webkit-keyframes bg_gradation {
  0% {
    background: #333;
  }
  90% {
    background: rgba(240, 240, 240, 0.3);
  }
}

@keyframes bg_gradation {
  0% {
    background: #333;
  }
  90% {
    background: rgba(240, 240, 240, 0.3);
  }
}
@-webkit-keyframes text_opacity {
  0% {
    color: #fff;
    opacity: 0;
  }
  90% {
    color: #333;
    opacity: 1;
  }
}
@keyframes text_opacity {
  0% {
    color: #fff;
    opacity: 0;
  }
  90% {
    color: #333;
    opacity: 1;
  }
}
.loaded {
  opacity: 0;
  visibility: hidden;
  display: none !important;
}

form {
  width: min(calc(100% - 40px), 500px);
}

label {
  width: 100%;
}

input[type=text],
textarea {
  margin-bottom: 1em;
  padding: 10px 15px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 10px;
  width: 50%;
  background: #ddd;
  border-radius: 5px;
}

/* 桜を表示するコンテナのスタイル */
.cherry-blossom-container {
  position: relative;
  height: 100%;
  /* コンテナの高さ */
  width: 100%;
  /* コンテナの横幅 */
  overflow: hidden;
  /* コンテナからはみ出した要素を隠す */
  background: url(../img/haruyama_ansoro_1920_1080.jpg) center/cover no-repeat;
}
@media screen and (max-width: 767px) {
  .cherry-blossom-container {
    height: 53.3333vw;
  }
}
@media screen and (min-width: 768px) {
  .cherry-blossom-container {
    background-size: contain;
    height: 56.25vw;
    max-height: 576px;
  }
}

/* 桜の花びらのスタイル */
.petal {
  position: absolute;
  background-color: rgba(145, 120, 124, 0.5);
  /* 花びらの色 */
  border-radius: 150% 0 150% 0;
  -webkit-animation: animate-petal 10s linear;
          animation: animate-petal 10s linear;
}

.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background-color: pink;
  border-radius: 150% 0 150% 0;
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
}

/* 花びらが降るアニメーション */
@-webkit-keyframes animate-petal {
  0% {
    top: 0;
    opacity: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 100vh;
    -webkit-transform: rotate(3000deg);
            transform: rotate(3000deg);
  }
}
@keyframes animate-petal {
  0% {
    top: 0;
    opacity: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 100vh;
    -webkit-transform: rotate(3000deg);
            transform: rotate(3000deg);
  }
}
header {
  width: 100%;
}
header small {
  display: block;
  text-align: right;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1024px;
}
header p {
  margin: 10px;
}
@media screen and (min-width: 768px) {
  header p {
    text-align: center;
    margin: 0 auto;
    padding-top: 15px;
    max-width: 1024px;
    background: rgba(255, 255, 255, 0.9);
  }
}
footer {
  margin-top: 100px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  footer {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 767px) {
  footer {
    padding-bottom: 70px;
  }
}

footer small {
  display: block;
  text-align: center;
}

/* メニュー */
@media screen and (min-width: 768px) {
  #g_nav {
    margin: 40px auto 0 0;
    padding-left: 30px;
    width: 20%;
    max-width: 200px;
    background: rgba(255, 255, 255, 0.9);
  }
  #g_nav ul {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
  #g_nav ul li {
    padding: 5px 0;
  }
  #g_nav ul li a {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
  }
  #g_nav ul li a i {
    margin-right: 5px;
  }
}
@media screen and (max-width: 767px) {
  #g_nav {
    width: 100%;
    height: 100%;
    max-height: 50px;
    background: #f5f5dc;
    box-shadow: 0px -10px 15px -5px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
  }
  #g_nav ul {
    display: -webkit-box;
    display: flex;
    height: 100%;
  }
  #g_nav ul li {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    font-size: 2.93vw;
    text-align: center;
    width: calc(100% / 5);
  }
  #g_nav ul li i {
    font-size: 4.26vw;
  }
}
/* enter */
#enter {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  width: 100%;
  max-width: none;
  height: 100%;
  background: #f3f3f3;
  position: fixed;
  top: 0;
  left: 0;
}
#enter .logo {
  text-align: center;
  padding: 4vw;
}
#enter .logo img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  section {
    margin: 0 auto;
    max-width: 900px;
  }
}
section p,
section div,
section dl,
section form {
  margin: 0 20px;
}

/* 概要 */
@media screen and (min-width: 768px) {
  #gaiyo dl {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
  }
}
#gaiyo dl dt {
  padding: 5px 0;
  border-bottom: 2px dotted rgba(240, 150, 41, 0.3);
}
@media screen and (min-width: 768px) {
  #gaiyo dl dt {
    margin-bottom: 10px;
    width: 8rem;
  }
}
#gaiyo dl dd {
  padding: 5px 10px 5px 1em;
}
@media screen and (min-width: 768px) {
  #gaiyo dl dd {
    border-bottom: 2px dotted rgba(240, 150, 41, 0.3);
    margin-bottom: 10px;
    width: calc(100% - 8rem);
  }
}
@media screen and (max-width: 767px) {
  #gaiyo dl dd:nth-last-child(n+2) {
    margin-bottom: 10px;
  }
}
#gaiyo dl dd ul li {
  display: -webkit-box;
  display: flex;
  margin-bottom: 0.5em;
}
#gaiyo dl dd ul li::before {
  flex-shrink: 0;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  margin-right: 5px;
}
#gaiyo dl dd ul.add li::before {
  content: "";
  color: #1c00f4;
}
#gaiyo dl dd ul.notes li::before {
  content: "";
  color: #f7c600;
}

/* 作品まとめ */
#collection ul {
  margin: 15px 10px;
}
#collection ul li {
  text-indent: -1em;
  padding-left: 1em;
}

/* お問い合わせ */
#contact {
  position: relative;
}

#modal {
  display: none;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

#result {
  color: #bf0000;
  text-align: center;
  margin-top: 10px;
}

/* 更新履歴 */
#history dl {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}
#history dl dt {
  width: 6.5em;
}
#history dl dd {
  width: calc(100% - 6.5em);
}/*# sourceMappingURL=style.css.map */