:root {
  --ink: #282626;
  --pink: #d99bcb;
  --label: #9b736f;
  --pale: #faedf5;
  --warm: #f3f0ec;
  --line: #dfdbd7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}
a {
  color: inherit;
  text-decoration: none;
}
.sp {
  display: none;
}
.site-header {
  height: 96px;
  padding: 16px clamp(32px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 20;
}
.logo img {
  width: 150px;
  display: block;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 70px);
  font-size: 14px;
}
.site-header nav a {
  transition: color 0.25s;
}
.site-header nav a:hover {
  color: var(--label);
}
.site-header .besell {
  color: #fff;
  background: #493443;
  padding: 13px 25px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header .besell img {
  width: 12px;
  height: 12px;
}
.menu-button {
  display: none;
}
.hero {
  height: min(820px, calc(100vh - 96px));
  min-height: 620px;
  background: url("../images/myh-hero.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  width: min(760px, 51%);
  min-height: 540px;
  padding: 78px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 251, 248, 0.88);
  backdrop-filter: blur(1px);
  transform-origin: left center;
  opacity: 0;
  transform: scaleX(0.94);
  animation: hero-panel 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s forwards;
}
.hero-copy > p,
.hero-copy > h1,
.hero-copy > span {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-text 0.75s ease 1.25s forwards;
}
.hero-copy > h1 {
  animation-delay: 1.38s;
}
.hero-copy > span {
  animation-delay: 1.52s;
}
.hero-copy p {
  margin: 0 0 20px;
  color: var(--label);
  letter-spacing: 0.04em;
}
.hero-copy h1 {
  margin: 0 0 34px;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.03em;
}
.hero-copy span {
  font-size: 17px;
  color: #6a6664;
}
.scroll-arrow {
  width: 12px;
  height: 105px;
  margin-top: 25px;
  object-fit: contain;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  animation: hero-arrow 0.85s ease 1.95s forwards;
}
@keyframes hero-panel {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes hero-text {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-arrow {
  0% {
    opacity: 1;
    clip-path: inset(0 0 100% 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0);
  }
}
.section {
  padding: 110px max(24px, 6vw);
}
.section-heading {
  text-align: center;
}
.section-heading small {
  color: var(--label);
  font-size: 16px;
}
.section-heading h2 {
  margin: 10px 0 25px;
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.section-heading p {
  margin: 0;
  color: #77716e;
  font-size: 17px;
}
.about {
  padding-bottom: 120px;
}
.values {
  margin: 75px auto 50px;
  max-width: 920px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
}
.values > div {
  flex: 0 0 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pale);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.values strong {
  color: #b578a1;
  font-weight: 400;
  font-size: 16px;
}
.values span {
  font-size: 16px;
}
.values i {
  width: 62px;
  height: 1px;
  background: var(--pink);
}
.about-note {
  text-align: center;
  margin: 0;
  color: #6f6965;
  font-size: 17px;
}
.service,
.contact {
  background: var(--warm);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 42px;
  max-width: 1220px;
  margin: 70px auto 0;
}
.service-card {
  min-height: 260px;
  background: #fff;
  padding: 38px 30px 28px 38px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
.card-copy {
  display: flex;
  flex-direction: column;
  width: 72%;
}
.card-copy small {
  color: var(--label);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.card-copy h3 {
  margin: 4px 0 14px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
}
.card-copy p {
  color: #68635f;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}
.card-copy a {
  margin-top: auto;
  align-self: flex-end;
  color: #b578a1;
  font-size: 17px;
}
.card-copy a b {
  color: #b578a1;
  margin-left: 8px;
  font-size: 22px;
  font-weight: 300;
}
.card-visual {
  width: 26%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-visual em {
  width: 95px;
  text-align: center;
  font:
    300 50px/1 "Noto Sans JP",
    "Yu Gothic",
    YuGothic,
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  color: #eee8e4;
  align-self: center;
}
.card-visual span {
  width: 95px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f1efec;
  display: grid;
  place-items: center;
  margin-top: 8px;
}
.card-visual span > img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.service-card:nth-child(1) .card-visual span > img,
.service-card:nth-child(4) .card-visual span > img {
  width: 70px;
  height: 70px;
}
.service-card:nth-child(4) .card-visual span > img {
  transform: translateY(4px);
}
.company {
  padding-bottom: 130px;
}
.company-list {
  max-width: 930px;
  margin: 60px auto 0;
  font-size: 17px;
}
.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.company-list div:last-child {
  border-bottom: 0;
}
.company-list dt {
  color: #77716e;
}
.company-list dd {
  margin: 0;
}
.contact {
  padding-bottom: 115px;
}
.form-placeholder {
  max-width: 830px;
  height: 290px;
  margin: 60px auto 0;
  border-radius: 5px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.form-placeholder strong {
  font-size: 19px;
}
.form-placeholder p {
  color: #77716e;
  font-size: 13px;
  line-height: 1.8;
}
footer {
  min-height: 135px;
  padding: 28px max(24px, 6vw);
  background: #242424;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 11px;
}
footer img {
  width: 135px;
}
footer p {
  margin: 0;
  opacity: 0.88;
}
footer div {
  justify-self: end;
  display: flex;
  gap: 45px;
}
footer a {
  display: flex;
  align-items: center;
  gap: 7px;
}
footer a img {
  width: 10px;
  height: 10px;
}
footer a:hover {
  opacity: 0.75;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s ease var(--delay, 0ms),
    transform 0.8s ease var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-copy::before,
  .hero-copy > p,
  .hero-copy > h1,
  .hero-copy > span,
  .scroll-arrow {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }
}

@media (max-width: 760px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  body {
    font-size: 16px;
    line-height: 1.8;
  }
  .site-header {
    height: 64px;
    padding: 10px 18px;
    position: relative;
  }
  .logo img {
    width: 110px;
  }
  .menu-button {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 8px 3px;
    border: 0;
    background: none;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    z-index: 3;
  }
  .menu-button span {
    height: 1px;
    width: 28px;
    background: #333;
    transition: 0.25s;
  }
  .menu-button.is-open span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .menu-button.is-open span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .site-header nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 28px 24px 34px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
  }
  .site-header nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-header nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  .site-header .besell {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
  }
  .hero {
    height: 560px;
    min-height: 0;
    align-items: flex-start;
    background-position: 72% center;
  }
  .hero-copy {
    margin-top: 115px;
    width: 78%;
    min-height: 310px;
    padding: 30px 22px;
  }
  .hero-copy::before {
    background: rgba(255, 251, 248, 0.86);
  }
  .hero-copy p {
    font-size: 11px;
    margin-bottom: 12px;
    white-space: nowrap;
  }
  .hero-copy h1 {
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 20px;
    white-space: nowrap;
  }
  .hero-copy span {
    font-size: 13px;
    line-height: 1.8;
    white-space: nowrap;
  }
  .scroll-arrow {
    width: 7px;
    height: 55px;
    margin-top: 12px;
  }
  .section {
    padding: 65px 22px;
  }
  .section-heading small {
    font-size: 11px;
  }
  .section-heading h2 {
    margin: 5px 0 20px;
    font-size: 25px;
    line-height: 1.45;
  }
  .section-heading p {
    font-size: 14px;
    line-height: 1.8;
  }
  .about .section-heading h2 {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .values {
    margin: 40px auto 33px;
    gap: 8px;
  }
  .values > div {
    flex: 1;
    max-width: 105px;
  }
  .values strong {
    font-size: 11px;
  }
  .values span {
    font-size: 9px;
  }
  .values i {
    width: 8px;
  }
  .about-note {
    font-size: 14px;
    max-width: 340px;
    margin: auto;
  }
  .service {
    padding-left: 14px;
    padding-right: 14px;
  }
  .service-grid {
    display: block;
    margin-top: 42px;
  }
  .service-card {
    min-height: 270px;
    margin-bottom: 18px;
    padding: 25px 17px 20px 21px;
  }
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    min-height: 235px;
  }
  .card-copy {
    width: 69%;
  }
  .card-copy small {
    font-size: 9px;
  }
  .card-copy h3 {
    font-size: 18px;
    margin: 3px 0 10px;
  }
  .card-copy p {
    font-size: 14px;
    line-height: 1.75;
  }
  .card-copy a {
    margin-top: 36px;
    font-size: 14px;
    white-space: nowrap;
  }
  .card-copy a b {
    font-size: 16px;
  }
  .card-visual {
    width: 29%;
  }
  .card-visual em {
    width: 78px;
    font-size: 42px;
  }
  .card-visual span {
    width: 78px;
    margin-top: 15px;
  }
  .card-visual span > img {
    width: 46px;
    height: 46px;
  }
  .service-card:nth-child(1) .card-visual span > img,
  .service-card:nth-child(4) .card-visual span > img {
    width: 57px;
    height: 57px;
  }
  .company {
    padding-left: 20px;
    padding-right: 20px;
  }
  .company-list {
    margin-top: 38px;
    font-size: 14px;
  }
  .company-list div {
    grid-template-columns: 85px 1fr;
    gap: 12px;
    padding: 19px 0;
  }
  .contact {
    padding-left: 13px;
    padding-right: 13px;
  }
  .form-placeholder {
    height: 195px;
    margin-top: 27px;
  }
  .form-placeholder strong {
    font-size: 15px;
  }
  .form-placeholder p {
    font-size: 10px;
  }
  footer {
    min-height: 250px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 10px;
  }
  footer img {
    width: 120px;
  }
  footer div {
    order: 2;
    flex-direction: column;
    gap: 8px;
  }
  footer p {
    order: 3;
    align-self: center;
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  .hero-copy {
    width: 82%;
    padding-left: 20px;
    padding-right: 16px;
  }
  .hero-copy span {
    font-size: 12.5px;
    letter-spacing: -0.01em;
  }
}

/* WordPress inner pages */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-wrapper > main {
  flex: 1;
}
.inner-main {
  padding: 90px max(24px, 6vw) 120px;
  background: #fff;
}
.entry-content-wrap,
.archive-wrap {
  width: min(920px, 100%);
  margin: 0 auto;
}
.inner-heading {
  margin-bottom: 55px;
  text-align: center;
}
.inner-heading > p {
  margin: 0 0 8px;
  color: var(--label);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.inner-heading h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.45;
}
.inner-heading time {
  display: block;
  margin-top: 15px;
  color: #77716e;
  font-size: 14px;
}
.entry-content {
  font-size: 16px;
  line-height: 2;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content h2 {
  margin: 2.2em 0 0.8em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--line);
  font-size: 27px;
  font-weight: 500;
}
.entry-content h3 {
  margin: 2em 0 0.7em;
  font-size: 21px;
  font-weight: 500;
}
.entry-content a {
  color: #a96793;
  text-decoration: underline;
}
.entry-content img {
  max-width: 100%;
  height: auto;
}
.entry-thumbnail {
  margin: 0 0 45px;
}
.entry-thumbnail img {
  display: block;
  max-width: 100%;
  height: auto;
}
.news-list {
  border-top: 1px solid var(--line);
}
.news-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.news-item time {
  color: #77716e;
  font-size: 13px;
}
.news-item h2 {
  margin: 7px 0 0;
  font-size: 19px;
  font-weight: 400;
}
.news-item h2 a:hover {
  color: var(--label);
}
.news-item p {
  margin: 8px 0 0;
  color: #77716e;
  font-size: 14px;
}
.navigation.pagination {
  margin-top: 45px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.page-numbers {
  min-width: 38px;
  height: 38px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.page-numbers.current {
  color: #fff;
  background: #493443;
  border-color: #493443;
}
.post-navigation-simple {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  font-size: 14px;
}
.post-navigation-simple span:last-child {
  text-align: right;
}
.error-main {
  min-height: 620px;
  padding: 100px 24px;
  display: grid;
  place-items: center;
  background: var(--warm);
  text-align: center;
}
.error-content {
  max-width: 680px;
}
.error-code {
  margin: 0;
  color: #eadce5;
  font-size: clamp(90px, 15vw, 180px);
  font-weight: 300;
  line-height: 1;
}
.error-content h1 {
  margin: 15px 0 25px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
}
.error-content > p:not(.error-code) {
  color: #77716e;
}
.primary-button {
  margin-top: 35px;
  padding: 14px 30px;
  border-radius: 30px;
  display: inline-block;
  color: #fff;
  background: #493443;
  transition: opacity 0.25s;
}
.primary-button:hover {
  opacity: 0.78;
}
.content-none {
  padding: 60px 0;
  text-align: center;
  color: #77716e;
}
.admin-bar .site-header {
}

@media (max-width: 760px) {
  .inner-main {
    padding: 60px 20px 80px;
  }
  .inner-heading {
    margin-bottom: 38px;
  }
  .inner-heading h1 {
    font-size: 27px;
  }
  .entry-content {
    font-size: 15px;
  }
  .entry-content h2 {
    font-size: 22px;
  }
  .entry-content h3 {
    font-size: 18px;
  }
  .post-navigation-simple {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .post-navigation-simple span:last-child {
    text-align: center;
  }
  .error-main {
    min-height: 500px;
    padding: 70px 22px;
  }
}
