@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
:root {
  --ys-pink: #c85f7c;
  --ys-pink-dark: #9f405d;
  --ys-pink-soft: #fff1f5;
  --ys-cream: #fffaf7;
  --ys-ink: #3f3437;
  --ys-muted: #74686b;
  --ys-line: #efdde3;
  --ys-shadow: 0 18px 50px rgba(116, 62, 78, 0.11);
}

body {
  color: var(--ys-ink);
  background: var(--ys-cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
}

#header-container {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ys-line);
}

#header {
  background: transparent;
}

.logo-text {
  padding: 32px 16px 24px;
}

.logo-text .site-name-text {
  color: var(--ys-pink-dark);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

#navi {
  background: #fff;
  border-top: 1px solid #f7e9ed;
}

#navi .navi-in > ul > li > a {
  color: var(--ys-ink);
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#navi .navi-in > ul > li > a:hover,
#navi .navi-in > ul > li.current-menu-item > a {
  color: var(--ys-pink-dark);
  background: var(--ys-pink-soft);
}

.home.page-id-16 #content {
  width: min(1120px, calc(100% - 40px));
  margin: 48px auto 72px;
}

.home.page-id-16 #main {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.home.page-id-16 #sidebar,
.home.page-id-16 .article-header,
.home.page-id-16 .article-footer {
  display: none;
}

.home.page-id-16 .toc {
  display: none;
}

.home.page-id-16 .entry-content {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(48px, 8vw, 92px);
  border: 1px solid rgba(200, 95, 124, 0.15);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.95) 0 8%, transparent 9%),
    radial-gradient(circle at 82% 32%, rgba(255, 255, 255, 0.72) 0 15%, transparent 16%),
    linear-gradient(135deg, #fff 0%, #fff5f7 55%, #f8dfe7 100%);
  box-shadow: var(--ys-shadow);
}

.home.page-id-16 .entry-content::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(200, 95, 124, 0.1);
  content: "";
  pointer-events: none;
}

.home.page-id-16 .entry-content > p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
}

.home.page-id-16 .entry-content > p:nth-of-type(1) {
  color: var(--ys-pink-dark);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home.page-id-16 .entry-content > p:nth-of-type(2) {
  margin-top: 22px;
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.home.page-id-16 .entry-content > p:nth-of-type(3) {
  margin-top: 28px;
  color: var(--ys-muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 2;
}

.home.page-id-16 .entry-content > p:nth-of-type(4) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.home.page-id-16 .entry-content > p:nth-of-type(4) br {
  display: none;
}

.home.page-id-16 .entry-content > p:nth-of-type(4) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--ys-pink);
  border-radius: 999px;
  color: var(--ys-pink-dark);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(159, 64, 93, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home.page-id-16 .entry-content > p:nth-of-type(4) a:last-of-type {
  color: #fff;
  background: var(--ys-pink);
}

.home.page-id-16 .entry-content > p:nth-of-type(4) a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(159, 64, 93, 0.18);
}

#footer {
  color: #fff;
  background: var(--ys-pink-dark);
}

#footer a {
  color: #fff;
}

/* Existing brand photography and logo */
#header {
  position: relative;
  min-height: clamp(180px, 26vw, 340px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
    url("images/your-smile-header-v2.png")
      center center / cover no-repeat;
}

#header::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: clamp(260px, 34vw, 500px);
  aspect-ratio: 1;
  background:
    url("https://www.private-nurse2525.com/wp-content/uploads/2026/07/Yoursmil%E3%83%AD%E3%82%B4%E4%BF%AE%E6%AD%A3%E7%89%88.png")
    center / contain no-repeat;
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

#header-in {
  position: relative;
  z-index: 2;
  min-height: inherit;
}

#header .logo-text {
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: center;
}

#header .site-name-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hide sharing/follow areas until social channels are ready */
.sns-share,
.sns-follow {
  display: none !important;
}

/* Shared inner-page layout */
body:not(.home) #content {
  width: min(1080px, calc(100% - 40px));
  margin: 48px auto 72px;
}

body:not(.home) #main {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

body:not(.home) #sidebar {
  display: none;
}

body:not(.home) .article {
  overflow: hidden;
  border: 1px solid var(--ys-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--ys-shadow);
}

body:not(.home) .article-header {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    linear-gradient(rgba(255, 250, 247, 0.38), rgba(255, 241, 245, 0.72)),
    url("https://www.private-nurse2525.com/wp-content/uploads/2026/07/HP%E8%83%8C%E6%99%AF.png")
      center 62% / cover no-repeat;
}

body:not(.home) .entry-title {
  position: relative;
  margin: 0;
  color: var(--ys-ink);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.95);
}

body:not(.home) .entry-title::after {
  display: block;
  width: 56px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: var(--ys-pink);
  content: "";
}

body:not(.home) .article-header .date-tags,
body:not(.home) .article-footer .footer-meta,
body:not(.home) .article-footer .publisher {
  display: none;
}

body:not(.home) .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 72px);
}

body:not(.home) .entry-content p {
  color: var(--ys-muted);
  line-height: 1.95;
}

body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3 {
  border: 0;
  color: var(--ys-ink);
  background: transparent;
}

/* Service cards and icons */
.page-id-7 .entry-content > p:first-of-type {
  margin: 0;
  color: var(--ys-pink-dark);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.5;
}

.page-id-7 .entry-content > p:nth-of-type(2) {
  margin: 12px 0 48px;
  font-size: 19px;
}

.page-id-7 .entry-content h2 {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 22px 0 0;
  padding: 24px 26px 10px;
  border: 1px solid var(--ys-line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(135deg, #fff, var(--ys-pink-soft));
  font-size: clamp(20px, 3vw, 27px);
}

.page-id-7 .entry-content h2::before {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ys-pink);
  font-family: FontAwesome;
  font-size: 21px;
}

.page-id-7 .entry-content h2:nth-of-type(1)::before {
  content: "\f21e";
}

.page-id-7 .entry-content h2:nth-of-type(2)::before {
  content: "\f0f2";
}

.page-id-7 .entry-content h2:nth-of-type(3)::before {
  content: "\f0c0";
}

.page-id-7 .entry-content h2:nth-of-type(4)::before {
  content: "\f0fa";
}

.page-id-7 .entry-content h2:nth-of-type(5)::before {
  content: "\f1ae";
}

.page-id-7 .entry-content h2 + p {
  margin: 0 0 22px;
  padding: 8px 26px 28px 84px;
  border: 1px solid var(--ys-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: #fff;
}

/* Pricing */
.page-id-9 .entry-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.page-id-9 .entry-content h3 {
  margin: 0;
  padding: 26px 28px 8px;
  border: 1px solid var(--ys-line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  color: var(--ys-pink-dark);
  background: var(--ys-pink-soft);
  font-size: 24px;
}

.page-id-9 .entry-content h3::before {
  margin-right: 10px;
  font-family: FontAwesome;
}

.page-id-9 .entry-content h3:nth-of-type(1)::before {
  content: "\f157";
}

.page-id-9 .entry-content h3:nth-of-type(2)::before {
  content: "\f186";
}

.page-id-9 .entry-content h3 + p {
  margin: -22px 0 0;
  padding: 26px 28px;
  border: 1px solid var(--ys-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
}

.page-id-9 .entry-content > p:last-child {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: #fff8e8;
}

/* FAQ */
.page-id-11 .entry-content h3 {
  position: relative;
  margin: 28px 0 0;
  padding: 22px 24px 22px 76px;
  border: 1px solid var(--ys-line);
  border-radius: 20px 20px 0 0;
  background: var(--ys-pink-soft);
  font-size: clamp(19px, 3vw, 24px);
}

.page-id-11 .entry-content h3::before {
  position: absolute;
  top: 16px;
  left: 20px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ys-pink);
  content: "Q";
  font-size: 20px;
  font-weight: 800;
}

.page-id-11 .entry-content h3 + p {
  position: relative;
  margin: 0;
  padding: 22px 24px 28px 76px;
  border: 1px solid var(--ys-line);
  border-top: 0;
  border-radius: 0 0 20px 20px;
}

.page-id-11 .entry-content h3 + p::before {
  position: absolute;
  top: 18px;
  left: 24px;
  color: var(--ys-pink-dark);
  content: "A";
  font-size: 24px;
  font-weight: 800;
}

/* Representative profile with existing heart logo */
.page-id-13 .entry-content {
  min-height: 0;
}

.page-id-13 .entry-content h3 {
  margin-top: 0;
  color: var(--ys-pink-dark);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.6;
}

.page-id-13 .entry-content h3::before {
  margin-right: 10px;
  color: var(--ys-pink);
  content: "♡";
}

.page-id-13 .entry-content::after {
  display: block;
  width: min(280px, 72vw);
  aspect-ratio: 1;
  margin: 36px auto 0;
  border-top: 1px solid var(--ys-line);
  background:
    url("https://www.private-nurse2525.com/wp-content/uploads/2026/07/Yoursmil%E3%83%AD%E3%82%B4%E4%BF%AE%E6%AD%A3%E7%89%88.png")
    center 28px / contain no-repeat;
  content: "";
}

/* Contact form */
.page-id-18 .entry-content > p:first-of-type {
  margin: 0;
  color: var(--ys-pink-dark);
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 800;
}

.page-id-18 .wpcf7 {
  margin-top: 40px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--ys-line);
  border-radius: 24px;
  background: var(--ys-pink-soft);
}

.page-id-18 .wpcf7 label {
  color: var(--ys-ink);
  font-weight: 700;
}

.page-id-18 .wpcf7 input[type="text"],
.page-id-18 .wpcf7 input[type="tel"],
.page-id-18 .wpcf7 input[type="email"],
.page-id-18 .wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #dcc7ce;
  border-radius: 12px;
  background: #fff;
}

.page-id-18 .wpcf7 input:focus,
.page-id-18 .wpcf7 textarea:focus {
  border-color: var(--ys-pink);
  outline: 3px solid rgba(200, 95, 124, 0.16);
}

.page-id-18 .wpcf7 input[type="submit"] {
  min-width: 220px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ys-pink);
  font-size: 18px;
  font-weight: 800;
}

.page-id-18 .wpcf7 input[type="submit"]:hover {
  background: var(--ys-pink-dark);
}

/* Blog section and article cards */
.ys-latest-posts {
  width: min(1120px, calc(100vw - 40px));
  margin: 72px 50% 0;
  padding: clamp(42px, 6vw, 68px);
  border: 1px solid var(--ys-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--ys-shadow);
  transform: translateX(-50%);
}

.ys-section-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.ys-section-heading__eyebrow,
.ys-blog-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--ys-pink-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ys-section-heading h2,
.ys-blog-hero h1 {
  margin: 0;
  border: 0;
  color: var(--ys-ink);
  background: transparent;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ys-section-heading > p:last-child,
.ys-blog-hero > p:last-child {
  margin: 14px 0 0;
  color: var(--ys-muted);
  line-height: 1.8;
}

.ys-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ys-blog-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ys-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(116, 62, 78, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ys-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(116, 62, 78, 0.14);
}

.ys-blog-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.ys-blog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, var(--ys-pink-soft), #f6d9e2);
}

.ys-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ys-blog-card:hover .ys-blog-card__image img {
  transform: scale(1.035);
}

.ys-blog-card__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(159, 64, 93, 0.5);
  font-size: 54px;
  transform: translate(-50%, -50%);
}

.ys-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.ys-blog-card__date {
  color: var(--ys-pink-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ys-blog-card__title {
  margin: 10px 0 12px;
  border: 0;
  color: var(--ys-ink);
  background: transparent;
  font-size: 21px;
  line-height: 1.55;
}

.ys-blog-card__excerpt {
  margin: 0 0 18px;
  color: var(--ys-muted);
  font-size: 14px;
  line-height: 1.8;
}

.ys-blog-card__more {
  margin-top: auto;
  color: var(--ys-pink-dark);
  font-size: 14px;
  font-weight: 800;
}

.ys-blog-card__more::after {
  margin-left: 8px;
  content: "→";
}

.ys-blog-index-link {
  margin: 36px 0 0;
  text-align: center;
}

.ys-blog-index-link a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--ys-pink);
  font-weight: 800;
  text-decoration: none;
}

.ys-blog-index-link a:hover {
  color: #fff;
  background: var(--ys-pink-dark);
}

body.blog #content.ys-blog-archive {
  width: min(1120px, calc(100% - 40px));
  margin: 48px auto 72px;
}

body.blog #main {
  width: 100%;
}

.ys-blog-hero {
  padding: clamp(44px, 7vw, 72px) 24px;
  border: 1px solid var(--ys-line);
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(rgba(255, 250, 247, 0.4), rgba(255, 241, 245, 0.78)),
    url("https://www.private-nurse2525.com/wp-content/uploads/2026/07/HP%E8%83%8C%E6%99%AF.png")
      center 62% / cover no-repeat;
  text-align: center;
}

.ys-blog-archive__content {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--ys-line);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: #fff;
  box-shadow: var(--ys-shadow);
}

.ys-blog-empty {
  padding: 52px 24px;
  border: 1px dashed #dab9c4;
  border-radius: 20px;
  color: var(--ys-muted);
  background: var(--ys-pink-soft);
  text-align: center;
}

.ys-blog-empty > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ys-pink);
  font-size: 44px;
}

.ys-blog-empty h2,
.ys-blog-empty p {
  margin: 6px 0;
}

.ys-blog-pagination {
  margin-top: 42px;
}

.ys-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ys-blog-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--ys-line);
  border-radius: 999px;
  color: var(--ys-pink-dark);
  background: #fff;
  text-decoration: none;
}

.ys-blog-pagination .page-numbers.current,
.ys-blog-pagination a.page-numbers:hover {
  color: #fff;
  background: var(--ys-pink);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .home.page-id-16 #content {
    width: min(100% - 32px, 900px);
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .logo-text {
    padding: 20px 64px;
  }

  .home.page-id-16 #content {
    margin-top: 24px;
  }

  .home.page-id-16 .entry-content {
    min-height: auto;
    padding: 48px 32px;
    border-radius: 24px;
  }

  #header {
    min-height: 190px;
  }

  body:not(.home) #content {
    width: min(100% - 28px, 760px);
    margin-top: 24px;
  }

  body:not(.home) .article-header {
    min-height: 180px;
  }

  .page-id-9 .entry-content {
    grid-template-columns: 1fr;
  }

  .page-id-9 .entry-content > p:last-child {
    grid-column: auto;
  }

  .page-id-13 .entry-content {
    padding-right: clamp(32px, 7vw, 56px);
  }

  .ys-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .logo-text .site-name-text {
    font-size: 20px;
  }

  .home.page-id-16 #content {
    width: calc(100% - 24px);
    margin: 16px auto 48px;
  }

  .home.page-id-16 .entry-content {
    padding: 38px 22px;
    border-radius: 20px;
  }

  .home.page-id-16 .entry-content > p:nth-of-type(2) {
    font-size: 34px;
  }

  .home.page-id-16 .entry-content > p:nth-of-type(4) {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home.page-id-16 .entry-content > p:nth-of-type(4) a {
    width: 100%;
  }

  #header {
    min-height: 150px;
  }

  #header::after {
    width: 205px;
  }

  body:not(.home) #content {
    width: calc(100% - 20px);
    margin: 12px auto 48px;
  }

  body:not(.home) .article {
    border-radius: 20px;
  }

  body:not(.home) .article-header {
    min-height: 140px;
    padding: 32px 18px;
  }

  body:not(.home) .entry-title {
    font-size: 30px;
  }

  body:not(.home) .entry-content {
    padding: 32px 20px;
  }

  .page-id-7 .entry-content h2 {
    padding: 20px 18px 10px;
  }

  .page-id-7 .entry-content h2 + p {
    padding: 8px 18px 24px;
  }

  .page-id-11 .entry-content h3,
  .page-id-11 .entry-content h3 + p {
    padding-right: 18px;
    padding-left: 66px;
  }

  .ys-latest-posts {
    width: calc(100vw - 24px);
    margin-top: 48px;
    padding: 34px 20px;
    border-radius: 20px;
  }

  .ys-blog-grid {
    grid-template-columns: 1fr;
  }

  body.blog #content.ys-blog-archive {
    width: calc(100% - 20px);
    margin: 12px auto 48px;
  }

  .ys-blog-hero {
    padding: 38px 18px;
    border-radius: 20px 20px 0 0;
  }

  .ys-blog-archive__content {
    padding: 24px 16px;
    border-radius: 0 0 20px 20px;
  }
}
