/* Oliginal Front 01 用 CSS 
 * 2025.05.11 created grit TOPから流用して作成(一部、改修済み)
 */
@charset "UTF-8";
/* Reset ------------------------------------ */
body{
    background-color: #fff;
    color: #333;
    font-family: "Fira Sans", "Sawarabi Gothic", sans-serif;
}
a,a:hover{
    color:#333;
    text-decoration: none;
}
a,h1,h2,h3,h4,h5{
    font-weight: normal;
    font-size:1em;
    line-height: 1.5;
    margin: 0%;
}
ul{
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}
:root {
    --accent-color: #c4302b;
  }
/* ------------------------------------------- */


/* Font -------------------------------------- */
.wf-sawarabigothic { font-family: "Sawarabi Gothic"; }
.wf-notosansjapanese { font-family: "Noto Sans JP"; }
.wf-sawarabimincho { font-family: "Sawarabi Mincho"; }
/* 共通使用Class ----------------------------------- */
a.btn {
    color: #fff;
    background-color: #333;
    display: inline-block;
    padding: 0.5em 2em 0.5em 1.5em;
    margin: 15px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 2px 20px rgb(0 0 0 / 20%);
}
/* ハンバーガーメニュー ------------------------ */
.menu-btn {
    position: fixed;
    top: 0.5em;
    right: 10px;
    display: flex;
    height: 50px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    /* background-color: #3584bb; */
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    /* background-color: #ffffff; */
    background-color: #333;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}
/* メニューオープン時 × ボタンに start */
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*真ん中の線は透明に*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
/* メニューオープン時 × ボタンに end  */
#menu-btn-check {
    display: none; /*チェックボタンは常に隠す*/
}
ul#h-menu  {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #fff;
    transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ ul#h-menu {
    left: 0;/*メニューを画面内へ*/
}
ul#h-menu {
    padding: 70px 10px 0;
}
ul#h-menu li {
    border-bottom: solid 1px #333;
    list-style: none;
}
ul#h-menu li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#333;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
ul#h-menu li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

/* -- Youtube & Books の box -- */
.boxarea {
    background-color: #f5f5f5;
    padding: 1em;
    margin: 0 auto;
}
.boxarea:not(:last-of-type) {
    margin-bottom: 2em;
}
.boxarea h3 {
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 0.2em;
}

/* 個別指定 -------------------------------------- */

#container-of01{
    margin: 0 auto;
}
/* h1,h2情報を隠す */
#info {
    font-size: 9px;
    position: absolute;
    top:0;
}
/* -- ヘッダー -- */
header{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background-color: #fff;
    padding: 1.3em 0.5em 0.5em;
}
header #top-text {
    float: left;
}
header #top-text a{
    color: #000;
    font-size: 1.5em;
    line-height: 1em;
    font-weight: 900;
}

header #h-hamburger-menu{
    float: right;
}

/* -- メインコンテンツ枠 -- */
#content-of01 {
    margin: 0 auto 2em auto;
}

#top-box{
    position: relative;
    margin-bottom: 2em;
    /* margin: 2em 0; */
    background-color: #a9a9a9;
    height: 690px;
}
#top-box #top-img-text {
    position: relative;
}
#top-box #top-img-text #area-image{
    background: url(https://shunsukeoyama.com/wp-content/uploads/2022/04/shunsukeoyama_top.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right -90px bottom;
    filter: grayscale(85%);
    height: 420px;
}
#top-box #top-img-text #t-box-text{
    background-color: rgb(60 50 50 / 78%);
    width: 35%;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 5;
}
#top-box #t-box-text #t-box-a {
    position: relative;
    top: 23%;
    /* left: 1em; */
    color: #fff;
    text-align: center;
    padding: 0.5em;
}
#top-box #t-box-text #t-box-a .icon-start {
    display: inline-block;
    background-color: #ffae00;
    border-radius: 50%;
    line-height: 1;
    padding: 0.2em 0.3em;
    margin-bottom: 0.7em;
}
#top-box #t-box-text #t-box-a .icon-start::before{
    font-family: 'Material Icons';
    content: '\e838';
    font-size: 1.5em;
    line-height: 1em;
}
#top-box #t-box-text #t-box-a #text-name {
    /* text-align: center; */
    line-height: 1;
    font-size: 0.9em;
    border: 2px solid #fff;
    padding: 0.3em;
}
#top-box #t-box-text #t-box-a p#text-1{
    font-size: 1.2em;
    margin: 1.3em 0 0;
    line-height: 1;
    font-family: "Sawarabi Mincho";
    letter-spacing: 0.2em;
    font-weight: bold;
}
#top-box #t-box-text #t-box-a p#text-2{
    font-size: 0.7em;
    line-height: 1;
    margin-top: 1em;
    font-family: "Sawarabi Mincho";
}
.br-heidde{
    display: inline;
}


/* -- リンクカード -- */
#top-box #area-mini-card{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
    margin: 0 0.8em;
    bottom: 1em;
    top: -4em;
    z-index: 10;
}

#top-box #area-mini-card .mini-card {
    position: relative;
    width: calc(95% /2);
    padding: 0 0.3em;
    background-color: #fff;
    box-shadow: 2px 2px 8px #909090;
    border-radius: 10px;
    margin-bottom: 0.5em;
    height: 150px;
    text-align: center;
}
#top-box #area-mini-card .mini-card h3 {
    font-size: 1em;
    color: #666;
}
#top-box #area-mini-card .mini-card a{
    background-color: #fff;
    border: solid var(--accent-color) 1.5px;
    display: inline-block;
    margin: 0.3em 0 1em;
    padding: 0.3em 2.5em 0.3em 2em;
    box-shadow: none;
    color: #333;
    font-weight: 300;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    position: relative;
    font-size: 0.8em;
}
#top-box #area-mini-card .mini-card a:hover{
    background-color: var( --accent-color);
    color: #fff;
}
#top-box #area-mini-card .mini-card a::after{
    font-family: 'Material Icons';
    content: '\e5df';/* arrow_right */
    font-size: 2em;
    line-height: 1em;
    position: absolute;
    top: 4px;
    right: 5px;
    color: var(--accent-color);
}
#top-box #area-mini-card .mini-card a:hover::after{
    color: #fff;
}
#top-box #area-mini-card .mini-card:not(#m-youtube)::before{ /* YouTube以外のアイコン */
    font-family: 'Material Icons';
    font-size: 3em;
    color: #CCC;
    line-height: 1;
    margin-top: 0.2em;
    display: inline-block;
}
#top-box #area-mini-card .mini-card#m-about::before{ /* 大山俊輔について */
    content: '\e0ed';/* sentiment_satisfied_alt */
}
#top-box #area-mini-card .mini-card#m-grid::before{ /* 英語コーチング */
    content:'\e8af';/* question_answer */
}
#top-box #area-mini-card .mini-card#m-bcafe::before{ /* b わたしの英会話*/
    content:'\e8d3';/* supervisor_account */
}
#top-box #area-mini-card .mini-card#m-youtube i.lab.la-youtube{ /* Youtubeチャンネル */
    font-size: 3em;
    color: #CCC;
    margin: 0.2em 0;
}


/* -- YouTube -- */
#area-youtube {
    background-color: #fff;
}
#area-youtube #y-header #y-h-02{
    background-image: url(https://yt3.googleusercontent.com/u0Fp8ZpbKXC5NK2qRJdSsBjP-74-fZ2jtwJF7m3PovsFEBN8ufkJpzneBzRNtHybbxcXddp0bA=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 80px;
    border-radius: 16px;
}
#area-youtube #y-header #y-h-02 a{
    display: block;
    width: 100%;
    height: 100%;
}
#area-youtube #y-text {
    margin: 2em 0;
    line-height: 1.5em;
    font-size: 0.9em;
}
#area-youtube #y-text h4 {
    font-size: 1.3em;
    text-align: center;
}
#area-youtube #y-text p {
    width: 95%;
    margin: 1em auto;
    padding: 1.5em;
    background: #fff;
    /* チェック背景 start */
    background-image: linear-gradient(to bottom, rgba(235, 235, 235, 0.5) 0%, rgba(235, 235, 235, 0.5) 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%),
     linear-gradient(to right, rgba(235, 235, 235, 0.5) 0%, rgba(235, 235, 235, 0.5) 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    background-size: 5px 5px;
    /* チェック背景 end */
}
#area-youtube #y-youtube{
    margin: 1.5em auto;
}
#area-youtube #y-youtube .y-box{
    margin: 1em 0;
}
#area-youtube #y-youtube .y-box iframe {
    border-radius: 3px;
    box-shadow: 0px 0px 6px 1px rgb(0 0 0 / 60%);
    width: 100%;
}
#area-youtube #y-youtube .y-box p {
    margin: 0.5em 0;
    font-size: 0.9em;
    line-height: 1.3em;
    color: #333;
}

/* -- New Articles -- */
#area-news .top-card{
    height: auto;
}

/* -- Youtube & New Articles -- */
#area-youtube #y-btn,
#area-news #n-btn {
    margin: 2em 0 0;
    text-align: center;
}
#area-youtube #y-btn a,
#area-news #n-btn a {
    background-color: var(--accent-color);
    border-bottom: solid 4px #601411;
    position: relative;
}
#area-youtube #y-btn a:hover,
#area-news #n-btn a:hover{
    background-color: #fc0400;
}
#area-youtube #y-btn a::after,
#area-news #n-btn a::after{
    font-family: 'Material Icons';
    content: '\e5df';/* arrow_right */
    font-size: 2em;
    line-height: 1em;
    position: absolute;
    top: 5px;
    right: 5px;
}

/* -- New Articles -- */
.top-card{
    margin: 1em 3% 4em;
}
.top-card a:hover{
    text-decoration-line: none;
}
.top-card ul{
    text-align: center;
    margin-top: 1.5em;
}
.top-card li{
    border-bottom: solid 1px #cdcdcd;
}
.top-card li a{
    display: block;
    width: 100%;
    height: 100%;
}
.top-card li:nth-child(3){
    display: none;
}
.top-card li a:hover{
    opacity: 0.75;
}
.top-card li:after{
    content: '';
    clear: both;
    display: block;
}
.top-card li p.top-card-img{
    float: left;
    width: 30%;
    margin: 0.5em 0.5em 0.5em 0;
}
.top-card .top-card-heder-title{
    text-align: center;
    font-size: 1.2em;
    font-family: sans-serif;
    color: #333;
    padding: 10px 3% 0;
    border-bottom: solid 1px #333;
}
.top-card .top-card-date{
    font-size: 0.8em;
    line-height: 3em;
    text-align: left;
    margin-bottom: 0;
}
.top-card .top-card-title{
    font-size: 0.8em;
    line-height: 1.4em;
    text-align: left;
    color: #000;
    display: grid;
    margin-top: 0;
}
.top-card .top-card-more{
    margin: 2em auto;
    text-align: center;
    border: 1px solid #707070;
    width: 80%;
    max-width: 320px;
}
.top-card .top-card-more:hover{
    background-color: #4f96f6;
    border: 1px solid #4f96f6;
}
.top-card .top-card-more a{
    display: block;
    color:#333;
}
.top-card .top-card-more a:hover{
    color: #fff;
}

/* -- Twitter -- */
#area-twitter {
    background-color: #fff;
}

/* -- Books -- */
#area-books h3 {
    position: relative;
    display: inline-block;
}
#area-books .b-box{
    margin: 0 0 2em;
}
#area-books .b-box:not(:first-of-type){
    margin-top: 2em;
}
#area-books .b-box .b-box-text p {
    margin: 3em 1em 0;
    text-align: center;
}
#area-books .b-box img {
    width: 40%;
    float: left;
    margin-right: 1em;
}
#area-books .b-box h4.book-title {
    font-size: 0.91em;
    line-height: 1.2;
}
#area-books .b-box::after{
    clear: both;
    content: "";
    display: block;
}


/* -- フッター -- */
footer{
    border-top: 2px solid #eaeaea;
    padding: 1em 0.5em;
    font-family: 'Open Sans', 'Sawarabi Gothic', sans-serif;
}

footer a:hover{
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
}
footer #copy-right{
    text-align: center;
    font-size: 0.8em;
}
footer #copy-right span {
    padding-left: 1em;
}

@media only screen and (min-width: 450px) {
    #top-box #top-img-text #t-box-text{
        left: 1em;
    }
    #top-box #t-box-text #t-box-a {
        top: 20%;
        padding: 1em;
    }
    #top-box #t-box-text #t-box-a .icon-start {
        margin-bottom: 0.5em;
    }
    #top-box #t-box-text #t-box-a .icon-start::before{
        font-size: 2em;
    }
    #top-box #t-box-text #t-box-a #text-name {
        font-size: 1.3em;
    }
    #top-box #t-box-text #t-box-a p#text-2{
        margin-top:0.5em;
    }
    .br-heidde{
        display: none;
    }

}
@media only screen and (min-width: 600px) {
    #top-box #top-img-text #area-image{
        background-position: right bottom;
    }

}

@media only screen and (min-width: 767px) {
    #container-of01,
    header{
        /* width:90%; */
    }

    /* -- Youtube & Books の box -- */
    .boxarea {
        padding: 1.5em;
        width: 100%;
        max-width: 1000px;
    }
    .boxarea h3 {
        font-size: 2.5em;
    }


    .menu-btn{
        display: none;
    }
    ul#h-menu{
        width: auto;
        height: auto;
        position: static;
        padding: 0;
    }

    header{
        padding: 0.8em 0.5em 0.2em;
    }
    header ul#h-menu li{
        display: inline-block;
        border-bottom: none;
    }
    header ul#h-menu li:not(:last-of-type){
        margin-right: 1em;
        padding-bottom: 0.1em;
    }
    header ul#h-menu li a{
        display:inline;
        width: auto;
        font-size: 1em;
        padding: 0;
        position: static;
    }
    header ul#h-menu li a:hover{
        display: inline-block;
        border-bottom: 2px solid var(--accent-color);
    }

    /* -- コンテンツ -- */
    #content-of01{
        margin: 1em auto 2em;
    }

    #top-box{
        height: 600px;
    }

    #top-box #t-box-text #t-box-a .icon-start {
        margin-bottom: 1em;
    }
    #top-box #t-box-text #t-box-a #text-name {
        font-size: 1.5em;
        max-width: 85%;
        margin: 0 auto;
    }

    /* -- リンクカード -- */
    #top-box #area-mini-card{
        top:-3em;
    }
    #top-box #area-mini-card .mini-card {
        width: calc(95% /4);
        height: 200px;
        padding: 0 0.5em 0 1em;
    }
    #top-box #area-mini-card .mini-card h3 {
        font-size: 0.85em;
    }
    #top-box #area-mini-card .mini-card a{
        margin: 1em 0;
        padding: 0.5em 2.5em 0.5em 2em;
        font-size: 1em;
    }
    #top-box #area-mini-card .mini-card:not(#m-youtube)::before{
        margin-top: 0.5em;
    }
    #top-box #area-mini-card .mini-card#m-youtube i.lab.la-youtube{ /* Youtubeチャンネル */
        /* margin-bottom: 5px; */
        font-size: 3.2em;
        margin: 0.4em 0 0.2em;
    }

    
    /* -- YouTube -- */
    #area-youtube #y-header{
        display: flex;
    }
    #area-youtube #y-header #y-h-01{
        width:40%
    }
    #area-youtube #y-header #y-h-02{
        width: 60%;
    }
    #area-youtube #y-text {
        margin: 1em 0;
    }
    #area-youtube #y-text p {
        margin: 2em auto;
        padding: 2em;
    }
    #area-youtube #y-youtube{
        margin: 1.5em auto;
        display: flex;
        flex-wrap: wrap;
    }
    #area-youtube #y-youtube .y-box:not(:last-of-type){
        padding-right:1em;
    }
    #area-youtube #y-youtube .y-box{
        width: calc(100% /3 );
    }
    #area-youtube #y-youtube .y-box p {
        margin: 0;
        font-size: 0.7em;
    }

    /* -- New Articles -- */
    .top-card{
        height: 380px;
        margin: 20px 0;
    }
    .top-card li{
        border-bottom:none;/* SP用を打ち消し*/
        display: inline-block;
        width: 30%;
        height: 250px;
        overflow: hidden;
        list-style-type: none;
        list-style-position: outside;
        margin-right: 15px;
    }
    .top-card li:nth-child(3){
        display: inline-block;
    }
    .top-card li:last-child {
        margin-right: 0;
    }
    .top-card li p.top-card-img{
        /*SP用を打ち消し*/
        float: none;
        width: 100%;
        margin: 0;
    }
    .top-card p{
        margin: 0;
    }
    .top-card .top-card-heder-title{
        text-align: left;
        font-size: 20px;
    }
    .top-card .top-card-date{
        padding: 0 5px;
    }
    .top-card .top-card-title{
        padding: 0 5px;
    }
    .top-card .top-card-more{
        text-align: right;
        margin: 0 auto;
        padding-right: 5%;
        /*SP用を打ち消し*/
        border:0;
        width: 100%;
        max-width: none;
    }
    .top-card .top-card-more:hover{
        /*SP用を打ち消し*/
        background-color: #fff;
        border: none;
    }
    .top-card .top-card-more a,
    .top-card .top-card-more a:hover{
        display: inline;
        color:#4f96f6;
    }
    .top-card .top-card-more a:after{
        content: ' >>';
    }

    /* -- Books -- */
    #area-books .b-box{
        margin: 0 2em 2em;
    }
    #area-books .b-box .b-box-text p {
        margin: 3em 1em;
    }
    #area-books .b-box img {
        width: 30%;
        margin-right: 2em;
    }
    #area-books .b-box h4.book-title {
        font-size: 1.2em;
        line-height: 1.5;
    }

    /* -- フッター -- */
    footer #f-menue-area {
        display: flex;
        justify-content: space-around;
        margin: 0 auto;
    }

}
@media only screen and (min-width: 1024px){
    /* -- ヘッダー&コンテンツ 余白設定 -- */
    /* header,
    #content-of01,
    footer #f-menue-area{ */
    #container-of01,
    header{
        /* width:80%;
        max-width: 1000px;コンテンツ領域 max 1000px */
    }

    header #h-box #h-box-a {
        padding: 4em 0.5em 0 1em;
    }

    #top-box{
        height: 680px;
    }
    #top-box #top-img-text #area-image{
        height: 500px;
    }
    #top-box #t-box-text #t-box-a .icon-start::before{
        font-size: 2.5em;
    }
    #top-box #t-box-text #t-box-a #text-name {
        font-size: 1.7em;
        max-width: 80%;
    }
    #top-box #t-box-text #t-box-a p#text-1{
        font-size: 1.5em;
    }
    #top-box #t-box-text #t-box-a p#text-2{
        font-size: 0.9em;
    }

    /* -- リンクカード -- */
    #top-box #area-mini-card .mini-card h3 {
        font-size: 0.9em;
    }
}

@media only screen and (min-width: 1400px){
    #top-box{
        height: 730px;
    }
    #top-box #top-img-text #area-image{
        height: 550px;
    }
    #top-box #t-box-text #t-box-a .icon-start::before{
        font-size: 3.3em;
    }
    #top-box #t-box-text #t-box-a #text-name {
        font-size: 2em;
        border: 3px solid #fff;
    }
    #top-box #t-box-text #t-box-a p#text-1{
        font-size: 1.8em;
    }
    #top-box #t-box-text #t-box-a p#text-2{
        font-size: 1.1em;
}
@media only screen and (min-width: 1600px){
    #top-box{
        height: 830px;
    }
    #top-box #t-box-text #t-box-a {
        top: 23%;
    }
    #top-box #top-img-text #area-image{
        height: 650px;
    }
}

