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
*/


/* ==================================================
   PINK RIBBON LIFEHACKS
================================================== */


/* ==================================================
   COCOON RESET
================================================== */

#header .site-name-text {
  display: none !important;
}

#header .logo-header {
  padding: 0 !important;
  min-height: 0 !important;
}

body.home .entry-title,
body.home .date-tags,
body.home .post-date,
body.home .post-update,
body.home .sns-share,
body.home .sns-share-message,
body.home .sns-share-buttons,
body.home .sns-follow,
body.home .sns-follow-message,
body.home .sns-follow-buttons,
body.home .author-box,
body.home .author-info,
body.home .footer-meta,
body.home .breadcrumb,
body.home .related-entries,
body.home .under-entry-content {
  display: none !important;
}

body.home #content,
body.home #main,
body.home .main,
body.home article.article,
body.home .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home {
  background: #fbfaf7;
}


/* ==================================================
   HERO
================================================== */

.pr-hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #fbfaf7;
}

.pr-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  overflow: hidden;
}

.pr-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.pr-hero__content {
  position: relative;
  z-index: 2;
  width: 51%;
  height: 100%;
  box-sizing: border-box;
  padding: 48px 40px 40px 6.7vw;

  background:
    linear-gradient(
      90deg,
      #fbfaf7 0%,
      #fbfaf7 70%,
      rgba(251,250,247,.97) 81%,
      rgba(251,250,247,.72) 91%,
      rgba(251,250,247,0) 100%
    );
}


/* ==================================================
   PINK RIBBON
================================================== */

.pr-ribbon {
  position: relative;
  width: 27px;
  height: 38px;
  margin-bottom: 11px;
}

.pr-ribbon__loop {
  position: absolute;
  top: 0;
  left: 6px;
  width: 14px;
  height: 22px;
  border: 5px solid #df8798;
  border-radius: 50% 50% 46% 46%;
  transform: rotate(-5deg);
  box-sizing: border-box;
}

.pr-ribbon__left,
.pr-ribbon__right {
  position: absolute;
  top: 17px;
  width: 6px;
  height: 22px;
  background: #df8798;
  border-radius: 2px;
}

.pr-ribbon__left {
  left: 8px;
  transform: rotate(25deg);
}

.pr-ribbon__right {
  left: 15px;
  transform: rotate(-25deg);
}


/* ==================================================
   HERO TEXT
================================================== */

.pr-hero__title {
  margin: 0 0 20px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;

  font-family:
    Georgia,
    "Times New Roman",
    "Yu Mincho",
    "YuMincho",
    serif;

  font-size: clamp(52px, 4.8vw, 74px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.045em;
  color: #151515;
}

.pr-hero__copy {
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .035em;
  color: #242424;
}

.pr-hero__about {
  position: relative;
  display: inline-block;
  padding: 4px 0 9px;
  color: #171717 !important;
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none !important;
}

.pr-hero__about span {
  margin-left: 18px;
}

.pr-hero__about::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 1px;
  background: #d68b96;
}


/* ==================================================
   YOU ARE NOT ALONE
================================================== */

.pr-not-alone {
  width: 100%;
  padding: 65px 0 70px;
  background: #fff;
}

.pr-not-alone__inner {
  display: flex;
  align-items: center;
  gap: 65px;
  width: min(1080px, calc(100% - 100px));
  margin: 0 auto;
}

.pr-not-alone__visual {
  position: relative;
  flex: 0 0 43%;
  max-width: 43%;
}

.pr-not-alone__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / .88;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.pr-not-alone__badge {
  position: absolute;
  left: -52px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 135px;
  height: 135px;
  box-sizing: border-box;

  background: rgba(255,255,255,.97);
  border: 1px solid #ead9d7;
  border-radius: 50%;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #222;
}

.pr-not-alone__badge::after {
  content: "";
  width: 27px;
  height: 1px;
  margin-top: 10px;
  background: #df8798;
}

.pr-not-alone__content {
  flex: 1;
  max-width: 520px;
}

.pr-not-alone__eyebrow {
  margin: 0 0 2px !important;
  padding: 0 !important;
  color: #dc7c90 !important;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .07em;
}

.pr-not-alone__title {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;

  font-family:
    Georgia,
    "Times New Roman",
    "Yu Mincho",
    serif;

  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
  color: #151515;
}

.pr-not-alone__line {
  width: 39px;
  height: 1px;
  margin: 15px 0 22px;
  background: #df8798;
}

.pr-not-alone__text {
  margin: 0 0 15px !important;
  padding: 0 !important;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: .015em;
  color: #343434;
}


/* ==================================================
   FIND WHAT YOU NEED
================================================== */

.pr-find {
  width: 100%;
  padding: 58px 0 72px;
  background: #fbf8f7;
}

.pr-find__inner {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
}

.pr-find__heading {
  margin-bottom: 27px;
  text-align: center;
}

.pr-find__heading h2 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;

  font-family:
    Georgia,
    "Times New Roman",
    "Yu Mincho",
    serif;

  font-size: 29px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  color: #191919;
}

.pr-find__heading p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px;
  letter-spacing: .08em;
  color: #444;
}


/* ==================================================
   FIND CARDS
================================================== */

.pr-find__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pr-find-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-height: 300px;
  box-sizing: border-box;

  padding: 24px 15px 16px;

  background: rgba(255,255,255,.72);
  border: 1px solid #eadbdc;
  border-radius: 13px;

  color: #1b1b1b !important;
  text-align: center;
  text-decoration: none !important;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.pr-find-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.045);
}

.pr-find-card__icon {
  width: 43px;
  height: 43px;
  margin-bottom: 9px;
  color: #dd8496;
}

.pr-find-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-find-card h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 19px;
  font-weight: 400;
  line-height: 1.12;
  color: #181818;
}

.pr-find-card__jp {
  margin: 0 0 7px !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
}

.pr-find-card__text {
  margin: 0 0 17px !important;
  font-size: 11px;
  line-height: 1.75;
  color: #444;
}

.pr-find-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;

  width: 100%;
  margin-top: auto;
  padding: 8px 9px;
  box-sizing: border-box;

  border: 1px solid #dc9ca8;
  border-radius: 999px;

  color: #333;
  font-size: 11px;
  line-height: 1;
}

.pr-find-card__button > span {
  color: #da7c90;
  font-size: 15px;
}


/* ==================================================
   LATEST STORIES
================================================== */

.pr-latest-heading {
  width: min(1080px, calc(100% - 100px));
  margin: 0 auto;
  padding: 68px 0 24px;
  text-align: center;
}

.pr-latest-heading__eyebrow {
  margin: 0 0 1px !important;
  padding: 0 !important;

  color: #dc7c90;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 14px;
  letter-spacing: .12em;
}

.pr-latest-heading__title {
  margin: 0 !important;
  padding: 0 !important;

  background: none !important;
  border: none !important;

  font-family:
    Georgia,
    "Times New Roman",
    "Yu Mincho",
    serif;

  font-size: 35px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .015em;
  color: #171717;
}

.pr-latest-heading__jp {
  margin: 8px 0 0 !important;
  padding: 0 !important;

  font-size: 11px;
  letter-spacing: .1em;
  color: #555;
}


/* ==================================================
   WORDPRESS LATEST POSTS
================================================== */

body.home .wp-block-latest-posts.pr-latest-posts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;

  width: min(1080px, calc(100% - 100px));

  margin: 0 auto 75px !important;
  padding: 0 !important;

  list-style: none !important;
}

body.home .wp-block-latest-posts.pr-latest-posts > li {
  display: flex;
  flex-direction: column;

  margin: 0 !important;
  padding: 0 0 18px !important;

  overflow: hidden;

  background: #fff;
  border-radius: 13px;

  box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

body.home
.wp-block-latest-posts.pr-latest-posts
.wp-block-latest-posts__featured-image {
  width: 100%;
  margin: 0 0 17px !important;
  overflow: hidden;
}

body.home
.wp-block-latest-posts.pr-latest-posts
.wp-block-latest-posts__featured-image img {
  display: block;

  width: 100% !important;
  height: 220px !important;

  margin: 0 !important;

  object-fit: cover;

  transition: transform .4s ease;
}

body.home
.wp-block-latest-posts.pr-latest-posts
> li:hover
.wp-block-latest-posts__featured-image img {
  transform: scale(1.025);
}

body.home
.wp-block-latest-posts.pr-latest-posts
> li
> a {
  display: block;

  margin: 0 18px !important;

  color: #1d1d1d !important;

  font-family:
    Georgia,
    "Yu Mincho",
    "YuMincho",
    serif;

  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;

  text-decoration: none !important;
}

body.home
.wp-block-latest-posts.pr-latest-posts
> li
> a:hover {
  color: #d57f91 !important;
}

body.home
.wp-block-latest-posts.pr-latest-posts
.wp-block-latest-posts__post-date {
  display: block !important;

  margin: 10px 18px 0 !important;

  color: #999;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 10px;
  letter-spacing: .08em;
}


/* ==================================================
   SIMPLE FOOTER
================================================== */

.pr-footer {
  width: 100%;
  box-sizing: border-box;

  padding: 0 4.5% 22px;

  background: #fbf8f7;

  color: #222;
}

.pr-footer__line {
  width: 100%;
  height: 1px;

  background: rgba(218,124,144,.62);
}


/* MAIN ROW */

.pr-footer__main {
  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 112px;

  padding: 10px 0;

  box-sizing: border-box;
}

.pr-footer__brand {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 20px;
}


/* FOOTER RIBBON */

.pr-footer__ribbon {
  position: relative;

  flex: 0 0 auto;

  width: 23px;
  height: 32px;
}

.pr-footer__ribbon-loop {
  position: absolute;

  top: 0;
  left: 5px;

  width: 12px;
  height: 19px;

  border: 4px solid #df8798;

  border-radius: 50% 50% 46% 46%;

  transform: rotate(-5deg);

  box-sizing: border-box;
}

.pr-footer__ribbon-left,
.pr-footer__ribbon-right {
  position: absolute;

  top: 15px;

  width: 5px;
  height: 18px;

  background: #df8798;

  border-radius: 2px;
}

.pr-footer__ribbon-left {
  left: 7px;
  transform: rotate(25deg);
}

.pr-footer__ribbon-right {
  left: 13px;
  transform: rotate(-25deg);
}


/* FOOTER BRAND TEXT */

.pr-footer__text {
  text-align: left;
}

.pr-footer__name {
  margin: 0 0 4px !important;
  padding: 0 !important;

  font-family:
    Georgia,
    "Times New Roman",
    "Yu Mincho",
    serif;

  font-size: 22px;

  font-weight: 400;

  line-height: 1.1;

  letter-spacing: .01em;

  color: #292929;
}

.pr-footer__copy {
  margin: 0 !important;
  padding: 0 !important;

  font-size: 9px;

  line-height: 1.5;

  letter-spacing: .035em;

  color: #555;
}


/* SMALL VERTICAL DIVIDER */

.pr-footer__separator {
  width: 1px;
  height: 28px;

  margin: 0 2px;

  background: rgba(218,124,144,.55);
}


/* YOU ARE NOT ALONE */

.pr-footer__message {
  margin: 0 !important;
  padding: 0 !important;

  font-family:
    "Brush Script MT",
    "Segoe Script",
    cursive;

  font-size: 19px;

  font-style: italic;

  line-height: 1;

  color: #df8798;
}


/* COPYRIGHT */

.pr-footer__copyright {
  margin: 0 !important;
  padding: 15px 0 0 !important;

  text-align: center;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 9px;

  letter-spacing: .13em;

  color: #555;
}


/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 900px) {

  .pr-hero {
    height: 470px;
  }

  .pr-hero__content {
    width: 53%;
    padding: 42px 24px 34px 38px;
  }

  .pr-hero__title {
    font-size: 49px;
  }

  .pr-not-alone__inner {
    gap: 45px;
    width: calc(100% - 70px);
  }

  .pr-not-alone__badge {
    left: -30px;
    width: 115px;
    height: 115px;
    font-size: 11px;
  }

  .pr-not-alone__title {
    font-size: 39px;
  }

  .pr-find__inner {
    width: calc(100% - 50px);
  }

  .pr-find__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  body.home .wp-block-latest-posts.pr-latest-posts {
    width: calc(100% - 70px);
    gap: 18px;
  }

  body.home
  .wp-block-latest-posts.pr-latest-posts
  .wp-block-latest-posts__featured-image img {
    height: 185px !important;
  }
}


/* ==================================================
   SMARTPHONE
================================================== */

@media screen and (max-width: 600px) {

  /* HERO */

  .pr-hero {
    height: 390px;
  }

  .pr-hero__photo {
    width: 63%;
  }

  .pr-hero__photo img {
    object-position: 56% center;
  }

  .pr-hero__content {
    width: 56%;
    padding: 26px 8px 20px 18px;

    background:
      linear-gradient(
        90deg,
        #fbfaf7 0%,
        #fbfaf7 66%,
        rgba(251,250,247,.97) 78%,
        rgba(251,250,247,.78) 90%,
        rgba(251,250,247,0) 100%
      );
  }

  .pr-ribbon {
    transform: scale(.72);
    transform-origin: left top;
    margin-bottom: 2px;
  }

  .pr-hero__title {
    margin-bottom: 14px !important;
    font-size: 29px;
    line-height: .91;
  }

  .pr-hero__copy {
    margin-bottom: 14px !important;
    font-size: 8.8px;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .pr-hero__about {
    font-size: 8.4px;
  }

  .pr-hero__about span {
    margin-left: 8px;
  }


  /* NOT ALONE */

  .pr-not-alone {
    padding: 38px 0 45px;
  }

  .pr-not-alone__inner {
    display: block;
    width: calc(100% - 44px);
    margin: 0 auto;
  }

  .pr-not-alone__visual {
    width: 88%;
    max-width: none;
    margin: 0 auto 34px;
  }

  .pr-not-alone__image {
    aspect-ratio: 1 / .78;
    border-radius: 13px;
    object-position: center 42%;
  }

  .pr-not-alone__badge {
    left: -14px;
    top: auto;
    bottom: -20px;

    transform: none;

    width: 92px;
    height: 92px;

    font-size: 9px;
    line-height: 1.35;
  }

  .pr-not-alone__badge::after {
    width: 20px;
    margin-top: 7px;
  }

  .pr-not-alone__content {
    width: 100%;
    max-width: none;
  }

  .pr-not-alone__eyebrow {
    margin-bottom: 1px !important;
    font-size: 12px;
  }

  .pr-not-alone__title {
    font-size: 32px;
  }

  .pr-not-alone__line {
    width: 30px;
    margin: 11px 0 18px;
  }

  .pr-not-alone__text {
    margin-bottom: 13px !important;
    font-size: 11px;
    line-height: 1.75;
    letter-spacing: 0;
  }

  .pr-pc {
    display: none;
  }


  /* FIND */

  .pr-find {
    padding: 42px 0 50px;
  }

  .pr-find__inner {
    width: calc(100% - 32px);
  }

  .pr-find__heading {
    margin-bottom: 22px;
  }

  .pr-find__heading h2 {
    font-size: 24px;
  }

  .pr-find__heading p {
    font-size: 10px;
    letter-spacing: .04em;
  }

  .pr-find__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pr-find-card {
    min-height: 250px;
    padding: 18px 9px 11px;
    border-radius: 10px;
  }

  .pr-find-card__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 7px;
  }

  .pr-find-card h3 {
    font-size: 15px;
    margin-bottom: 7px !important;
  }

  .pr-find-card__jp {
    font-size: 10px;
    margin-bottom: 6px !important;
  }

  .pr-find-card__text {
    font-size: 8.5px;
    line-height: 1.65;
    margin-bottom: 12px !important;
  }

  .pr-find-card__button {
    gap: 10px;
    padding: 7px 4px;
    font-size: 8.5px;
  }


  /* LATEST STORIES */

  .pr-latest-heading {
    width: calc(100% - 44px);
    padding: 45px 0 21px;
  }

  .pr-latest-heading__eyebrow {
    font-size: 11px;
  }

  .pr-latest-heading__title {
    font-size: 28px;
  }

  .pr-latest-heading__jp {
    margin-top: 6px !important;
    font-size: 9.5px;
  }

  body.home .wp-block-latest-posts.pr-latest-posts {
    display: block !important;

    width: calc(100% - 44px);

    margin: 0 auto 50px !important;
  }

  body.home .wp-block-latest-posts.pr-latest-posts > li {
    margin-bottom: 22px !important;
    border-radius: 11px;
  }

  body.home
  .wp-block-latest-posts.pr-latest-posts
  .wp-block-latest-posts__featured-image img {
    height: auto !important;
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
  }

  body.home
  .wp-block-latest-posts.pr-latest-posts
  > li
  > a {
    margin: 0 15px !important;
    font-size: 15px;
  }

  body.home
  .wp-block-latest-posts.pr-latest-posts
  .wp-block-latest-posts__post-date {
    margin: 8px 15px 0 !important;
    font-size: 9px;
  }


  /* FOOTER */

  .pr-footer {
    padding: 0 18px 17px;
  }

  .pr-footer__main {
    min-height: 105px;
    padding: 14px 0;
  }

  .pr-footer__brand {
    gap: 10px;
  }

  .pr-footer__ribbon {
    transform: scale(.82);
    transform-origin: center;
  }

  .pr-footer__name {
    font-size: 15px;
  }

  .pr-footer__copy {
    max-width: 150px;
    font-size: 6.8px;
    line-height: 1.5;
  }

  .pr-footer__separator {
    height: 23px;
    margin: 0;
  }

  .pr-footer__message {
    font-size: 12px;
    white-space: nowrap;
  }

  .pr-footer__copyright {
    padding-top: 12px !important;
    font-size: 6.8px;
    letter-spacing: .08em;
  }
}


/* ==================================================
   SMALL SMARTPHONE
================================================== */

@media screen and (max-width: 390px) {

  .pr-hero {
    height: 375px;
  }

  .pr-hero__content {
    padding: 23px 6px 18px 14px;
  }

  .pr-hero__title {
    font-size: 27px;
  }

  .pr-hero__copy {
    font-size: 8.2px;
  }

  .pr-not-alone__inner {
    width: calc(100% - 36px);
  }

  .pr-not-alone__title {
    font-size: 30px;
  }

  .pr-not-alone__text {
    font-size: 10.5px;
  }

  .pr-find__inner {
    width: calc(100% - 24px);
  }

  .pr-find-card {
    min-height: 245px;
  }

  .pr-latest-heading,
  body.home .wp-block-latest-posts.pr-latest-posts {
    width: calc(100% - 32px);
  }

  .pr-footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pr-footer__brand {
    gap: 7px;
  }

  .pr-footer__name {
    font-size: 14px;
  }

  .pr-footer__copy {
    max-width: 125px;
    font-size: 6px;
  }

  .pr-footer__message {
    font-size: 10px;
  }

  .pr-footer__separator {
    height: 20px;
  }
}
/* HOMEではCocoon標準フッターを非表示 */
body.home #footer {
  display: none !important;
}