@charset "utf-8";

body {
  animation: Fadein 2s both;
  letter-spacing: 2px;
  font-family: "Josefin Sans", "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック体", YuGothic, "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック",
    "MS PGothic", "Font Awesome 5 Free", sans-serif;
}

button,
input,
textarea {
  letter-spacing: normal;
  line-height: normal;
}

.title p {
  line-height: normal;
}

p {
  line-height: 2;
}

@media screen and (max-width: 834px) {
  p {
    line-height: 1.5;
  }
}

.weight_title {
  font-weight: bold;
}

.shadow_text {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

@media (max-width: 480px) {
  .concept p {
    white-space: normal;
    word-break: break-all;
    padding: 0 10px;
  }
  .responsive-br {
    display: none;
  }
}

/* アニメーション */
@keyframes Fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ロゴ */
.relative_field {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .relative_field {
    padding: 36px 20px;
  }
}

.toplogo {
  height: 50px;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .toplogo {
    width: 80px;
    position: absolute;
    left: 3px;
    top: 17%;
  }
}

/* ナビゲーション */
.gnav {
  margin-left: auto;
}

.gnav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
}

@media screen and (max-width: 768px) {
  .gnav {
    display: none;
  }
  .gnav.open {
    display: unset;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* background-image: url(../image/common/navbackground.jpg);
    background-size: cover; */
    overflow-y: auto;
  }
  .gnav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 70px;
  }
  .gnav li {
    margin: 0;
  }
  .gnav li {
    border-bottom: 1px solid #000;
    text-align: center;
  }
  .gnav li:nth-child(1) {
    border-top: 1px solid #000;
  }
  .gnav a {
    display: block;
    padding: 20px 0;
    color: #000;
  }
}

.nav_contact {
  color: rgb(0, 42, 255) !important;
}
/* ハンバーガーメニュー */
.hamburger {
  display: block;
}

@media screen and (max-width: 768px) {
  .hamburger {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 12px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

@media screen and (max-width: 480px) {
  .hamburger {
    right: 20px;
  }
}

/* main */

.main {
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .main {
    padding: 80px 0;
  }
}

@media screen and (max-width: 768px) {
  .main {
    padding: 65px 0;
  }
}

@media screen and (max-width: 480px) {
  .main {
    padding: 50px 0;
  }
}

/* メイン左右幅（下の模様にパディングがつかないようにmainにつけず作っている） */
.padding_box {
  padding: 0 80px;
}

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

@media screen and (max-width: 768px) {
  .padding_box {
    padding: 0 24px;
  }
}

@media screen and (max-width: 480px) {
  .padding_box {
    padding: 0 16px;
  }
}

/* それぞれのセクション（内容） */
.content {
  padding-bottom: 100px;
}

@media screen and (max-width: 1024px) {
  .content {
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 768px) {
  .content {
    padding-bottom: 65px;
  }
}

@media screen and (max-width: 480px) {
  .content {
    padding-bottom: 50px;
  }
}

/* タイトル */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 32px;
  margin-bottom: 8px;
  text-align: center;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 18px;
  }
}

/* サブタイトル */
.subtitle {
  padding-bottom: 50px;
  font-size: 18px;
  line-height: normal;
}

@media screen and (max-width: 768px) {
  .subtitle {
    padding-bottom: 50px;
    font-size: 14px !important;
  }
}

@media screen and (max-width: 480px) {
  .subtitle {
    padding-bottom: 25px !important;
    font-size: 12px !important;
  }
}

/* ホバー黒 */
.hover_block {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hover_block:hover .overlay {
  opacity: 1;
}

/* 下の模様 */
.pattern {
  width: 100%;
}

/* もっと見る */
.more_button {
  background-color: #96cbf2;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 18px;
  transition: 0.5s;
  letter-spacing: 0px;
}

.more_button:hover {
  background-color: #5fa5db;
}

@media screen and (max-width: 1024px) {
  .more_button {
    font-size: 16px;
    padding: 12px 30px;
  }
}

@media screen and (max-width: 768px) {
  .more_button {
    font-size: 14px;
    padding: 10px 24px;
  }
}

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

.button_box {
  margin-top: 48px;
}

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

/* footer */

footer {
  padding: 48px 64px;
}

@media (max-width: 1024px) {
  footer {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 24px 16px;
  }
}

.logo_box {
  text-align: center;
  margin-bottom: 24px;
}

.footerlogo {
  width: 115px;
}

.navbox_above,
.navbox_under {
  display: flex;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 480px) {
  .navbox_above,
  .navbox_under {
    display: block;
    justify-content: center;
    text-align: center;
  }
}

.navbox_above p,
.navbox_under p {
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 480px) {
  .navbox_above p,
  .navbox_under p {
    margin-bottom: 5px;
    line-height: 2;
  }
}

.navbox_above span,
.navbox_under span {
  opacity: 0.6;
}

@media (max-width: 480px) {
  .navbox_above span,
  .navbox_under span {
    display: none;
  }
}

.navbox_above {
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .navbox_above {
    margin-bottom: 10px;
  }
}

.sns_tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 11px;
}

.line,
.insta {
  width: 44px;
}

/* フェード */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 2s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay_0 {
  transition-delay: 0s;
}
.delay_1 {
  transition-delay: 0.5s;
}
.delay_2 {
  transition-delay: 1s;
}
.delay_3 {
  transition-delay: 1.5s;
}
.delay_4 {
  transition-delay: 2s;
}

.fade_left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 2s ease;
}

.show {
  opacity: 1;
  transform: translateX(0);
}

.delay-left_0 {
  transition-delay: 0s;
}
.delay-left_1 {
  transition-delay: 0.5s;
}
.delay-left_2 {
  transition-delay: 1s;
}
.delay-left_3 {
  transition-delay: 1.5s;
}

/* 飛び出す動き */
.balloon {
  position: absolute;
  opacity: 0;
  transform: scale(0.3);
  transform-origin: center;
  transition: all 0.6s ease-out;
}

.balloon.animate {
  opacity: 1;
  transform: scale(1);
}
