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

/* ========================================
   00. VARIABLES｜共通変数
======================================== */

:root {
  /* color */
  --color-green: #63f995;
  --color-green_dark: #3e8b3a;
  --color-orange: #fcae64;
  --color-orange_dark: #896b39;
  --color-bg: #f9f6ed;
  --color-text_bk: #333333;
  --color-text_wh: #fff;
  --color-link: #396f89;

  /* width */
  --mv-siteview: 1200px;
  --siteview: 1100px;
  --siteview--readText: 600px;

/* space */
--space-xl: 10rem;
--space-lg: 5rem;
--space-md: 2.5rem;
--space-sm: 1.5rem;
--space-xs: 1rem;

/* セクション間の余白 */
--space-mb_section: clamp(4rem, 6vw, 8rem);
--space-mb--ttl-wrap:clamp(4rem, 6vw, 8rem);
--space-mb_imgFull: clamp(3rem, 4vw, 4rem);
--space-mb_parts: clamp(3rem, 4vw, 4rem);
/* セクション内部の余白 */
--space-section-inner: clamp(3rem, 5vw, 6rem);

/* 見出し周辺 */
--space-mb_subTtl: clamp(2rem, 2vw, 3rem);


  /* font size */
  --fontSize-hero: clamp(2.25rem, 5vw, 3rem);
  --fontSize-hero_sub: clamp(1rem, 5vw, 1.05rem);
  --fontSize-h2-ttl_sub: clamp(1rem, 5vw, 1.5rem);
  --fontSize-h3-ttl: clamp(1.5rem, 5vw, 2.5rem);
  --service--message: clamp(1.5rem, 5vw, 2rem);
  --fontSize-read-text: clamp(0.8rem, 4vw, 1rem);
  --fontSize-read-text_em: clamp(1.15rem, 3vw, 1.25rem);
  --fontSize-read-text_small: clamp(0.8rem, 1.2vw, 1rem);
  --fontSize-h2-sp: clamp(1.75rem, 5vw, 3.25rem);

  /* font */
  --font-maru: "Zen Maru Gothic", sans-serif;
  --fontWeight-bold: 500;
  --fontWeight-ex-bold: 500;

  /* letter spacing */
  --letter-spacing_base: 0.1rem;
  --letter-spacing_reading: 0.15rem;
  --letter-spacing_title: 0.2rem;

  /* hero animation */
  --hero-video-duration: 6s;
}

/* ========================================
   01. BASE
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: var(--letter-spacing_base);
  color: var(--color-text_bk);
  background-color: var(--color-bg);
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

#container {
	background-color:#fff;
}

.main {
  position: relative;
  padding: 0 !important;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-link);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit;
}

h2 {
	background-color:inherit!important;
}

/* h2 */
.home_service--head--textarea {
  width: 80%;
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
  z-index: 4;
padding:2rem 0 6rem 0!important;
}

.home_service--head--textarea .ttl-jp {
  text-align: center;
}

.home_service--head--textarea .ttl-en {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto !important;
	text-align: center;
	font-size: clamp(2rem, 6vw, 4.25rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
}

.home_service--head--textarea .ttl-en .smile-line {
	position: relative;
    top: -15px;
  display: block;
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  border-bottom: 6px solid #FCAE64;
  border-radius: 10% 10% 50% 50%;
  margin: 0;
  box-sizing: border-box;
}

p.ttl-jp  {
	font-weight: 500;
	margin-bottom:0!important;
}

.__wh {
  color:#fff;
}

.article h4 {
	border:none;
	line-height:2;
}

.section--mb.section--hero {
  margin-bottom: var(--space-mb_section)!important;
}

.siteview-base {
  width: min(calc(100% - 32px), var(--siteview));
  margin-inline: auto;
}

.section-inner {
  padding-block: var(--space-section-inner);
}

.inner__parts._mb {
  margin-bottom: var(--space-mb_parts)!important;
}

ul.news-list {
  background: none !important;
  padding: 0 !important;
  margin: 10px auto !important;
  max-width: 800px;
  list-style: none !important;
}

ul.news-list li {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 24px 32px 70px 32px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1%;
  transition: transform 0.3s ease;
}

ul.news-list li:hover {
  transform: translateY(-3px);
}

ul.news-list li time.wp-block-latest-posts__post-date {
  color: #999999 !important;
  font-size: 1rem !important;
}

ul.news-list li a.wp-block-latest-posts__post-title {
  color: #333333 !important;
  font-size: var( --fontSize-read-text)!important;
  font-weight: bold;
  text-decoration: none !important;
  display: block;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

ul.news-list li::after {
  content: "READ ➔"; 
  position: absolute;
  bottom: 24px; 
  right: 32px; 
  background-color: #d9822b;
  color: #ffffff !important;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  border-radius: 20px;
  transition: background-color 0.2s ease;
  pointer-events: none;
}

ul.news-list li:hover::after {
  background-color: #c57120;
}

/* ========================================
   02. LAYOUT｜ページ構造
======================================== */
.section {
  width: 100%;
  margin-bottom: var(--space-mb_section);
}

.siteview-wide {
  width: min(calc(100% - 32px), var(--mv-siteview));
  margin-inline: auto;
}

.siteview-base {
  width: min(calc(100% - 32px), var(--siteview));
  margin-inline: auto;
}

.text-siteview {
  width: min(calc(100% - 32px), var(--siteview--readText));
  margin-inline: auto;
}

.child--wrap {
	padding:0.75rem 0;
}

ul.wolks--list-others {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
	margin-bottom:0;
}

.pcbr {
	display:inline;
}

.spbr {
	display:none;
}

/* ========================================
   03. HERO｜メインビジュアル
======================================== */

.wrapper--hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-bg);
}

.wrapper--hero .bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  animation: hero-fade-in 1.2s ease-in-out forwards;
}

.wrapper--hero .bg-1 {
  z-index: 1;
  opacity: 1;
  animation: none;
}

.wrapper--hero .bg-1 video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.wrapper--hero .bg-2 {
  z-index: 2;
  background-image: url("/wp-content/uploads/2026/04/smilecook-202602-9.png");
  animation-delay: var(--hero-video-duration);
}

.wrapper--hero .bg-3 {
  z-index: 3;
  background-image: url("/wp-content/uploads/2026/04/smilecook-202602-10.png");
  animation-delay: calc(var(--hero-video-duration) + 4s);
}

.wrapper--hero .bg-4 {
  z-index: 4;
  background-image: url("/wp-content/uploads/2026/04/smilecook-202602-11.png");
  animation-delay: calc(var(--hero-video-duration) + 8s);
}

.wrapper--hero .bg-final {
  z-index: 5;
  background-image: url("/wp-content/uploads/2026/10/mvImg-smilecook.png");
  animation-delay: calc(var(--hero-video-duration) + 12s);
}

.wrapper--hero .top--heading1 {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 1200px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

.wrapper--hero .ttl-main,
.wrapper--hero .ttl-sub {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--color-text_bk);
  background-color: #fff;
}

.wrapper--hero .ttl-main {
  font-size: var(--fontSize-hero);
  font-weight: var(--fontWeight-ex-bold);
  line-height: 1.5;
  letter-spacing: var(--letter-spacing_title);
 padding: 0.15em 0.4em;
}

.wrapper--hero .ttl-sub {
  font-size: var(--fontSize-hero_sub);
  font-weight: var(--fontWeight-bold);
  line-height: 1.7;
	padding: 0.15em 0.5em;
}

.section-service__img {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-70px) scale(1.04);
  animation: service-reveal 1.8s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wrapper--hero .ttl-main + .ttl-sub {
  margin-top: 2rem;
}

/* 1行ずつふわっと表示 */
.service--message .typing-line {
  display: block;
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.service--message.is-visible .typing-line {
  opacity: 1;
  transform: translateY(0);
}

.service--message.is-visible .typing-line:nth-child(1) {
  transition-delay: 0s;
}

.service--message.is-visible .typing-line:nth-child(2) {
  transition-delay: 0.4s;
}

.service--message.is-visible .typing-line:nth-child(3) {
  transition-delay: 0.8s;
}

/* 自立の可能性を全ての人へ */
.img__full {
  width: 65%;
  max-width: 800px;
	text-align:center;
}

.img__full img {
  width: 100%;
  height: auto;
	margin:0 auto;
  margin-bottom: var(--space-mb_imgFull)!important;
}

.home_service--head--textarea.message {
	display:flex;
}

.service--message {
	font-size:var(--service--message);
	font-weight:500;
	line-height:1.8;
	letter-spacing:0.1rem;
}

#our-service .service-light {
  display: block;
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  -webkit-filter: blur(45px);
  opacity: 0.45;
  animation: none;
}

#our-service {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
}

#our-service > :not(.service-light-bg) {
  position: relative;
  z-index: 2;
}

#our-service .service-light-bg {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#our-service .service-light {
  display: block;
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  -webkit-filter: blur(45px);
  opacity: 0;
  animation: serviceBloom 2s ease-out forwards;
}

#our-service .light-green {
  width: 430px;
  height: 430px;
  background: #edffce;
  top: 35%;
  right: 5%;
  animation-delay: .2s;
}

#our-service .light-yellow {
  width: 300px;
  height: 300px;
  background: #ffffa0;
  top: 35%;
  left: 5%;
  animation-delay: .7s;
}

#our-service .light-orange {
  width: 200px;
  height: 200px;
  background: #FFC391;
  bottom: 5%;
  left: 20%;
  animation-delay: 1s;
}

.number-list {
	position:relative;
}

.number-list::before {
  content: counter(number, decimal-leading-zero);
  position: absolute;
	left:4%;
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
	letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px;
}

.number-pink::before {
  content: "01";
  -webkit-text-stroke-color: #F4A6B8;
}

.number-green::before {
  content: "02";
  -webkit-text-stroke-color: #79d8b2;
}

.number-orange::before {
  content: "03";
  -webkit-text-stroke-color: #FCAE64;
}

.works-list__img img {
  display: block;
  width: 100%;
  height: auto;
	border-radius:10px;
}


/* 見出し */
/* .home_service--head--textarea .ttl-en {
  display: table;
  width: max-content;
  max-width: 100%;
} */



@media (prefers-reduced-motion: reduce) {
  .service--message .typing-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media screen and (max-width: 767px) {
  #our-service .light-green {
    width: 180px;
    height: 180px;
    right: -10px;
  }

  #our-service .light-yellow {
    width: 180px;
    height: 180px;
    right: -40px;
  }

  #our-service .light-orange {
    width: 170px;
    height: 170px;
    left: 20%;
  }

.service__message {
	font-weight: 500;
	font-size:var(--fontSize-read-text_em);
}
.works-list__child {
  position: relative;
  overflow: hidden;
}

.works-list__child::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: repeating-conic-gradient(#000 0% 50%, #fff 0% 70%);
  background-size: 3px 3px;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.works-list__img {
  position: relative; 
  z-index: 2; 
}

.works-list__text {
  position: relative;
  z-index: 2;
}
}

/* ========================================
   05. RESPONSIVE｜タブレット
======================================== */

@media screen and (max-width: 834px) {
.home_service--head--textarea {
  width: 90%;
  position: relative;
  z-index: 4;
padding:2rem 0 0 0!important;
}	
	
  .img__full {
    width: 90%;
    max-width: none;
  }
	
	.wrap--sp-col {
display:flex;
flex-direction:column;
}

/*   .wrapper--hero {
    height: 55vh;
    min-height: 360px;
  } */

  .wrapper--hero .top--heading1 {
    width: calc(100% - 64px);
  }
.home_service--head--textarea.message {
	display:block;
}
	
	ul.wolks--list-others {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   06. RESPONSIVE｜スマートフォン
======================================== */

@media screen and (max-width: 480px) {
.spbr {
	display:block;
}
	
.home_service--head--textarea {
  width: 90%;
  margin-inline: auto;
  margin-bottom:2rem;
}

.home_service--head--textarea .ttl-jp,
.home_service--head--textarea .ttl-en {
    text-align: center;
 }

  .wrapper--hero {
    height: 50vh;
    min-height: 340px;
  }

  .wrapper--hero .top--heading1 {
    width: calc(100% - 40px);
  }

  .wrapper--hero .ttl-main {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
  }

  .wrapper--hero .ttl-sub {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .wrapper--hero .ttl-main + .ttl-sub {
    margin-top: 16px;
  }
	
.home_service--head--textarea.message {
  padding-block:0;
	margin-bottom:0!important;
}
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes service-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-70px) scale(1.04);
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0) scale(1);
  }
}

@keyframes serviceBloom {
  from {
    opacity: 0;
    transform: translateY(50px) scale(.5);
  }
  to {
    opacity: .45;
    transform: translateY(0) scale(1);
  }
}
	
	
