/* ---------- Base ---------- */
:root {
  --bg: #0ea5b1;
  --bg-grad: linear-gradient(180deg, #bfefff 0%, #9ee0f7 15%, #7bd0ea 35%, #5bbdd8 55%, #39a9c7 75%, #1581a8 100%);
  --txt: #06323a;
  --muted: #0c5160;
  --white: #fff;
  --primary: #ff6aa5;
  --primary-weak: #ffe5ef;
  --card: #ffffff;
  --card2: #f4fbfe;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --container: min(1120px, 100% - 48px);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
}

.wrapper {
  min-height: 4680px;
  padding-bottom: 47vw;  
  box-sizing: border-box;
  position: relative;
}

.br-sp {
  display: none;
}

body {
  max-width: 100%;
  font-family: "Noto Sans JP Heavy", "M PLUS Rounded 1c", system-ui, -apple-system, sans-serif;
  color: var(--txt);
  line-height: 1.85;
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Utilities */
.container {
  margin-inline: auto;
  padding:  0 15.6vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.center {
  text-align: center
}

.muted {
  color: #5f7680
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow)
}

.btn-primary:hover {
  filter: brightness(0.95)
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12)
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  left: 15%;
  width: min(900px, 100% - 48px);
  top: 50px;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.header-hm {
  display: none;
}

.brand {
  /* display: flex; */
  position: relative;
  /* gap: 10px; */
  /* color: inherit; */
  left: 0;
  /* z-index: 10; */

}

.brand-logo {
  width: 16.5vw;
  height: auto;
}

.nav {
  margin-left: -50px;
}

.nav-list .nav-items {
  white-space: nowrap;
  /*-max-width: 100%;-*/
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  background: #4494ed;
  color: #ffffff;
  border-radius: 90px;
  padding: 2% 2em;
}

.nav-list a {
  position: relative;
  padding-left: 23px; /* 画像の分の余白を確保 */
}

.nav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;    /* 好きな大きさ */
  height: 20px;
  background-image: url(../img/hibiscus_white.png);
  background-size: contain;   /* 比率維持して収まる */
  background-repeat: no-repeat;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 700
}

.nav-list .btn-primary {
  color: #fff
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0
}

.nav-toggle-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: #0b3c45;
  margin: 6px auto;
  border-radius: 2px;
  transition: .2s
}

/* ---------- Hero ---------- */
.hero {
  width: 100vw;
  position: relative;
  min-height: 650px;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 139px 0 177px 0;
  animation-name: blur;
  animation-duration: 2.5s;
}


@keyframes blur {
  0% {
    filter: blur(10px);
    transform: scale(1.1);
  }
  100% {
    filter: blur(0);
    transform: scale(1.0);
  }
}

.hero-bg {
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: saturate(1.05);
}

.hero-inner {
  padding: 0 15vw;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  color: #fff;
  margin-top: 100px;
}

.hero-copy h1 {
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--white);
}

.hero-copy .line-top {
  display: inline-block;
  text-shadow: 2px 2px 10px #fff ,
-2px 2px 10px #fff ,
2px -2px 10px #fff ,
-2px -2px 10px #fff;
}

.hero-copy .line-bottom {
  display: block;
  font-size: 6.5vw;
  color: #194e98;
  text-shadow: 2px 2px 10px #fff ,
-2px 2px 10px #fff ,
2px -2px 10px #fff ,
-2px -2px 10px #fff;
}

.hero-copy .blue {
  color: #194e98;
  font-size: clamp(5px, 3.3vw, 64px);
}

.hero-copy .red {
  color: #e73743;
  font-size: clamp(12px, 4.3vw, 84px);
}

.hero-copy .tags {
  display: flex;
  flex-wrap: wrap;
  color: var(--muted);
  gap: 0.6rem;
  font-weight: 700;
  font-size: 21px;
  align-items: center;
}

.hero-copy .tags span {
  background: #fded5c;
  border-radius: 100px;
  padding: 3px 5px;
  white-space: nowrap;
}

.hero-copy .tags .linep {
  text-decoration: underline #fded5c 5px;
   text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
}

/* 画像リンク（nizima・X・YouTube） */

.image-links {
  width: 100%;
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 86px;
}


.image-links img {
  height: 72px;   /* 比率を維持して統一サイズ */
  width: auto;
  transition: 0.3s;
}

.image-links img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.image-links img {
  transition: 0.3s;
  max-width: 100%;
}

.image-links img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}



/* ---------- Sections ---------- */
.section {
  padding-top: 6vw;
  padding-bottom: 6vw;
  /* background: #fff */
}

h2::before {
  content: "";
  display: inline-block;
  width: 71px;
  height: 67px;
  background: url("../img/hibiscus_red.png") no-repeat center / contain;
  vertical-align: middle;
  transform: scale(-1, 1);
}

h2::after {
  content: "";
  display: inline-block;
  width: 71px;
  height: 67px;
  background: url("../img/hibiscus_red.png") no-repeat center / contain;
  margin-left: 8px;
  vertical-align: middle;
}


.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 60px);
  color: var(--white);
  margin: 0;
}

.section-title-jp {
  color: var(--white);
  text-align: center;
  font-size: clamp(10px,1.25vw,24px);
  margin-bottom: 30px;
  margin-top: -20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center
}

.about-visual {
  position: relative;
  min-height: 240px
}

.bubble {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  /* background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 255, 255, 0) 60%); */
  top: 10%;
  left: 15%;
  opacity: .7;
  filter: blur(2px)
}

.bubble.small {
  width: 130px;
  height: 130px;
  top: 55%;
  left: 0
}

.mascot {
  position: absolute;
  right: 10%;
  top: 5%;
  width: 200px;
  height: 260px;
  border-radius: 20px;
  /* background: linear-gradient(180deg, #b9f, #9cf); */
  box-shadow: var(--shadow)
}

.check-list {
  padding-left: 1.2em
}

.check-list li {
  margin: .35em 0;
  list-style: "🌺 "
}

/*about*/

.about-text {
  text-align: center;
  color: var(--white);
  position: relative;
}

.about-text h2 {
  font-size: clamp(24px,3vw,48px);
}

.about-text P {
  color: var(--white);
  font-size: clamp(10px,1vw,20px);
  line-height: 50px;
  letter-spacing: 0.3em;
  text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
}

.about > .container {
  position: relative;
}


.about-img {
  width: 16vw;
  height: auto;
  position: absolute;
  left: 14vw;
  top: 5%;
  z-index: -2;
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s, transform 1s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.kosumo-name {
  position: absolute;
  font-size: 0.8vw;
  color: var(--white);
  text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
  line-height: 2em;
  bottom: 20%;
  z-index: -1;
}

.kosumo-name-big {
  font-size: 2.1vw;
}

.about-text::after {
  content: "";
  background-image: url(../img/kazari1.png);
  display: inline-block;
  width: 400px;/*画像の幅*/
  height: 450px;/*画像の高さ*/
  background-size: cover;
  vertical-align: middle;
  position: absolute;
  background-repeat: no-repeat;
  right: 5%;
  top: 15%;
  z-index: -5;
}

.about-text::before {
  content: "";
  background-image: url(../img/kazari2.png);
  display: inline-block;
  width: 400px;/*画像の幅*/
  height: 450px;/*画像の高さ*/
  background-size: cover;
  vertical-align: middle;
  position: absolute;
  background-repeat: no-repeat;
  left: 5%;
  bottom: 15%;
  z-index: -5;
}


/* Services */
.card-grid {
  display:grid;
  grid-template-columns: repeat(3,1fr);

}

.card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 220px;

}

.card-illust {
  width: 16vw;
  height: 16vw;
  background: var(--card);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.card-illust img {
  width: 130%;
  transform: translate(-15%, 0%);
}

.card h3 {
  font-size: clamp(20px, 2vw , 40px);
  color: var(--white);

}

.card p {
  font-size: clamp(10px,1vw,20px);
  color: var(--white);
     text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
}

/* Works */
.works .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 100px;
}

.work {
  transition-duration: 1s;
}

.work:hover{
  transform: scale(1.1);
}

.work-img {
  text-decoration: none;
  color: inherit;
  background: var(--card); 
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}

.work-img img {
  width: 100%;
  height: auto;
}

.work p {
  color: var(--white);
   font-size: clamp(10px,1vw,20px);
   text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
}

.work .thumb {
  border-radius: 12px;
  /* background: linear-gradient(135deg, #bbdefb, #e3f2fd); */
  height: 255px;
  margin-bottom: 8px;
  box-shadow: 
  inset 2px 2px 5px #0acaff,
  inset -2px -2px 5px #0acaff;
}

.work-more a {
  color: #1581a8;
  background-color: var(--white);
  font-size: 20px;
  letter-spacing: 0.1em;
  width: 200px;
}

.work-more a:hover {
  background-color: #1581a8;
  color: #fff;
  transform: scale(1.1);
}

/* News */
.news-list {
  list-style: none;
  padding: 1em;
  margin: 0;
  display: grid;
  gap: 12px;
  border: var(--white) solid 5px;
  background-color: rgba(25,78,152,0.5);
}

.news-list a {
   font-size: clamp(10px,2vw,16px);
  border-radius: 14px;
  color: var(--white);
}

.news-list time {
  font-weight: 700;
  color: var(--white);
  width: 8.5ch;
  flex: 0 0 auto;
  margin-right: 1em;
}

.news-new {
      text-shadow:
    1px 1px 0 #e73743,
    -1px 1px 0 #e73743,
    -1px -1px 0 #e73743,
    1px -1px 0 #e73743;
}

.news-inner {
  margin: 0 20%;
}

.news-btn {
  color: #1581a8;
  background-color: var(--white);
  font-size: 20px;
  letter-spacing: 0.1em;
  width: 200px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  transition-duration: 1s;
}

.news-btn:hover {
  background-color: #39a9c7;
  color: #fff;
  transform: scale(1.1);
    cursor: pointer;
}

/* ECsite */

.ec1 p {
  text-align: center;
  font-size: clamp(14px, 1vw, 20px);
  padding: 30px 0;
  color: white;
    text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
}

.sitebtn {
  color: #1581a8;
  background-color: var(--white);
  font-size: 20px;
  letter-spacing: 0.1em;
  width: 200px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}

.ec-inner {
  margin-top: 6vw;
}

/*お問い合わせリンク*/

.contact-text p {
  text-align: center;
  font-size: clamp(14px, 1vw, 20px);
  padding: 30px 0;
  color: white;
    text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
}


/*お問い合わせフォーム*/

.contact-form {
  text-align: center;
}

textarea {
  width: 30vw;
}

.contact-form-label {
  display: block;
  color: #fff;
  text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
}

.contact-form-label::after {
  content: " 必須";
  color: #fff;
  text-shadow:
    1px 1px 0 #e73743,
    -1px 1px 0 #e73743,
    -1px -1px 0 #e73743,
    1px -1px 0 #e73743;
  font-size: 0.8em;
}

.contact-btn {
  color: #1581a8;
  background-color: var(--white);
  font-size: 20px;
  letter-spacing: 0.1em;
  width: 200px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  transition-duration: 1s;
  border: 2px solid #0acaff;
}

.contact-btn:hover {
  background-color: #39a9c7;
  color: #fff;
  transform: scale(1.1);
  cursor: pointer;
}

.form-error {
  text-align: center;
  color: #fff;
  text-shadow:
    1px 1px 0 #e73743,
    -1px 1px 0 #e73743,
    -1px -1px 0 #e73743,
    1px -1px 0 #e73743;
}

.form-sent {
  text-align: center;
  width: 100%;
}

.form-sent__text {
  font-size: clamp(20px,2vw,30px);
  color: #fff;
  text-shadow:
    1px 1px 0 #39a9c7,
    -1px 1px 0 #39a9c7,
    -1px -1px 0 #39a9c7,
    1px -1px 0 #39a9c7;
    text-decoration: underline 4px #e73743;

}
.contact-inner {
  margin-top: 6vw;
  margin-bottom: 15vh;
}

/*topへ戻る*/

.page-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1;
}

.page-top__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s;
    border-radius: 50%;
    background: #0acaff;
    cursor: pointer;
    box-shadow: 0px 0px 0px 5px #0acaff;
    border: solid 2px rgba(255, 255, 255, 0.47);
}

.page-top__icon {
  font-size: 40px;
}


/* Footer */
.site-footer {
  text-align: center;
  height: auto;
  width: 100%;
  position: absolute;
  bottom: 0;
  
}

.footer-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
}

.footer-image-links img {
  height: 40px;
  width: auto;
  margin: 20px;
}

/* ロゴ部分 */
.footer-logo img {
  width: 12.5vw;   /* 比率維持で適宜調整 */
  height: auto;
}

/* コピーライト */
.copy {
  font-size: 1vw;
  color: #333;
  margin-top: 8px;
}


/* ---------- Responsive ---------- */
/*---タブレット---*/
@media (max-width: 1024px) {

  .wrapper {
    min-height: auto;
  }

  .nav-list {
    padding: 2% 10px;
  }

  .nav-list .nav-items {
    gap: 15px;
    font-size: 14px;
    padding: 2% 1em;
  }

  .hero-inner {
    padding: 0 12vw;
  }

  .hero-copy .line-bottom {
    font-size: 8vw;
  }

  .brand-logo {
    width: 20vw;
  }

  .site-header {
    left: 0%;
  }

  .container {
    padding: 0 13vw;
  }

  h2::before {
    width: 2em;
    height: 2em;
  }

  h2::after {
    width: 2em;
    height: 2em;
  }

  .hero {
    background-position: 70% top;
   }

   .about-text p {
    line-height: 30px;
   }

   .about-text::after {
    width: 200px;
    height: 225px;
    top: 30%;
   }

   .about-text::before {
    width: 200px;
    height: 225px;
    bottom: 25%;
   }

   .about-img {
    left: 9vw;
    top: 10%;
   }

   .kosumo-name {
    position: absolute;
    top: 75%;
   }

  .section-title-jp {
    margin-top: -10px;
  }

  .works .work-grid {
    grid-template-columns: repeat( 2, 1fr);
  }

  .news-inner {
    margin: 0 15%;
  }

  .footer-logo img {
    width: 200px;
  }
}

/*---スマートフォン---*/
@media (max-width: 720px) {
  .br-sp {
    display: block;
  }

  .wrapper {
    padding-bottom: 50vh;
  }

  .site-header {
    position: fixed;
    z-index: 100;
    height: 50px;
    top: 0;
    left: 5%;
  }

  .header-inner {
    padding-top: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .brand-logo {
    min-width: 100px;
  }

  #hm-mask {
    display: none;
  }

 #hm-mask.active  {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .6;
  z-index: -2;
  cursor: pointer;
  transition: all .5s;
}



  .nav-list {
   position: absolute;
   right: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 50vh;
   padding: 0;
   border-radius: 0;
   transform: translateX(-150%); 
   transition: ease .4s; /*ハンバーガーメニュークリック時のナビゲーションメニュー出現を遅延*/
  }

  .header-hm {
    width: 48px;
    height: 100%;
    display: block;
  }

  .hamburger {
    background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    z-index: 9999;
  }

  .hamburger:hover {
    cursor: pointer;
  }

 .hamburger span {
  width: 100%;
  height: 4px;
  background-color: #000;
  position: relative;
  transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

.nav-list.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
  background-color: #fff;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -18px;
  transform: rotate(-45deg);
  background-color: #fff;
}

.nav-list .nav-items {
  display: inline-block;
  border-radius: 0;
  padding: 200px 30%;
}

/* ナビのリンク */
.nav-items__item a {
  color: #fff;
  width: 100%;
  display: block;
  font-size: clamp(20px,4vw,30px);
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

  .hero {
    background-position: 75% bottom;
    padding: 300px 0 50px 0;
    min-height: 400px;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-inner {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 0 8vw;
  }

  .hero-copy .tags {
    font-size: 20px;
  }

  .hero-copy .tags .linep {
    font-size: 17px;
  }

  .hero-copy .line-bottom {
    font-size: 12vw;
  }

  .hero-copy .blue {
    font-size: 4.3vw;
  }

  .hero-copy .red {
    font-size: 5.3vw;
  }

  .about-text p {
    font-size: 3vw;
  }

  .about-text h2 {
    font-size: 4vw;
  }

  .about-text::after {
    top: 40%;
    right: -5%;
  }

  .about-text::before {
    left: -5%;
    bottom: 35%;
  }

  .about-img {
    width: 30vw;
    left: -2vw;
    top: 25%;
  }

  .kosumo-name {
    display: none;
  }

  .image-links {
    margin-top: 20px;
  }

  .image-links img {
    height: 10vw;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card p {
    font-size: 14px;
  }

  .card-illust {
    width: 50vw;
    height: 50vw;
  }

  .card-illust img {
    width: 130%;
  }

  .works .work-grid {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .work p {
    font-size: 14px;
  }

  .news-inner {
    margin: 0;
    margin-bottom: 5vh;
  }

  .footer-logo img {
    width: 200px;
  }

  .footer-image-links img {
    margin: 10px;
  }

  .copy {
    font-size: 16px;
  }

  .page-top__link {
    width: 50px;
    height: 50px;
  }

  .page-top {
    right: 20px;
  }

  textarea {
  width: 50vw;
}

.form-error {
  font-size: 10px;
}

}
