/*
Theme Name: kaori
Theme URI: https://pluses.jp/
Author: pluses
Description: かおり音楽教室のWordPressテーマです。
Version: 1.0.0
Text Domain: kaori
*/

:root {
  --ink: #34323d;
  --soft-ink: #6f6878;
  --green: #36c79d;
  --green-dark: #149d78;
  --cream: #fff9ec;
  --peach: #ffd86b;
  --pink: #ff7dab;
  --sky: #5ac8ff;
  --purple: #9a85ff;
  --orange: #ff9f4a;
  --line: #f1dfc4;
  --white: #fff;
  --shadow: 0 18px 45px rgba(255, 126, 152, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 216, 107, .24) 0 8%, transparent 9%),
    radial-gradient(circle at 91% 10%, rgba(90, 200, 255, .18) 0 10%, transparent 11%),
    var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 223, 196, .85);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 24px rgba(155, 140, 255, .24);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 32px);
  font-size: 14px;
}

.nav-entry,
.button,
.fixed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 12px 28px rgba(255, 125, 171, .28);
}

.nav-entry {
  min-width: 116px;
  font-size: 13px;
}

.fixed-cta {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: 720px;
  padding: 70px clamp(20px, 6vw, 88px) 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6% -12% auto auto;
  width: 52vw;
  height: 52vw;
  max-width: 680px;
  max-height: 680px;
  border-radius: 50%;
  background: rgba(255, 223, 127, .42);
  z-index: -1;
}

.hero::after {
  content: "♪";
  position: absolute;
  right: 8%;
  top: 16%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 16px 36px rgba(99, 199, 255, .28);
  transform: rotate(12deg);
}

.hero-photo {
  position: relative;
  min-height: 520px;
}

.photo-card,
.intro-image,
.course-image,
.teacher-image {
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.photo-main {
  position: absolute;
  inset: 0 12% 8% 0;
  border-radius: 44% 56% 42% 58% / 54% 42% 58% 46%;
  background-image:
    radial-gradient(circle at 18% 24%, #fff 0 7%, transparent 8%),
    radial-gradient(circle at 78% 30%, #ffdf7f 0 10%, transparent 11%),
    radial-gradient(circle at 72% 72%, #ff8fb3 0 9%, transparent 10%),
    linear-gradient(135deg, #8bdcff, #fff3a8 36%, #34323d 37% 41%, #fff 42% 50%, #ff9fc1 51%, #a99cff);
}

.photo-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 43%;
  height: 44%;
  border: 10px solid var(--cream);
  border-radius: 38px;
  background-image:
    radial-gradient(circle at 26% 28%, #43c69f 0 10%, transparent 11%),
    radial-gradient(circle at 68% 54%, #34323d 0 7%, transparent 8%),
    linear-gradient(135deg, #fff, #ffe7a3 45%, #ff8fb3 46%, #ff8fb3 50%, #fff 51%, #c9f0ff);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.label {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero .eyebrow {
  margin-bottom: 16px;
  font-size: clamp(20px, 2.1vw, 30px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero h1 {
  position: relative;
  display: block;
  max-width: 620px;
  padding: 4px 0 26px;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 223, 127, .82);
  z-index: -1;
}

.hero h1::after {
  content: "★";
  position: absolute;
  right: -26px;
  top: 0;
  color: var(--pink);
  font-size: 30px;
  transform: rotate(15deg);
}

h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.35;
  letter-spacing: .03em;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--peach), var(--sky));
}

h2::after {
  content: none;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: .02em;
}

.lead {
  margin-bottom: 18px;
  color: var(--soft-ink);
  font-size: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(99, 199, 255, .16);
}

.hero-badges span:nth-child(1) {
  background: #ffe4ef;
}

.hero-badges span:nth-child(2) {
  background: #dff5ff;
}

.hero-badges span:nth-child(3) {
  background: #fff0a8;
}

.section {
  padding: 96px clamp(20px, 6vw, 88px);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 34px;
}

.section-head.center {
  display: flex;
  align-items: center;
  text-align: center;
}

.section-head.center .label {
  order: 2;
}

.section-head.center h2 {
  order: 1;
  margin-bottom: 6px;
}

.section-head.center h2::before {
  left: 50%;
  transform: translateX(-50%);
}

.blog-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  background:
    linear-gradient(90deg, rgba(255, 143, 179, .1), rgba(99, 199, 255, .1)),
    var(--white);
}

.blog-band .section-head {
  margin-bottom: 0;
}

.blog-band h2 {
  white-space: nowrap;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-list a {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--green-dark);
  font-weight: 700;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.4;
}

.label::before {
  content: none;
}

.intro,
.teacher {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.intro-text p,
.teacher-text p {
  color: var(--soft-ink);
}

.intro-image {
  min-height: 420px;
  border-radius: 46px;
  background-image:
    radial-gradient(circle at 22% 24%, #ff8fb3 0 9%, transparent 10%),
    radial-gradient(circle at 62% 28%, #ffdf7f 0 11%, transparent 12%),
    radial-gradient(circle at 68% 64%, #43c69f 0 8%, transparent 9%),
    linear-gradient(125deg, #c9f0ff, #fff8ed 45%, #34323d 46%, #34323d 49%, #fff 50%, #ffdd8e);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 1060px;
  margin: 0 auto;
}

.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .86)),
    var(--white);
  box-shadow: var(--shadow);
  scroll-margin-top: 120px;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: -24px 22px 0 rgba(99, 199, 255, .45);
}

.course-image {
  min-height: 260px;
  box-shadow: none;
}

.course-image.piano {
  background-image:
    radial-gradient(circle at 18% 24%, #ff8fb3 0 9%, transparent 10%),
    repeating-linear-gradient(90deg, #fff 0 28px, #34323d 28px 38px, #fff 38px 62px),
    linear-gradient(#9ee2ff, #fff0a8);
  background-size: 100% 34%, 100% 34%, 100% 100%;
  background-position: bottom, bottom, center;
  background-repeat: no-repeat;
}

.course-image.electone {
  background-image:
    linear-gradient(90deg, #34323d 0 7%, transparent 7% 13%, #34323d 13% 20%, transparent 20%),
    radial-gradient(circle at 24% 34%, #ff8fb3 0 10%, transparent 11%),
    radial-gradient(circle at 58% 44%, #43c69f 0 9%, transparent 10%),
    radial-gradient(circle at 78% 62%, #ffdf7f 0 12%, transparent 13%),
    linear-gradient(135deg, #fff, #dff5ff 52%, #efdcff);
  background-size: 100% 26%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: bottom, center;
  background-repeat: no-repeat;
}

.course-body {
  padding: 28px 30px 34px;
}

.course-body h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.course-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 6px;
  border-radius: 999px;
  background: var(--peach);
}

.course-body p {
  color: var(--soft-ink);
}

.course-body a,
.text-link {
  color: #ff6f9f;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.teacher {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 223, 127, .25) 0 10%, transparent 11%),
    var(--white);
}

.teacher-image {
  min-height: 460px;
  border-radius: 44% 56% 46% 54% / 58% 40% 60% 42%;
  background-image:
    radial-gradient(circle at 52% 26%, #fff1e8 0 9%, transparent 10%),
    radial-gradient(circle at 72% 18%, #ffdf7f 0 8%, transparent 9%),
    linear-gradient(135deg, #c9f0ff, #ffd0df 40%, #a77c5e 41% 52%, #fff 53%, #bff0df);
}

.access {
  background: linear-gradient(180deg, var(--cream), #fff4c8);
}

.access-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 34px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px 20px;
  margin: 0;
}

dt {
  color: var(--green-dark);
  font-weight: 700;
}

dd {
  margin: 0;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--green-dark);
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(99, 199, 255, .22) 1px, transparent 1px),
    linear-gradient(rgba(255, 143, 179, .2) 1px, transparent 1px),
    #fffaf0;
  background-size: 32px 32px;
}

.contact {
  padding: 86px 20px 94px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, .8) 0 8%, transparent 9%),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, .65) 0 10%, transparent 11%),
    linear-gradient(135deg, var(--peach), #ff9fc1 58%, #8bdcff);
}

.contact p {
  color: var(--soft-ink);
}

.contact h2::before {
  left: 50%;
  transform: translateX(-50%);
}

.footer {
  padding: 34px 20px;
  text-align: center;
  color: var(--soft-ink);
  background: var(--white);
}

.footer p {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .global-nav {
    flex-wrap: wrap;
  }

  .hero,
  .intro,
  .teacher,
  .blog-band,
  .access-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero::after {
    right: 18px;
    top: 100px;
    width: 56px;
    height: 56px;
    font-size: 32px;
  }

  .hero-photo {
    min-height: 380px;
  }

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

  .teacher-image {
    order: -1;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 86px;
  }

  .global-nav {
    gap: 12px 16px;
  }

  .global-nav a {
    font-size: 13px;
  }

  .nav-entry {
    min-width: auto;
    min-height: auto;
    padding: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 400;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .fixed-cta {
    display: inline-flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 30;
    min-height: 54px;
    padding: 0 18px;
    font-size: 15px;
    border: 4px solid rgba(255, 255, 255, .88);
    box-shadow: 0 16px 34px rgba(255, 125, 171, .36);
  }

  h1 {
    font-size: 34px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero h1::after {
    right: 0;
    top: -24px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  h2 {
    font-size: 28px;
  }

  .news-list a,
  dl {
    grid-template-columns: 1fr;
  }

  .access-box {
    padding: 24px;
  }
}
