@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;400;500;600;700&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

/* 全体の設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
    color: #333;
}

html {
    font-size: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.wrapper {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 150px;
}

.BG2 {
    background-color: #fbfaf5;
    max-width: 1920px;
}

.content_area {
    max-width: 960px;
    text-align: center;
    margin: 0 auto;
}

header .wrapper {
    margin-bottom: 0;
}

header .wrapper img {
    width: 50%;
    height: auto;
}

@media screen and (max-width:640px) {
    .header_top {
        display: none;
    }

    header .wrapper {
        height: 100px;
    }

    header .wrapper img {
        width: 30%;
        text-align: left;
    }
}

button {
    background-color: #66cccc;
    /* 背景色 */
    color: white;
    /* 文字色 */
    padding: 10px 30px;
    /* パディング */
    text-align: center;
    /* 文字のアライメント */
    text-decoration: none;
    /* 文字装飾 */
    display: inline-block;
    /* ボタンの表示方法 */
    font-size: 16px;
    /* フォントサイズ */
    font-family: 'Josefin Sans', sans-serif;
    /* フォント */
    margin: 20px 0px 60px 0px;
    /* 外側の余白 */
    cursor: pointer;
    /* カーソル */
    border: none;
    /* ボーダーなし */
    border-radius: 2px;
    /* 50pxの角丸 */
}

button:hover {
    opacity: 0.8;
}

/* ABOUTとPHOTOとその他　タイトル箇所 */
.section-title {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 60px;
    margin-top: 100px;
    /* border: 1px solid #666; */
    padding: 0 1rem;
    background-image: linear-gradient(transparent 60%, #fff450 60%);
}

/* プロフィールの名前 h3 */
.content-title {
    font-size: 1rem;
    margin: 10px 0;
}

.intro_title {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 200%;
}

.intro_text {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    line-height: 180%;
}

.main_text {
    line-height: 1.5em;
}

#about h3 {
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 0.5px solid #666;
}

#interview .wrapper {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.int_box {
    padding: 50px 0 10px 0;
}

.int_img {
    width: 30%;
    padding: 0 10px;
}

img {
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width:640px) {
    .int_box {
        display: block;
    }

    .int_img {
        margin-top: 20px;
        width: 50%;
    }

    .intro_title {
        font-size: 1.4rem;
        font-weight: 500;
        text-align: center;
        line-height: 200%;
    }

    .intro_text {
        font-size: 1rem;
    }

    .main_text {
        font-size: 0.85rem;
        line-height: 1.5em;
        text-align: left !important;
        font-family: 'Zen Kaku Gothic New', sans-serif;
        padding: 0 0 0 3%;
    }
}



/* <P>の日本語テキスト*/
p,
h3,
h4,
h5,
h6,
tr,
th,
td,
li,
caption {
    font-size: 16px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.5rem;
}

figcaption {
    font-size: 14px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.5rem;
    padding: 10px 40px;
}

.text_leftside {
    text-align: left;
    margin: 0 0 0 30%;
}

.text_rightside {
    text-align: right;
    margin: 0 30% 0 0;
}

.int_ques {
    font-size: 18px;
    margin: auto;
    padding: 0 0 10px 50px;
    text-align: left;
    font-weight: 600;
    border-bottom: #333 2px dotted;
}

.int_ans {
    margin: auto;
    padding: 10px 20px 30px 100px;
    text-align: left;
}

@media screen and (max-width:640px) {
    .int_ques {
        padding: 0 0 10px 20px;
    }

    .int_ans {
        margin: auto;
        padding: 10px 20px 30px 20px;
    }

    figcaption {
        font-size: 12px;
    }
}

/* #タグ風のh3 */
#interview h4 {
    margin: 0 0 10px 0;
    font-size: 8rem;
    font-weight: 400;
    color: #fff450;
    width: 10%;
    line-height: 4rem;
}


/* WORKS 作品のグリッド */

#works li.works-grid-left {
    width: 54%;
    margin-bottom: 60px;
    text-align: left;
}

#works li.works-grid-right {
    width: 43.8%;
    margin-bottom: 60px;
    text-align: left;
    height: auto;
}

#works li.works-grid {
    width: 32%;
    text-align: left;
    height: auto;
}

#works li.works-glid img {
    text-align: center;
}

#works ul li h3 {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px;
    margin-bottom: 5px;
}

ß #works span.tag-list {
    font-size: 0.9rem;
    padding: 6px 8px 3px 8px;
    background-color: #fff;
    border: 0.75px solid #999;
    border-radius: 3px;
}

#works p {
    font-size: 0.98rem;
    padding: 5px;
}

ß
/* ヘッダー設定 */

/* 横浜市〜のところ */
header .header_top {
    background-color: #66cccc;
    width: 100%;
    height: 30px;
    line-height: 50%;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

header .header_top p {
    font-size: small;
    color: #FFF;
    text-align: center;
    padding: 10px;
    line-height: 50%;
}


header {
    z-index: 999;
    position: fixed;
    background-color: rgba(255, 255, 255, .5);
    top: 0;
    left: 0;
    right: 0;

}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;

}

/* ロゴの箇所 */
header h1 a {
    color: #333;
    /* background-color: #fff450; */
    padding: 0 1rem;
}

header nav ul {
    display: flex;
    padding: 10px 0;
}

header li {
    margin-left: 30px;
}

header li a {
    color: #333;
    font-weight: 700;
}

header li a:hover {
    opacity: 0.7;
    border-bottom: 0.5px solid #666;
}

@media screen and (max-width:640px) {
    header #logo {
        width: 50px;
    }

}

/* メインビジュアル */

main {
    margin-top: 190px;
    /*ヘッダー分イメージを下げる（変更：60px→65px)*/
}

@media screen and (max-width:640px) {
    main {
        margin-top: 100px;
    }
}

#slider-wrap {
    margin-bottom: 20px;
    /*80pxから10へ*/
}

.slider {
    height: 600px;
    width: 100vw;
    margin: 0 auto;
    overflow: hidden;
}

.slider img {
    object-fit: cover;
    object-position: top;
}


/*=====料　金======*/

#tuition div {
    margin-bottom: 10px;
    text-align: center;
}


#tuition table {
    margin: auto;
}

#tuition caption {
    font-weight: bold;
    padding: 5px;
}

#tuition tbody {
    padding: 10px;
    margin: 10px;
    background-color: #fbfaf5;
}

#tuition tr {
    padding: 10px;
    width: 100%;
}

#tuition th {
    text-align: right;
    border-bottom: #999 0.5px solid;
    border-right: #999 0.5px solid;
    width: 60%;
    padding: 10px;
    margin: 10px;
}

#tuition td {
    text-align: right;
    border-bottom: #999 0.5px solid;
    padding: 10px;
    margin: 10px;
}


#area img {
    max-width: 50%;
    margin-top: 30px;
    margin-bottom: 40px;
}



@media screen and (max-width:640px) {
    #area img {
        max-width: 90%;
        width: 90%;
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .text_leftside {
        text-align: left;
        margin: 0 0 0 8%;
        font-size: 0.9rem;

    }

    .text_rightside {
        text-align: right;
        margin: 0 5% 0 0;
        font-size: 0.9rem;
        color: #66cccc;
    }
}

@media screen and (max-width:1200px) {

    .slider {
        height: calc(80vh - 200px);
    }

    .slider img {
        height: calc(80vh - 200px);
        object-position: right 50% top 2%;
        object-fit: cover;
    }

    #tuition p {
        font-style: 0.9rem;
    }

    /*======max-width:1200px======*/
}

@media screen and (max-width:640px) {

    .slider {
        height: calc(50vh - 100px);
    }

    .slider img {
        height: calc(50vh - 100px);
        object-position: right 40% top 2%;
        object-fit: cover;
    }


    /* .fixed-bg {
        height: 200px;
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
    } */
    /*======max-width:599px======*/
}




/* ABOUT */

#about .content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    padding: 10px 30px;
}

#about img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-right: 100px;

}

#about .text {
    text-align: left;
}

#about .content2 {
    display: block;
    line-height: 1.5;
    padding: 10px 30px;

}

@media screen and (max-width:640px) {
    #about .main_text {
        padding: 0 0 0 20%;
    }
}

/* PHOTO */

#photo ul {
    display: flex;
    justify-content: space-between;
}

#photo li {
    width: 32%;
}


/* WORKS */

#works ul {
    display: flex;
    justify-content: space-between;
}

#works li {
    width: 32%;
}


/* WEB */

#web p {
    margin-bottom: 80px;
}

#web div {
    display: flex;
}


#web div figure.box-l,
figure.box-r {
    flex-basis: 50%;
    text-align: left;
    margin: 0 10px;
    margin-bottom: 10px;
}

#web div {
    flex-basis: 50%;
    text-align: left;
    margin: 0 10px;
    margin-bottom: 10px;
}

#web img {
    margin-bottom: 10px;
}

#web h4 {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0 0 5px 0;
    margin-bottom: 13px;
    /*background: rgba(255, 244, 80, 1.0);*/
    padding-bottom: 3px;
}


#web span.tag-list {
    font-size: 0.9rem;
    padding: 6px 8px 3px 8px;
    border: 0.75px solid #333;
    border-radius: 3px;
    background-color: #fff;
}

#web figcaption {
    height: 100px;
    padding: 10px 0 0 0;
    margin-bottom: 80px;
    font-size: 0.98rem;
}


/*====== ホバーしたらimgが暗くなる ======*/

.image_link {
    display: block;
    position: relative;
    text-decoration: none;
}

.image_link img {
    display: block;
    width: 100%;
}

.image_link:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    background: #fff450;
    opacity: 0;
    transition: 0.3s;
}

.image_link:after {
    content: "GO TO SITE";
    font-size: 0.95rem;
    font-family: 'Josefin Sans', sans-serif;
    display: block;
    color: #333;
    line-height: 48px;
    width: 180px;
    border: solid 1px #333;
    border-radius: 6px;
    text-align: center;
    position: absolute;
    top: 45%;
    left: 50%;
    margin-top: -1em;
    margin-left: -90px;
    opacity: 0;
    z-index: 3;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.image_link:hover:before {
    opacity: 0.7;
}

.image_link:hover:after {
    opacity: 1;
    margin-top: -0.5em;
}

/*======hoverしたらimgが黄色になる　ココまで======*/


@media screen and (max-width:640px) {
    #web div {
        display: block;
    }

    /*======max-width:600px======*/
}


/* Footer */

footer {
    padding: 10px 0;
    text-align: center;
}

/* 背景カラー */

body {
    background-image: linear-gradient(175deg, #fafafa 0%, #eaeaea 95%, #fff450 100%);
}

/* #photo {
    background-color: #fff;
} */



/* スマフォ対応 */

@media screen and (max-width:599px) {
    .wrapper {
        margin-bottom: 100px;
    }

    header .wrapper,
    .wrapper p {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    header li {
        margin: 0px;
    }

    .section-title {
        margin-top: 100px;
    }


    h1,
    #about h2,
    #photo h2,
    #works h2,
    #web h2 {
        font-size: 1.5rem;
    }

    #about .content {
        flex-direction: column;
    }

    #about img {
        margin-right: 0;
        margin-bottom: 3rem;
    }

    #about .text {
        text-align: center;
    }

    #photo ul {
        flex-direction: column;
    }

    #photo li {
        width: 100%;
        margin-bottom: 2rem;
    }

    #works ul {
        flex-direction: column;
    }

    #works li.works-grid-right,
    #works li.works-grid-left,
    #works li.works-grid {
        width: 100%;
        margin-bottom: 2rem;
        padding: 10px;
    }
}



/*=====ハンバーガーメニュー======*/

.site-header-navbtn {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    z-index: 1;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
    width: 30px;
    height: 1px;
    background-color: #999;
    position: absolute;
    top: 50%;
    left: 5px;
    transition: transform .4s;
    /*←ハンバーガーアイコンのアニメーション*/
}

.site-header-navbtn::before,
.site-header-navbtn::after {
    content: '';
}

/*疑似要素の位置をそれぞれ上下に8pxずつずらして、3本の線を作る。*/
.site-header-navbtn::before {
    transform: translateY(-8px);
}

.site-header-navbtn::after {
    transform: translateY(8px);
}

/* 3:×ドロワーメニューの表示・非表示状態を作る */

body.is-nav-open .site-header-navbtn span {
    transform: scaleX(0);
}

body.is-nav-open .site-header-navbtn::before {
    transform: translateY(0) rotate(45deg);
}

body.is-nav-open .site-header-navbtn::after {
    transform: translateY(0) rotate(-45deg);
}

/* 2:スクリーンサイズが599pxまでのスタイルを記述 */
@media screen and (max-width: 599px) {
    .site-header-navbtn {
        display: block;
    }

    .site-header-nav {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: #fff450;
        opacity: .9;
        transform: translateY(-100%);
        /*Xは左横からスライド、Yは上部からスライド*/
        transition: transform .8s;
        /*←ドロワーメニューのアニメーション*/
        /* 非　表 示 */
    }

    body.is-nav-open .site-header-nav {
        transform: translateX(0);
        /* 表 示 */
    }

    /*メニューアイテムを垂直・水平中央に配置し、縦に並べる*/

    .site-header-nav ul {
        height: 100%;
        flex-direction: column;
        justify-content: center;
        text-align: center;

    }

    .site-header-nav ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 1.5em;
    }

    .site-header-nav ul li a {
        text-decoration: none;
        font-size: 1.5rem;
        color: #333;
        position: relative;
    }
}

/* ハンバーガーメニューおわり　*/



/* 上部までページスクロール　*/
.pagetop {
    width: 40px;
    height: 40px;
    position: fixed;
    z-index: 2000;
    right: 30px;
    bottom: 50px;
    background-color: #66cccc;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    opacity: .75;
}

.pagetop:hover {
    opacity: .9;
}






/*-- パルスモーション-- */

@keyframes pulseMotion {
    0% {
        transform: translate(-50%, -50%) scale(1, 1);
        background-color: rgba(255, 244, 100, 0.4)
    }

    100% {
        transform: translate(-50%, -50%) scale(6.5, 6.5);
        background-color: rgba(255, 244, 250, 0)
    }
}


/*スライド下:ドットのCSS*/

.slick-dots button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

.slick-dots {
    bottom: 20px;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}



.slick-dots li {
    border-radius: 50%;
    margin: 0 10px;

    background-color: #ccc;
    transition: background-color cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
    cursor: pointer;
}

.slick-dots li.slick-active {
    background-color: #fff450;
    display: flex;
    justify-content: center;
}

.slick-dots:focus {
    outline: none;
}

.slick-dots:after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: opacity linear 0.4s;
    content: '';
}

.slick-active:after {
    animation: pulseMotion 1.4s linear infinite;
}


/*dotのCSS*/

.inner {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.point {
    display: block;
    position: relative;
    width: 10px;
    height: 10px;
    margin: 0 10px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
    cursor: pointer;
}

.point.-active {
    background-color: #fff450;
}

.point:focus {
    outline: none;
}

.point:after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: opacity linear 0.4s;
    content: '';
}

.point.-active:after {
    animation: pulseMotion 1.4s linear infinite;
}