@charset "utf-8";

body {
  background-image: url(../image/kotonoha/back.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 80px;
  font-family: "hiragino-mincho-pron", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #3d3d3d;
}

@media screen and (max-width: 1280px) {
  body {
    padding: 60px 60px 75px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    padding: 40px 40px 40px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding: 40px 20px 80px;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding: 25px 20px 120px;
  }
}

/* イラスト */
.illust_box {
  position: relative;
}
.illust {
  position: absolute;
  will-change: transform;
}

/* ふわっと上下に浮く */
@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}
.gentle-float {
  animation: gentle-float 4s ease-in-out infinite;
}

/* ゆらゆら左右に傾く */
@keyframes sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}
.sway {
  animation: sway 3s ease-in-out infinite;
}

/* swayの反対方向 */
@keyframes sway-reverse {
  0%,
  100% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
}
.sway-reverse {
  animation: sway-reverse 3s ease-in-out infinite;
}

/* 回転＋拡大縮小 */
@keyframes rotate-scale {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.04) rotate(2deg);
  }
  50% {
    transform: scale(1.06) rotate(-2deg);
  }
  75% {
    transform: scale(1.04) rotate(2deg);
  }
}
.rotate-scale {
  animation: rotate-scale 4s ease-in-out infinite;
}

.illust_1 {
  left: 227px;
  top: -4px;
  width: 225px;
}

@media screen and (max-width: 1630px) {
  .illust_1 {
    left: 106px;
    top: -4px;
    width: 185px;
  }
}

@media screen and (max-width: 1280px) {
  .illust_1 {
    left: -8px;
    top: 3px;
    width: 160px;
  }
}

@media screen and (max-width: 1024px) {
  .illust_1 {
    left: 36px;
    top: -15px;
    width: 134px;
  }
}

@media screen and (max-width: 768px) {
  .illust_1 {
    left: 36px;
    top: -11px;
    width: 105px;
  }
}

@media screen and (max-width: 480px) {
  .illust_1 {
    left: -6px;
    top: -11px;
    width: 86px;
  }
}

.illust_2 {
  top: 57px;
  left: 150px;
  width: 110px;
}

@media screen and (max-width: 1630px) {
  .illust_2 {
    top: 70px;
    left: 64px;
    width: 81px;
  }
}

@media screen and (max-width: 1280px) {
  .illust_2 {
    top: 70px;
    left: -40px;
    width: 65px;
  }
}

@media screen and (max-width: 1024px) {
  .illust_2 {
    top: 24px;
    left: -7px;
    width: 65px;
  }
}

@media screen and (max-width: 768px) {
  .illust_2 {
    top: 9px;
    left: -7px;
    width: 54px;
  }
}

@media screen and (max-width: 480px) {
  .illust_2 {
    display: none;
  }
}

.illust_3 {
  top: 627px;
  left: 20px;
  width: 185px;
}

@media screen and (max-width: 1630px) {
  .illust_3 {
    top: 703px;
    left: -15px;
    width: 128px;
  }
}

@media screen and (max-width: 1280px) {
  .illust_3 {
    top: 707px;
    left: -15px;
    width: 120px;
  }
}

@media screen and (max-width: 1024px) {
  .illust_3 {
    top: 534px;
    left: 49px;
    width: 96px;
  }
}

@media screen and (max-width: 768px) {
  .illust_3 {
    top: 1011px;
    left: 22px;
    width: 80px;
  }
}

@media screen and (max-width: 480px) {
  .illust_3 {
    top: 839px;
    left: 13px;
    width: 73px;
  }
}

.illust_4 {
  right: 320px;
  top: 87px;
  width: 125px;
}

@media screen and (max-width: 1630px) {
  .illust_4 {
    right: 158px;
    top: 102px;
    width: 112px;
  }
}

@media screen and (max-width: 1280px) {
  .illust_4 {
    right: 78px;
    top: 70px;
    width: 97px;
  }
}

@media screen and (max-width: 1024px) {
  .illust_4 {
    right: 69px;
    top: 21px;
    width: 79px;
  }
}

@media screen and (max-width: 768px) {
  .illust_4 {
    right: 60px;
    top: 21px;
    width: 61px;
  }
}

@media screen and (max-width: 480px) {
  .illust_4 {
    display: none;
  }
}

.illust_5 {
  right: 146px;
  top: 150px;
  width: 194px;
}

@media screen and (max-width: 1630px) {
  .illust_5 {
    right: 25px;
    top: 166px;
    width: 157px;
  }
}

@media screen and (max-width: 1280px) {
  .illust_5 {
    right: -32px;
    top: 130px;
    width: 130px;
  }
}

@media screen and (max-width: 1024px) {
  .illust_5 {
    right: -25px;
    top: 64px;
    width: 114px;
  }
}

@media screen and (max-width: 768px) {
  .illust_5 {
    right: -16px;
    top: 56px;
    width: 88px;
  }
}

@media screen and (max-width: 480px) {
  .illust_5 {
    right: -16px;
    top: 38px;
    width: 75px;
  }
}

.illust_6 {
  top: 590px;
  right: -30px;
  width: 247px;
}

@media screen and (max-width: 1630px) {
  .illust_6 {
    top: 665px;
    right: -60px;
    width: 181px;
  }
}

@media screen and (max-width: 1280px) {
  .illust_6 {
    top: 676px;
    right: -34px;
    width: 169px;
  }
}

@media screen and (max-width: 1024px) {
  .illust_6 {
    top: 453px;
    right: 3px;
    width: 143px;
  }
}

@media screen and (max-width: 768px) {
  .illust_6 {
    top: 996px;
    right: -11px;
    width: 109px;
  }
}

@media screen and (max-width: 480px) {
  .illust_6 {
    top: 823px;
    right: -13px;
    width: 94px;
  }
}

@keyframes move-diagonal-left {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-5px, 5px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes move-diagonal-right {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 5px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes move-up-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes move-left-right {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

.center_logo {
  text-align: center;
  margin-bottom: 16px;
}

@media screen and (max-width: 1024px) {
  .center_logo {
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 768px) {
  .center_logo {
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 480px) {
  .center_logo {
    margin-bottom: 4px;
  }
}

.logo {
  width: 225px;
}

@media screen and (max-width: 1024px) {
  .logo {
    width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    width: 180px;
  }
}

@media screen and (max-width: 480px) {
  .logo {
    width: 150px;
  }
}

.center_title {
  text-align: center;
  margin: 0 auto;
  width: 600px;
}

@media screen and (max-width: 1024px) {
  .center_title {
    width: 518px;
  }
}

@media screen and (max-width: 768px) {
  .center_title {
    width: 433px;
  }
}

@media screen and (max-width: 480px) {
  .center_title {
    width: 273px;
  }
}

h1 {
  font-weight: bold;
  font-size: 64px;
  background-color: #313b21;
  color: #f9f3e4;
}

@media screen and (max-width: 1024px) {
  h1 {
    font-size: 56px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 48px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 30px;
  }
}

h2 {
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

@media screen and (max-width: 1280px) {
  h2 {
    font-size: 35px;
    margin-bottom: 4px;
  }
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 27px;
    margin-bottom: 2px;
  }
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 17px;
    margin-bottom: 2px;
  }
}

.flex_box {
  display: flex;
  justify-content: center;
  gap: 150px;
  margin-top: 40px;
}

@media screen and (max-width: 1280px) {
  .flex_box {
    gap: 60px;
  }
}

@media screen and (max-width: 1024px) {
  .flex_box {
    flex-direction: column;
    align-items: center;
    margin-top: 34px;
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .flex_box {
    margin-top: 28px;
    gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .flex_box {
    margin-top: 20px;
    gap: 15px;
  }
}

.entry {
  text-align: center;
  width: 527px;
}

@media screen and (max-width: 1280px) {
  .entry {
    width: 445px;
  }
}

@media screen and (max-width: 768px) {
  .entry {
    width: 391px;
  }
}

@media screen and (max-width: 480px) {
  .entry {
    width: 280px;
  }
}

.form_otsu {
  background-color: #a4c7d2;
  border-radius: 30px;
  box-shadow: 4px 6px 0px rgba(0, 0, 0, 0.5);
  padding: 30px 0 25px;
  transition: background-color 0.3s ease;
}

@media screen and (max-width: 480px) {
  .form_otsu {
    padding: 25px 0 20px;
  }
}

.form_otsu:hover {
  background-color: #84b1c1;
}

.form_others {
  background-color: #bcc9a7;
  border-radius: 30px;
  box-shadow: 4px 6px 0px rgba(0, 0, 0, 0.5);
  padding: 30px 0 25px;
}

@media screen and (max-width: 480px) {
  .form_others {
    padding: 25px 0 20px;
  }
}

.main-text {
  font-size: 36px;
  font-weight: bold;
  color: #f9f3e4;
  letter-spacing: 5px;
}

@media screen and (max-width: 1280px) {
  .main-text {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .main-text {
    font-size: 22px;
  }
}

@media screen and (max-width: 480px) {
  .main-text {
    font-size: 18px;
  }
}

.period_text {
  color: #ff6464;
  font-size: 20px;
  background-color: rgba(249, 243, 228, 0.52);
  padding: 10px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 10px;
  letter-spacing: 1px;
}

@media screen and (max-width: 1280px) {
  .period_text {
    font-size: 19px;
  }
}

@media screen and (max-width: 768px) {
  .period_text {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .period_text {
    font-size: 14px;
    padding: 8px 4px;
    border-radius: 15px;
  }
}

.between_box {
  letter-spacing: 3px;
  line-height: 1.7em;
}

@media screen and (max-width: 1024px) {
  .between_box {
    white-space: nowrap;
  }
}

@media screen and (max-width: 768px) {
  .between_box {
    white-space: normal;
    word-break: break-all;
  }
}

@media screen and (max-width: 480px) {
  .between_box {
    letter-spacing: 2px;
    line-height: 1.4em;
  }
}

h3 {
  margin-top: 24px;
  font-size: 20px;
  display: inline-block;
  border-bottom: 1px solid #3d3d3d;
  padding-bottom: 1px;
  margin: 16px auto 0;
}

@media screen and (max-width: 1280px) {
  h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  h3 {
    font-size: 14px;
    padding-bottom: 0px;
    margin: 10px auto 0;
  }
}

.subject {
  margin-top: 4px;
  font-size: 18px;
}

@media screen and (max-width: 1280px) {
  .subject {
    font-size: 17px;
  }
}

@media screen and (max-width: 480px) {
  .subject {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .supplement {
    white-space: normal;
    word-break: break-all;
    font-size: 13px;
  }
  .supplement br {
    display: none;
  }
}

.center_detail {
  text-align: center;
}

.detail {
  background-color: #dce9e7;
  display: inline-block;
  padding: 20px 15px;
  color: #4a5a52;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.detail:hover {
  background-color: #c8d9d7;
}

@media screen and (max-width: 768px) {
  .detail {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .detail {
    font-size: 12px;
    padding: 15px;
  }
}

.management {
  text-align: center;
  display: inline-block;
  padding-top: 25px;
}

@media screen and (max-width: 768px) {
  .management {
    width: 199px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .management {
    width: 170px;
    font-size: 12px;
    padding-top: 20px;
  }
}

.center_bottom {
  text-align: center;
  margin-top: 40px;
  display: grid;
  place-items: center;
}

@media screen and (max-width: 1280px) {
  .center_bottom {
    margin-top: 96px;
  }
}

@media screen and (max-width: 1024px) {
  .center_bottom {
    margin-top: 40px;
  }
}

@media screen and (max-width: 768px) {
  .center_bottom {
    margin-top: 35px;
  }
}

@media screen and (max-width: 480px) {
  .center_bottom {
    margin-top: 25px;
  }
}

.entry-link.disabled {
  pointer-events: none;
  opacity: 0.5;
  filter: grayscale(60%);
  cursor: default;
}
