@charset "utf-8";

/* ========================================
  VARIABLES
======================================== */
:root{
    --white: #FFFFFF;
    --black: #333A3A;
    --lightGray: #e2e2e2;
    --gray: #c5c5c5;
    --darkGray: #717171;
    --bg_gray: #f2f2f2;
    --bg_lightGray: #F5F5F5;
    --almond: #ffebcd;
    --darkAlmond: #e46d5a;
    --semiDarkAlmond: #fb7864;
    --lightAlmond: rgb(255, 189, 179);
    --textAlmond: #a65e53;
    --linkAlmond: #bb8b83;
    --linkBlue: #6cb7b5;
    --container-max: 1240px;
    }

/* ========================================
  GENERAL STYLING
======================================== */
html {
    font-size: 62.5%;
    height: 100%;
}
body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    font-size: 1.6rem;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}
a {
    color: var(--black);
}
a:hover {
    opacity: .5;
}
img,
picture {
    max-width: 100%;
    height: auto;
}
body > footer {
    position: sticky;
    top: 100vh;
}

/* ========================================
  WRAPPER / HEADER
======================================== */
.container {
    width: 100%;
    min-width: 375px;
}
.wrapper-base {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 2rem;
}
.wrapper-extra {
    width: 100%;
}

.header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    min-width: 365px;
    margin: 0 auto;
    padding: 0 2rem;
}
.header h1 {
    padding: 1rem 0;
    font-family: "Cormorant Upright", serif;
    font-weight: 400;
    font-size: 3.6rem;
    letter-spacing: .8rem;
}
.breadCrumb {
    display: flex;
    flex-wrap: wrap;
    max-width:1024px;
    margin: 0 auto;
    padding: 0 2rem 1rem;
    font-size: 1.2rem;
    color: var(--darkGray);
}

.breadCrumb > li:not(:last-of-type)::after {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    margin-left: 0.5em;
}
.page-title {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
    margin-top: 1.6rem;
}
/* ========================================
  MENU
======================================== */
/* PC MENU */
.header-menu-list {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}
.coming-soon {
    color: var(--gray);
}
.coming-soon span {
    font-size: 1.2rem;
}
.coming-soon,
.header-menu-list li a {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 2px;
}
.header-menu-list li a span {
    color: var(--darkGray);
    font-size: 1.2rem;
}
/* HUMBURGER */
.hamburger {
    position: absolute;
    display: inline-block;
    z-index: 501;
    width: 28px;
    height: 16px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .25s ease, opacity .25s ease, top .25s ease, bottom .25s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* 開くボタン */
.header{
    position: relative;
}
#menu-open {
    top: 2.7rem;
    right: 2rem;
}

/* MOBILE */
#menu-panel {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    height: 100vh;
    padding: 2rem 2rem 2rem 3rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: linear-gradient(321deg, rgba(255,204,196,1) 30%, rgba(255,235,205,1) 54%);
    transition: opacity .8s ease, visibility .8s ease;
}
#menu-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 閉じるボタン */
#menu-close {
    position: absolute;
    top: 2.7rem;
    right: 2rem;
}

/* MOBILR MENU）*/
.mob-menu-list {
    list-style: none;
    margin: 5rem 0 0;
    padding: 0;
    line-height: 1.7;
    letter-spacing: 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    }
.mob-menu-links {
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.5rem;
    font-family: "Cormorant Upright", serif;
}

@media (max-width: 834px){
    #menu-open {
        display: inline-block;
  }
    .header-menu-list{
        display: none;
  }
    body.menu-open{ overflow: hidden;
    }
}

@media (min-width: 835px){
     #menu-panel{
         display: none !important;
        }
    #menu-open{
        display: none;
    }
}

/* ========================================
  FOOTER
======================================== */
footer {
    width: 100%;
    padding-bottom: 1rem;
    background-color: var(--almond);
    color: var(--darkGray);
}
footer a {
    color: var(--darkGray);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.footer-links-wrapper {
    display: flex;
    flex-direction: column;
}
.footer-links {
    display: flex;
    gap: 1rem;
}
.footer-links h2 {
    font-family: "Cormorant Upright", serif;
    font-size: 2rem;
    letter-spacing: .5rem;
}
.footer-nav {
    width:70%;
    font-size: 1.4rem;
}
.footer-nav-links{
    display: flex;
    justify-content: space-between;
}
.footer-nav-linksli {
    flex: 1 0 auto;
}
.icon {
    width:22px;
}

/* ページトップ */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 10px;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,160,125,.28);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: .6rem;
  transition: all .3s;
}
.page-top span::before {
  content: '';
  position: absolute;
  left: 45%;
  top: 25%;
  background: var(--semiDarkAlmond);
  width: 1px;
  height: 30px;
}
.page-top span::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 20%;
  background: var(--semiDarkAlmond);
  width: 1px;
  height: 20px;
  transform: rotate(-45deg);
}
.page-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ========================================
  TITLES / SPACING / BR / DECORATION
======================================== */
/* HOME TITLE */
.ttl-en {
    max-width: 1024px;
    margin: 0 auto 30px;
    display: flex;
    align-items: baseline;
    gap: 30px;
    font-family: "Cormorant Upright", serif;
    font-weight: 400;
    font-size: 4.8rem;
}
.ttl-en span {
    font-size:1.4rem;
}
.ttl-jp {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0 0 2rem;
}
.sub-ttl-en {
    font-size: 1.5rem;
    font-family: "Cormorant Upright", serif;
    white-space: nowrap;
}
/* PAGE TITLE */
.ttl-frame-journal,
.ttl-frame-guide,
.ttl-frame-page404,
.ttl-frame-privacy {
    display: inline-block;
	position: relative;
	border-bottom: solid 1px;
	border-image: linear-gradient(90deg, #474747 0%, #474747 45%, transparent 45%, transparent 50%, transparent 55%, #474747 55%, #474747 100%) 1;
}
.ttl-frame-journal h2,
.ttl-frame-guide h2,
.ttl-frame-page404 h2,
.ttl-frame-privacy h2 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
    font-family: "Cormorant Upright", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    line-height: 1.2;
}
.ttl-frame-journal h2 span,
.ttl-frame-guide h2 span,
.ttl-frame-page404 h2 span,
.ttl-frame-privacy h2 span {
    font-size: 1.3rem;
}
.ttl-frame-journal::after,
.ttl-frame-guide::after,
.ttl-frame-page404::after,
.ttl-frame-privacy::after {
    content: '';
	position: absolute;
	top: 33px;
	width: 0;
	height: 25px;
	border-left:solid 1px #474747;
	transform: rotate(-44deg);
}
.ttl-frame-journal::after {
	left: 94px;
}
.ttl-frame-guide::after {
	left: 144px;
}
.ttl-frame-page404::after {
	left: 152px;
}
.ttl-frame-privacy::after {
	left: 172px;
}

/* TEXT */
.tex_ct {
    text-align: center;
 }
.justify {
    text-align: justify;
    word-break: break-all;
    text-justify: inter-ideograph;
    text-justify: inter-character;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
 .fs14 {
    font-size: 1.4rem;
 }

/* SPACING */
.mg-bot-a {
    margin-bottom: 15rem;
}
.mg-bot-b {
    margin-bottom: 25rem;
}
.mg-bot-c {
    margin-bottom: 2em;
}
.mg-bot-e {
    margin-bottom: 2rem;
}
@media (max-width:768px) {
    .mg-bot-a {
    margin-bottom: 6rem;
}
    .mg-bot-b {
        margin-bottom: 10rem;
    }
}
/* Br */
.br-cl-mob {
    display: block;
}
.br-tab {
    display: none;
}
.br-mob {
    display: none;
}
@media (max-width:1024px) {
    .br-tab {
        display: block;
    }
}

@media (max-width:768px) {
    .br-cl-mob {
        display: none;
    }
}
@media (max-width:375px) {
    .br-mob {
        display: block;
    }
}
/* 背景関連 */
.bg-white {
    background-color: var(--white);
}
.bg-almond {
    background-color: var(--almond);
}
.bg-bycolor-amd {
    background: linear-gradient(45deg, rgb(255, 204, 196) 30%, rgba(255,235,205,1) 54%); }
.bg-blur {
    text-shadow: 2px 3px 3px rgba(255,204,196,1);
}
/* Marker */
.marker {
    background-image: linear-gradient(90deg, #ffebcd, #ffebcd);
    background-repeat: no-repeat;
    background-position: 0 85%;
    background-size: 100% 6px;
}
/* ========================================
  READ MORE / MORE LINK
======================================== */
.readmore a,
.showmore a {
  float: right;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60px;
  color: var(--darkAlmond);
  font-size: 1.2rem;
}
.readmore span,
.showmore span {
    display: block;
    padding: 3px 0;
    z-index: 103;
}
.readmore a::before,
.showmore a::before {
    content: '';
    transform: rotate(45deg);
    margin-right: 10px;
    width: 8px;
    height: 8px;
    z-index: 102;
    border-top: 1px solid var(--semiDarkAlmond);
    border-right: 1px solid var(--semiDarkAlmond);
}
.readmore a::after,
.showmore a::after {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    z-index: 101;
    border-radius: 50%;
    background-color: rgba(255, 189, 179, 0.28);
    opacity: 28;
}
 .readmore a::after {
    right: 50px;
}
 .showmore a::after {
    right: 74px;
}

/* ========================================
  TOP PAGE（index.html）
======================================== */
.topHeader {
    position: relative;
    z-index: 0;
    width: 100%;
    min-width: 375px;
}
.topHeader-visual {
    display:flex;
    justify-content:space-between;
    margin:0 auto;
}
.topHeader-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -68%);
    z-index: 10;
    text-align: center;
    white-space: nowrap;
    padding: 2rem;
}
.topHeader-msg {
    width: 100%;
    top: 13rem;
    z-index: 01;
    font-family: "Yu Mincho","YuMincho",serif;
    font-size: clamp(2rem, 3vw, 3rem);
    text-shadow: 0 0 18px rgb(255 255 255);
}
.topHeader-msg span {
    display: block;
    font-family: "Cormorant Upright", serif;
    font-size: clamp(4rem, 5vw, 6rem);
    letter-spacing: 1rem;
    margin-bottom: 0.3em;
}
.topHeader-title {
   width: 100%;
   font-family: "Yu Mincho","YuMincho",serif;
   font-size: clamp(2rem, 3vw, 4rem);
   letter-spacing: .7rem;
   text-shadow: 0 0 18px rgb(255 255 255);
}
.topHeader-title span {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 1.7rem;
}
.topHeader-text {
    width: fit-content;
    margin: 0 auto;
    color: #000;
    font-family: "Yu Mincho","YuMincho",serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    letter-spacing: .7rem;
    text-shadow: 0 0 18px rgb(255 255 255);
}
.message {
    font-size: max(2vw,2rem);
    /* font-family: "Yu Mincho","YuMincho",serif; */
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 3em auto;

}
/*swiper ----------------------------------------*/
.swiper{
  padding-inline: 24px;
  overflow: visible;
  position: relative;
  z-index: 1;
  margin-bottom: 7em;
}
.swiper-wrapper {
    align-items: center;
}
.swiper-slide {
  width: 300px;

  overflow: hidden;
}
.swiper-slide img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: cover;
}
.swiper{ overflow: hidden; }
.swiper-wrapper{ align-items: center; }
.swiper-slide{ border-radius: 10px; overflow: hidden; }
.swiper-slide img{ width:100%; height:auto; display:block; object-fit:cover; }
#intro {
    position: relative;
}
#intro::before {
    position: absolute;
    content: '';
    border-top: 1px solid transparent;
    background: linear-gradient(0deg, rgba(255,204,196,1) 30%, rgba(255,235,205,1) 54%);
    width: 100%;
    height: 2px;
    top: -4px;
}
#intro::after {
    position: absolute;
    content: '';
    border-top: 1px solid transparent;
    background: linear-gradient(45deg, rgba(255,204,196,1) 30%, rgba(255,235,205,1) 54%);
    width: 100%;
    height: 2px;
    bottom: -4px;
    }
.lead {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 5rem;
    width: 90%;
    margin: 0 auto 100px;
    padding: 150px 0;
    color:var(--black);
}
.lead li {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: 2.4rem;
}
.lead h2 {
    font-size: 3.4rem;
    text-align: center;
}
.lead img {
    border-radius: 25% 0 0;
}
.products {
    width: 100%;
    margin: 0 auto 3rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(316px,1fr)); grid-template-rows: auto;
}
.products_item a {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--lightGray);
}
.products_category {
    padding: 0.5rem 1rem 1rem;
    text-align: center;
}
.products_item-name {
    padding-left: 1rem;
    font-weight: bold;
}
.products_item-price {
    padding-left: 1rem;
    padding-bottom: 1rem;
}
.feature {
    width: 100%;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: repeat(3, 1f);
}
.feature_item_a {
    grid-row: span 2 / span 2;
}
.feature_item_b {
    grid-column-start: 2;
    grid-row-start: 1;
}
.feature_item_c {
    grid-column-start: 1;
    grid-row-start: 3;
}
.feature_item_d {
    grid-row: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 2;
}
.home-journal-list {
    width: 100%;
    margin-bottom: 1em;
    padding-left: 0.8em;
    position: relative;
    border-bottom: solid 1px var(--darkGray);
}
.home-journal-list::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -6px;
    right: 0;
    background-color: var(--darkGray);
    border-radius: 45%;
    border: solid 2px var(--white);
}
.home-journal-list > li {
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px dotted var(--lightGray);
}
.home-journal-list > li:last-of-type {
    border-bottom: none;
}
.home-journal-list li a {
    display: flex;
    gap: 1em;
}
.home-journal-day {
    display: flex;
    gap: 1em;
    font-size: 1.4rem;
}
.insta_item {
    width: 100%;
    margin: 0 auto 150px;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); grid-auto-rows: 1fr;
}
.insta_item li {
    width: 100%;
    object-fit: cover;
}
/* ========================================
  JOURNAL
======================================== */
.cat-list {
    display: flex;
    gap: 0.5em;
    align-items: center;
}
.cat-list li {
    background-color: var(--bg_lightGray);
    padding: 0.3em;
    line-height: 1;
    border-radius: 5px;
    color: var(--darkGray);
    font-size: 1.4rem;
    line-height: 1;
}
.journal-post  {
    width: 65%;
    position: relative;
}
.journal-post h3 {
    position: relative;
    line-height: 1.4;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 1px;
    padding-left: .8em;
    padding-bottom: .6em;
    margin-bottom: .6em;
    border-bottom: solid 1px var(--darkGray);
}
.journal-post h3::after,
#Journal aside h3::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--darkGray);
    border-radius: 45%;
    border: solid 2px var(--white);
}
.journal-post h3::after {
    bottom: -5px;
    left: 0;
}
#Journal aside h3::after {
    bottom: -5px;
    left: 0;
}
.journal-content  {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
/* Journal Top */
.journal-list {
    width: 100%;
    margin-bottom: 1em;
    padding-left: 0.8em;
    position: relative;
    border-bottom: solid 1px var(--darkGray);
}
.journal-list::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -6px;
    right: 0;
    background-color: var(--darkGray);
    border-radius: 45%;
    border: solid 2px var(--white);
}
.journal-list > li {
    display: block;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px dotted var(--lightGray);
}
.journal-list > li:last-of-type {
    border-bottom: none;
}
.journal-list-day {
    width: 100%;
    display: flex;
    gap: 1em;
    font-size: 1.4rem;
}
.journal-title {
    width: 100%;
}
/* Journal single  */
.post-date {
    display: flex;
    gap: 1em;
    font-size: 1.3rem;
    padding-left: 0.8em;
    margin-bottom: 1em;
}
.post-text {
    position: relative;
    padding-left: 0.5em;
    padding-bottom: 1em;
    margin-bottom: 1.5em;
    border-bottom: solid 1px var(--darkGray);
}
.post-text::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -5px;
    right: 0;
    background-color: var(--darkGray);
    border-radius: 45%;
    border: solid 2px var(--white);
}
.journal-content aside {
    font-size: 1.3rem;
    width: 20%;
}
#Journal aside h3 {
    position: relative;
    font-weight: 600;
    letter-spacing: 2px;
    padding-left: 0.8em;
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--black);
}
.aside_list {
    margin-bottom: 3rem;
    padding-left: 0.8em;
}
.aside_list li {
    overflow: hidden;
}
/* page nation */
.wp-pagenavi {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
}
.wp-pagenavi span.current,
.wp-pagenavi a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    font-weight: 600;
    transition: 0.3s ease-in;
    color: var(--darkAlmond);
}
.wp-pagenavi span.current {
    background: linear-gradient(335deg, rgba(255, 204, 196, 1) 11%, rgba(255, 235, 205, 1) 54%);
}
.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 5em;
}
.page-nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 2em;
}
.page-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--darkAlmond);
}
.chevron {
    width: 1em;
    height: 1em;
}
/* post-text内
======================================== */
.post-text a:link {
    color: var(--semiDarkAlmond);
}
.post-text p{
    margin-bottom: 1em;
}
.post-text ul {
    list-style: disc;
    margin-left: 1.5em;
    margin-bottom: 1em;
}
.post-inline {
    display: flex;
    gap: 0.5em;
    width: 48%;
    margin-bottom: 1em;
}
.flt-lt {
    width: 50%;
    float: left;
    padding: 0.3em 1em 0 0;
}
.post-inner-title {
    font-size: 1.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1.5em;
    margin-bottom: .8em;
}

@media (max-width: 420px){
    .post-inline {
        flex-direction: column;
        width: 100%;
    }
}


/* ========================================
  ABOUT PAGE（about.html）
======================================== */
.innerPage-header {
    width: 100%;
    position: relative;
    z-index: 1;
}
.innerPage-visual {
    display: flex;
    justify-content: space-between;
    gap: 20%;
    margin: 0 auto;
}
.innerPage-visual li {
    width: 100%;
}
.innerPage-visual li img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.innerPage-msg {
    width: 100%;
    position: absolute;
    top: 13rem;
    z-index: 101;
    font-family: "Yu Mincho","YuMincho",serif;
    font-size: max(2.2vw,2rem);
    letter-spacing: .25rem;
    text-align: center;
    text-shadow: 0 0 18px rgb(255 255 255);
}
.innerPage-msg span {
    font-size: max(1.6vw,1rem);
    letter-spacing: .7rem;
}
.innerPage-title {
    width: 100%;
    position: absolute;
    top: 19rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 102;
    font-family: Cormorant Upright;
    font-size: max(4vw,4rem);
    line-height:1;
    color: #000;
    letter-spacing: .7rem;
    text-align: center;
    text-shadow: 0 0 18px rgb(255 255 255);
    background-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(3px);
}
.innerPage-title span {
        font-family: "Yu Mincho","YuMincho",serif;
        font-size: 3.2rem;
        padding-left: 0.2em;
}
.about_main,
.lesson_main {
    position: relative;
    isolation: isolate;
    --container-w: min(100vw, var(--container-max));
    --container-half: calc(var(--container-w) / 2);
    margin-top: 50px;
    padding-top: 16em;
    background-position: center 0%;
    background-repeat: no-repeat, no-repeat;
    background-size: min(160vw, 1938px);
    overflow-x: clip;
}
.about_main {
    background-image: url('./img/sidebyside_a.webp');
}
.lesson_main {
    background-image: url('./img/sidebyside_g.webp');
}
#concept h2 {
    width: fit-content;
    margin: 0 auto 1.5em;
    padding-top: 2em;
    text-align: center;
    font-size: 3.4rem;
    line-height: 1.2;
    letter-spacing: .2rem;
}
.concept-txt {
    width: fit-content;
    margin: 0 auto 10em auto;

}
.lesson-txt h2 {
    margin-bottom: 1.5em;
    font-size: 3.4rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: .2rem;
}
.concept-txt p {
    margin-top: 2rem;
}
.description {
    display: flex;
    gap: 5rem;
    border-radius: 20px;
    padding: 0 5rem 0;
    margin-bottom: 12em;
}
.description li {
    width: 50%;
    line-height: 2;
}
.description img {
    border-radius: 20px;
}
.description h3 {
    font-weight: 600;
    font-size: 2.0rem;
    line-height: 1.5;
    margin-bottom: 1em;
}
.description p {
    margin-bottom: 1em;
}
.prof {
    width: 100%;
    margin: 0 auto;
    padding: 5em 0;
}

.prof h2 {
    width: fit-content;
    margin-bottom: 4rem;
    font-size: 3.4rem;
    text-align: center;
    white-space: nowrap;
}
.prof h3 {
    position: relative;
    width: calc(100% - 250px - 1em);
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    font-weight: 600;
    border-bottom: solid 1px var(--darkGray);
    position: relative;
}
.prof h3::before {
    position: absolute;
    content: '';
     width: 10px;
    height: 10px;
    top: 43px;
    left: 0;
    background-color: var(--darkGray);
    border-radius: 45%;
    border: solid 2px #ffccc4;
}
.prof h3 span {
    display: block;
    line-height: 1;
}
.prof p {
    margin-bottom: 2rem;
}
.prof img {
    float: right;
    width:250px;
    border-radius: 0 25% 0 0;
    padding: 0 0 1em 1em;
}
#onlineshop{
    margin-top: 5em;
}
/* ========================================
  LESSON
======================================== */
.lesson-list {
    list-style: disc;
}
.lesson-list li {
    width: 100%;
    margin-left: 1em;
}
.lesson-txt {
    width: fit-content;
    height: 24em;
    margin: 0 auto;
    padding: 4em 5em 0;
}
.lesson-txt p {
    margin: 2rem auto 0;
    text-align: center;
}
.books_a {
    width: 60%;
    height: auto;
}
/* ========================================
  GUIDE
======================================== */
.guide-bg {
    position: relative;
    isolation: isolate;
    --container-w: min(100vw, var(--container-max));
    --container-half: calc(var(--container-w) / 2);
    background-image: url('./img/sidebyside_h.webp');
    background-position: center 6%;
    background-repeat: no-repeat, no-repeat;
    background-size: min(160vw, 1457px);
    overflow-x: clip;
}
.guide-nav {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    gap: 2rem;
    margin: 5rem auto 26rem;
    padding: 1rem;
}
.guide-nav h3 {
    font-weight: 500;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--darkGray);
}
.guide-nav-menu li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.guide-nav-menu li::before{
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0.8rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    width: 0.5em;
    height: 0.5em;
    border: 0.1em solid var(--darkGray);
    border-left: 0;
    border-bottom: 0;
    transform: translateY(-25%) rotate(135deg);
}
#Guide section {
    margin-bottom: 3em;
}
.guide-contents {
    line-height: 1.8;
}
.guide-contents h2 {
    position: relative;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    padding-bottom: 0.25rem;
}
.guide-contents h2::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-image: repeating-linear-gradient(-45deg, #aaa 0, #aaa 1px, transparent 0, transparent 50%);
    background-size: 3px 3px;
}
.guide-contents p {
    margin-bottom: 1em;
}
.guide-contents dl {
    margin-bottom: 1em;
}
.guide-contents dt {
    font-size: 1.8rem;
    font-weight: 600;
}
.guide-contents dd {
    margin-bottom: 2em;
}
.guide-contents ul,
.guide-contents ol {
    margin-left: 2.2rem;
    margin-bottom: 2em;
}
.guide-contents ul {
    list-style: disc;
}
.guide-contents ol {
    list-style: decimal;
}

/* ========================================
  PAGE404 / PRIVACY
======================================== */
.page404,
.privacy {
    max-width: 768px;
    margin: 0 auto 3em;
    padding: 0 1em;
}
.page404 p,
.privacy p {
    margin-bottom: 2em;
}
.privacy h3,
.privacy h4 {
    font-size: 1.8rem;
    font-weight: 600;
}


/* ========================================
  RESPONSIVE
======================================== */
@media (max-width:1024px) {
    .topHeader-msg,
    .topHeader-title {
        color: #000;
    }
    .about_main {
        padding-top: 14em;
    }
}

@media (max-width:834px){
    .about_main {
        padding-top: 11em;
    }
    .concept-txt {
        margin-bottom: 7em;
    }

/*
Footer
================================================ */
    .footer-inner {
        justify-content: space-between;
        align-items: flex-end;
    }
    .footer-nav {
        width:auto;
    }
    .footer-nav-links{
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-right: 5rem;
        font-size: 1.2rem;
    }
/*
Top
================================================ */
    .topHeader-text {
        letter-spacing: .35rem;
        background-color: rgba(255, 255, 255, 0.28);
        backdrop-filter: blur(12px);
    }
/*
Top Journal
================================================ */
    .home-journal-list li a{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25em;
    }
    .home-journal--day,
    .journal-title {
        width: 100%;
    }
/*
Lesson
================================================ */
    .lesson-txt {
        height: 21em;
        padding: 0 5em 0;
    }
}

@media (max-width:768px){
/*
Top
================================================ */
    .topHeader-msg,
    .topHeader-title,
    .topHeader-text{
        text-shadow: 0 0 5px rgb(255 255 255);
    }
    .lead {
        flex-direction: column-reverse;
        align-items: center;
    }
    .lead li {
        width: 85%;
    }
    .lead h2 {
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }
    .ttl-en {
        flex-direction: column;
        align-items: center;
        line-height: 1;
        gap: 0;
        text-align: center;
    }
    .ttl-en span {
        margin-top: 1rem;
        padding-left: 1rem;
    }

/*
About
================================================ */
  /* flex */
    .flex_clm {
        flex-direction: column;
    }
    .flex_rv {
        flex-direction: column-reverse;
    }
    .ttl-jp {
        padding-left: 0;
        font-size: 2.2rem;
    }
    .about_main {
         padding-top: 10em;
    }
    #concept h2 {
        padding-top: 3em;
        font-size: 2.6rem;
    }
    .description {
        align-items: center;
        margin-bottom: 9rem;
    }
    .description li {
        width: 90%;
    }
    .description p {
        padding: 0;
    }
    .prof h2 {
        font-size: 3rem;
    }
    .prof h3 {
        width: calc(100% - 210px - 1em);
    }
    .prof img {
        width: 210px;
    }

/*
Journal
================================================ */
    .journal-content {
        flex-direction: column;
        gap: 5rem;
    }
    .journal-post {
        width: 100%;
    }
    .journal-content aside {
        width: 100%;
    }
/*
Lesson
================================================ */
    .innerPage-msg {
        color: #000;
    }
    .innerPage-title {
        text-shadow: 0 0 5px rgb(255 255 255);
    }
    .lesson-txt p {
        text-align: left;
    }

/*
Guide
================================================ */
    .guide-bg {
        background-position: center 13%;
    }
    .guide-nav {
        flex-direction: column;
        margin: 5rem auto 21rem;
    }
/*
Privacy / 404
================================================ */
    .ttl-frame-page404 h2,
    .ttl-frame-privacy h2 {
        flex-direction: column;
        align-items: center;
        padding-bottom: 0.25em;
    }
    .ttl-frame-page404::after,
    .ttl-frame-privacy::after {
        top: 66px;
    }
    .ttl-frame-page404::after {
        left: 83px;
    }
    .ttl-frame-privacy::after {
        left: 109px;
    }
}

@media (max-width:528px){
/*
About
================================================ */
    .message {
        letter-spacing: initial;
        text-align: left;
    }
    .about_main {
        padding-top: 9em;
        background-position: center top, center 10%;
    }
    .about_main::after {
            top: clamp(220px, 39vh, 400px);
    }
    .concept-txt {
        padding: 0 1em 0 2em;
        margin-bottom: 5em;
    }
    #concept h2 {
        padding-top: 1em;
    }
    .description {
        margin-bottom: 7em;
        padding: 0;
        gap: 2rem;
    }
    .prof li {
        width:100%;
    }
    .prof h2 {
        margin: 0 auto 1em;
    }
    .prof h3 {
        width: 100%;
    }
    .prof img {
        display: block;
        width: 210px;
        float: unset;
        margin: 0 auto 1em auto;
    }
/*
Lesson
================================================ */
    .lesson_main {
        padding-top: 9em;
    }
    .lesson-txt {
        padding: 0 2.5em 0;
    }
    /*
Guide
================================================ */
    .guide-bg {
        background-position: center 12%;
    }
}
@media (max-width:414px){
/*
Top
================================================ */
    .topHeader-title {
        top:8rem;
        font-size:2.5rem;
    }
    .topHeader-msg {
        top:5rem;
    }
    .topHeader-text {
        top:34rem;
    }
    .lead li {
        font-size:2rem;
    }
    .lead h2 {
        font-size:2.6rem;
    }
    .message {
        font-size: 2.4rem;
    }

/*
About
================================================ */
    .about_main {
        padding-top: 7em;
    }
    #concept h2 {
        font-size: 2.2rem;
    }
    .description {
        padding: 0;
    }
    .description li {
        width:90%;
        line-height:2;
    }
    .description p {
        margin-bottom:0;
        padding:0; }
    .ttl-jp {
        padding-left:0;
    }
    .footer-nav {
        margin-right:0;
    }
    /*
Lesson
================================================ */
    .lesson-txt h2 {
        font-size: 2.4rem;
    }
/*
Guide
================================================ */
    .guide-bg {
        background-position: center 11%;
    }
/*
Privacy / 404
================================================ */
    .ttl-frame-privacy::after {
        left: 109px;
    }
}

@media (max-width:400px){
    .topHeader-title {
        top:8rem;
    }
    .lead {
        width:100%;
    }
}

@media (max-width:375px){
    .topHeader-text {
        top:32rem;
    }
    .about_main {
        padding-top: 6em;
    }
    #concept h2 {
        padding: 1em 1.5em 0;
    }
    .ttl-jp{
        font-size:2rem;
    }
    .footer-nav-links{
        margin-right: 1rem;
    }
    .guide-bg {
        background-position: center 10%;
    }
    .ttl-frame-page404::after {
        left: 82px;
    }
}
