@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*---------------------------------

  ヘッダー

---------------------------------*/
.c-catchphrase, .ttl {
    font-weight: bold;
}
.l-header__inner.l-container .l-header__logo {
    position: relative;
    bottom: 8px;
}

.l-header__bar.pc_ {
    position: absolute;
    bottom: 0;
    left: 0;
}
.l-header__inner.l-container {
    margin-top: 10px;
    margin-bottom: 10px;
}
.c-gnav .sub-menu {
    color: var(--color_header_text);
}
#header .c-headLogo.-img {
    width: 80%;
}
@media (max-width: 1024px) {
	.c-gnav .sub-menu {
		width: 9em;
	}
}
/* お知らせバー */
.c-infoBar__btn {
    color: #0091FF;
    background-color: #ffffff;
}
@media (max-width: 768px) {
	.l-header__inner.l-container .l-header__logo {
		bottom: 0;
	}
	#header .c-headLogo.-img {
		width: 80%;
		margin: 0 auto;
	}	
}
/* メインビジュアル */
br.br-sp {
    display: none;
}
@media (min-width: 1441px) {
	.p-mainVisual__textLayer {
		top: 25%;
	}   
}
.swiper-pagination-bullet.swiper-pagination-bullet {
    background-color: #8f8f8f;
    opacity:1;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #0091FF;
}
.-btn-n>.c-mvBtn__btn {
    font-size: 1.0em;
    border-radius: 40px;
    padding: 14px 60px;
    font-weight: bold;	
}
.p-mainVisual__slideTitle {
    color: #fff;
    font-size: 2.4em;
    font-weight: bold;
    text-shadow: 3px 4px 9px rgb(61 70 70);
}
.p-mainVisual__slideText {
    color: #fff!important;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 3px 4px 6px rgb(61 70 70);
}
.swiper-button-next, .swiper-button-prev{
	background-color:#fff!important;
}
.swiper-button-prev:after,
.swiper-button-next:after {
    color: #000;
}
/*---------------------------------

  コンテンツ

---------------------------------*/
/* 投稿リスト */
.p-postList .p-postList__title {
    font-weight: normal;
}
/* 絞り込み検索 */
.vkfs__labels {
    display: flex;
    width: 100%;
}
.vkfs select, .vkfs__input-wrap--keyword input {
  width: 94%!important;
	/*height: 64px!important;*/
	color: var(--color_main)!important;
	font-weight: bold;
}
.vkfs__input-wrap--keyword input::placeholder {
	color: var(--color_main)!important;
	font-weight: bold;
}
.vk-filter-search.vkfs {
    display: flex;
	  width: 100%;
}
.vkfs .btn-primary {
    width: 70px!important;	
    /*height: 64px;*/
    margin-top: 30px!important;
    position: relative;
    right: 0;
    background-color: var(--color_main);
    color: #fff;
    font-weight: bold;
    border-radius: 12px;
    border: 3px solid #fff;
}
.vkfs .fa-search:before {
    content: "\f002";
    font-size: 28px;
    padding-left: 2px;
}
.vkfs input[type=text], .vkfs select {
    border: 2px solid var(--color_main)!important;
    border-radius: 6px;
}
@media (max-width: 768px) {
	.vkfs__labels {
		display: block;
		width: 100%;
	}
	.vkfs__label-name {
		font-size: .9em;
	}
	.vkfs .btn-primary {
		height: inherit;
	} 	
	.vkfs__label-name {
		display: none;
	}
	.vfs_description {
		font-size: .8em;
	}
	.vkfs .btn-primary {
		margin-top: 0!important;
	}
}

/* 記事内 */
/* カテゴリ―表示 */
.c-postThumb__cat {
   background-image: none;
}
.c-postThumb__cat.icon-folder:before{
    display: none;
}
.p-breadcrumb__list {
    flex-wrap: wrap; 
}
.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text {
    display: block!important;
    opacity: 1;
    white-space: pre-wrap;
}
.p-articleMetas__termList::before {
    display: none;
}
/* カスタムタクソノミー */
.c-taxList__link {
    background-color: var(--color_main);
    color: #fff;
}
.c-taxList:before {
    color: var(--color_main);
}
.area-cat .c-taxList__link{
	background-color: #808080;
}
.area-cat:before{
	color: #808080;
}
.class-cat .c-taxList__link {
	background-color: #000;
}
.class-cat:before{
	color: #000;
}
/* 見出し */
h2.is-style-section_ttl.has-swl-main-color.has-text-color.has-huge-font-size {
    font-size: 2em!important;
}
@media (max-width: 768px) {
	 h2.is-style-section_ttl.has-swl-main-color.has-text-color.has-huge-font-size {
		font-size: 1.4em!important;
	}   
}
/* 投稿リスト */
.home .p-postList__item {
    background-color: #fff!important;
}

.news .-type-card .p-postList__item {
    padding: 0;
    width: 48%;
}

.home .p-postList.-type-card.-pc-col3.-sp-col2 {
    gap: 10px;
	justify-content: center;
}
.home .p-postList__body {
    padding: 0.5em;
	padding-top: 1em;
}
/*
.swell-block-columns__inner::-webkit-scrollbar {
    display: none;
}
*/
@media (min-width: 1020px){
	.home .-type-card.-pc-col3 .p-postList__item{
		width: 32.33333%;
	}
}
/* 記事スライダー */
@media (min-width: 1440px){
	.home .c-scrollHint {
		display: none;
	}
}
/*---------------------------------

  フッター

---------------------------------*/
.l-footer__foot {
    padding-top: 6em;
}
#footer .c-headLogo__img {
    /*-webkit-filter: brightness(0) invert(1);*/
    /*filter: brightness(0) invert(1);	*/
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    bottom: 92px;
    margin: -34px auto;
}
@media (max-width: 959px){
	#footer .c-headLogo__img {
    	width: 137px;		
	}
	.-img .c-headLogo__link {
		padding: inherit;
	}   
}
@media (max-width: 768px) {
	.l-footer__foot {
		padding-top: 4em;
	}
	#footer .c-headLogo__img {
		bottom: 106px;
	}
}
@media (min-width: 600px){
	.l-footer__nav li:first-child a {
		border-left: 0px solid;
	}
	.l-footer__nav a {
		border-right: 0 solid;
	}
	#footer .c-headLogo__img {
		bottom: 96px;
	}	
}
/*---------------------------------

  スマホ

---------------------------------*/
.c-submenuToggleBtn:after {
    border: 0px solid;
    opacity: .15;
    transition: background-color .25s;
}
#mc_embed_signup .button {
	background-color: var(--color_main)!important;
}

/* プロフィール */
.p-authorBox__iconList {
	padding-left: 0!important;
	list-style: none!important;
}
.p-authorBox__iconList {
	padding-left: 0!important;
	list-style: none!important;
}
@media (min-width: 600px) {
	.p-authorBox {
		align-content: stretch;
		display: flex;
		justify-content: space-between;
		padding: 1.5em;
	}
}
.p-authorBox {
	padding: 1em;
    border: 1px solid var(--color_border);
    border-radius: var(--swl-radius--8,0);
}
@media (min-width: 600px) {
	.p-authorBox__l {
		margin-bottom: 0;
		width: 160px;
	}
}
.p-authorBox__l {
    margin: 0 0 1em;
    text-align: center;
}
@media (min-width: 600px) {
	.p-authorBox__r {
		border-left: 1px solid var(--color_border);
		display: flex;
		flex-direction: column;
		padding-left: 1.5em;
		width: calc(100% - 160px - 1.5em);
	}
}
.p-authorBox__name {
    color: inherit;
    display: block;
    font-weight: normal;
    line-height: 1.2;
    margin-top: 8px;
    text-decoration: none;
}
.p-authorBox__desc.u-thin {
    padding: 0 .5em 0 .5em;
}

img[class*="wp-image-"][style*="height\:"]{
	height:auto !important;
}

h4.abroad {
    position: relative;
    padding: 1rem 1rem 1rem 1.5rem;
    border: 3px solid #333;
    font-weight: bold;
    font-size: 20px;
}

h4.abroad:before,
h4.abroad:after {
    position: absolute;
    top: 100%;
    left: 30px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}

h4.abroad:before {
    margin-left: -12px;
    border-color: transparent;
    border-top-color: #333;
    border-width: 12px;
}

h4.abroad:after {
    margin-left: -8px;
    border-color: transparent;
    border-top-color: white;
    border-width: 8px;
}

.scroll-box {
  height: 400px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  padding: 1em;
}

/* ロジカル英語道場ページ専用スタイル */
.logical-dojo-page {
    --primary-color: #0091FF;
    --light-bg: #f8f9fa;
    --shadow: 0 2px 10px rgba(31, 85, 181, 0.1);
}

.logical-dojo-page h1,
.logical-dojo-page h2,
.logical-dojo-page h3 {
    color: var(--primary-color) !important;
}

.logical-dojo-page .wp-block-group {
    font-family: inherit;
    line-height: inherit;
}


/* Swellのハンバーガーメニューボタン改善 */
@media (max-width: 768px) {
    .c-hamburger {
        width: 48px !important;
        height: 48px !important;
        padding: 12px !important;
    }
    
    /* タップ時のフィードバック追加 */
    .c-hamburger:active {
        background-color: rgba(0,0,0,0.05);
        border-radius: 4px;
    }
}

/* Swellのモバイルメニュー項目改善 */
@media (max-width: 768px) {
    .c-drawer__menu .menu-item > a {
        padding: 16px 20px !important;
        font-size: 18px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* サブメニューの改善 */
    .c-drawer__menu .sub-menu .menu-item > a {
        padding: 12px 20px 12px 40px !important;
        font-size: 16px !important;
        background-color: rgba(0,0,0,0.02);
    }
}

/* Swellスマホメニュー改善 - 追加CSSに貼り付け */
@media (max-width: 768px) {
    /* ハンバーガーボタンサイズの最適化 */
    .c-hamburger {
        width: 52px !important;
        height: 52px !important;
        padding: 14px !important;
        margin: 4px !important;
        border-radius: 6px !important;
        background-color: rgba(255,255,255,0.9) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    /* ハンバーガーの線を太く */
    .c-hamburger span {
        height: 3px !important;
        background-color: #333 !important;
        border-radius: 2px !important;
    }
    
    /* 検索ボタンも同様に調整 */
    .c-btn.c-btn--headerSearch {
        width: 52px !important;
        height: 52px !important;
        padding: 14px !important;
        margin: 4px !important;
        border-radius: 6px !important;
    }
}

    /* メニュー項目の余白改善 */
    .c-drawer__menu .menu-item > a {
        padding: 16px 20px !important;
        font-size: 18px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
    }
    
  /* タップ時の反応を強化 */
@media (max-width: 768px) {
    .c-hamburger:active {
        background-color: rgba(0,0,0,0.1) !important;
        border-radius: 6px;
        transform: scale(0.95);
        transition: all 0.1s ease;
    }
}
    
 @media (max-width: 768px) {
    /* メニューの閉じるボタン */
    .c-drawer__close {
        width: 52px !important;
        height: 52px !important;
        font-size: 28px !important;
        border-radius: 6px !important;
        background-color: rgba(0,0,0,0.05) !important;
        color: #666 !important;
    }
}

@media (max-width: 768px) {
    /* ボタンホバー・アクティブ効果 */
    .c-hamburger,
    .c-btn--headerSearch,
    .c-drawer__close {
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* タップ時の縮小アニメーション */
    .c-hamburger:active,
    .c-btn--headerSearch:active {
        transform: scale(0.92) !important;
        background-color: rgba(0,0,0,0.1) !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
    }
    
    /* メニュー項目のホバー効果 */
    .c-drawer__menu .menu-item > a {
        transition: all 0.2s ease !important;
        position: relative !important;
    }
    
    .c-drawer__menu .menu-item > a:active {
        background-color: rgba(59, 130, 246, 0.1) !important;
        transform: translateX(4px) !important;
        padding-left: 24px !important;
    }
}


@media (max-width: 768px) {
    /* ドロワーのスライドアニメーション */
    .c-drawer {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* オーバーレイのフェードイン */
    .c-drawer__overlay {
        transition: opacity 0.25s ease-out !important;
    }
    
    /* メニュー項目の段階的表示 */
    .c-drawer__menu .menu-item {
        transform: translateX(-20px);
        opacity: 0;
        animation: slideInLeft 0.3s ease-out forwards;
    }
    
    .c-drawer__menu .menu-item:nth-child(1) { animation-delay: 0.1s; }
    .c-drawer__menu .menu-item:nth-child(2) { animation-delay: 0.15s; }
    .c-drawer__menu .menu-item:nth-child(3) { animation-delay: 0.2s; }
    .c-drawer__menu .menu-item:nth-child(4) { animation-delay: 0.25s; }
    .c-drawer__menu .menu-item:nth-child(5) { animation-delay: 0.3s; }
}

/* キーフレームアニメーション */
@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    /* 成功したタップのフィードバック */
    .c-hamburger::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background-color: rgba(59, 130, 246, 0.3);
        transform: translate(-50%, -50%);
        transition: all 0.4s ease;
        pointer-events: none;
    }
    
    .c-hamburger:active::after {
        width: 60px;
        height: 60px;
    }
}

/* 最後の仕上げ用CSS */
@media (max-width: 768px) {
    /* ハンバーガーメニューにホバー効果 */
    .c-hamburger:hover {
        background-color: rgba(59, 130, 246, 0.05);
        transition: all 0.2s ease;
    }
    
    /* ロゴの微調整 */
    .c-header__logo {
        margin: 0 auto;
        max-width: 140px;
    }
}

