@charset "utf-8";
/* -----------------------------------------------------------------
テーマのCSSの上書きは以下で行うこと
WordPress管理画面＞外観＞カスタマイズ＞追加CSS
------------------------------------------------------------------*/
/* -----------------------------------------------------------------------------
キャンバス日本語学校様オリジナルCSS
------------------------------------------------------------------------------*/
/*レスポンシブ用雛形　使うところにコピペ*/
/*
@media screen and (max-width: 560px) {
    /*　スマホの時ここを読み込む　
}
@media screen and (min-width: 768px) {
    /*　画面サイズが768px以上からはここを読み込む　
}
@media screen and (min-width: 960px) {
    /*　画面サイズが960px以上からここを読み込む　
}
@media screen and (min-width: 1200px) {
    /*　画面サイズが1200px以上からはここを読み込む　
}
*/
/*　フォントサイズの計算式　*/
/*　https://modern-fluid-typography.vercel.appで数値設定して、clamp以下をコピペ
例）font-size: clamp(2.6rem, 1.8vw + 1rem, 3.2rem);
*/
/* -------------------------------------
CSS変数
--------------------------------------*/
:root {
    --scroll-bar-width: 0px;
    --VW100: calc(100vw - var(--scroll-bar-width));
    --containerMax: 1920px;
    --contentsInner: 1200px;
    --sectionInner: 1000px;
    --White: #fff;
	--baseBlue: #1363c8;
    --baseLightBlue: #6dbef7;
	--baseBlack: #333;
    --baseGray: #f6f6f6;
    --baseOrange: #ffae00;
    --baseYellow: #ffe600;
    --baseRed: #e60012;
    --baseGreen: #a7d439;
    --baseLightGreen: #c8e484;
}
/* -------------------------------------
　表示切り替え
--------------------------------------*/
@media screen and (max-width: 768px) {
    /*　スマホ・タブレットの時は非表示　*/
    .mobilenone {
        display: none !important;
    }
}
@media screen and (min-width: 769px) {
    /*　スマホ・タブレットより大きい時は非表示　*/
    .pcnone {
		display: none !important;
	}
}
/* -------------------------------------
表示幅、ボディー
--------------------------------------*/
@media (min-width: 922px) {
    body.home .ast-container {
        max-width: 1240px !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
#container {
    width: 100%;
}
.contentsInner {
    width: 100%;
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.sectionInner {
}
.overFlowContents {
    margin-right: calc(50% - (var(--VW100) / 2));
    margin-left: calc(50% - (var(--VW100) / 2));
    padding-right: calc((var(--VW100) / 2) - 50%);
	padding-left: calc((var(--VW100) / 2) - 50%);
    overflow-x: clip;
}
.placeCenter {
    display: grid;
    place-items: center;
}
/* -------------------------------------
マージン
--------------------------------------*/
.mLR-center {
    margin-right: auto;
    margin-left: auto;
}
.mB40 {
    margin-bottom: 40px;
}
/* -------------------------------------
パディング
--------------------------------------*/

/* -------------------------------------
アニメーション
--------------------------------------*/
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100px);
    }
}
/* -------------------------------------
テキスト関係
--------------------------------------*/
/*行高*/
.lineH20 {
    line-height: 2;
} 
.fontB {
	font-weight: 600;
}
.fontN {
	font-weight: 400;
}
/*中央揃え*/
.textCenter {
	text-align: center;
}
/*右詰め*/
.textRight {
	text-align: right;
}
/*均等割り付け*/
.textJustify {
	text-align: justify;
}
.underlineYellow{
	background: linear-gradient(transparent 50%, #ffe600 0%);
}
.textDecoNone {
    text-decoration: none;
}
/* -------------------------------------
カラー、罫線設定
--------------------------------------*/
.noticeRed {
    color: var(--baseRed);
}
/* -------------------------------------
画像設定
--------------------------------------*/
.img_Max100 img {
	max-width: 100%;
	height: auto;
}
.img_W100 img {
	width: 100%
}
/* -------------------------------------
ポジション用
--------------------------------------*/
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.posRelative {
    position: relative;
}
/* -----------------------------------------------------------------
各ページ共通
------------------------------------------------------------------*/
.borderB__dashed {
    border-bottom: 1px dashed #6c4946;
}
.borderBox__solid {
    border: 1px solid #6c4946;
}
/*reCAPTCHAバッジを非表示*/
/*
.grecaptcha-badge {
    visibility: hidden;
}
.recaptchaText {
    padding-bottom: 50px;
    font-size: var(--Font12);
    text-align: center;
    color: gray;
}
*/
/* -----------------------------------------------------------------
トップページ
------------------------------------------------------------------*/
body.home :is(h1, h2, h3, h4, h5, h6) {
    font-size: initial;
}
#top_Header {
    margin-top: 15px;
    margin-bottom: 15px;
}
#top_Header h1 {
    margin-bottom: 10px;
}
body.home #top_Contents-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}
#top_Contents-list .contents-item {
    justify-self: center;
}
@media (min-width: 561px) {
    #top_Header {
        display: flex;
        margin-bottom: 35px;
    }
    #top_Header h1 {
        margin-bottom: 0;
    }
    body.home #top_Contents-list {
        grid-template-columns: repeat(9, 1fr);
    }
    body.home #top_Contents-list h2 {
        grid-column: 1 / span 9;
        grid-row: 1 / 2;
    }
}
.contents-icon {
    width: 100%;
    background: url("../images/top/click-icon.svg") no-repeat bottom / contain;
}
.contents-icon a img {
    transition: all .3s;
}
.contents-icon a:hover img {
    transform: translateY(-15px);
}
.swiper-slide-prev .slide-media.slide_zI img,
.mainVisual .swiper-slide[class*=-active] .slide-media.slide_zI img {
    width: 100%;
    object-fit: cover;
    animation: zoomIn 7s linear 0s normal both;
}
@keyframes zoomIn {
    0% {
        scale: 1;
    }
    100% {
        scale: 1.5;
    }
}
.swiper-slide-prev .slide-media.slide_zO img,
.mainVisual .swiper-slide[class*=-active] .slide-media.slide_zO img {
    width: 100%;
    object-fit: cover;
    animation: zoomOut 7s linear 0s normal both;
}
@keyframes zoomOut {
    0% {
        scale: 1.5;
    }
    100% {
        scale: 1;
    }
}
/* --------------------------------------------------------------
ABOUT US
-------------------------------------------------------------- */
/*組織図*/
.organization-chart {
    width: 100%;
    padding-top: 100px;
    text-align: center;
}
.organization-chart h3 {
    font-size: 32px;
    line-height: 1.7em;
    color: var(--e-global-color-astglobalcolor0);
}
.organization-chart h3 span {
    padding-left: 1em;
    font-size: 50%;
    vertical-align: middle;
}
/* --------------------------------------------------------------
表関係（セル横幅は文字数に合わせて可変にする、タブレットより小さい時は縦並びに）
-------------------------------------------------------------- */
/*各コースの授業時数*/
.course-hours_tbl {
	overflow-x: scroll;  /*表示幅より大きくなった時、スクロール表示に切り替える*/
}
.course-hours_tbl.e-con > .e-con-inner {
	width: auto;
}
.course-hours_tbl table {
	white-space: nowrap;  /*　tableのセル内にある文字の折り返しを禁止　*/
	border: none;
	width: auto;
	max-width: 100%;
}
.course-hours_tbl table th,
.course-hours_tbl table td {
	width: 1px;
	font-weight: normal;
	border: solid 1px #c8c8c9;
}
.course-hours_tbl table th {
	padding: 0.5em 2em;
	text-align: center;
	vertical-align: middle;
	background: #ff931e;
}
.course-hours_tbl table td {
	padding: 0.5em 2em;
	text-align: center;
	vertical-align: middle;
	background: #fff;
}
.course-hours_tbl table tr.row-2 td {
	width: 215px;
}
.course-hours_tbl table tr.row-8 td.column-1,
.course-hours_tbl table tr.row-9 td.column-1 {
    border-top: none;
	border-bottom: none;
	border-left: none;
	background: none;
}
.course-hours_tbl table tr.row-1 td,
.course-hours_tbl table tr.row-8 td:not(.column-1),
.course-hours_tbl table tr.row-9 td:not(.column-1) {
    background: #f2f0ec;
}
.course-hours_tbl table tr.row-4 td,
.course-hours_tbl table tr.row-6 td {
    background: #f7f7f7;
}
/*納入金一覧　*/
.school-fees-tbl {
	overflow-x: scroll;  /*表示幅より大きくなった時、スクロール表示に切り替える*/
}
.school-fees-tbl.e-con > .e-con-inner {
	width: auto;
}
.school-fees-tbl table {
	white-space: nowrap;  /*　tableのセル内にある文字の折り返しを禁止　*/
	border: none;
	width: auto;
	max-width: 100%;
}
.school-fees-tbl table th,
.school-fees-tbl table td {
	width: 1px;
	font-weight: normal;
	border: solid 1px #c8c8c9;
}
.school-fees-tbl table th {
	padding: 0.5em 2em;
	text-align: center;
	vertical-align: middle;
	background: #ff931e;
}
.school-fees-tbl table td {
	padding: 0.5em 2em;
	text-align: center;
	vertical-align: middle;
    background: #fff;
}
.school-fees-tbl table tr td.column-1 {
    background: #f2f0ec;
}
.school-fees-tbl table tr.row-1 td.column-2,
.school-fees-tbl table tr.row-9 td.column-2 {
    background: #bbd1aa;
}
.school-fees-tbl table tr.row-1 td.column-4,
.school-fees-tbl table tr.row-9 td.column-4 {
    background: #f7e47b;
}
.school-fees-tbl table tr:not(.row-1, .row-2, .row-9) td:not(.column-1) {
    text-align: right;
}
/*納入金一覧　*/
.dormitory-fees-text {
    display: grid;
    width: fit-content;
    margin: 0 auto;
}
.dormitory-fees-tbl {
	overflow-x: scroll;  /*表示幅より大きくなった時、スクロール表示に切り替える*/
}
.dormitory-fees-tbl.e-con > .e-con-inner {
	width: auto;
}
.dormitory-fees-tbl table {
	white-space: nowrap;  /*　tableのセル内にある文字の折り返しを禁止　*/
	border: none;
	width: auto;
	max-width: 100%;
}
.dormitory-fees-tbl table th,
.dormitory-fees-tbl table td {
	width: 1px;
    text-align: center;
	vertical-align: middle;
	font-weight: normal;
	border-right: solid 1px #333;
    border-bottom: solid 1px #333;
    background: #fff;
}
.dormitory-fees-tbl table tr:has(td[colspan]) td {
    padding-top: 1.5em;
    text-align: left;
    font-size: 110%;
    border-right: none;
    background: none;
}
.dormitory-fees-tbl table tr:has(td[rowspan]) td.column-1 {
    border-right: solid 1px #c8c8c9;
    border-left: solid 1px #333;
}
.dormitory-fees-tbl table tr:has(td[rowspan]) td.column-2 {
    border-bottom: none;
    background: #f2f0ec;
}
/* -----------------------------------------------------------------
求人情報ページ
------------------------------------------------------------------*/
p.norecruitment {
    font-size: 24px;
    text-align: center;
/*
    background-color: var(--e-global-color-astglobalcolor4);
*/
}
body.single-recruitment_info #recruitment-list,
body.post-type-archive-recruitment_info #recruitment-list {
	margin-top: 40px;
}
#recruitment-list article.recruitment-summary {
    margin-bottom: 40px;
    padding: 1em;
    border: 1px solid #cccccc;
    transition: all .3s;
}
#recruitment-list article.recruitment-summary:hover {
    text-decoration: none;
    box-shadow: 0 0 3px 5px rgba(211, 233, 156, 0.5);
    outline: 0;
}
#recruitment-list article.recruitment-summary a {
    color: #241e1c;
}
#recruitment-list article .recruitment_eyecatch {
    margin-bottom: 20px;
}
#recruitment-list h2.recruitment_title {
    margin-bottom: 20px;
    padding-bottom: 0.25em;
    border-bottom: 1px solid #6c4946;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}
#recruitment-list ul.benefitsBox {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    list-style: none;
}
#recruitment-list ul.benefitsBox li {
    padding: .2em .5em;
    font-size: 14px;
    background: #d3e99c;
    border-radius: 8px;
}
#recruitment-list article.recruitment-summary p.recruitment_detailBtn {
    font-size: 18px;
    text-align: center;
}
#recruitment-list article.recruitment-summary p.recruitment_detailBtn::after {
    margin-left: 1em;
    font-family: "Font Awesome 5 Free";
    content: "\f101";
    font-weight: 900;
}
#recruitment-list article.jobdescription table {
    display: block;
    border: none;
    border-top: 1px solid #cccccc;
    border-collapse: collapse;
}
#recruitment-list article.jobdescription table td {
    display: block;
    padding: .7em 1em;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #cccccc;
    border-left: none;
}
#recruitment-list article.jobdescription table td:nth-child(1) {
    background: #e9f4cd;
}
@media (min-width: 769px) {
    #recruitment-list article a {
        display: grid;
        gap: 25px;
        grid-template-columns: repeat(5, 1fr);
        width: 100%;
    }
    #recruitment-list article .recruitment_eyecatch {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    #recruitment-list article .recruitment_head {
        grid-column: 2 / 6;
        grid-row: 1 / 2;
    }
    #recruitment-list h2.recruitment_title {
        font-size: 28px;
    }
    #recruitment-list article.recruitment-summary p.recruitment_detailBtn {
        grid-column: 1 / 6;
        grid-row: 2 / 2;
        text-align: right;
    }
    #recruitment-list article.jobdescription table {
        display: table;
    }
    #recruitment-list article.jobdescription table td {
        display: table-cell;
    }
    #recruitment-list article.jobdescription table td:nth-child(1) {
        width: 1px;
        white-space: nowrap;
    }
}
/* -----------------------------------------------------------------
お問い合わせページ、完了ページ
------------------------------------------------------------------*/
#contactUs .wpcf7 {
input[type=email], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    -webkit-appearance: none;
    display: block;
    width: 100%;
    border: 1px solid #b6c3c6;
    border-radius: 4px;
    position: relative;
}
.required::after {
    content: "必須";
    margin-left: 1em;
    margin-bottom: 3px;
    padding: 3px 5px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: var(--baseGreen);
    border-radius: 6px;
}
.input-item {
    margin-bottom: 50px;
}
.input-item .input-area-small {
    width: 100%;
}
.input-item input {
    padding: 12px;
    font-size: 18px;
}
.flexTextarea {
    position: relative;
    font-size: 18px;
    line-height: 1.8;
}
.flexTextarea_dummy {
    overflow: hidden;
    visibility: hidden;
    box-sizing: border-box;
    min-height: 250px;
    padding: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid;
}
.flexTextarea_textarea {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 12px;
    background-color: transparent;
    border: 1px solid #b6c3c6;
    border-radius: 4px;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    resize: none;
}
.input-item input:focus,
.flexTextarea_textarea:focus {
    box-shadow: 0 0 0 4px rgba(35, 167, 195, 0.3);
    outline: 0;
}
/*チェックボックを打ち消して新たに作成*/
.input-item.input-contentOK input[type="checkbox"] {
    appearance: none;
    border: 1px solid #b6c3c6;
    width: 17px;
    height: 17px;
    font-size: 10px;
    text-align: center;
}
/*チェックマークを作成*/
.input-item.input-contentOK input[type="checkbox"]:checked::before{
    content: "";
    display: inline-block;
    width: 32px;
    height: 16px;
    border-left: 5px solid var(--baseOrange);
    border-bottom: 5px solid var(--baseOrange);
    translate: -15px -15px;
    rotate: -54deg;
}
.cf-policy {
    text-align: center;
    margin-bottom: 40px;
    font-size: 14px;
}
.cf-policy a {
    color: var(--baseBlue);
    border-bottom: 1px solid var(--baseBlue);
    cursor: pointer;
}
.form-send {
    display: grid;
    place-items: center;
    padding-bottom: 50px;
}
.form-send input#submitBtn {
    padding: 1em 3em;
    font-size: 18px;
    font-weight: 600;
    color: var(--White);
    background: var(--baseOrange);
    border: 1px solid var(--baseOrange);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;;
}
.form-send input#submitBtn:hover {
    color: var(--White);
    font-weight: 600;
    border: 1px solid var(--baseGreen);
    background: var(--baseGreen);
}
}
/*Contect Form 7のCSSをカスタマイズ*/
#contactUs .wpcf7 span.wpcf7-not-valid-tip,
#contactUs .wpcf7 .wpcf7-response-output {
	display: none !important;
}
#contactUs .wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
    pointer-events: none;
    color: var(--baseOrange);
    background: var(--White);
    border: 1px solid var(--baseOrange);
    border-radius: 18px;
    opacity: .3;
}
#contactUs .wpcf7-form-control-wrap {
    position: initial;
}
#contactUs span.wpcf7-spinner {
    display: none;
}
#contactUs .wpcf7 .wpcf7-not-valid-tip {
    position: absolute;
}
#contactUs .wpcf7 .input-contentOK .wpcf7-list-item {
    margin: 0;
}
.error-msg {
    margin: 0;
    font-weight: 600;
    color: red;
}
/*バリデーションエンジンのエラーメッセージカスタマイズ*/
.formError .formErrorContent {
    font-size: 13px;
    font-family: var(--Font_Gothic);
}
#contact-thanks .tel-btn a {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 0;
    font-family: var(--Font_Gothic);
    font-size: 28px;
    font-weight: 600;
    color: var(--baseGreen);
    text-decoration: none;
    cursor: pointer;
}
#contact-thanks .tel-btn a::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 50px;
    padding-left: 50px;
    background: url(../images/common/tel-icon-sp.svg) no-repeat;
    background-position-y: 3px;
    background-size: 40px auto;
}
@media (min-width: 769px) {
    .form-head {
        margin: 0 auto 40px;
    }
    form {
        width: 70%;
        min-width: 500px;
        margin: 0 auto;
    }
    #contact-thanks .tel-btn {
        display: block;
        width: fit-content;
        margin: 30px 0;
    }
    #contact-thanks .tel-btn a::before {
        content: "";
        padding-left: 40px;
        background: url(../images/common/tel-icon-pc.svg) no-repeat;
        background-position-y: 50%;
        background-size: 28px auto;   
    }
    #contact-thanks .section_inner p {
        text-align: center;
    }
}
/* -----------------------------------------------------------------
プライバシーポリシー
------------------------------------------------------------------*/
.pv-policy-text {
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}
