/*
Theme Name: プログラミングスクール テックアイエス
*/
/*この下からCSSを書いてください*/
@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');

/* 共通部 */
html[lang="ja"] {
    font-size: 16px;
    /* font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; */
    font-family: "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

time {
    font-family: "Hiragino Maru Gothic Pro", sans-serif;
    color: #003c8a;
}

::placeholder {
    color: #e0e0e0;
    padding-top: 10px;
    padding-left: 16px;
}




.main-inner1 {
    width: 56%;
    max-width: 1080px;
    min-width: 740px;
    margin: 0 auto;
    height: 100%;
}

.main-inner1 p {
    line-height: 1.5em;
}

.common-inner-2{
    height: 100%;
}

.common-theme-color {
    color: #003c8a;
}


/* タイトル共通 */
.common-title-main {
    font-size: 5.8vw;
    margin-bottom: 2vh;
    font-weight: 500;
}

.common-title-sub {
    font-size: 1vw;
    font-weight: 500;
}


/* 紹介共通 */
.common-article-list-fp {
    display: flex;
    width: 100%;
    margin-top: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.common-article-list {
    display: flex;
    width: 100%;
    margin-top: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.common-article-img {
    width: 40%;
    height: auto;
}

.common-article-img img {
    width: 100%;
    height: auto;
}

.common-article-desc {
    width: 60%;
}

.common-article-list-fp > .common-article-desc {
    margin-left: 8%;
}

.common-article-list > .common-article-desc {
    margin-left: 8%;
}

.common-article-list-fp-rev {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    margin-top: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.common-article-list-rev {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    margin-top: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.common-article-list-fp-rev > .common-article-desc {
    margin-right: 8%;
}

.common-article-list-rev > .common-article-desc {
    margin-right: 8%;
}

.common-article-title {
    font-size: 2vw;
    margin-bottom: 5%;
}

.common-article-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    color: #fff;
    width: 250px;
    height: 65px;
    background-color: #003c8a;
    border-radius: 10px;
    margin-top: 8%;
    
}

.common-article-button > p {
    margin-left: 10%;
}

.common-article-button > img {
    margin-right: 10%;
}


/* header */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    height: auto;
    width: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    font-size: 0.94vw;
    font-weight: bold;
    aspect-ratio: 24 / 1;
}

#header > h1 {
    margin-left: 1.5%;
    width: 10.6%;
    height: auto;
    aspect-ratio: 202 / 70;
}

#header > h1 > a > img {
    width: 100%;
    height: auto;
}

#header > #header__nav-pc {
    max-width: 28vw;
    width: 538px;
    height: 100%;
}

#header__list-pc{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.header__item-pc{
    display: flex;
    justify-content: center;
    align-items:center;
    height: 100%;
    font-weight: 600;
    width: 20%;
}

.header__item-pc > a{
    display: block;
    text-align: center;
    font-weight: bold;
    width: 100%;
    /* height:  100%; */
    /* line-height: 4.1vw; */
}

.header__item-contact-pc {
    width: 20%;
    max-width: 106px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 4.1vw; */
    background-color: #003c8a;
    aspect-ratio: 5.5 / 4.1;
}

.header__item-contact-pc > a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    width: 100%;
    height: 100%;
    font-weight: 500;
    background-color: #003c8a;
}

.header__item-contact-pc > a > img {
    width: 22.6%;
}

.header__item-contact-pc > a > p {
    margin-top: 5px;
}

#header__nav-sp {
    visibility: hidden;
    display: none;
}

#header__toggle {
    visibility: hidden;
    display: none;
}


/* header front-page専用 */
.header-fp {
    background-color: transparent;
}

.header__list-pc_fp {
    color: #fff;
}

.header__item-contact-pc_fp {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 100%; */
    aspect-ratio: 5.5 / 4.1;
    background-color: #fff;
}

.header__item-contact-pc_fp > a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #003c8a;
    width: 100%;
    height: 100%;
}

.header__item-contact-pc_fp > a > img {
    width: 22.6%;
}

.header__item-contact-pc_fp > a > p {
    margin-top: 5px;
}


/* footer */
.footer{
    height: auto;
    max-height: 640px;
    color: #fff;
}

.footer__img {
    display: block;
    position: relative;
    height: 432px;
}

.footer__img picture {
    width: 100%;
    height: 100%;
}

.footer__img picture img {
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
    object-fit: cover;
}

.footer__img-phrases {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
}

.footer__img-button {
    position: absolute;
    top: 50%;
    left: 58%;
    transform: translateY(-50%);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #003c8a;
    width: 370px;
    max-width: 35%;
    background-color: #fff;
    border-radius: 10px;
    margin-right: 0;
    margin-left: auto;
}

.footer__img-button > p {
    padding-left: 24px;
    font-size: 1vw;
    font-weight: 500;
}

.footer__img-button > img {
    padding-right: 24px;
}

.footer__body{
    background-color: #000;
    height: 208px;
}

.footer ul[class*="content"] {
    display: flex;
    align-items: center;
    height: 100%;
}

.footer ul li[class*="left"], .footer ul li[class*="right"] {
    width: 50%;
}


.footer__body-left {
    text-align: center;
}

.footer__list {
    display: flex;
}

.footer__item {
    margin-right: 2vw;
}

.footer__footer {
    background-color: #000;
    color: #fff;
    text-align:center;
    padding-bottom: 6px;
}


/* 上部まわり */
section[class*="__top-fv"] {
    padding-top: 16%;
    margin-bottom: 96px;
}

section[class*="__top-fv"] > picture {
    width: 100%;
    height: auto;
}

section[class*="__top-fv"] > picture > img {
    width: 100%;
    height: auto;
}

section[class*="__top-fv"] > .common-title-main {
    margin-left: 10%;
}

section[class*="__top-fv"] > .common-title-sub {
    margin-left: 10%;
    margin-bottom: 96px;
}




/* front-page ------------------------*/
.front-fv {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 96px;
}

.front-fv > picture {
    width: 100%;
}

.front-fv > picture > img {
    width: 100%;
    filter: brightness(0.5);
}

.front-fv__desc {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 10%;
}

.front-fv__desc > h1 {
    font-size: 7vw;
    margin-bottom: 4vh;
}

.front-fv__desc > p {
    font-size: 2vw;
}

.front-news__list {
    margin-top: 64px;
}

.front-news__item {
    width: 100%;
    border-bottom: 1px solid #888;
}

.front-news__item > a{
    display: flex;
    align-items: center;
    width: 93%;
    margin-left: 3.5%;
    margin-right: 3.5%;
    height: 48px;
    
}

.front-news__item > a > div {
    display: flex;
    width: 100%;
    align-items: center;
}

.front-news__item > a > img {
    display: block;
    width: 20px;
}

.front-news__item > a > div > time {
    width: 20%;
}

.front-news__item > a > p {
    margin-right: 0;
    margin-left: auto;
    font-size: 28px;
}

.front-news__to-news {
    margin-top: 64px;
    margin-bottom: 106px;
}

.front-news__to-news > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 140px;
    margin-right: 0;
    margin-left: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #888888;
}





/* About Us ------------------------ */

.aboutus__story_list {
    width: 90%;
    margin-top: 64px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom:55px;
}

.aboutus__story_title {
    width: 73.5%;
    height: 56px;
    /* line-height: 56px; */
    display: flex;
    margin-right: auto;
    margin-left: 17%;
    border-bottom: 1px solid #000;
}

.aboutus__story_title > time {
    margin-right: 17%;
    margin-left: 5%;
    line-height: 56px;
}

.aboutus__story_title > p {
    line-height: 56px;
}



/* News */
.news-news {margin-bottom: 108px;}


/* News記事 */
.single-news__body > time {
    font-size: 0.8vw;
    color: #888888;
}

.single-news__body > h3 {
    font-size: 1.6vw;
    margin-top: 18px;
    margin-bottom: 27px;
    font-weight: 400;
}

.single-news__body > span {
    display: block;
    text-align:center;
    font-size: 0.8vw;
    width: 6.1%;
    margin-bottom: 80px;
    padding: 8px 1.3%;
    background-color: #003c8a;
    color: #ffffff;
}

.single-news__body > img {
    width: 100%;
    height: auto;
}

.single-news__body > p {
    width: auto;
    padding: 0 5.5%;
    margin-top: 80px;
    margin-bottom: 96px;
}




/* company */
.company__desc-table {
    width: 74.1%;
    margin: 0 auto;
    display: table;
    margin-bottom: 67px;
}

.company__desc-table > div {
    display: table-row;
    width: 100%;
}

.company__desc-table dt, .company__desc-table dd {
    display: table-cell;
    vertical-align: middle;
    height: 80px;
    border-bottom: 1px solid #DFE3E6;
}

.company__desc-table dt {
    color: #888;
    width: 30.1%;
    padding-left: 5%;
}

.company__desc-table dd {
    width: 69.9%;
}

.company__map-map {
    width: auto;
    height: 25vw;
    margin-bottom: 96px;
}

.company__map-map > iframe {
    width: 100%;
    height: 100%;
}




/* contact */
.contact__cf7 {
    width: 77%;
    margin: 0 auto;
    font-family: 'Noto Sans JP';
    font-weight: 700;
}

.contact__cf7-form {
    width: auto;
    padding: 0 2%;
}

.contact__cf7-form > p {
    width: auto;
    /* padding: 0 2%; */
    text-align: center;
    margin-bottom: 64px;
}

.ContactForm7-contact__label {
    margin-top: 24px;
    margin-bottom: 8px;
}

.ContactForm7-contact__label > p > span {
    color:#FF0000;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.ContactForm7-contact > p input, .ContactForm7-contact > p textarea {
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
} 

.ContactForm7-contact > p input {
    height: 38px;
}

.ContactForm7-contact > p textarea {
    height: 230px;
}

.ContactForm7-contact__submit {
    margin: 73px auto;
    width: 100%;
}

.ContactForm7-contact__submit > p {
    text-align: center;
}



.ContactForm7-contact__submit > p > input {
    width: 250px;
    height: 60px;
    border-radius: 10px;
    color: #fff;
    background-color: #003c8a;
    font-size: 18px;
    border: none;
}

.ContactForm7-contact__submit > p > span {
    display: block;
}











/* ---------------------------------- */
/* ---------------------------------- */
/* ---------------------------------- */
/* --------------- SP --------------- */
/* ---------------------------------- */
/* ---------------------------------- */
/* ---------------------------------- */

@media screen and (max-width: 767px){
    body {
        font-size: 14px;
    }

    ::placeholder {
        padding-left: 10px;
        font-size:16px;
    }

    input {
        font-size: 16px;
    }
    
    /* 共通部 */
    .main-inner1 {
        width: auto;
        max-width: initial;
        min-width: initial;
    }


    /* タイトル共通 */
    .common-title-main {
        font-size: 11vw;
        margin-bottom:8px;
    }
    
    .common-title-sub {
        font-size: 3vw;
    }

    .main-inner1 .common-title-main,
    .main-inner1 .common-title-sub {
        margin-left: 6%;
    }



    /* 紹介共通 */
    .common-article-list-fp,
    .common-article-list-fp-rev,
    .common-article-list,
    .common-article-list-rev {
        display: block;
      }

    .common-article-img {
        width: 100%;
    }

    .common-article-desc {
        width: auto;
        margin: 0 6%;
    }

    .common-article-list-fp > .common-article-desc {
        margin-left: 6%;
    }

    .common-article-list > .common-article-desc {
        margin-left: 6%;
    }

    .common-article-list-fp-rev > .common-article-desc {
        margin-right: 6%;
    }
    
    .common-article-list-rev > .common-article-desc {
        margin-right: 6%;
    }

    .common-article-title {
        font-size: 6.4vw;
        margin-top: 40px;
    }

    .common-article-button {
        margin-left: auto;
        margin-right: auto;
    }

    

    /* header */
    #header {
        /* height: 50px; */
        align-items: stretch;
        aspect-ratio: auto;
    }

    #header > h1 {
        width: 31%;
        height: auto;
        aspect-ratio: 116 / 40;
    }

    #header > h1 > a > img {
        height: 100%;
        width: 100%;
    }

    #header__toggle {
        display: block;
        visibility: visible;
        position: relative;
        width: 50px;
        height: 50px;
    }

    #header__toggle > i{
        display: block;
        width: 100%;
        height: 2px;
        background-color: #003c8a;
        position: absolute;
        transition: transform .5s, opacity .5s;
    }
    #header__toggle > i:nth-child(1) {
        top: 33%;
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
    }
    #header__toggle > i:nth-child(2) {
        top: 0;
        bottom: 0;
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
        margin: auto;
    }
    #header__toggle > i:nth-child(3) {
        bottom: 33%;
        left: 50%;
        width: 50%;
        transform: translateX(-50%);
    }

    #header__nav-pc {
        visibility: hidden;
        display: none;
    }

    #header__nav-sp {
        height: 100vh;
        width: 100vw;
        background-color: #fff;
        position: fixed;
        top:50px;
        left:0;
        right:0;
        z-index:2;
    }

    #header__list-sp {
        margin-top: 69px;
        width: auto;
        padding-left: 6%;
        padding-right: 6%;

    }

    .header__item-sp {
        height: 54px;
        width: auto;
        margin-bottom: 24px;
    }

    .header__item-sp > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        width: auto;
        font-size:30px;
        font-weight: bold;
        padding-left: 4.9%;
        padding-right: 4.9%;
        border-bottom: 1px solid #000;
    }

    .header__item-sp > a > p:last-child {
        font-size: 20px;
        padding-right: 16px;
    }

    .header__item-sp > a > img {
        display: block;
        width: 6.1%;
    }

    /* header front-pageのみ */
    #header__toggle.header__toggle_fp{
        background-color: #fff;
    }

    /* header メニュー表示 */
    #header__toggle.show i:nth-child(1) {
        transform: translate(-50%, 5px) rotate(-45deg);
    }
    #header__toggle.show i:nth-child(2) {
        opacity: 0;
    }
    #header__toggle.show i:nth-child(3) {
        transform: translate(-50%, -10px) rotate(45deg);
    }

    #header__nav-sp.show {
        visibility: visible;
        display: block;
        opacity: 1;
    }

    
    /* footer */
    .footer__img {
        /* height: 50%; */
        height: 320px;
    }

    .footer__body {
        /* height: 50%; */
        height: 320px;
    }


    .footer ul[class*="content"] {
        display: block;
        height: 100%;
    }

    .footer ul li[class*="left"], .footer ul li[class*="right"] {
        width: 100%;
    }

    .footer__img-phrases {
        position: absolute;
        top: 19%;
        left: 6%;
        transform: translate(0,0);
    }

    .footer__img-phrases > .common-title-main {
       font-size: 15vw;
    }
    
    .footer__img-button {
        position: absolute;
        top: 64.2%;
        left: 6%;
        transform: translate(0,0);
        width: 87%;
        max-width: initial;
    }

    .footer__img-button > p {
        font-size: 4.3vw;
    }

    .footer__body-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer__body-left {
        padding-top: 24px;
        height: 10%;
        text-align: left;
        margin-bottom: 42px;
    }

    .footer__body-right{
        height: auto;
    }

    .footer__list {
        display: block;
    }

    .footer__item {
        margin-top: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgb(223,227,230,0.2);
    }

    .footer__item > a {
        display: block;
        width: 100%;
    }

    /* front-page  */
    .front-fv__desc {
        top: 62.5%;
        left: 6.4%;

    }
    .front-fv__desc > h1 {
        font-size: 9.6vw;

    }
    .front-news__item {
        width: auto;
        margin: 0 6%;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .front-news__item > a {
        height: 52px;
    }

    .front-news__item > a > div {
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        row-gap: 0;
    }

    .front-news__item > a > div > time {
        font-size: 10px;
        width: 100%;
        margin-bottom: 12px;
    }

    .front-news__item > a > div> p {
        font-size: 16px;
    }

    .front-news__to-news {
        margin-right: 6%;
    }
    
    /* トップまわり */
    section[class*="__top-fv"] {
        padding-top: 96px;
        margin-bottom: 55px;
    }

    section[class*="__top-fv"] > .common-title-main {
        margin-left: 6%;
    }

    section[class*="__top-fv"] > .common-title-sub {
        margin-left: 6%;
        margin-bottom: 46px;
    }


    /* AboutUs */
    .aboutus__story_list {
        width: 87.2%;
        margin: 0 auto;
        margin-bottom: 55px;
    }
    
    .aboutus__story_title {
        width: auto;
        margin: 0 auto;
    }
    
    .aboutus__story_title > time {
        font-size: 10px;
        width: 23%;
        margin: 0 0 0 2%;
    }

    /* News */
    .news-news {
        margin-top: 54px;
        margin-bottom: 54px;
    }

    /* News記事 */
    .single-news__body {
        margin: 0 6%;
    }

    .single-news__body > time {
        font-size: 2.6vw;
    }

    .single-news__body > h3 {
        font-size: 6.4vw;
        margin-bottom: 17px;
    }
    
    .single-news__body > span {
        font-size: 2.6vw;
        margin-bottom: 37px;
        width: 16.3%;
    }
    
    .single-news__body > p {
        margin-top: 32px;
        margin-bottom: 56px;
    }

    /* company */
    .company__desc-table {
        width: auto;
        margin-top: 54px;
        margin-bottom: 40px;
        margin-left: 6%;
        margin-right: 6%;
        display: block;
    }
    
    .company__desc-table > div {
        width: auto;
        padding-left: 2%;
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #888;
        margin-bottom: 16px;
    }
    
    .company__desc-table dt, .company__desc-table dd {
        display: block;
        height: auto;
        border-bottom: none;
    }
    
    .company__desc-table dt {
        font-size: 3vw;
        padding-left: 0;
        margin-bottom: 12px;
    }

    .company__desc-table dd{
        font-size: 3.7vw;
        padding-bottom: 16px;
        line-height: 1.5em;
        font-weight:400;
    }

    .company__map-map {
        height: 250px;
    }

    /* contact */
    section.contact__top-fv {
        margin-bottom: 32px;
    }


    .contact__cf7 {
        width: auto;
        margin: 0 6%;
    }

    .contact__cf7 > p {
        text-align: left;
        margin-bottom: 34px;
    }

}