@charset "utf-8";

/******************************************
基本設定 */

* {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
}

body {
    font-family: kozuka-gothic-pr6n, sans-serif;
    font-weight: 300; /* EL200,L300,R400,M500,B700,H900 */
    font-style: normal;
}

.hissu {
    margin-left: 0.5em;
    padding: 5px;
    font-size: 12px;
    background-color: #e92e2e;
    color: #ffffff;
}

/******************************************
ページ全体の設定 */
body  {
    display: grid;
    grid-template-columns: 20px 1fr 20px;
    grid-template-rows: 
                [head] auto
                [title] 120px
                [contents] auto
                [foot] auto;
}

/******************************************
パーツの配置 */
body > * {
    grid-column: 2/-2;
}

/* ヘッダー */
/*モバイル版の設定 */
@media (max-width: 1024px) {

    header {
        grid-row: head;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .corporatelogo {
        display: block;
        width: 30%;
        height: auto;
        z-index: 0;
    }

    #slidemenu-btn {
        display: block;
        width: 30px;
        height: 30px;
    }

    .header-navbtn {
        display: block;
        position: absolute;
        z-index: 30;
        width: 30px;
        height: 30px;
        background-image: url(../img/navbtn.png);
        background-size: 30px 30px;
    }
    .header-navbtn:hover, .header-navbtn:active {
        background-color: #ccccccf;
    }

    .globalnav {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .globalnav li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #ffffff;
        text-decoration: none;
        line-height: 100%;
        color: #ffffff;
    }
    .globalnav li a:hover, .globalnav li a.current {
        background: #666666;
        color: #ffffff;
    }

} /*モバイル版の設定終了 */
    
/* ナビゲーション */
/* モバイル版の設定 */
@media (max-width: 1024px) {

    nav {
        grid-row: head;
    }

    .nav-container {
        position: absolute;
        top: 62px;
        right: 0;
        z-index: 20;
        margin: 0;
        padding: 0;
        width: 200px;
        background: #666666;
        box-shadow: 0px 5px 5px  rgba(0,0,0,0.4);
    }

    /* ========== Javascript用CSS ========== */
    /* ナビゲーションを最初は非表示。 */
    #js-slidemenu {
        display: none;
    }

} /* モバイル版の設定終了 */

/* パソコン向けではナビゲーションを常に表示 */
@media screen and (min-width: 1025px) {
	#js-slidemenu {
		display: block !important; 
	}
} /* PC版の設定終了 */

/* ナビゲーションが開いたときに画面を暗くする処理のためのCSS */
/* モバイル版の設定 */
@media (max-width: 1024px) {
    .js-slidemenu-effect {
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0.4;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
    }

} /* モバイル版の設定終了 */

/* ページタイトル */
.pagetitle {
    grid-column: 1/-1;
    grid-row: title;
    background: url("../img/pagetitle-bg.png") center center no-repeat;
    background-size:cover;
    padding-left: 20px;
    padding-top: 30px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}
.sub-pagetitle {
    font-size: 15px;
}

/* ページコンテンツ */
.page-contents {
    grid-column: 2 / -2;
    grid-row: contents;
    margin-bottom: 40px;
}

.page-contents section {
    border-bottom: solid 1px #dfdfdf;
    padding-bottom: 50px;
}
.page-contents section:last-child {
    border-bottom: none;
}

.page-contents h2 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 50px;
    margin-bottom: 30px;
    line-height: 1;
}

.page-contents h2 span {
    background: linear-gradient(transparent 60%,#fcc800 60%,#fcc800 100%);
}

.page-contents p {
    line-height: 1.4;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* 講座 */
.koza .page-contents .con_target .inner_target p {
    border: solid 2px #dfdfdf;
    border-radius: 10px 0 10px 0;
    padding: 20px 10px 20px 100px;
}

.koza .page-contents .con_target .inner_target p:nth-child(1) {
    background: url(../img/instructor5.svg) no-repeat 10px center;
}

.koza .page-contents .con_target .inner_target p:nth-child(2) {
    background: url(../img/instructor6.svg) no-repeat 10px center;
}

.koza .page-contents .con_kozanaiyo div {
    background: url(../img/bg_blue.svg) repeat #bad7ff;
    border-radius: 10px 0 10px 0;
    padding: 20px;
}

.koza .page-contents .con_kozanaiyo div li {
    margin-left: -1em;
    line-height: 1.4;
}

.koza .page-contents .con_kozanaiyo .naiyo_demo {
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.koza .nittei .table input.moshikomi {
    border: solid 2px #FC5E5E;
    background-color: #FC5E5E;
    padding: 10px 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
}

.koza .nittei .table span.moshikomi {
    border: solid 2px #cccccc;
    background-color: #efefef;
    padding: 10px 50px;
    color: #000000;
    font-size: 16px;
    font-weight: 300;
    border-radius: 50px;
}

/* 講座一覧ページ */
.koza  .koza-list {
    background-color: #bad7ff;
    margin-top: 30px;
    margin-left: -20px;
    margin-right: -20px;
    padding-top: 35px;
    padding-bottom: 35px;
}

.koza .inner-koza {
    display: grid;
        grid-template-columns: 20px 1fr 20px;
        grid-template-rows: repeat(5,auto);
        grid-row-gap: 15px;
        row-gap: 15px;
}

.koza .inner-koza > * {
    grid-column: 2 / -2;
}

.koza .inner-koza article {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #ffffff;
    border-radius: 10px 0 10px 0;
    box-shadow: 3px 3px 3px 2px #999999;
}

.koza .inner-koza article h3 {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: solid 1px #ebebeb;
}

.koza .inner-koza article img {
    width: 44%;
    height: auto;
}

.koza .inner-koza article ul {
    list-style: none;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
}

.koza .inner-koza article li {
    font-size: 13px;
    line-height: 1;
    margin-bottom: 1.2em;
}

.koza .inner-koza article a {
    text-decoration: none;
    color: #000000;
}

.koza .inner-koza article a:hover {
    color: #cccccc;
}

.koza .inner-koza article .muryo {
    color: #ffffff;
    background-color: #ffa6b9;
    margin-left: 1em;
    padding: 3px;
}

.koza .inner-koza article.htmlcss img {
    width: 44%;
    height: auto;
}

.koza .inner-koza article.wp img {
    width: 44%;
    height: auto;
}

.koza .inner-koza article.php img {
    width: 43%;
    height: auto;
}

.koza .inner-koza article.marke img {
    width: 68%;
    height: auto;
}

.koza .inner-koza article.shikaku img {
    width: 35%;
    height: auto;
}

/* 申し込み・確認ページ */
.entry label{
    display: block;
    margin-top: 20px;
}
.entry form p{
    margin-top: 20px;
}
.entry .radio label, .entry .check label {
    display: inline;
}
.entry input, .entry textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}
.entry .radio input, .entry .check input {
    width: 20px;
}
.entry textarea{
    height: 120px;
}
.entry input[type="submit"]{
    font-size: 18px;
    color: #ffffff;
    background-color: #e3001e;
    border: none;
    -webkit-appearance: none;
    margin-top: 30px;
}

.entry .page-contents p.kakunin {
    margin-top: 3px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    padding: 10px;
}

.page-contents form p.formbutton {
    text-align: center;
}

.page-contents form input[type="button"] {
    width: 40%;
    margin-right: 10px;
}

.entry .page-contents form input[type="submit"] {
    width: 40%;
    margin-left: 10px;
}


/* 講座ページ */
/* モバイル版の設定 */
@media (max-width: 1024px) {
.nittei {
    grid-column: 2/-2;
    grid-row: nittei;
    padding-bottom: 35px;
}


.nittei .table {
    font-size: 14px;
}

.nittei .table .tr {
    border: solid 1px #dfdfdf;
    margin-top: 15px;
}

.nittei .table .td {
    text-align: center;
    padding: 15px;
}

.nittei .table .tr:nth-child(1) {
    display: none;
}

.nittei .table div div:nth-child(odd) {
    background-color: #ffffff;
}

.nittei .table div div:nth-child(even) {
    background-color: #f8f8f8;
}
.nittei .table div div:nth-child(1) {
    background-color: #dfdfdf;
}

.nittei .table .hiduke {
    font-size: 20px;
    color: #e04848;
    font-weight: 700;
}

.nittei .table a.moshikomi {
    border: solid 2px #e04848;
    background-color: #e04848;
    padding: 10px 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
}

.nittei .table a.moshikomi:hover {
    border: solid 2px #e04848;
    background-color: #ffffff;
    color: #e04848;
}

.nittei .table span.moshikomi {
    border: solid 2px #999999;
    background-color: #cccccc;
    padding: 10px 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
}

/* 会社案内 */
.aboutus .page-contents  table.gaiyo {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
}

table.gaiyo th,
table.gaiyo td {
    border-bottom: none;
    display: block;
    width: 100%;
}

table.gaiyo th {
    border-left: solid 1px #dfdfdf;
    border-right: solid 1px #dfdfdf;
    background-color: #f8f8f8;
    padding: 15px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
}

table.gaiyo tr:first-child th {
    border-top: solid 1px #dfdfdf;
    border-left: solid 1px #dfdfdf;
    border-right: solid 1px #dfdfdf;
    border-radius: 10px 10px 0 0;
}

table.gaiyo td {
    border-left: solid 1px #dfdfdf;
    border-right: solid 1px #dfdfdf;
    background-color: #ffffff;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}

table.gaiyo tr:last-child td {
    border-bottom: solid 1px #dfdfdf;
    border-left: solid 1px #dfdfdf;
    border-right: solid 1px #dfdfdf;
    border-radius: 0 0 10px 10px;
}

} /* モバイル版の設定終了 */

/* お問い合わせ */
.contact label{
    display: block;
    margin-top: 20px;
}
.contact form p{
    margin-top: 20px;
}
.contact .radio label,
.contact .check label {
    display: inline;
}
.contact input,
.contact textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}
.contact .radio input,
.contact .check input {
    width: 20px;
}
.contact textarea{
    height: 120px;
}
.contact input[type="submit"]{
    font-size: 18px;
    color: #ffffff;
    background-color: #e3001e;
    border: none;
    -webkit-appearance: none;
    margin-top: 30px;
}

/* 確認ページ */
.contact-tsugi .page-contents p.kakunin{
    margin-top: 3px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    padding: 10px;
}

.contact-tsugi .page-contents form p{
    text-align: center
}

/* 講座案内共通 */
.koza


/* フッター */
footer {
    grid-column: 1/-1;
    grid-row: foot;
    background-color: #313131;
}

.footerlogo {
    margin: 30px 20px 20px 20px;
}

.footerlogo img {
    width: 46%;
    height: auto;
}

.footercontact {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: inset 0 0 5px 5px #cccccc;
    margin: 20px 20px 10px 20px;
    padding: 20px;
}

.footercontact h2 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.footercontact .telno {
    background: url("../img/tel.png") center left no-repeat;
    background-size: auto 100%;
    padding-left: 40px;
    font-size: 30px;
    font-weight: 700;
    color: #ea385a;
    line-height: 1;
}

.footercontact .leadtext {
    margin: 10px 0 15px 0;
    padding-bottom: 15px;
    border-bottom: solid 1px #000000;
    font-size: 12px;
    line-height: 1.2;
}

.footercontact .mail a, .footercontact .form a {
    display: block;
    margin-bottom: 10px;
    background: #c6eeff url("../img/mail.png") 15% center no-repeat;
    border: solid 2px #000000;
    border-radius: 8px;
    padding: 15px 15px 15px 30px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    text-decoration: none; 
}

.footercontact .mail a {
    background: #c6eeff url("../img/mail.png") 15% center no-repeat;
}

.footercontact .form a {
    background: #c6eeff url("../img/form.png") 10% center no-repeat;
}

.footercontact .mail a:hover, .footercontact .form a:hover {
    opacity: 0.5;
}

.footnav1 {
    padding-bottom: 20px;
}

.footnav1 ul {
    padding: 0;
    list-style: none;
}

.footnav1 li a {
    display: block;
    border: solid 1px #ffffff;
    border-radius: 8px 0 8px 0;
    margin: 10px 20px 10px 20px;
    padding: 10px 20px 10px 20px;
    font-size: 14px;
    color: #ffffff;  
}

.footnav1 li a:hover {
    border-color: #cccccc;
    color: #cccccc;
}

.footnav2 {
    background-color: #494949;
}

.footnav2 ul {
    padding: 0;
    padding: 15px 20px;
    text-align: center;
    list-style: none;
}

.footnav2 li {
    display: inline;
    white-space: nowrap;
}

.footnav2 li::after {
    content: '|';
    color: #ffffff;
}

.footnav2 li:last-child::after {
    content: none;
}

.footnav2 li a {
    margin-left: 0.5em;
    margin-right: 0.5em;
    color: #ffffff;
    font-size: 10px;
}

.footnav2 li a:hover {
    color: #cccccc;
}

.copyright {
    padding: 35px 20px;
    background-color: #ededed;
    font-size: 10px;
    color: #666666;
    text-align: center;
}

/*********************************************************
PC版の設定 */
@media (min-width: 1025px) {

/* ページ全体の設定 */
body {
    display: grid;
    grid-template-columns: 300px 50px 1fr 50px;
    grid-template-rows: 
                [head title] 170px
                [contents] auto
                [foot] auto;
}

body > * {
    border-left: solid 1px #e9e9e9;
}

/* ヘッダー */
header {
    grid-column: 1/2;
    grid-row: 1/-1;
    padding: 30px 35px 30px 35px;
    box-sizing: border-box;
    border-left: none;
}

.corporatelogo {
    display: block;
    width: 100%;
    height: auto;
    z-index: 0;
}

a.corporatelogo:hover {
    opacity: 0.5;
}

#slidemenu-btn {
    display: none;
}

/* ナビゲーション */
nav.mainnav {
    grid-column: 1/2;
    grid-row: 1/-1;
    margin-top: 121px;
    border-top: solid 1px #dfdfdf;
    border-left: none;
}

.globalnav {
    list-style: none;
    padding: 0;
}

.globalnav li a {
    display: block;
    padding: 20px 35px 20px 35px;
    border-bottom: solid 1px #dfdfdf;
    box-sizing: border-box;
    color: #000000;
    line-height: 1;
    font-size: 14px;
    background: url(../img/navpoint.png) 90% center no-repeat;
}

.globalnav li.nav-current a {
    background-color: #dfdfdf;
}

.globalnav li a:hover {
    background-color: #dfdfdf;
}

.globalnav li:nth-last-child(1), .globalnav li:nth-last-child(2) {
    
}

.globalnav li:nth-last-child(1) a, .globalnav li:nth-last-child(2) a {
    margin-left: 35px;
    margin-right: 35px;
    padding: 10px 20px 10px 20px;
    border: solid 1px #000000;
    border-radius: 50px;
}

.globalnav li:nth-last-child(1) {
    margin-top: 10px;
}

.globalnav li:nth-last-child(2) {
    margin-top: 20px;
}

/* ページタイトル */
.pagetitle {
    grid-column: 2/-1;
    grid-row: head;
    background: url("../img/pagetitle-bg.png") center center no-repeat;
    background-size:cover;
    padding-left: 50px;
    padding-top: 70px;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
}

.pagetitle br.del {
    display: none;
}

.sub-pagetitle {
    margin-left: 20px;
    font-size: 22px;
}

/* ページコンテンツ */
.page-contents {
    grid-column: 2 / -1;
    grid-row: contents;
    padding-left: 50px;
    padding-right: 50px;
}

.koza .page-contents .con_target div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
}

.koza .page-contents .con_target div.inner_target p {
    font-size: 24px;
    padding-left: 150px;
}

.koza .page-contents .nittei br.del {
    display: none;
}


/* 講座一覧ページ */
.koza .page-contents {
    grid-column: 2/-1;
}

.koza .koza-list {
    margin-top: 0;
    margin-left: -50px;
    margin-right: -50px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.koza .inner-koza {
    display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: 1fr 1fr;
        grid-row-gap: 40px;
        grid-column-gap: 40px;
        row-gap: 40px;
        culumn-gap: 40px;
    margin-left: 50px;
    margin-right: 50px;
}

.koza .inner-koza article li {
    font-size: 17px;
}

.koza .inner-koza .htmlcss {
    grid-column: 1/2;
}

.koza .inner-koza .wp {
    grid-column: 2/3;
}

.koza .inner-koza .php {
    grid-column: 3/4;
}

.koza .inner-koza .marke {
    grid-column: 1/2;
    grid-row: 2/3
}

.koza .inner-koza .shikaku {
    grid-column: 2/3;
    grid-row: 2/3
}

/* 講座ページ */
.nittei {
     padding-bottom: 35px;
}

.table {
    display: block;
}

.tr {
    display: table-row;
}

.th {
    display: table-cell;
    background-color: #f8f8f8;
    text-align: center;
}

.td {
    display: table-cell;
    background-color: #ffffff;
}

.tr, .th, .td {
    border: solid 1px #dfdfdf;
    padding: 16px;
}

.table span.del {
    display: none;
}

.table .tr .td:nth-child(1), .table .tr .td:nth-child(2), .table .tr .td:nth-child(5), .table .tr .td:nth-child(6), .table .tr .td:nth-child(7),{
    border-collapse: collapse;
}

.table .tr:first-child .th:first-child {
    border-radius: 15px 0 0 0;
}

.table .tr:first-child .th:last-child {
    border-radius: 0 15px 0 0;
}

.table .tr:last-child .td:last-child {
    border-radius: 0 0 15px 0;
}

.table .tr:last-child .td:first-child {
    border-radius: 0 0 0 15px;
}

.table a.moshikomi {
    display: block;
    padding: 10px 30px 10px 30px;
    background-color: #e92e2e;
    border-radius: 50px;
    line-height: 1;
    font-weight: 500;
    color: #ffffff;
}

.table a.moshikomi:hover {
    background-color: #cccccc;
}

.table span.moshikomi {
    display: block;
    padding: 10px 30px 10px 30px;
    background-color: #cccccc;
    border-radius: 50px;
    line-height: 1;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

/* 先生紹介 */
.teacher .inner-contents h2 {
    font-size: 40px;
    line-height: 1.4;
}

.teacher .inner-contents {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
    gap: 50px;
}

.teacher .inner-contents figure {
    grid-column: 2/-1;
    grid-row: 1/2;
}

.teacher .inner-contents .inner-midashi {
    grid-column: 1/2;
    grid-row: 1/2;
}

.teacher .inner-contents div {
    grid-column: 1/-1;
    grid-row: 2/3;
}

/* 会社案内 */
.page-contents table.gaiyo {
    width: 100%;
    box-sizing: border-box;
    border: solid 2px #dfdfdf;
    border-collapse: collapse;
    border-radius: 30px;
}

.page-contents table.gaiyo th {
    width: 7em;
    white-space: nowrap;
    padding: 15px;
    box-sizing: border-box;
    background-color: #f8f8f8;
    border: solid 1px #dfdfdf;
    font-weight: 400;
    text-align: left;    
}

.page-contents table.gaiyo td {
    padding: 15px;
    box-sizing: border-box;
    border: solid 1px #dfdfdf;
    background-color: #ffffff;
    font-weight: 300;
}

/* フッター */
footer {
    grid-column: 2/-1;
    grid-row: 5/6;
    background-color: #313131;
}

.footerlogo {
    margin-top: 70px;
    margin-bottom: 50px;
    text-align: center;
}

.footerlogo img {
    width: 220px;
    height: auto;
}

.footerlogo a:hover {
    opacity: 0.5;
}

.footercontact {
    display: grid;
        grid-template-columns: 1.5fr 1fr 1fr;

    margin-left: 50px;
    margin-right: 50px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: inset 0 0 5px 5px #cccccc;
    margin: 30px 50px 30px 50px;
    padding: 23px 50px 23px 50px;
}

.footercontact .tel {
    padding-right: 20px;
    border-right: solid 1px #000000;
}

.footercontact h2 {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.footercontact .telno {
    background: url("../img/tel.png") center left no-repeat;
    background-size: auto 100%;
    padding-left: 40px;
    font-size: 40px;
    font-weight: 700;
    color: #ea385a;
    line-height: 1;
}

.footercontact .leadtext {
    margin: 15px 0 0px 0;

    border-bottom: none;
    font-size: 13px;
    line-height: 1.2;
}

.footercontact .mail {
    align-self: center;
    margin-left: 30px;
}

.footercontact .form {
    align-self: center;
    margin-left: 30px;
}

.footercontact .mail a, .footercontact .form a {
    display: block;
    margin-bottom: 10px;
    background: #c6eeff url("../img/mail.png") 15% center no-repeat;
    border: solid 2px #000000;
    border-radius: 8px;
    padding: 15px 15px 15px 30px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    text-decoration: none; 
}

.footercontact .mail a {
    background: #c6eeff url("../img/mail.png") 15% center no-repeat;
}

.footercontact .form a {
    background: #c6eeff url("../img/form.png") 10% center no-repeat;
}

.footercontact .mail a:hover, .footercontact .form a:hover {
    opacity: 0.5;
}

.footnav1 ul {
    display: flex;
    justify-content: center;
}

.footnav1

.footnav2 li a {
    font-size: 15px;
}

.copyright {
    font-size: 13px;
}

} /* PC版の設定終了
*********************************************************/









/*********************************************************
PC版の設定 */




/* ヘッダー */



