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

/*===========================================================
  Jyoushyouji Rinpokan Hoikuenn Project Cocoon Child style.css

Breakpoints
    @media screen and (max-width:1054px) {
    @media screen and (max-width:1023px) {
    @media screen and (max-width:781px) {
    @media screen and (max-width:599px) {
    @media screen and (max-width:480px) {
    @media screen and (max-width:370px) {
    @media screen and (max-width:320px) {
    @media screen and (max-width:300px) {

History
    ryosukem 2022-09-10
===========================================================*/



:root {
    --font-family-sans-serif: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    --font-family-serif: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;

    --color-main-bg:     #f8f7f5;
    --color-main-txt:    #502300; /* #6a3906 */
    --color-main-txt-hidden: #808080;
    --color-txt-rotate0: #5997af;
    --color-txt-rotate1: #be545f;
    --color-txt-rotate2: #3f7254;
    --color-txt-rotate3: #d38d2d;

    --color-t-bg-alt1: #fff9df;
    --color-t-bg-alt2: #d9f8fc;

    --fontsize-main:       18px;
    --fsm:                 var(--fontsize-main);
    --fontsize-main-small: 14px;
    --lineheight-main-txt: 1.5;

    --spacer-height-unit: 32px;
    --sns-icon-margin-right: 12px; /* Used in Side bar and Footer (Title block) */
}
@media screen and (max-width:1054px) {
    :root {
        --spacer-height-unit: 28px;
    }
}
@media screen and (max-width:1023px) {
    :root {
        --sns-icon-margin-right: 20px;
    }
}
@media screen and (max-width:781px) {
}
@media screen and (max-width:599px) {
    :root {
        --spacer-height-unit: 24px;
    }
}
@media screen and (max-width:480px) {
    :root {
        --fontsize-main:       16px;
        --fontsize-main-small: 12px;

        --spacer-height-unit: 20px;
        --sns-icon-margin-right: 16px;
    }
}
@media screen and (max-width:370px) {
    :root {
        --spacer-height-unit: 16px;
        --sns-icon-margin-right: 6px;
    }
}
@media screen and (max-width:300px) {
    :root {
        --sns-icon-margin-right: 1px;
    }
}



/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* Reset margin, padding and line-height */

body {
    line-height: 1.5;
    line-height: var(--lineheight-main-txt);
}

.entry-content > * {
    line-height: 1.5;
    line-height: var(--lineheight-main-txt);
    margin-bottom: 0px;
}

#main {
    padding: 0px;
    border: none;
}

#content,
article.page.type-page,
.article > p,
div.entry-content.cf,
div.entry-content.cf > p,
div.wp-block-column > div.wp-block-cover.is-light {
    margin-top: 0px;
    margin-bottom: 0px;
}

.article > div.blog-more-bg > p,
.entry-content > div.blog-more-bg > p {
    margin-left: 8px;
    margin-right: 8px;
}

@media screen and (max-width:1054px) {
    .main,
    .sidebar,
    .sidebar-left .main,
    .sidebar-left .sidebar {
        margin: 0px 0px;
    }
}



/* Adjust margin and padding for screen sizes */

@media screen and (max-width:1054px) {
    /* Add horizontal margin/padding for relatively smaller screens */

    .article > p,
    .entry-content > p {
        margin-left: 8px;
        margin-right: 8px;
    }

    .section-header {
        padding-left: 8px;
        padding-right: 8px;
    }

    .blog-date {
        padding-left: 8px;
        padding-right: 8px;
    }
}





/* Hide unnecessary headers, footers and date tags */

article > header > h1,
article > header > div.date-tags,
article > footer,
#header-container-in,
#footer {
    display: none;
    color: #808080;
    color: var(--color-main-txt-hidden);
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    line-height: 1.5;
    line-height: var(--lineheight-main-txt);
    font-weight: bold;
    font-size: var(--fontsize-main);
    color: #808080;
    color: var(--color-main-txt-hidden);
}

.entry-title, .archive-title {
    margin: 0px 0px;
    line-height: 1.5;
    line-height: var(--lineheight-main-txt);
    font-size: var(--fontsize-main);
    color: #808080;
    color: var(--color-main-txt-hidden);
}

.article table,
.article table th,
.article table td {
    width: auto;
    font-size: var(--fontsize-main);
    padding: 1px;
    margin-bottom: 0px;
}

.article table td {
    vertical-align: top;
    padding-left: 8px;
    padding-right: 8px;
}

.article table:not(.has-border-color) :where(th, td) {
    border: none;
}



.header-logobg-div {
    width: 40%;
    aspect-ratio: 351/352;

    position: absolute;
    top: 0px;
    left: 0px;

    z-index: 2;
    background-color: #ffffff;

    mask-image: url("/wp-content/uploads/header-logo-bg-mask-351x352.webp");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}

.header-logo-container {
    position: relative;
    left: 7%;
    top: 3%;
    width: 66%;
}

.header-logo-logo-div {
    position: absolute;
    top: 10px;
    left: 30px;
    width: 32px;
    height: 32px;
    background-image: url("/wp-content/uploads/tmp-logo-128px.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-logo-vt-container {
    position: absolute;
    top: 30px;
    left: 20px;
    display: flex;
    flex-direction: row-reverse;
}

.header-logo-vt {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 30px;
    color: #888888;
    height: 100px;
}

.header-logo-vtsep {
    width: 1px;
    height: 100px;
    background-color: #cccccc;
}




.header-contact-menu-container {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1;
    display: flex;
    flex-direction: row;
    vertical-align: middle;
}

.header-contact-btn {
    width: 104px;
    aspect-ratio: 104/37;
    background-image: url("/wp-content/uploads/tmp-contact-btnbg2-mask.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-hamburger-menu {
    width: 40px;
    aspect-ratio: 25/22;
    background-color: #ffffff;

    mask-image: url("/wp-content/uploads/tmp-hamburgerbg-mask.png");
    mask-mode: alpha;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.header-img {
    width: 100%;
    aspect-ratio: 621/377;

    background-image: url("/wp-content/uploads/tmp-header.jpg");    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    mask-image: url("/wp-content/uploads/tmp-header-mask.png");
    mask-mode: alpha;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.header-tagline {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 50%;
    padding-bottom: 20px;
    padding-left: 20px;
    font-size: 30px;
    text-shadow: 1px 1px 2px #000000;
    color: #ffffff;
}



.footer-container-outer {
    width: 100%;
}

.footer-art {
    width: 100%;
    aspect-ratio: 333/90;
    background-image: url("/wp-content/uploads/tmp-footer-art.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-container-inner {
    display: flex;
    flex-direction: row;
    background-color: #ff8631;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-content {
    flex: 1 0 auto;
}




.top-menu-container {
    width: 100%;
    aspect-ratio: 618/200;
}

.top-menu-title {
    position: absolute;
    width: 100%;
    aspect-ratio: 122/14;
    background-image: url("/wp-content/uploads/tmp-top-menu-title.png");
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: center;
}

.top-menu-img {
    margin-top: 50px;
    position: absolute;
    aspect-ratio: 618/156;
    width: 100%;
    background-image: url("/wp-content/uploads/tmp-top-menu.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.top-menu-click-container {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    /* background-color:rgba(255,255,0,0.2); */

    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1.05fr;
    grid-template-rows: 1fr;
}

.top-menu-click-box {
    width:auto;
    margin-left: 8px;
    margin-right: 8px;

    margin-top:70%;
    height:50%;
    /* background-color:rgba(0,0,255,0.2); */
}

.top-menu-click-box a {
    display: block;
    width: 100%;
    height: 100%;
    /* background-color:rgba(0,255,0,0.2); */
}



/*
    $html =  '<div class="top-news-recruit-container">';
    $html .= '<div class="top-news-container-outer">';
    $html .= '<div class="top-news-container-inner">';
    $html .= '<div class="top-news-text">';
    $html .= '<div class="top-news-line">';
    $html .= '<div class="top-recruit-container">';
    $html .= '<div class="top-recruit-line">';
*/

.top-news-recruit-container {
    width: 100%;
    display: grid;
    grid-template-columns: 6fr 4fr;
    grid-template-rows: 1fr;
}

.top-news-container-outer {
    position: relative;
    width: 100%;
}

.top-news-container-inner {
    position: absolute;
    top: 0;
    height: 0;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

.top-news-text {
    width: 40%;
    padding-left: 4%;
}

.top-news-line {
    position: relative;
    width: 100%;
}

.top-news-linetext {
    position: absolute;
    top: 3px; /* for text baseline */
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 10px;
    /* border: 2px solid black; */

    display: flex;
    align-items: center; /* vertically center */
}

.top-recruit-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto 1fr;
}

.top-recruit-line {
    position: relative;
    width: 100%;
}

.top-recruit-linetext {
    position: absolute;
    top: 3px; /* adjust for text baseline */
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    /* border: 2px solid black; */

    padding-left: 28%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    align-items: flex-start;
    font-size: 160%;
}





.top-message-container {
    margin-top: 50px;
    width: 100%;
    position: relative;
}

.top-message-bg-top {
    width: 100%;
    aspect-ratio: 800/64;
    background-color: #fff9df;

    mask-image: url("/wp-content/uploads/top-message-bgmask-top-800x64.webp");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}

.top-message-bg-top-art {
    z-index: 1;
    position: absolute;
    top: -40px;

    width: 100%;
}

.top-message-title {
    width: 100%;
    background-color: #fff9df;
    padding-left: 30%;
    padding-right: 30%;
}

.top-message-content {
    width: 100%;
    background-color: #fff9df;
}

.top-message-bg-bottom {
    width: 100%;
    background-color: #fff9df;

    aspect-ratio: 800/20;
    mask-image: url("/wp-content/uploads/top-message-bgmask-bottom-800x20.webp");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}



.top-philosophy-container {
    width: 100%;
    margin-top: 40px;
}
.top-philosophy-title {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.top-philosophy-container-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
}
.top-philosophy-text1 {
    grid-column: 1 / span 2;
    grid-row: 1;
}
.top-philosophy-photo {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 640/573;
}
.top-philosophy-photo-mask {
    aspect-ratio: 640/573;
    mask-image: url("/wp-content/uploads/top-photo2-mask-640x573.webp");
    mask-mode: alpha;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.top-philosophy-text2 {
    grid-column: 2;
    grid-row: 2;
}




.top-activities-container {
    width: 100%;
    position: relative;
}

.top-activities-bg-top {
    width: 100%;
    aspect-ratio: 333/15;
    background-color: #fff9df;

    mask-image: url("/wp-content/uploads/tmp-section-top-mask.png");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}

.top-activities-bg-content {
    width: 100%;
    background-color: #fff9df;
}

.top-activities-bg-bottom {
    width: 100%;
    aspect-ratio: 333/12;
    background-color: #fff9df;

    mask-image: url("/wp-content/uploads/tmp-section-bottom-mask.png");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}


.top-access-container {
    width: 100%;
    position: relative;
}

.top-access-bg-top {
    width: 100%;
    aspect-ratio: 333/15;
    background-color: #fff9df;

    mask-image: url("/wp-content/uploads/tmp-section-top-mask.png");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}

.top-access-bg-content {
    width: 100%;
    background-color: #fff9df;
}

.top-access-bg-bottom {
    width: 100%;
    background-color: #fff9df;

    aspect-ratio: 333/12;
    mask-image: url("/wp-content/uploads/tmp-section-bottom-mask.png");
    mask-mode: alpha;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}



/* alt bg fff9df */

/* footer bg ff8631 */




.t-header-container {
    width: 100%;
    margin-bottom: 16px;
}

.t-navmenubar-horz {
    display: block;
}

@media screen and (max-width:599px) {
    .t-navmenubar-horz {
        display: none;
    }
}

.t-header-content-outer {
    width: 100%;
    position: relative;
}

.t-header-img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) brightness(150%);
    opacity: 0.4;
}

.t-header-content {
    width: 100%;

    padding-top: 32px;
    padding-bottom: 32px;
    /* background-color: #eeeeee; */

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

    font-size: 32px;
    font-weight: bold;
}


.t-hamburger-btn {
  position: fixed;
  top: 2px;
  right: 2px;
  z-index: 1;
  width: 28px;
  height: 28px;
  padding: 0;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  cursor: pointer;

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



.t-nav-menu {
  margin: 0;
  inset: auto;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 240px;
  padding: 3px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    display 0.25s allow-discrete,
    overlay 0.25s allow-discrete;
}

.mobile-nav-menu {
  margin: 0;
  inset: auto;
  position: fixed;
  top: 0px;
  right: 0px;
  width: 240px;
  padding: 0px;
  background-color: transparent;
  border: none;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */

  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    display 0.25s allow-discrete,
    overlay 0.25s allow-discrete;
}

.t-nav-menu:popover-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-menu:popover-open {
  opacity: 1;
  transform: translateY(0);
}

@starting-style {
  .t-nav-menu:popover-open {
    opacity: 0;
    transform: translateY(-8px);
  }
  .mobile-nav-menu:popover-open {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.t-nav-menu::backdrop {
  background-color: rgba(0, 0, 0, 0.2);
}

.mobile-nav-menu::backdrop {
  background-color: rgba(0, 0, 0, 0.3);
}

.t-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu ul {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 0;
    margin-right: 10px;
    margin-left: 0;
    padding: 0;
    /* text-align: right; */
}

.t-nav-menu li + li {
    margin-top: 1px;
}

.mobile-nav-menu li + li {
    margin-top: 0px;
}

.t-nav-menu a {
    display: block;
    padding: 2px 2px;
    color: #1e293b;
    text-decoration: none;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.mobile-nav-menu a {
    display: block;
    padding: 0;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.t-nav-menu a:hover {
    background-color: #f1f5f9;
}

.mobile-nav-menu a:hover {
    font-weight: bold;
  /* background-color: #f1f5f9; */
}






.t-footer-container {
    width: 100%;
    background-color: #ff8631;
    color: white;

    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-footer-content {
    width: 100%;
    margin-bottom: 12px;
}


.t-content-bg-alt1 {
    background-color: var(--color-t-bg-alt1);
    padding: 8px;
}

.t-content-bg-alt2 {
    background-color: var(--color-t-bg-alt2);
    padding: 8px;
}


.t-section-header-small {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: bold;
}

.t-section-header-regular {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 26px;
    font-weight: bold;
}





.t-top-message-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-top-message-content {
    width: 100%;
}



.t-top-activities-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-top-activities-content {
    width: 100%;
}



.t-top-about-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-top-about-content {
    width: 100%;
}



.t-top-news-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-top-news-content {
    width: 100%;
}



.t-philosophy-goals-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-philosophy-goals-content {
    width: 100%;
}

.t-philosophy-overview-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-philosophy-overview-content {
    width: 100%;
}

.t-philosophy-details-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-philosophy-details-content {
    width: 100%;
}



.t-activities-daily-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-activities-daily-content {
    width: 100%;
}

.t-activities-annually-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-activities-annually-content {
    width: 100%;
}

.t-activities-others-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-activities-others-content {
    width: 100%;
    background-color: var(--color-t-bg-alt2);
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-activities-faq-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-activities-faq-content {
    width: 100%;
}



.t-about-message-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-about-message-content {
    width: 100%;
}

.t-about-overview-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-about-overview-content {
    width: 100%;
}

.t-about-access-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-about-access-content {
    width: 100%;
}

.t-about-access-map-outer {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.t-about-access-map {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
}

.t-about-recruit-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-about-recruit-content {
    width: 100%;
}

.t-about-recruit-details-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-about-recruit-details-content {
    width: 100%;
}



.t-contact-overview-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-contact-overview-content {
    width: 100%;
}

.t-contact-privacy-policy-container {
    width: 100%;
    padding-top: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.t-contact-privacy-policy-content {
    width: auto;
    margin-left: 8px;
    border: 1px solid #cccccc;
    padding: 2px;
}


