html {
    margin:0;
    padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6; /* 1.8 */
  margin: 0;
  padding-top: 76.19px; /* ← ヘッダーの高さに合わせて調整 */
  color: #333;
}

h1  {
    font-size: 1.3rem; 
}

h2 { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-top: 0; 
    margin-bottom: 1.5em; 
    line-height: 1.6; 
    text-align: center;
} 

body.blog h2,
body.page-template h2,
body.policy-page h2 {
    text-align: left;
}

h2 br,
h3 br {
    display: none;
}

h3 {
    font-size: 1.1rem;
}

h4 {
    font-size: 0.95rem;
}

.mark::before {
    content: '●';
}

body.page .blog-prologue h2,
body.page-template h2 {
    margin:0;
}

p { 
    font-size: 0.90rem; 
    line-height: 1.6; /*1.9*/ 
    margin: 2.2rem 0; 
}

li {
    font-size: 0.90rem; 
}

.list-style__none { 
    list-style: none;
    padding-left: 0;
}

a, 
a:visited, 
a:hover, a:active {
  color: #333;  
  font-size: 0.90rem; 
  line-height: 1.6; /*1.9*/ 
}

a:hover, a:active {
  color: #333;  
  text-decoration: none;
}

.link-button-center {
    display: flex;
    justify-content: center;
}

@media (max-width: 599px) {
    h2 { 
        font-size: 1.1rem; 
        font-weight: 700; 
        text-align: left;
    }

    h2 br,
    h3 br {
        display: inline;
    }

    h3 {
        font-size: 1rem;
        font-weight: 700; 
        line-height: 1.4rem;
    }

    body.page-id-107 h3 br,
    body.page-id-124 h3 br,
    body.page-id-126 h3 br {
        display: none!important;
    }

    h4 {
        font-size: 0.95rem;
        font-weight: 700; 
    }

    p { 
        font-size: 0.85rem; 
        line-height: 1.6; /*1.9*/  
        margin: 2.2em 0; 
    }
    li { 
        font-size: 0.85rem; 
    }
    a, 
    a:visited, 
    a:hover, a:active {
        font-size: 0.85rem;
    }
}

.link-soft {
    color: #333;
  text-decoration: underline;
  /*transition: text-decoration 0.2s ease;*/
}

.link-soft:hover {
  text-decoration: none;
}

.site-title a { 
    text-decoration: none; 
    color: inherit; 
    font-size: 1.2rem;
}

.series-link {
  margin: 5em 0 0;
  font-size: 0.95rem;
  color: #444;
  text-align: left;
}

.series-link a {
  text-decoration: none;
  border-bottom: 1px dotted #aaa;
}

.anchor-offset {
    position: relative; 
    top: -45px; /* ヘッダーの高さに合わせて調整 */ 
    height: 0; 
    margin: 0; 
    padding: 0;
/*
  padding-top: 45px;
  margin-top: -45px;
*/
}

.back-link {
    margin-top: 3rem;
}
.back-link a {
    text-decoration: underline;
}

p {
  line-height: 1.6; /*1.7*/ 
  margin: 2em 0;
}

.mt-none {
    margin-top:0!important;
}

.mb-none {
    margin-bottom:0!important;
}

.mb-none.mob-mt {
    margin-bottom:0!important;
}

.mt-1 {
    margin-top: 1em!important;
}

.mt-3 {
    margin-top: 3em!important;
}

.mt-2 {
    margin-top: 2em!important;
}

.mt-03 {
    margin-top: 0.3em!important;
}

.pb-5 {
    padding-bottom: 5rem!important;
}

.pt-none {
    padding-top: 0!important;
}

.pb-none {
    padding-bottom: 0!important;
}

.pm-none {
    padding-right: 0!important;
}

@media (max-width: 599px) {
    .mb-none.mob-mt {
        margin-bottom:1em!important;
    }

    .pb-5 {
        padding-bottom: 0;
    }
}

.mb-1 {
    margin-bottom: 1rem!important;
}

.paragraph-space { 
    height: 1.4em; 
}

.intro-space {
    height: 2em;
}

ul {
    padding-left: 1.4em;
}

.section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section__title {
  font-size: 1.4rem;
  margin-bottom: 1.2em;
  font-weight: 600;
}

@media (max-width: 599px) {
    .section__title {
    font-size: 1.05rem;
    }
}

.section--work {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero {
  padding: 80px 20px;
  text-align: center;
}

.hero__title {
  font-size: 2.4rem;
  /*margin-bottom: 1em;*/
}

.hero__lead {
  font-size: 1.05rem;
  color: #fff;
}

@media (max-width: 599px) {
    .hero__lead {
        font-size: 0.95rem;
    }
}

.lead { 
    font-weight: 600; 
    margin-bottom: 10px; 
    line-height: 1.8;
    font-size: 18px;
}

.lead.lesson {
    margin-top: 0;
    margin-bottom: 8rem;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 599px) {
.lead.lesson {
    margin-bottom: 5rem;
}
}

.text__center {
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 16px;
    text-align: center;
}

.button__center {
    width: 20rem!important;
    margin: 0 auto!important;
}

.form__button {
   width: 10rem!important;
   margin-bottom: 3rem!important;
}

.button__center a,
.form__button a {
    font-size: 0.7rem;
}

.button__center a span,
.form__button a span {
    text-decoration: underline;
}

.button__center a:hover,
.form__button a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

body.page .series-link .lead {
    margin-top: 0;
}

.lead__info {
    background-color: #f8f8f8;
    padding: 1em;
}

.lead__info span {
    display: inline-block;
    font-weight: 700;
    margin-right: 2em;
}

@media (max-width: 599px) {
    .button__center {
        width: 80%;
    }
    .text__center {
        line-height: 1.6;
        font-size: 0.8rem;
        text-align: left;
    }

    .lead__info span {
        display: block;
        margin-right: 0;
    }
}

.work__title,
.blog-category__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

@media (max-width: 599px) {
    .work__title,
    .blog-category__title {
        font-size: 1.05rem;
    }
}

.signature {
  text-align: right;
  font-size: 0.95rem;
  margin-top: 2em;
  font-style: normal;
}

/* cover画像＆タイトル */
.hero-container {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 40vh; /* 高さを固定して横長に */
  object-fit: cover;
  object-position: center 45%;
  margin-top: -0.2em;
  display: block; 
  /*position: relative;*/
}

body.postid-198 .hero-image {
  object-position: center 75%;
}

body.postid-273 .hero-image {
  object-position: center 35%;
}
/*
body.page-id-32 .hero-image {
    object-position: center 80%;
}

body.page-id-32 h2,
.page-content__inner h2 {
    margin-top: 3em;
    margin-bottom: 2em;
}
*/
.hero-image.about__image {
  object-position: center 80%;
}

.page-header.page-header--hero,
.page-header.page-header--hero.work {
    padding: 0 20px 0;
    text-align: center;
    background: none;
    border: none;
    margin-top: 0;
    margin-bottom: 20px;
}

@media (max-width: 599px) {
    .page-header.page-header--hero.work {
        display: none;
    }
}

.page-header__inner {
    margin-bottom: 60px;
}

.page-title.hero-title {
    margin-top: -23vh;
    color: #fff;
    letter-spacing: 0.25em;
    font-size: 2.4em;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  /*margin: 0;*/
  z-index: 10;
}

@media screen and (max-width: 599px) {
  .hero-image {
    margin-top: -1.2em;
  }

  .page-title.hero-title {
    font-size: 20px;
  }
}

/* トップページ セクションcover */
.section__inner--wrap {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.section__inner--wrap img {
    width: 30%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.section__inner--wrap.top__img {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: center;
}

.section__inner--wrap.top__img .lead__wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.section__inner--wrap.top__img ul {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.6;
    list-style: '— ';
}

body.site-top .lesson-button {
    width: 50%;
    margin: 0 auto;
    margin-top: 2.4rem !important;
}

.section__inner--wrap.top__img img {
    width: 100%;
    height: 160px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 0.75rem;
}

.contact__method { 
    margin-top: 1.5em; 
    margin-bottom: 3em; 
}

.contact-button {
  display: inline-block;
  /*
  background: linear-gradient(to bottom, #fefefe, #f8f8f8);
  color: #333;
  */
  background: #222;
  color:#fff!important;
  text-decoration: none;
  /*
  border-radius: 4px;
  border: 1px solid #ddd;
  */
  border-radius: 12px;
  margin-top: 0.8em; 
  padding: 0.8em 1.4em; 
  font-size: 0.85rem;
  /*
  transition: none; /*background-color 0.2s ease;*/
}

.contact-button:hover {
    /*
  background: linear-gradient(to bottom, #f8f8f8, #e6e6e6);
  transition: none;
  */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact__method.section__wrap {
    margin: 1rem 0 0!important;
}
.contact-button.section__wrap a {
    margin-top: 0!important;
}

.about {
    margin: 0 0 5rem 0;
}

.about-image {
    text-align: right;
    padding-top: 8px;
    margin-bottom: 8px;
}

.about-image img {
    max-width: 27%;
    width: 90px;
}

.lesson-link {
    margin-top: 1em;
}

.page-back {
        margin-bottom: 3em;
}
.page-back a {
    color: #999;
    font-size: 86%;
}

/* モバイル */
@media (max-width: 599px) {
    .lesson-link {
        display: block;
    }
    .lesson-form {
        display: block;
        margin-left: 1.5em;
        margin-top: 0.2em;
    }
}

@media (max-width: 599px) {
    .section__inner--wrap img {
        height: 35vh;
        min-height: 26vh;
        max-height: 45vh;
    }
/*
    .section__inner--wrap.top__img img {
        height: 46vh;
        min-height: 26vh;
        max-height: 52vh;
    }
*/
}

.section__inner--wrap div,
.section__inner--wrap.top__img div,
.lead__wrap {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section__title.lead_wrap__title {
    margin-top: 0;
}
.lead.lead_wrap__title {
    margin: 0;
}

@media (max-width: 599px) {
    .lead.lead_wrap__title br {
        display: inline;
    }
}

.symbol-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin: 0 auto;
  display: block;
}
.symbol-image.cover {
  margin-top: 40px;
}
.symbol-image.work {
  margin-top: 20px;
}

/* ------------------- */
/* ヘッダー全体 */
.site-header {

  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, #f7f9fb, #eef2f5);
  /*background: #f8f8f8;*/
  padding: 1em;
  border-bottom: 1px solid #eee; /*ccc;*/
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 2000;

}

/* サイト名 */
.site-title {
  font-size: 1.5rem;
  margin: 0;
}

/* ハンバーガーアイコン（モバイルのみ表示） */
.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

.menu-toggle::before {
  content: "☰";
  font-size: 1.5rem;
  transition: content 0.3s ease;
}

.menu-toggle.open::before {
  content: "✕";
}

/* メニュー（モバイル時は非表示） */
.site-nav ul {
  display: none;
  flex-direction: column;
  gap: 1em;
  position: absolute;
  top: 3.5em;
  left: 0; /*1em;*/
  background: #fff;
  border: 1px solid #ccc;
  padding: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  height: 100vh;
  width: 50vw;
}

.site-nav ul li {
  list-style: none;
}

.site-nav a {
  text-decoration: underline;
  color: #333;
  font-size: 0.90rem;
}

.site-nav a:hover {
  text-decoration: none;
}

/* メニューが開いたとき */
.site-nav.open ul {
  display: flex;
}

@media (max-width: 599px) {
  body { 
    font-size: 14px; /* 14〜16px */
    line-height: 1.6; /*1.8*/ 
  } 

  .site-title {
    text-align: center;
    display: flex;
    justify-content: flex-start;
    padding-left: 24%;
    width: calc(100% - 2em);
    margin-top: 0;
  }
  .section--top { 
    padding-top: 60px; 
    padding-bottom: 40px; 
  } 
  .section__title { 
    font-size: 1.1rem; 
    margin-bottom: 0.6em; 
  } 
  .lead { 
    letter-spacing: 0.02em; 
    font-size: 16px;
  }
  .site-nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) { 
    .site-title { padding-left: 18%; } 
}

@media (min-width: 361px) and (max-width: 430px) { 
    .site-title { padding-left: 22%; } 
} 

@media (min-width: 431px) and (max-width: 599px) { 
    .site-title { padding-left: 26%; } 
}

/* トップページ */
/* ヒーロー全体の箱 */
.hero--top {
  position: relative;
  overflow: hidden;

  /* 高さを抑えた、安定する値 */
  min-height: 360px; /* ← まずはここから。後で微調整できます */

  /* 余白を少し控えめに */
  padding-top: 45px;
  padding-bottom: 80px;
}

.hero__image--top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: 1;
}

.hero__inner--top {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

/*
.hero.hero--top {
    padding: 0;
    margin-bottom: 35vh;
    background-size: cover;
    background-position: center;
}

img.hero__image.hero__image--top {
    width: 100%;
    height: 55vh;
    object-fit: cover;
    object-position: center 75%;
    margin-top: -0.2em;
    display: block;
}
*/

.top__diagram-wrap {
    width: 100%;
    margin: 5rem auto;
    text-align: center;
}

.top__diagram-wrap img {
    width: 90%;
    height: auto;
}
/*
.hero__inner.hero__inner--top {
    margin-top: -45vh;
}
*/
.top__diagram-link_wrap {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 5em;
    width: 100%;
    border-radius: 12px;
}

.top__diagram-link_wrap div {
    width: 23rem;
    height: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top__diagram-link_wrap a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top__diagram-link_wrap a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-radius: 12px;
}

@media (max-width: 599px) {
    .top__diagram-wrap {
        margin-top: 1rem;
        margin-bottom: 1rem; 
    }
/*
    .hero.hero--top {
        margin-top: -1em;
        margin-bottom: 25vh;
    }
    .hero__inner.hero__inner--top {
        margin-top: -52vh;
    }
    .hero__title--top {
        font-size: 1.5rem!important;
        line-height: 1.4!important;
    }
*/
    .top__diagram-link_wrap div {
        width: 70%;
    }
}

/* トップページ専用のタイトル */
/*
.hero__title--top {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.5;
}
*/

/* トップページ専用のリード文 */
/*
.hero__lead--top {
  color: #fff;
  opacity: 0.9;
  margin-top: 1.5em;
  line-height: 1.8;
}
*/

/* トグル */
@media (min-width: 600px) {
  .menu-toggle {
    display: none;
  }

  .site-header {
    justify-content: flex-start;
    gap: 2em;
  }

  .site-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 2em;
    padding-left: 1rem;
    height: 3.5em;
    align-items: center;
    background: none;
    border: none;
    box-shadow: none;
    width: auto;

    top: 0;
    left: 15em;
    margin: 0;
    padding: 1.05em 0 0 0;

    opacity: 1; 
    transform: translateY(-5px); 
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.open ul { opacity: 1; transform: translateY(0); }
}

.privacy__method { margin-bottom: 1em; }

.site-footer {
  padding: 2em 1em;
  background: linear-gradient(to bottom, #f7f9fb, #eef2f5);
  /*background: #f8f8f8;*/
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #eee; /*ccc;*/
}

.sns-links {
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
  display: flex;
  gap: 1.2em;
  font-size: 0.9rem;
}

/* ------------------------------ */
.diagram-wrap,
.work-wrap {
    text-align: center;
}

.diagram-wrap img {
    width: 90%;
    height: auto;
}

@media (max-width: 599px) {
    .diagram-wrap img {
        width: 95%;
    }

    .diagram-wrap p,
    .work-wrap p {
        text-align: left;
    }
    .diagram-wrap p.link-center {
        text-align: center;
    }
}

/* 固定ページ用 */
.page-header {
    padding: 32px 20px 28px;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin-top: 20px;
    margin-bottom: 60px!important;
}

.page-header.lesson {
    display: none;
}

.page-title {
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: #333;
}

.page-content__inner,
.page-content__inner.lesson {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  color: #333;
}

body.site-top #diagram {
    padding: 0;
}

@media (max-width: 599px) {
    .page-content__inner.lesson {
        padding-top: 0;
    }

    body.site-top #diagram {
        padding-top: 2rem;
    }
}

body.site-top .section--work {
    max-width: 100%;
    margin: 0 auto;
}

body.site-top .section--blog {
    max-width: 100%;
    margin: 0 auto;
}

body.site-top .section__inner {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 599px) {
body.site-top .section__inner {
    padding-top: 0;
    padding-bottom: 0;
}
}

/* カテゴリ　トップページ序章 */
body.page-id-124 .blog-prologue,
body.page-id-124 .series-link,
body.page-id-107 .blog-prologue,
body.page-id-107 .series-link,
body.page-id-126 .blog-prologue,
body.page-id-126 .series-link {
    background: #fcfcfc;
    margin-top: 3rem;
    background-color: #fefefe; 
    border: 1px solid #ccc; 
    padding: 16px; 
    box-sizing: border-box; 
    border-radius: 6px; 
    /*
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    */
}

body.page-id-124 .blog-prologue p,
body.page-id-124 .blog-list p,
body.page-id-126 .blog-prologue p,
body.page-id-126 .blog-list p,
body.page-id-107 .blog-prologue p,
body.page-id-107 .blog-list p {
    margin: 0!important;
}

body.page .blog-prologue h2 {
    margin: 0;
    font-size: 1.1rem;
}

body.page .blog-prologue p,
body.page .blog-prologue p {
    margin: 2rem 0;
}

/* 投稿ページ */
.single.single-post .page-content__inner p { 
    margin: 2rem 0; 
    line-height: 1.6; /*1.9*/ 
}

.blog-prologue__excerpt p {
    margin: 1.8em 0;
    line-height: 1.6; /*1.9*/
}

body.home .blog-prologue__excerpt p,
body.page-id-107 .blog-prologue__excerpt p,
body.page-id-124 .blog-prologue__excerpt p,
body.page-id-126 .blog-prologue__excerpt p {
    margin: 0;
}

.page-title br {
    display: none;
}

@media (max-width: 599px) {
  .page-title {
    display: inline-block;
    width: 90%;
  }
  .page-title br {
    display: inline;
  }
}

/* もっと読む */
.blog-prologue__more {
    display: inline-block;
    margin-top: 0;
    font-size: 0.95rem;
    color: inherit;
    transition: opacity 0.3s ease;
}

a.blog-prologue__more {
    text-decoration: underline;
 }

a.blog-prologue__more:hover {
    opacity: 0.6;
    text-decoration: none;
}

/* 投稿カード型 */
.blog-cards {
    display: flex;
    flex-direction: column;
    gap: 3em;
    margin-top: 1em; /*32px;*/
}

article.blog-card {
    background-color: #fefefe; 
    border: 1px solid #ccc; 
    padding: 16px; 
    box-sizing: border-box; 
    border-radius: 6px; 
    /*
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    */
}

article.blog-card:hover { 
    transform: scale(1.015); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); 
}

.blog-card__thumb {
    width: 160px;
    height: auto; 
    object-fit: cover; 
    border-radius: 6px; 
    flex-shrink: 0;
}

@media screen and (max-width: 599px) {
    .blog-card__thumb {
        width: 120px;
    }
}

@media screen and (max-width: 768px) {
  .blog-card {
    flex-direction: column;
  }
}

.blog-card__title {
    font-size: 0.95rem; 
    margin: 0 0 0.5em 0; 
    line-height: 1.4; 
    color: #333;
}
@media (min-width: 768px) {
    .blog-card__title {
        font-size: 1.0rem; 
    }
}

.blog-card__excerpt {
    line-height: 1.6; /*1.7*/
    margin-top: 0.5em; 
    color: #444;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 5; 
    overflow: hidden; 
    font-size: 0.75rem;
}
.blog-card__excerpt p {
    margin: 0.5rem 0 0 0;
    line-height: 1.6;
}

@media (max-width: 599px) {
    .blog-card__title {
        font-size: 0.95rem; 
    }
}

.blog-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #fefefe;
    border: 1px solid #ccc;
    padding: 1.6em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    /*
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    */
}

.blog-card__link {
    text-decoration: none;
    display: flex; 
    flex-direction: row; 
    gap: 1.5em; 
}

.blog-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card__date {
    display: block;
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 1em;
}

body.home .blog-prologue__title,
body.page-id-107 .blog-prologue__title,
body.page-id-124 .blog-prologue__title,
body.page-id-126 .blog-prologue__title {
    margin-top: 0;
    text-align: left;
}

body.home .blog-prologue__excerpt h2,
body.page-id-107 .blog-prologue__excerpt h2,
body.page-id-124 .blog-prologue__excerpt h2,
body.page-id-126 .blog-prologue__excerpt h2 {
    font-size: 1rem;
    margin: 1rem 0 0 0;
}

@media (max-width: 599px) {
  .page-header {
    padding: 0 16px 0;
    margin-bottom: 20px;
    margin-top: -30px;
  }

  .page-header__inner {
    margin-bottom: 50px;
  }

  .page-header__inner {
    margin-bottom: 50px;
  }
}

/* ブログ下部リンク */
.post-footer-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.post-footer-links a {
  color: #333;
  text-decoration: underline;
  font-size: 0.95rem;
}

.post-footer-links a:hover {
  text-decoration: none;
}

@media (max-width: 599px) {
    .post-footer-links a {
        font-size: 0.85rem;
    }
}

/* ページ高さ制御 */
.wrapper { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

main { 
    flex: 1; 
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* mainタグの余白を完全にゼロに */
/*
main.page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

main.page_wp {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
*/

@media (max-width: 599px) {
    main.page_wp {
        padding-top: 0!important;
    }
 }

/* ヘッダーの下に余白が出ないように */
header.site-header {
  margin-bottom: 0 !important;
  padding-bottom: 16px !important;
  min-height: 45px;
}

/* ヘッダー内の要素も余白を持たないように */
.site-title,
.site-nav,
.menu-toggle {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* =========================================
   PC（600px以上）
   ========================================= */
@media (min-width: 600px) {

  /* 親 li を基準にする（hover が切れないために必須） */
  header .site-nav ul li.has-submenu {
    position: relative;
  }

  /* サブメニュー：初期状態は非表示 */
  header .site-nav ul li.has-submenu > ul.submenu {
    display: none;
    position: absolute;
    top: 120%; /* ← 100% と重複していたので 120% に統一 */
    left: 0;
    background: #fff;
    padding: 0.5em 0 2rem 0; /* padding-bottom をまとめて整理 */
    margin: 0;
    list-style: none;
    z-index: 1000;
    min-width: 12em;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 6rem;
  }

  /* hover で開く */
  header .site-nav ul li.has-submenu:hover > ul.submenu {
    display: block;
  }

  /* サブメニュー内のリンク */
  header .site-nav ul li.has-submenu > ul.submenu li a {
    display: block;
    padding: 0.5em 1em;
    white-space: nowrap;
  }
}


/* =========================================
   モバイル（599px以下）
   ========================================= */
@media (max-width: 599px) {
  header .site-nav {
    border-left: 1px solid #eee;
  }

  header .site-nav.open ul {
    display: block !important;
    background: #fafafa;
  }

  header .site-nav ul li {
    margin-bottom: 1em;
  }

  header .site-nav ul li.has-submenu {
    display: block;
    margin-bottom: 0;
  }

  /* サブメニュー：初期状態は非表示 */
  header .site-nav ul li.has-submenu > ul.submenu {
    display: none;
    padding-left: 1em;
    list-style: none;
    margin: 0;

  /* PC 用の absolute レイヤーを無効化 */ 
    position: static !important; 
    width: auto !important; 
    margin: 0 !important;
    height: auto !important;
    border: none !important; 
    box-shadow: none !important;
    background: #fafafa;
  }

  /* 親に .open が付いたときだけ開く（JSが付与） */
  header .site-nav ul li.has-submenu.open > ul.submenu {
    display: block !important;
    margin-top: 0.5em;
    margin-left: 1em;
  }

  /* サブメニュー内のリンク */
  header .site-nav ul li.has-submenu > ul.submenu li a {
    display: block;
    padding: 0.5em 0;
  }
}

/* WordPressログイン時のadmin-barによるズレ防止 */
body.admin-bar {
  padding-top: 0 !important;
}

/* フッター */
.site-footer {
  background-color: #f8f8f8;
  padding: 32px 20px 24px;
  text-align: center;
  font-family: sans-serif;
}

.site-footer__nav {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 8px;
}

.site-footer__nav a {
  color: #666;
  text-decoration: underline;
  padding: 2px 4px;
  font-size: 0.75rem;
}

.site-footer__nav a:hover {
  color: #444;
  text-decoration: none;
}

.site-footer__nav .divider {
  margin: 0;
  white-space: nowrap; /* ｜ が単独で改行されないようにする */
}

.site-footer__nav a + .divider { 
    margin-left: 0.3em; /* リンクとの間に少し余白 */ 
} 

.site-footer__nav .divider + a { 
    margin-left: 0.3em; /* ｜ の後のリンクにも余白 */ 
}

.site-footer__name {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 4px;
}

.site-footer__copy {
  font-size: 0.9rem;
  color: #333;
}

/* 改行 */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 599px) {
  .pc-only {
    display: none!important;
  }
  .sp-only {
    display: inline;
  }
}

/* 講座の体系一覧 */
.lesson-block {
    margin: 3em 0 0 0;
}

@media (max-width: 599px) {
    .lesson-block {
        margin-top: 1em;
    }
}

.lesson-block h3 {
    margin: 0;
}

.lesson-block-title {
  margin-bottom: 0; /*0.4rem;*/
}

.lesson-block-line {
  width: 15.5em;
  height: 1px;
  background-color: #ccc;
  margin-bottom: 0.3rem; /*0.8rem;*/
}

.lesson-block-lead {
    margin-top: 0.8rem;
    margin-bottom: 2.4rem;
}

/* カード型の囲み */
.card {
  display: inline-block;
  width: 510px; /*fit-content;*/
  max-width: 90%;
  padding: 1em 1.2em;
  margin: 0 auto 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fefefe;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-size: 0.95em;
  line-height: 1.6;
}

/* Work */
.flow {
  margin-top: 2rem;
}

.flow-intro {
  margin-bottom: 1.5rem;
  line-height: 1.6; /*1.7*/
}

.timeline {
  position: relative;
}

.flow-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.flow-title.child {
    margin-top: -0.5rem;
}

.flow-marker {
  margin-right: 0.5em;
  color: #cccccc; /*#c7d9e6;*/
}

.flow-step {
  color: #333;
}

.flow-body-wrap {
    display: flex;
    align-items: flex-start;
    margin-top: -0.7rem;
    margin-left: 0.42rem;
}

.flow-pipe {
    width: 2px;
    height: 5rem;
    background-color: #cccccc; /*#c7d9e6;*/
    margin-top: 0.2em;
}

.flow-body {
    color: #444;
    height: 4rem;
    display: flex;
    align-items: center;
    margin-left: 1rem;
    font-size: 0.9rem;
    line-height: 1.6; /*1.2rem*/
}

/* 最後のステップだけ縦棒なし */ 
.flow-pipe.no-pipe  { 
    background: none;
}

.next-step {
  font-size: 0.9em;
  font-weight: 700;
  color: #444;
  margin-top: 2em;
  text-align: center;
}

.contact__method.next-step-link {
    margin: 0;
    text-align: center;
}

.contact__method.next-step-link a {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.6em 1.2em;
  font-size: 0.95em;
  font-weight: 700;
  color: #333;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
}


@media screen and (max-width: 782px) {
    .card {
        max-width: 100%;
        width: calc(100% - 3em);
    }
}

.card-title {
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #444;
}

body.page-id-137 .blog-card__text h3 {
    font-size: 1.05rem;
}

body.page-id-137 .blog-card__excerpt h3 {
    display: none;
}

body.page-id-137 .blog-card__text h2 {
    font-size: 0.95rem;
}

@media screen and (max-width: 599px) {
    body.page-id-137 .blog-card__text h3 {
        font-size: 0.95rem;
    }

    body.page-id-137 .blog-card__excerpt h3 {
        display: none;
    }

    body.page-id-137 .blog-card__text h2 {
        font-size: 0.85rem;
    }
}

/*  WordPress  */
#wpadminbar {
    display: none;
}
@media screen and (max-width: 782px) {
    html #wpadminbar {
        display: none;
    }
}

@media screen and (max-width: 599px) {
    #wpadminbar {
        display: none;
    }
}
/* Contact Form 7 の基本レイアウト調整 */
.wpcf7-form {
  /*max-width: 600px;
  margin: 0 auto;
  */
  max-width: none; 
  margin: 0;
}

.wpcf7-form p {
  margin-bottom: 1.2em;
}

/* お問い合わせフォーム */
a.form__link {
  text-decoration: underline;
  font-size: 0.9em;
  display: block;
  margin-bottom: 1em;
}

a.form__link:hover {
    text-decoration: none;
}

/* オンライン相談フォーム */
.form__subheading {
  font-size: 1em;
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-weight: 700;
  color: #444;
}

.form__payment {
    font-size: 0.9em; 
    margin-bottom: 0!important; 
    color: #444;
}

div.consult_links {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: left;
    margin-top: 1.6em;
}

a.consult_link {
    text-decoration: underline;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 1em;
}

a.consult_link:hover {
    text-decoration: none;
}

@media (max-width: 599px) {
  a.consult_link {
    display: block;
    text-align: left;
  }

  a.consult_link {
    display: block;
    margin-bottom: 0.5em;
  }
}

.consult_note {
    display: inline;
    font-size: 0.9em;
}

.consult_sep {
    display: inline;
    margin: 0 0.5em;
}

@media (max-width: 599px) {
  .consult_sep {
    display: none;
  }
}

/* フォーム：講座　表 */
/*
body.page-id-32 .lead {
    margin-bottom: 5em;
}
*/

.pt-48 {
    padding-top: 48px;
}

body.page-id-32 .note,
body.page-id-32 .time-note {
    font-size: 0.85rem;
    margin-left: 1em;
    color: #777;
}

body.page-id-32 .note,
.page-content__inner .note {
    margin-bottom: 1em!important;
}

body.page-id-32 .note.calendar,
.page-content__inner .note.calendar {
    margin-top: 1rem;
    font-size: 0.80rem;
    font-weight: 700;
}

body.page-id-32 .time-note {
    margin-top: 1em!important;
    margin-bottom: 1rem !important;
}

@media (max-width: 599px) {
    body.page-id-32 .note,
    body.page-id-32 .time-note,
    .page-content__inner .note {
        font-size: 0.80rem;
        display: block;
        margin-left: 0;
    }
}

/* 講座 たとえば */
.example-list {
    background: #fafafa;
    border-radius: 6px;
    padding: 1.2em 1.4em;
    margin: 0.5em 0;
}

.example-list ul {
    margin: 0;
}

.example-list li {
    font-size: 90%;
    margin-bottom: 0.25em;
}

@media (max-width: 599px) {
    .example-list li {
        margin-bottom: 1rem;
    }
}

/* 講座一覧 */
.course {
    background: #fafafa;
    border-radius: 6px;
    padding: 1.2em 1.4em;
    margin-bottom: 1em;
}

.course .course-title {
    margin: 0.25em 0;
}
.course .example {
    margin: 0 0 0.5em 0;
}

/*
.course ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.course li {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 48%;
}

.course span {
    font-weight: 600;
    width: 96%;
    padding: 1%;
    border-radius: 6px;
    background: #ededed;
}
*/

.course-body {
    margin: 0.5em 0;
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.course-body p {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    text-align: start;
}

.course-before {
    font-weight: 700;
    width: 6rem!important;
    display: inline!important;
}

.course-body span {
    display: inline-flex; /* 中身の高さに合わせて中央揃え */ 
    align-items: center; /* 縦中央揃え */ 
    justify-content: center; /* 横中央揃え */
    width: 4.5em;
    margin: 0.25em 1em 0.25em 0;
    padding: 0;
    background: none;
    text-align: center;
    border: 1px solid #444;
    border-radius: 6px;
    flex-shrink: 0; /* ラベルが潰れないように */
}

.course-body li.color-before span {
    border: 1px solid #ccc!important;
}

@media (max-width: 599px) {
    .course-body {
        flex-direction: column;
    }

    .course-body li {
        flex-direction: column; /* ラベルと文章を縦並びに */
        align-items: flex-start;
    }
    .course-body li.mt {
        margin-top: 0.3em;
    }
    .course-body span { 
        margin-bottom: 0.3em; 
        min-width: auto; /* モバイルでは幅を自動に */ 
    }
}

body.page-id-32 .f-bold {
    font-weight: 600; 
}

body.page-id-32 a.course-link,
.page-content__inner a.course-link { 
    color: #444; 
    text-decoration: underline; 
    text-underline-offset: 3px; 
    font-size: 1.0em;
    font-weight: 700;
}

body.page-id-32 a.course-link:hover,
.page-content__inner a.course-link:hover { 
    text-decoration: none; 
}

.course-off,
.course-off a {
    color: #999!important;
    font-size: 90%!important;
}

.course-off a:hover {
    color: #999!important;
    font-size: 90%!important;
    text-decoration: none!important;
}

/* スマホで縦に配置 */
@media (max-width: 600px) { 
    body.page-id-32 table.course-list, 
    body.page-id-32 table.course-list tbody, 
    body.page-id-32 table.course-list tr, 
    body.page-id-32 table.course-list td { 
        display: block; 
        width: 100%; 
    } 
    body.page-id-32 table.course-list tr { 
        margin-bottom: 1.5em; 
        width: calc(100% - 2em);
    } 
    body.page-id-32 table.course-list td { 
        border-bottom: none; 
        padding: 0; /*0.3em 0;*/ 
    } 
    body.page-id-32 table.course-list tr:first-child { 
        display: none; /* 見出し行は非表示 */ 
    } 
    body.page-id-32 table.course-list td p { 
        display: block;
        width: 20px;
        height: 20px;
        background: #d5d5d5;
        clip-path: polygon(0 63.2%, 31% 63.2%, 31% 0, 69% 0, 69% 63.2%, 100% 63.2%, 50% 100%);
    } 
    body.page-id-32 table.course-list td span {
        display: block;
    }
}

/* フォーム：講座　カレンダー（page-id-32） */
.calendar-wrap {
    background: none;
    border-radius: 6px;
}

.calendar-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 8rem;
}

.calendar-arrow div {
    height: 16px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

body.page-id-32 .calendar-month,
.page-content__inner .calendar-month {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

body.page-id-32 .calendar-month-title,
.page-content__inner .calendar-month-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-id-32 .calendar-month-title div,
.page-content__inner .calendar-month-title div {
    width: calc(100% / 7 - 1em);
    display: flex;
    justify-content: center;
    align-items: center;   
    font-weight: 700; 
}

body.page-id-32 .calendar-week,
.page-content__inner .calendar-week {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

body.page-id-32 .calendar-day--off,
.page-content__inner .calendar-day--off,
body.page-id-32 .calendar-day--none,
.page-content__inner .calendar-day--none {
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: calc(100% / 7 - 1em);
    display: flex;
    flex-direction: column;
    height: 7rem;
    justify-content: start;
    font-size: 0.75rem;
    align-items: center;    
}

body.page-id-32 .calendar-day--none,
.page-content__inner .calendar-day--none {
     border: 1px solid #fafafa;
}

body.page-id-32 .calendar-day--on,
.page-content__inner .calendar-day--on {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: calc(100% / 7 - 1em);
    display: flex;
    flex-direction: column;
    align-items: center;    
    height: 7rem;
    justify-content: start;
    font-size: 0.75rem;
}

body.page-id-32 .calendar-day--off a,
.page-content__inner .calendar-day--off a,
body.page-id-32 .calendar-day--on a,
.page-content__inner .calendar-day--on a {
    text-decoration: none;
    font-size: 0.75rem;
    line-height: 1.6rem;
    color: #444;
    font-weight: 700;
    height: 6rem;
    padding: 0.5rem;
    width: calc(100% - 1rem);
    box-shadow: none;
}

body.page-id-32 .calendar-day--off a,
.page-content__inner .calendar-day--off a {
    color: #999;
    pointer-events: none;
}

body.page-id-32 .calendar-day--off a:hover,
.page-content__inner .calendar-day--off a:hover {
    pointer-events: none;
    box-shadow: none;
    cursor: default;
}

body.page-id-32 .calendar-day--on a:hover,
.page-content__inner .calendar-day--on a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

body.page-id-32 a.link-off,
.page-content__inner a.link-off,
body.page-id-32 a.link-off,
.page-content__inner a.link-off {
        pointer-events: none;
        cursor: default;
        box-shadow: none;
}

body.page-id-32 .calendar-day--date,
.page-content__inner .calendar-day--date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
}

body.page-id-32 .calendar-day--course,
.page-content__inner .calendar-day--course {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    line-height: 1rem;
    text-align: center;
}

.calendar-holiday {
    background: #eee!important;
}

@media (max-width: 599px) {
    body.page-id-32 .calendar-day--course .detail ,
    .page-content__inner .calendar-day--course .detail {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 0.9em;
    }
}

/* 曜日行 */
body.page-id-32 .calendar-weekday,
.page-content__inner .calendar-weekday {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-weight: 600;
}

body.page-id-32 .calendar-day,
.page-content__inner .calendar-day {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    font-weight: 600;
}

/* --------------------------------- */
body.page-id-32 table.calendar,
.page-content__inner table.calendar {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.95em;
  table-layout: fixed; /* セル幅を均等に */
}

body.page-id-32 table.calendar tr,
body.page-id-32 table.calendar td,
.page-content__inner table.calendar tr,
.page-content__inner table.calendar td {
  border: 1px solid #eee;
  padding: 0.8em 0.4em;
  text-align: center;
  vertical-align: top;
  line-height: 1.6;
}

body.page-id-32 td.calendar-month,
.page-content__inner td.calendar-month {
    background: #e6e6e6;
    font-size: 1em;
    font-weight: 600;
}

/* 曜日行 */
body.page-id-32 table.calendar th,
.page-content__inner table.calendar th {
  background: #fafafa;
  font-weight: 600;
}

/* 土日をほんのり色づけ */
body.page-id-32 table.calendar td:nth-child(6),
body.page-id-32 table.calendar td:nth-child(7),
.page-content__inner table.calendar td:nth-child(6),
.page-content__inner table.calendar td:nth-child(7) {
  background: #fcfcfc;
}

body.page-id-32 table.calendar .day-off,
.page-content__inner table.calendar .day-off {
  background: #fcfcfc;
}

/* 日付を少し強調 */
body.page-id-32 table.calendar td .date,
.page-content__inner table.calendar td .date {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25em;
}

/* 時間帯（午前・午後・夜）を見やすく */
body.page-id-32 table.calendar td .slot,
.page-content__inner table.calendar td .slot {
  font-size: 0.85em;
  color: #555;
  line-height: 1.4;
}

.sep-cal {
    display: block;
}

/* スマホ調整 */
@media (max-width: 599px) {
  .sep-cal {
    margin-top: 1.2em;        
  }

  body.page-id-32 table.calendar th,
  body.page-id-32 table.calendar td,
  .page-content__inner table.calendar th,
  .page-content__inner table.calendar td {
    padding: 0.6em 0.3em;
    font-size: 0.85em;
  }

  body.page-id-32 table.calendar td .slot br,
  .page-content__inner table.calendar td .slot br {
    line-height: 1.2;
  }

  body.page-id-32 table.calendar td,
  .page-content__inner table.calendar td {
    padding: 0.7em 0.3em;
  }

}

/* フォーム：講座　講座ごと（page-id-32）*/
body.page-id-32 .course-card,
.page-content__inner .course-card { 
    background: #fff;
    padding: 1.2em 1.4em; 
    border-radius: 6px; 
    margin-bottom: 3em; 
    margin-top: 1em;
}

.course-header {
    margin-bottom: 0 !important;
    border-bottom: 3px solid #fafafa;
    border-radius: 6px 6px 0 0 !important;
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
}

body.page-id-32 .course-card h3,
.page-content__inner .course-card h3 { 
    margin-top: 1rem;
}

.page-content__inner .course-card h4 { 
    margin: 2rem 0 1rem 0;
    font-size: 0.95rem;
}

body.page-id-32 .course-card p,
.page-content__inner .course-card p {
    margin:0; 
}

.page-content__inner .course-card p.note {
    font-size: 0.85rem;
    margin: 0!important;
    text-align: left;
}

.page-content__inner .course-card p.note.on {
    color: #222;
    margin-top: 1rem!important;
    margin-bottom: 0.2rem !important;
}

@media (max-width: 599px) {
    body.page-id-32 .course-card p,
    .page-content__inner .course-card p {
        font-size: 0.75rem;
    }

    .page-content__inner .course-card p.note.on {
        text-align: center;
    }
}

body.page-id-32 .link-calendar,
.page-content__inner .link-calendar {
    text-align: right;
}

body.page-id-32 .link-calendar a,
.page-content__inner .link-calendar a {
    margin-top: 0;
    font-size: 0.85rem;
    margin-bottom: 0;
    text-decoration: underline;
    color:#333;
}

body.page-id-32 .link-calendar a:hover,
.page-content__inner .link-calendar a:hover {
    text-decoration: none;
}

.course-card ul {
    list-style: none;
    padding-left: 0;
    
}

.course-card li {
    margin-right: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #dedede;
}

.course-card li::before {
    content: '✔';
    margin-right: 0.5rem;
}

body.page-id-32 .course-card li::first-child {
    list-style: none;
    margin-left: -1.4em;
}

body.page-id-32 .course-card span {
    display: inline;
}

.course-days {
    background: #fff;
    display: flex;
    justify-content: start;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.course-days div {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #ededed;
    padding: 0.5rem;
    margin-right: 1rem;
    font-size: 0.85rem;
}

.course-days div.off {
    background: #fff;
    color:#999;
}

.course-days div.ml-none {
    margin-right: 0;
}

.course-days div span {
    font-size: 0.85rem;
    font-weight: 700;
}

.cource-example {
    background-color: #fafafa;
    font-size: 0.85rem;
    padding: 0.5rem;
    border-left: 3px solid #ccc;
}

.cource-example.lesson {
    background-color: #fff;
    line-height: 1.4;
}

@media screen and (max-width: 599px) {
    .cource-example.lesson {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
}

.course-entry {
    margin: 1rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
    background: none;
}

.course-entry .wrap {
    margin: 0 0 1rem 0;
    flex-direction: row;
    width: 100%;
}

.course-entry .all {
    font-size: 1.1rem;
    font-weight: 700;
    width: 30%;
    padding: 0.5rem;
    border-radius: 6px;
    background: #fff;
    justify-content: center;
    margin-bottom: 0;
    border: 1px solid #bbb;
}

.course-entry .parts {
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    margin-bottom: 1rem;
    background: none;
    justify-content: center;
    justify-content: space-between;
}

.course-entry .parts p {
    display: block;
    width: 100%;
}

.course-entry .parts.more {
    justify-content: start;
    margin: 1rem 0 0 0;
}

.course-entry .parts.more .before {
    margin-right: 1rem;
}

.course-entry .before,
.course-entry .after {
    width: 30%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0;
    border: 1px solid #bbb;
}

.course-entry .before p,
.course-entry .after p {
    text-align: center;
    width: 100%;
}

.course-entry .before.more,
.course-entry .after.more {
    width: 47%;
}

.course-entry .note {
    text-align: center;
    color: #222;
    font-weight: 700;
    margin-top: 1rem;
}

.price-wrap {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.price-wrap div {
    margin-right: 1rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    width: 50%;
    margin-bottom: 1rem;
}

.price-wrap div.more {
    flex-direction: row;
}

.price-wrap div.more span {
    margin-right: 1rem;
}

@media screen and (max-width: 599px) {
    .price-wrap div.more {
    flex-direction: column;
}

    .price-wrap div.more span {
        margin-right: 0;
    }
}

.button-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-size: 0.85rem;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    margin-top: 1rem;
}

.button-wrap.lesson {
    flex-direction: column;
    background: none;
    border: none;
}

.button-wrap.lesson h2 {
    margin-top: 1em;
}

.button-wrap a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
    text-decoration: none;
}

.button-wrap a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.button-wrap .title {
    width: calc(100% - 15rem);
}

.button-wrap .next-button {
    width: 10rem;
    margin: 0;
    height: 2rem;
    display: flex;
    align-items: center;
    background: #333;
    border-radius: 12px;
    padding: 0;
    color: #fff;
    font-size: 0.75rem;
    justify-content: center;
}

.button-wrap .next-button.off,
.lesson-button.off {
    background: #ccc;
}

.button-wrap a.disabled-link,
.lesson-button a.disabled-link {
    box-shadow: none;
    pointer-events: none;
    cursor: default; 
}

@media screen and (max-width: 599px) {
    .price-wrap div {
        width: calc(100% - 1rem);
        font-size: 0.90rem;
        align-items: center;
    }

    .button-wrap,
    .button-wrap a {
        flex-direction: column;
        justify-content: center;
        width: calc(100% - 1rem);
    }

    body.page-id-32 .title, 
    .page-content__inner .title {
        width: 100%;
    }
    .button-wrap .next-button {
        margin: 0.5rem 0;
    }
}

.detail {
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.detail span {
    font-size: 0.8rem;
    display: inline;
    margin-left: 1rem;
}

/*
.course-entry.consultation {
    flex-direction: row;
    justify-content: space-between;
}

.course-entry span {
    font-weight: bold;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.course-entry span.price {
    font-size: 1.4rem;
    margin-right: 0;
}
*/

.course-entry div {
    display: flex;
    margin-bottom: 1rem;
}

.course-entry.consultation div {
    width: 48%;
    margin-bottom: 0;
    flex-direction: column;
    justify-content: center;
}

.course-entry.consultation div.times {
    width: 100%;
    flex-direction: row;
    align-items: center;
}

.course-entry p {
    margin-top: 2rem;
    font-size: 0.85rem;
}

.course-entry p.note {
    font-weight: 700;
    margin-top: 2rem !important;
}

.course-example {
    background: #fafafa;
    border-left: 3px solid #ccc;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    color: #777;
}

@media screen and (max-width: 599px) {
  body.page-id-32 .link-calendar,
  body.page-id-32 .link-calendar a,
  .page-content__inner .link-calendar,
  .page-content__inner .link-calendar a {
    font-size: 0.8rem;
  }

  body.page-id-32 .course-card span,
  .page-content__inner .course-card span {
    display: block;
    font-size: 0.75rem;
  }

  .course-days div {
    margin-right: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
  }

  .course-days div span {
    font-size: 0.75rem;
  }

  .course-entry div {
    flex-direction: column!important;
    align-items: center;
  }

  .course-entry p {
    font-size: 0.7rem;
  }

  .course-entry p.note {
    font-size: 0.7rem!important;
  }

  .course-entry .parts,
  .course-entry .all {
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: center;
    padding: 0.3rem;
    width: 100%;
  }

  .course-entry .parts {
    margin-bottom: 0;
  }

  .course-entry .before, 
  .course-entry .after,
  .course-entry .before.more, 
  .course-entry .after.more {
    padding: 0.3rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .course-entry .after {
    margin-bottom: 0.5rem;
  }

}

.lesson-step,
.lesson-note {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.lesson-step li {
    background-color: #fff;
    padding: 1rem;
    border-left: 3px solid #ccc;
}

.lesson-note li {
    background-color: #fafafa;
    padding: 1rem;
    border-left: 3px solid #ccc;
}

.lesson-step li p,
.lesson-note li p {
    margin: 0;
}

.lesson-step li p.title,
.lesson-note li p.title {
    font-weight: 700;
    text-align: left;
}

body.page-id-32 .course-card li.times,
.page-content__inner .course-card li.times {
    font-size: 0.8rem;
}

.lesson-button {
    margin: 1rem auto;
    width: 100%;
    height: 3rem;
    display: flex;
    align-items: center;
    background: #333;
    border-radius: 12px;
    padding: 0;
}

.lesson-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100% - 1rem);
    color: #fff;
    text-decoration: none;   
    border-radius: 12px; 
}

.lesson-button a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.lesson-button.work {
    width: 30%;
}

.lesson-button__wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lesson-button__wrap .lesson-button {
    width: 15rem;
}

.lesson-about__button_wrap {
    display: flex;
    justify-content: space-between;
}
.lesson-about__button_wrap div {
    width: 46% !important;
}

body.page-id-32 .title,
.page-content__inner .title {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.4;
}

@media screen and (max-width: 599px) {
    body.page-id-32 .title,
    .page-content__inner .title {
        text-align: center;
    }

    .lesson-button.work {
        width: 50%;
    }
}

body.site-top .lesson-button {
    width: 50%;
    margin: 0 auto;
    margin-top: 2.4rem !important;
}

@media (max-width: 599px) {
    body.site-top .lesson-button {
        width: 100%;
    }
}

/*  フォーム：講座　講座ごと（page-id-32）日ごと */
.date-list {
    list-style: none;
    border: none;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-top: 1em;
    margin-bottom: 0;
}

.date-list li {
    display: flex;
    width: auto;
    border-radius: 6px;
    background: #eee;
    padding: 1em;
    margin-top: 0;
    margin-right: 0;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.date-list li:last-child {
    margin-right: 0;
}

.date-list .title {
    background: #dedede;
    text-align: center;
    font-weight: 700 !important;
}

.date-list li.items {
    list-style: none;
    border: none;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
    background: none;
}

.date-list li.items ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.date-list li.item-1,
.date-list li.item-2 {
    flex-direction: column;
    width: 32%;
    border-radius: 6px;
    background: #eee;
    padding: 1em 0;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-top: 1em;
    text-align: center;
    font-size: 0.85rem;
}

.date-list li.item-3 {
    flex-direction: column;
    margin-top: 1em;
    border-radius: 6px;
    background: #eee;
    padding: 1em 0;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    width: 32%;
    text-align: center;
    display: flex;
    font-size: 0.85rem;
}

.time-pc { 
    white-space: nowrap; 
}

.sep-pc {
    display: inline;
}
  .sep-sp {
    display: none;
}

.q-note {
    text-align: right;
    display: inline;
}

.q-note-sp { 
    text-align: right;
    display: none; 
}

/* スマホ（モバイル） */
@media screen and (max-width: 599px) {
  .sep-pc {
    display: none!important;
  }
  .sep-sp {
    display: block;
  }
  .date-list li.item-1,
  .date-list li.item-2 {
    flex-direction: column;
    font-size: 0.8rem;
  }
  .date-list li.item-3 {
        flex-direction: column;
        padding: 1em 0;
        font-size: 0.8rem;
  }
  .q-note {
    display: none!important;
  }

  .q-note-sp { 
    display: block; 
    margin-top: 0.4em; 
    font-size: 0.85em; 
    color: #666;
  }
}

/*  */
.wpcf7-form label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  line-height: 1.6;
}

span.required {
    margin-left: 1rem;
    font-size: 0.75rem;
    color:#33cccc;
}

span.note {
    display: inline;
    margin-left: 1rem;
    font-size: 0.75rem;
    color:#666;
}

@media (max-width: 599px) {
    span.note {
        display: block;
        margin-left: 0;
    }
}

span.memo {
    font-size: 0.75rem;
    line-height: 1.6rem; /*0.8rem;*/
    color:#666;
}

span.memo.color-w {
    color:#fff!important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;  /*90%*/
  max-width: 880px;
  margin: 0 auto;
  padding: 0.6em;
  border: 1px solid #ccc;
  font-size: 1em;
  border-radius: 4px;
  box-sizing: border-box;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #00a0d2;
}

@media screen and (max-width: 768px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    width: 100%;
    max-width: none;
  }
}

.wpcf7-form textarea {
  height: 150px;
}

.wpcf7-form input[type="submit"] {
    display: inline-block;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 0.8em;
    padding: 0.8em 1.4em;
    font-size: 1rem;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #e9e9e9;
}

.back-to-top {
  display: none;
}

.wpcf7-mail-sent-ok .back-to-top {
  display: block;
  margin-top: 2em;
}

#thanks-link a {
    text-decoration: underline; 
}

.wpcf7-response-output a { 
    text-decoration: underline; 
}

.wpcf7-list-item {
  display: block;
  margin-bottom: 0.4em; /* 行間の調整 */
}

p.form-note { 
    font-size: 0.95rem; 
    font-weight: normal; 
    color: #666; 
    margin-top: 0.2em; 
    margin-bottom: 0.5em; 
}

.form__title {
    margin-top: 5rem;
}

/* fadein */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-color {
    background-color: #fafafa !important;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.bg-color-white {
    background-color: #fff;
}

.bg-color-online {
    background: #f0f5f3 !important;
    border-radius: 6px;
}

@media screen and (max-width: 599px) {
    .bg-color {
        margin-top: 0;
    }
}

/* --------------------------- */
/*
.section-title {
    font-family: 'Noto Serif JP';
}*/

.journey-flow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: stretch;
}

.journey-title {
    height: 63.31px;
    margin-bottom: 0.3em;
}

.journey-card {
    display: flex;
    flex-direction: column;
    width: 31%;
    height: 100%;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.journey-card a {
    padding: 1em;
    text-decoration: none;
    display: block;
}

.journey-card a:hover {
    border-color: #999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.online-card .journey-badge {
    margin: 2em auto 1em;
}

.online-card a {
    text-decoration: none;
    display: block;
}

.online-card a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.journey-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journey-badge {
    background: #333;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.9em;
    padding: 0;
    margin: 0;
    margin-top: auto;
    width: 15rem;
    height: 3em;
}

.journey-badge.w__short {
    width: 6rem;
}

.online-card {
    text-align: center;
    margin-top: 3rem;
    background: #f0f5f3;
    border-radius: 8px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;    
}

.online-card a {
        padding: 1.5rem;
}

.journey-desc {
    height: 161.33px;
}

@media screen and (max-width: 599px) {
    .journey-flow {
        flex-direction: column;
    }
    .journey-card {
        width: 100%;
        margin-bottom: 1rem;
    }
    .journey-title,
    .journey-desc {
        height: auto;
    }

    .online-card {
        margin-bottom: 3rem;
        margin-top: 1rem;
    }
    body.page-id-32 .calendar-day--off, .page-content__inner .calendar-day--off, body.page-id-32 .calendar-day--on, .page-content__inner .calendar-day--on {
        width: calc(100% / 7);
    }

    body.page-id-32 .calendar-day--off, .page-content__inner .calendar-day--off, body.page-id-32 .calendar-day--none, .page-content__inner .calendar-day--none {
        width: calc(100% / 7);
    }
    .journey-badge.w__short {
        width: 15rem;
    }
}

/* ------------------------ 
    lesson-about
 ------------------------ */
.work__about,
.work__work {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 3rem;
    padding: 2rem;
}

.work__about h2,
.work__about p {
    color: #777;
}

.work__about h2,
.work__work h2 {
    margin-top: 0;
}

.work__about p,
.work__work p {
    margin: 0;
}

.work__about p.title,
.work__work p.title {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.work__work .work-wrap {
    text-align: left;
}

@media screen and (max-width: 599px) {
    .work__about,
    .work__work {
        width: calc(100% - 4rem - 2px);
    }

    .work__about p.title,
    .work__work p.title {
        font-size: 0.85rem;
        text-align: left;
    }
}

/* ------------------------ */
.cases-block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ccc;
}

.cases-block a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    text-decoration: none;    
    padding: 0.5rem;
}

.cases-block a:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.cases-block span.course {
    font-weight: 700;
    margin: 0;
    padding: 0;
    background: none;
    width: 14rem;
}

@media screen and (max-width: 599px) {
    .cases-block a {
        flex-direction: column;
    }

    .cases-block span.course {
        width: 100%;
        text-align: right;
    }
}