/*!
Theme Name: ivix
Theme URI: https://ivix-design.co.jp/
Author: アイヴィクス株式会社
Author URI: https://ivix-design.co.jp/
Description: あい英語教室そよかぜのホームページ
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
Text Domain: ivix
*/

/* ==========================
   Reset CSS
=========================== */

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}
ul, ol {
    margin: 0;
    padding: 0;
}
}
li {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================
   基本設定 & 変数
=========================== */
:root {
    --primary-color: #005BAC;
    --dark-color: #2e2e2e;
    --light-color: #f4f4f4;
    --white-color: #fff;
    --dark-gray: #989898;
    --marker: #ffea00;
}
body {
    line-height: 1.6;
    margin: 0;
    color: var(--dark-color);
    background-color: var(--white-color);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.zen-kaku-gothic-new-light {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.zen-kaku-gothic-new-medium {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.zen-kaku-gothic-new-bold {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.zen-kaku-gothic-new-black {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900;
    font-style: normal;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
p {
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 0.9rem;
}
img {
    width: 100%;
    max-width: 100%; 
}
.flex {
    display: flex;
    display: -webkit-flex;
}

/* ==========================
   汎用クラス
=========================== */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.section-title p {
    font-size: 1.2rem;
    font-weight: normal;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--light-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn:hover {
    opacity: 0.8;
}
.btn-primary {
    text-align: center;
    margin: 1rem;
}
.btn-primary a {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 30px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    position: relative;
}
.btn-primary a.s {
    font-size: 0.8rem;
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    background-color: var(--white-color);
}
.btn-primary a i {
    position: absolute;
    right: 10px;
    top: 30%;
}
.btn-primary a:hover {
    opacity: 0.8;
    transition: 0.8s;
}
main {
    overflow: hidden;
}
section {
    padding: 1rem 0;
    margin-bottom: 1rem;
}
h2.section-title {
    color: var(--primary-color);
    text-align: center;
}
h2.section-title span {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: normal;
    display: block;
}
h2.section-title:before {
    content: '';
    width: 120px;
    height: 120px;
    display: block;
    margin: auto;
}
h3.wp-block-heading {
    color: var(--primary-color);
    padding: 1rem 0;
    text-decoration: underline;
    font-size: 1.2rem;
}
figure img {
    border-radius: 2rem;
}
figure figcaption {
    color: var(--dark-gray);
    font-size: 0.8rem;
    text-align: end;
}
strong {
    background: linear-gradient(transparent 20%, #ff6 20%);
}

/* ==========================
   ヘッダー
=========================== */
header .logo {
    padding: 2rem 2rem 1rem 2rem;
}
header h2 {
    font-size: 0.8rem;
    text-align: center;
    padding: 0 2rem;
    font-weight: normal;
    color: var(--dark-color);
    max-width: 260px;
    margin: auto;
}
header .gnavi {}
header .gnavi ul {}
header .gnavi ul li {
    border-bottom: 1px solid #d0d0d0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
header .gnavi ul li a {
    color: var(--dark-color);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    position: relative;
    flex: 1;
}
header .gnavi ul li a i {
    position: absolute;
    right: 1rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}
header .gnavi ul li > a:before {
    content: "";
    display: inline-block;
    width: 80px;
    height: 80px;
    background-position: center;
    background-size: contain;
}
/* ホーム */
header .gnavi ul li.menu-item-1036 > a:before {
    background-image: url('./images/icon_home.svg');
}
/* あい先生について */
header .gnavi ul li.menu-item-1038 > a:before {
    background-image: url('./images/icon_about.svg');
}
/* 選ばれる理由 */
header .gnavi ul li.menu-item-1039 > a:before {
    background-image: url('./images/icon_choose.svg');
}
/* 教室紹介 */
header .gnavi ul li.menu-item-1040 > a:before {
    background-image: url('./images/icon_class.svg');
}
/* お客様の声 */
header .gnavi ul li.menu-item-1041 > a:before {
    background-image: url('./images/icon_voice.svg');
}
/* アルク入会特典 */
header .gnavi ul li.menu-item-1042 > a:before {
    background-image: url('./images/icon_privilege.svg');
}
/* お問い合わせ */
header .gnavi ul li.menu-item-87 > a:before {
    background-image: url('./images/icon_inquiry.svg');
}
header .gnavi ul li a span {
    font-size: 0.8rem;
    color: var(--dark-gray);
    display: block;
}
header .gnavi ul li ul {
    background-color: #f7f7f7;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}
header .gnavi ul li ul li {
    border-bottom: 1px dotted #d0d0d0;
}
header .gnavi ul li ul li:last-child {
    border-bottom: 0;
}
header .gnavi ul li ul li a {
    padding: 0.5rem 0 0.5rem 80px;
    font-size: 0.8rem;
}
header .gnavi ul li ul li a:before {
    content: none;
}
header .gnavi ul li.is-active .sub-menu {
    display: block;
    width: 100%;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}
header .gnavi ul li .fa-angle-down {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.5s ease;
}
header .gnavi ul li.is-active .fa-angle-down {
  transform: rotate(180deg);
}
header .post-card-nav {}
header .post-card-nav ul {
    padding: 1rem;
}
header .post-card-nav ul li {
    margin-bottom: 1rem;
    justify-content: space-between;
} 
header .post-card-nav ul li > figure {
    width: 38%;
}
header .post-card-nav ul li > figure img {
    object-fit: cover;
    width: 100%;
    height: 100px;
    border-radius: 5px;
}
header .post-card-nav ul li > div {
    width: 58%;
}
header .post-card-nav ul li div .category {
    margin-bottom: 0.3rem;
}
header .post-card-nav ul li div .category a {
    font-size: 0.6rem;
    text-decoration: none;
    border: 1px solid var(--dark-gray);
    padding: 0.1rem 0.5rem;
    border-radius: 15px;
    color: var(--dark-color);
    display: inline-block;
}
header .post-card-nav ul li div .title {
    text-align: left;
    max-width: inherit;
    padding: 0;
}
header .post-card-nav ul li div .title a {
    font-size: 0.8rem;
    text-align: left;
    text-decoration: none;
    color: var(--dark-color);
}
header .information {
    border: 1px solid var(--dark-gray);
    padding: 1rem 1rem 0;
    border-radius: 0.6rem;
    margin: 0 1rem;
}
header .information .classname {
    text-align: center;
}
header .information .tel {
    text-align: center;
}
header .information .tel a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: bold;
}
header .information .tel a:before {
    content: '';
    background-image: url('./images/icon_phone.png');
    display: inline-block;
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
}
header .information .detail {
    font-size: 0.7rem;
}
header .information .map {
    margin-bottom: 1rem;
}
header .information .btn-primary {
    text-align: center;
}
header .information .sns {
    display: flex;
    margin: 1rem auto;
    max-width: 100px;
    justify-content: space-between;
}
header .information .sns li {
    list-style: none;
}
header .information .sns li a {}
header .information .sns li a img {
    width: 24px;
}
header .close {
    display: none;
}

/* ==========================
   TOPページ
=========================== */
/* メインビジュアル (Hero) */
.hero {
    background: url('./images/hero_pc.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 25vh 0;
    margin: 0;
    box-shadow: 0 10px 40px rgb(0 0 0 / 20%);
}
.hero .container {
    position: relative;
}
.hero-title {
    font-size: 2.4rem;
    color: var(--white-color);
    padding: 2.5rem 0.5rem;
}

/* お役立ち情報 (Posts) */
.post-wrap h2.section-title:before {
    background: url('./images/icon_information.svg') no-repeat;
    background-size: cover;
    background-position: center;
}
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.post-card-img {
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
}
.post-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.post-card-body {
    padding: 20px;
    flex-grow: 1;
}
.post-card-body a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.8rem;
}
.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}
.post-card-category {
    background-color: var(--white-color);
    border: 1px solid var(--dark-color);
    padding: 1px 8px;
    border-radius: 15px;
}
.post-card-category a {
    color: var(--dark-color);
    font-size: 0.8rem;
    font-weight: normal;
}
.post-card-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: var(--primary-color);
}
.post-card-excerpt {
    font-size: 0.9rem;
    margin: 0;
    color: #555;
}
.post-card-footer {
    padding: 0 20px 20px;
    margin-top: auto;
    text-align: center;
}
.slick-slide {
    padding: 0 15px;
    box-sizing: border-box;
}
.slick-list{
    overflow: visible;
    padding: 0 10% 0 0 !important;
}
.slick-list img {
    width: 100%;
    border-radius: 0;
}
.slick-prev, .slick-next {
    width: 40px !important;
    height: 40px !important;
}
.slick-next {
    right: -25px;
}
.slick-prev:before,
.slick-next:before {
    color: var(--primary-color) !important;
    font-size: 40px !important;
}
.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}
.post-wrap {
    overflow: inherit;
    padding: 0;
}
.slider-wrapper {
    overflow: visible;
    max-width: 1100px;
}
.slider-wrapper-inner {
    margin-bottom: 50px;
}
.slick-slider {
    /* margin: 0 -30px; */
    margin-bottom: 4rem !important;
}
.slick-slide {
    margin-right: 15px;
    padding: 0 15px;
    box-sizing: border-box;
}
.slick-prev {
    left: 0 !important;
    z-index: 1;
}
.slick-next {
    right: 0 !important;
    z-index: 1;
}
.slick-prev:before,
.slick-next:before {
    color: var(--primary-color);
    font-size: 30px;
}
.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}

/* あい先生について */
.about-wrap h2.section-title:before {
    background: url('./images/icon_about.svg') no-repeat;
    background-size: cover;
    background-position: center;
}
.about-wrap > p {
    margin-bottom: 2rem;
}

/* 選ばれる理由 */
.choose-wrap h2.section-title:before {
    background: url('./images/icon_choose.svg') no-repeat;
    background-size: cover;
    background-position: center;
}
.choose-wrap > p {
    margin-bottom: 2rem;
}

/* グループ */
.group .container {
    max-width: inherit;
    padding: 0;
}
.group .container > div {
    margin-bottom: 2rem;
}
h2.section-group-title {
    font-size: 1.8rem;
    color: var(--primary-color);
}
h2.section-group-title span {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: normal;
    display: block;
}
.class h2.section-group-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: url('./images/icon_class.svg') no-repeat center left;
    background-size: contain;
    padding: 20px 0 20px 110px;
}
.voice h2.section-group-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: url('./images/icon_voice.svg') no-repeat center left;
    background-size: contain;
    padding: 20px 0 20px 110px;
}
.privilege h2.section-group-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: url('./images/icon_privilege.svg') no-repeat center left;
    background-size: contain;
    padding: 20px 0 20px 110px;
}
.group-wrap .voice {
    flex-direction: row-reverse;
}
.group-wrap div figure {
    width: 50%;
}
.group-wrap div .description {
    width: 50%;
    padding-left: 2rem;
}
.group-wrap .voice .description {
    padding-left: 0;
}
.group-wrap div .description p {
    padding-right: 2rem;
}

/* ==========================
   フッター
=========================== */
/* お問い合わせ */
footer .inquiry {
    margin-bottom: 4rem;
}
footer .inquiry h2.section-title:before {
    background: url('./images/icon_inquiry.svg') no-repeat;
    background-size: cover;
    background-position: center;
}
footer .inquiry ul li {
    list-style: none;
    width: 25%;
}
footer .inquiry ul li a {
    text-decoration: none;
    text-align: center;
    display: block;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    max-width: 240px;
    margin: auto;
    padding: 1rem 2rem 2rem 2rem;
    border-radius: 2rem;
}
footer .inquiry ul li a:before {
    content: '';
    max-width: 100px;
    height: 100px;
    display: block;
    margin: auto;
}
footer .inquiry ul li a.phone:before {
    background: url('./images/icon_tel.svg') no-repeat;
    background-size: 80px;
    background-position: center;
}
footer .inquiry ul li a.mail:before {
    background: url('./images/icon_mail.svg') no-repeat;
    background-size: 80px;
    background-position: center;
}
footer .inquiry ul li a.calendar:before {
    background: url('./images/icon_calendar.svg') no-repeat;
    background-size: 80px;
    background-position: center;
}
footer .inquiry ul li a.download:before {
    background: url('./images/icon_download.svg') no-repeat;
    background-size: 80px;
    background-position: center;
}
footer .inquiry ul li a:hover {
    text-decoration: underline;
}

/* フッターインフォ */
.footer-wrap {
    justify-content: space-between;
    padding: 3rem;
    max-width: inherit;
}
.footer-info {
    width: 24%;
}
.footer-info .footer-logo {
    max-width: 240px;
    margin: 0 auto 1rem;
}
.footer-info .copy01 {}
.footer-info .copy01 p {
    text-align: center;
    line-height: 1.6;
}
.footer-info .copy02 {
  	position: relative;
  	display: inline-block;
  	margin: 1.5em 0;
  	padding: 7px 10px;
  	min-width: 120px;
  	max-width: 100%;
  	color: #555;
  	font-size: 16px;
  	background: #e0edff;
    border-radius: 20px;
    width: 100%;
    text-align: center;
}
.footer-info .copy02:before {
  	content: "";
  	position: absolute;
  	top: -30px;
  	left: 50%;
  	margin-left: -15px;
  	border: 15px solid transparent;
  	border-bottom: 15px solid #e0edff;
}
.footer-info .information {
    margin-top: 1rem;
}
.footer-info .information .tel a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: bold;
}
.footer-info .information .tel a:before {
    content: '';
    background-image: url('./images/icon_phone.png');
    display: inline-block;
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
}
.footer-info .information address {
    font-size: 0.8rem;
    font-style: normal;
}
.footer-info .sns {
    display: flex;
    margin: 1rem 0;
    max-width: 100px;
    justify-content: space-between;
}
.footer-info .sns li {
    list-style: none;
}
.footer-info .sns li a {}
.footer-info .sns li a img {
    width: 24px;
}
#footer-nav {
    margin-bottom: 2rem;
}
#footer-nav li {
    list-style: none;
}
#footer-nav li a {
    text-decoration: none;
    color: var(--dark-color);
    padding: 0.1rem;
    display: block;
}
#footer-nav li a:hover {
    text-decoration: underline;  
}
.footer-map {
    position: relative;
    width: 50%;
    padding-top: 26%;
    /* 16:9のアスペクト比 */
    height: 0;
}
.footer-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.copyright {
    font-size: 0.75rem;
    padding: 0.65rem;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ページトップボタン */
.pagetop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 1000;
}
.pagetop a {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s;
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
}
.pagetop a:hover {
    opacity: 0.5;
}

/* ==========================
   下層ページ
=========================== */
#post section, #archive section {
    border: 0;
}

/* メインビジュアル (Hero) */
#post .hero, #archive .hero {
    padding: 0;
    position: relative;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: top right;
    margin-bottom: 2rem;
}
#post .hero .container, #archive .hero .container{
    max-width: 600px;
    margin: auto;
}
#post .hero .category, #archive .hero .category{
    margin-bottom: 0.6rem;
}
#post .hero .category a, #archive .hero .category a{
    color: var(--dark-color);
    background-color: var(--white-color);
    max-width: 240px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    border-radius: 15px;
    display: block;
    text-decoration: none;
}
#post .hero .category a:hover, #archive .hero .category a:hover{
    text-decoration: underline;
}
#post .hero h1, #archive .hero h1 {
    background-color: var(--primary-color);
    padding: 0 2rem;
}
#post .hero-title, #archive .hero-title {
    top: 0;
    right: -40%;
}

/* パンくずリスト */
.breadcrumb {
    margin-bottom: 0;
    padding: 1rem 2rem;
}
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.breadcrumb li {
    font-size: 0.9rem;
}
.breadcrumb li + li::before {
    content: '>';
    margin: 0 0.6em;
    color: #6c757d;
}
.breadcrumb a {
    color: var(--dark-color);
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb li:last-child {
    color: var(--dark-color);
}

/* 投稿日付 */
#post section#entry {
    text-align: right;
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
}

/* 投稿サムネイル */
#post section .thumbnail img {
    object-fit: cover;
    max-width: 350px;
    width: 100%;
    height: 350px;
    margin: 0 auto 2rem;
}

/* 下層ページ共通 */
main .content {
    margin-bottom: 2rem;
}
main .content h2 {
    font-size: min(5vw, 28px);
    color: var(--white-color);
    line-height: 1.2;
    text-align: left;
    margin: 0 0 1rem -1rem;
    background-color: var(--primary-color);
    padding: 1rem;
    border-left: 20px solid var(--marker);
}
main .content h3 {
    font-size: min(2.8vw, 28px);
    color: var(--primary-color);
    text-align: left;
    margin: 0 0 3rem 0;
    line-height: 1.2;
    padding-bottom: 0.4rem;
}
main .content h4 {
    font-size: min(2.2vw, 22px);
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    border-bottom: 2px solid var(--primary-color);
    border-left: 0.6rem solid var(--marker);
    padding-left: 0.6rem;
}
main .content h5 {
    font-size: min(1.8vw, 18px);
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    border-left: 0.6rem solid var(--marker);
    padding-left: 0.6rem;
}
main .content h6 {
    font-size: min(2vw, 26px);
    color: var(--primary-color);
    border-bottom: 2px dotted var(--primary-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    padding-bottom: 0.4rem;
}
main .content p {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}
main .content p:last-child {
    margin: 0;
    padding-left: 1rem;
}
main .content a {
  color: #83AD38;
  text-decoration: none;
  border-bottom: 1px dotted #83AD38;
  transition: all 0.2s ease;
}
main .content a:hover {
  color: #4D4D4D;
  border-bottom-style: solid;
}
main main .content strong,
.content b {
  color: #4D4D4D;
}
main .content ul,
main .content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
main .content li {
  padding-left: 0.5em;
  margin-bottom: 0.6em;
  color: #4D4D4D;
}
main .content ul li::marker {
  color: #83AD38;
}
main .content ol li::marker {
  color: #83AD38;
  font-weight: bold;
}
main .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 3em 0;
    font-size: 0.95rem;
}
main .content th, main .content td {
    border: 1px solid #e0e0e0;
    padding: 0.8em 1em;
    text-align: left;
    border-bottom: 1px solid var(--primary-color);
}
main .content th {
    color: #4D4D4D;
    font-weight: normal;
}
main .content td {}
main .content tr:nth-of-type(odd) {
  background-color: #fdfdfd;
}
main .content blockquote {
  margin: 1.5em 0;
  padding: 1.5em;
  background-color: #f9f9f9;
  border-left: 5px solid #83AD38;
}
main .content blockquote p {
  color: #707070;
  margin-bottom: 0;
}
main .content-wrap {
    width: 95%;
    margin: 1rem auto;
}
main .content-wrap-inner {
    border: 1px solid var(--light-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white-color);
    margin: auto;
}
.wp-block-image {
    margin-bottom: 3rem;
}
.wp-block-image a {
    border-bottom: 0;
}
.wp-block-image img {
    border-radius: 0;
}
.wp-block-image.size-medium img {
    width: 100%;
    max-width: 600px;
} 

/* アーカイブページ共通 */
#archive .post-card {
    flex-direction: inherit;
    margin-bottom: 2rem;
}
#archive .post-card-img {
    aspect-ratio: 18 / 16;
    width: 30%;
}
#archive .post-card-img img {
    height: 100%;
    border-radius: 0;
}
#archive .post-card-body {
	width: 70%;
}
#archive .navigation .nav-links {
    text-align: center;
    display: flex;
    margin: auto;
    max-width: 450px;
    justify-content: space-around;
}
#archive .navigation .page-numbers {
    display: flex;
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
}
#archive .navigation span.page-numbers {
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
}
#archive .navigation span.page-numbers.current {}

/* よくある質問 */
.faq-list {
    max-width: 700px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden; /* 角丸をきれいに見せるため */
}
.faq-question {
    background-color: #fff;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer; /* クリックできることを示す */
    position: relative; /* ＋/－ マークの位置基準 */
    font-size: 18px;
    color: #444;
}
.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    color: #777;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s; /* アニメーション用 */
}
.faq-answer {
    background-color: #f9f9f9;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    /* --- ★最重要：初期状態では非表示 --- */
    display: none;
}
.faq-question.active {
    background-color: #eaf6ff;
    color: #0056b3;
}
.faq-question.active::after {
    content: '−'; /* マイナス記号 */
    transform: translateY(-50%);
}

/* お問い合わせフォーム */
form.wpcf7-form {
    margin-top: 2rem;
}
form.wpcf7-form .form_wrap {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
}
form.wpcf7-form .form_wrap > p {
    margin: 0;
    width: 30%;
}
form.wpcf7-form .form_wrap label {}
form.wpcf7-form .form_wrap .form_detail {
    width: 70%;
}
form.wpcf7-form .form_wrap .form_detail > p {
    padding-left: 0;
    margin: 0;
}
form.wpcf7-form .form_wrap .form_detail > p span.wpcf7-list-item {
    margin: 0 1rem 0 0;
}
form.wpcf7-form .form_wrap .form_detail input {
	padding: 0.3rem;
    border: 1px solid var(--dark-gray);
}
form.wpcf7-form .form_wrap:nth-child(even) {
    background-color: #fffde7;
}
form.wpcf7-form .form_wrap .form_detail textarea {
    padding: 0.3rem;
    border: 1px solid var(--dark-gray);
    width: 100%;
}
form.wpcf7-form .form_submit input {
	background: -moz-linear-gradient(top, #0986ba, #22a5dc);
    background: -moz-linear-gradient(top, #0986ba, #22a5dc);
    background: -webkit-gradient(linear, left top, left bottom, from(#0986ba), to(#22a5dc));
    display: block;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    max-width: 250px;
    width: 100%;
    border: 2px solid #0986ba;
    font-size: 18px;
    padding: 10px;
    margin: 20px auto 0;
    position: relative;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* ==========================
       汎用クラス
    =========================== */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .section-title span {
        font-size: 0.8rem;
    }
    h2.section-title:before {
        width: 60px;
        height: 60px;
    }
    .features-grid {
        grid-template-columns: 1fr; /* 1カラムに変更 */
    }
    .btn-primary a {
        font-size: 0.8rem;
    }
    .btn-primary a.s {
        font-size: 0.8rem;
    }
    
    /* ==========================
       ヘッダー
    =========================== */
    header h2.copy.sp {
        max-width: inherit;
        background-color: var(--light-color);
    }
    header h2.copy.pc {
        display: none;
    }
    header .logo {
        max-width: 260px;
        margin: auto;
        padding: 1rem;
    }
    #nav-toggle {
        cursor: pointer;
        z-index: 9999;
        position: fixed;
        right: 20px;
        top: 45px;
    }
    #nav-toggle div span {
        display: block;
        width: 30px;
        height: 3px;
        background: #333;
        margin-bottom: 6px;
        transition: all 0.3s ease-in-out;
        position: relative;
    }
    #nav-toggle div span:last-child {
        margin-bottom: 0;
    }
    #nav-toggle.active div span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }
    #nav-toggle.active div span:nth-of-type(2) {
        opacity: 0;
    }
    #nav-toggle.active div span:nth-of-type(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .header-wrap {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        z-index: 9000;
        padding-top: 80px;
        padding-bottom: 50px;
        box-sizing: border-box;
    }
    body.noscroll {
        overflow: hidden;
    }
    header .close {
        background-color: var(--primary-color);
        color: var(--white-color);
        padding: 2px 20px;
        max-width: 200px;
        text-align: center;
        margin: 1rem auto;
        border-radius: 15px;
        cursor: pointer;
    }　

    /* ==========================
       フッター
    =========================== */



    /* ==========================
       TOPページ
    =========================== */
    /* メインビジュアル (Hero) */
    .hero {
        background-size: 100vh;
        background-position: center;
        padding: 60px 0;
        overflow: hidden;
    }
    .hero-title {
        font-size: 2rem;
    }

    /* お役立ち情報 (Post) */
    .post-card-category {
        padding: 1px 5px;
        font-size: 0.8rem;
    }
    .post-card-body a {
        font-size: 0.8rem;
    }
    .post-card-title {
        font-size: 1rem;
    }
    .post-card-excerpt {
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    /* あい先生について、選ばれる理由 */
    .about-wrap > p, .choose-wrap > p {
        font-size: 0.9rem;
    }
    
    /* グループ */
	.group .container {
	    padding: 0 20px;
	}
    .group-wrap div figure {
        width: 100%;
    }
    .group-wrap > div {
        display: block;
    }
    .group-wrap div .description {
        width: 90%;
        margin: auto;
        padding-left: 0;
    }
    .class h2.section-group-title, .voice h2.section-group-title, .privilege h2.section-group-title {
        font-size: 1.4rem;
        background-size: 60px;
        padding: 10px 0 10px 60px;
    }
    h2.section-group-title span {
        font-size: 0.6rem;
    }
    .group-wrap div .description p {
        padding-right: 0;
        font-size: 0.9rem;
    }
    .group-wrap .voice .description .btn-primary {
        text-align: center;
    }

    /* ==========================
    下層ページ
    =========================== */
    /* メインビジュアル (Hero) */
    #post .hero, #archive .hero {
        height: 20vh;
        background-position: top center;
        margin-bottom: 1rem;
    }
    #post .hero h1, #archive .hero h1 {
        font-size: 1rem;
    }

    /* パンくずリスト */
    .breadcrumb {
        margin: 0 10px;
        overflow: hidden;
        white-space: nowrap;
    }
    main .breadcrumb li {
        font-size: 0.8rem;
     }
    main .content h2 {
        font-size: 1.4rem;
        padding: 0.6rem;
    }
    main .content h3 {
        font-size: 1.4rem;
    }
    main .content h4 {
        font-size: 1.3rem;
    }
    main .content h5 {
        font-size: 1.2rem;
    }
    main .content h6 {
        font-size: 1.1rem;
    }
    main .content p {
        font-size: 0.9rem;
    }

    /* アーカイブページ共通 */
    #archive .post-card {
        flex-direction: column;
        margin-bottom: 1rem;
    }
    #archive .post-card-img {
        aspect-ratio: 16 / 10;
        width: 100%;
    }
	#archive .post-card-body {
		width: 100%;
	}
	
    /* お問い合わせフォーム */
	form.wpcf7-form .form_wrap > p {
		width: 100%;
	}
	form.wpcf7-form .form_wrap .form_detail {
		width: 100%;
	}
	form.wpcf7-form .form_wrap .form_detail input[type="text"],
	form.wpcf7-form .form_wrap .form_detail input[type="email"],
	form.wpcf7-form .form_wrap .form_detail input[type="tel"] {
		width: 100%;
	}
	
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* ==========================
       汎用クラス
    =========================== */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .section-title span {
        font-size: 0.8rem;
    }
    h2.section-title:before {
        width: 60px;
        height: 60px;
    }
    .features-grid {
        grid-template-columns: 1fr; /* 1カラムに変更 */
    }
    .btn-primary a {
        font-size: 0.8rem;
    }
    .btn-primary a.s {
        font-size: 0.8rem;
    }
    
    /* ==========================
       ヘッダー
    =========================== */
    header h2.copy.sp {
        max-width: inherit;
        background-color: var(--light-color);
    }
    header h2.copy.pc {
        display: none;
    }
    header .logo {
        max-width: 260px;
        margin: auto;
        padding: 1rem;
    }
    #nav-toggle {
        cursor: pointer;
        z-index: 9999;
        position: fixed;
        right: 20px;
        top: 45px;
    }
    #nav-toggle div span {
        display: block;
        width: 30px;
        height: 3px;
        background: #333;
        margin-bottom: 6px;
        transition: all 0.3s ease-in-out;
        position: relative;
    }
    #nav-toggle div span:last-child {
        margin-bottom: 0;
    }
    #nav-toggle.active div span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }
    #nav-toggle.active div span:nth-of-type(2) {
        opacity: 0;
    }
    #nav-toggle.active div span:nth-of-type(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .header-wrap {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        z-index: 9000;
        padding-top: 80px;
        padding-bottom: 50px;
        box-sizing: border-box;
    }
    body.noscroll {
        overflow: hidden;
    }
    header .post-card-nav ul {
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;
    }
    header .post-card-nav ul li {
        width: 33%;
    }
    header .information {
        max-width: 300px;
        margin: auto;   
    }
    header .close {
        background-color: var(--primary-color);
        color: var(--white-color);
        padding: 2px 20px;
        max-width: 200px;
        text-align: center;
        margin: 1rem auto;
        border-radius: 15px;
        cursor: pointer;
    }
}

@media (min-width: 1025px) {
    /* ==========================
       汎用クラス
    =========================== */
    .grid-wraper {
        display: grid;
        grid-template-columns	:300px 2fr;
        grid-template-rows	:1fr auto;  
    }
    header {
        grid-column: 1 / 2; /* 1列目 */
        grid-row: 1 / 2; /* 1行目 */
        position: sticky;
        top: 0;
    }
    main {
        grid-column: 2 / 2;  /* 2列目 */
        grid-row: 1 / 2; /* 1~2行目 */
    }
    footer {
        grid-column: 2 / 2;  /* 2列目 */
        grid-row: 2 / 2; /* 2行目 */
    }
    .section-title {
        font-size: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr; /* 1カラムに変更 */
    } 

    /* ==========================
       ヘッダー
    =========================== */
    header h2.sp {
        display: none;
    }
}

@media screen and (max-width: 768px) {
	/* お問い合わせフォーム */
    form.wpcf7-form .form_wrap {
        display: block !important;
        padding: 1rem !important;
	    margin: 0;
    }

    form.wpcf7-form .form_wrap > p,
    form.wpcf7-form .form_wrap .form_detail {
        width: 100% !important;
    }

	/* お問い合わせ */
    footer .inquiry ul {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 95%;
        margin: auto;
    }
    footer .inquiry ul li {
        width: 48%;
        margin-bottom: 1rem;
    }
	footer .inquiry ul li a {
	    font-size: 0.8rem;
	}
	footer .inquiry ul li a.phone:before {
	    background-size: 60px;
	}

    /* フッターインフォ */
    .footer-wrap {
        display: block;
	    padding: 1rem;
    }
    .footer-info {
        width: 100%;
    }
    .footer-nav {
        width: 100%;
        margin-bottom: 1rem;
    }
    .footer-map {
        width: 100%;
        padding-top: 56%;
    }
}