@charset "utf-8";

/*SP ～519px
tab 520px～959px
PC 960px～ */

/*===============
変数宣言
===============*/
:root {
    --size_es: 0.8rem;
    --size_sm: 1rem;
    --size_md: 1.6rem;
    --size_lg: 2.6rem;
    --size_xl: 4.1rem;
    --size_xxl: 6.6rem;
    --main_color: #f77237;
    --main_color_80: 247, 114, 55, 0.8;
    --text_color: #44190c;
    --gutter_base: 8px;
    --section_gutter: calc(var(--gutter_base)*10);
    --section_gutter_pc: calc(var(--gutter_base)*20);
    --contents_gutter: calc(var(--gutter_base)*5);
    --contents_gutter_pc: calc(var(--gutter_base)*10);
    --contents_side_gutter: calc(var(--gutter_base)*2);
    --font_sans: 'Noto Sans JP', sans-serif;
}

/*===============
全体設定
===============*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: meursault-variable, serif;
    font-style: normal;
    font-weight: 400;
    color: #24292e;
}

body {
    margin: 0;
    padding: 0;
}

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;
}

header .wrapper {
    margin-bottom: 0;
}

.section-title {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 60px;
    border-bottom: 5px dotted #aed9da;
    padding-top: 30px;
    margin-top: 120px;
}

.content-title {
    font-size: 1rem;
    margin: 10px 0;
}

.bg_white {
    background-color: #fff;
}


/*================
ヘッダー
=================*/
.site-header {
    width: 100%;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.l-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 70px 0 70px;
}


.gnavi {
    margin: 0 0 0 auto;
    display: flex;
    padding: 0;
    list-style: none;
}

header li {
    margin: 0 0 0 15px;
    font-size: 14px;
}

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

header li a:hover {
    opacity: 0.7;
}

/*================
メインビジュアル
=================*/
.hero {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(img/parts/main.png);
    text-align: center;
    display: block;
    width: 100%;
    /* はみ出た部分はトリミング */
    object-fit: cover;
}

.main-title {
    font-family: cheap-pine, sans-serif;
    font-style: normal;
    font-weight: 400;
    position: relative;
    font-size: 7rem;
    top: 8rem;
    margin-bottom: 9rem;
}

/*================
プロフィール
=================*/

#about .content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 40% 70% 50% 30%/50%;
    /* 画像の右側に余白を置き、テキストとの距離を保つ */
    margin-right: 100px;
}

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

.profile-desc {
    line-height: 1.8rem;
}

.profile-sub {
    border-top: #24292e dotted 5px;
    line-height: 1.8rem;
    margin-top: 2.5rem;
}

.content-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 200;
}

.content {
    padding-bottom: 130px;
}

@media screen and (max-width:600px) {
    .post-img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 40% 70% 50% 30%/50%;
    }

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

/*==============
WEB SITE
===============*/
.website-area {
    display: flex;
    grid-gap: 4%;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 50px;
}

.website {
    width: 100%;
    aspect-ratio: 8/5;
    object-fit: cover;
    border: 1px solid #888;
    margin-bottom: 24px;
}

h3 {
    margin-bottom: 10px;
}

.site2 {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

/*================
WORK
=================*/
.bunner {
    width: 100%;
    aspect-ratio: 8/5;
    object-fit: cover;
    border: 1px solid #888;
    margin-bottom: 24px;
}

.sns {
    width: 100%;
    aspect-ratio: 8/5;
    object-fit: cover;
    border: 1px solid #888;
    margin-bottom: 24px;
}

.comment span {
    display: inline-block;
    font-size: 0.7rem;
    border: 1px solid #eee;
    padding: 0 0.25rem;
    margin-right: 0.25rem;
    margin-top: 0.25rem;
    line-height: 1.8;
    background-color: #eee;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

h4 {
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

#bunner ul.second_grid,
#sns ul.second_grid {
    display: flex;
    grid-gap: 4%;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 40px;
}

.grid-item {
    width: 50%;
}

h5 {
    font-size: 1.2rem;
    text-align: center;
}

.comment_p {
    text-align: left;
}

.vertical {
    height: 100vh;
    max-width: 60%;
    max-height: 42%;
}

/*================
フッター上の波形
=================*/
.under {
    padding: 50px 0;
    background-image: url(img/parts/under2.png);
    background-color: #73bce3;
}

/*================
フッター
=================*/

footer {
    padding: 80px 0;
    text-align: center;
    background: #73bce3;
}

/*================
SNS
=================*/
.fa-instagram {
    color: #fff;
    text-align: center;
    padding-bottom: 50px;
}

.fa-fish {
    color: #fff;
    position: relative;
}

/*================
スマホ設定
=================*/

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

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

    #mainvisual img {
        height: calc(100vh - 60px);
    }

    #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;
    }

    #bunner ul,
    #website ul {
        flex-direction: column;
    }

    .grid-item {
        width: 100%;
    }

}


/*================
js ハンバーガーメニュー
=================*/
.site-header-navbtn {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    position: fixed;
    right: 10px;
    top: 10px;
    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: '';
}

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

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

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);
}

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

    /* 開閉ボタン */
    .site-header-navbtn {
        display: block;
        z-index: 1000;
    }

    /* ハンバーガー背景*/
    .site-header-nav {
        background-color: #f3f2e1;
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: transform .6s;
        z-index: 999;
    }


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

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

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

    .site-header-nav ul li a {
        font-size: 1.5rem;
    }

}

/*================
js ページトップ
=================*/
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 12;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
    display: block;
    width: 100px;
    height: 100px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    /*背景画像の指定*/
    background: url("img/parts/ship.png") no-repeat center;
    background-size: contain;
}

#page-top.floatAnime a {
    width: 100px;
    height: 130px;
    /*背景画像の指定*/
    background: url("img/parts/ship.png") no-repeat center;
    background-size: contain;
    /*アニメーションの指定*/
    animation: floatAnime 2s linear infinite;
    opacity: 0;
}

@keyframes floatAnime {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    25% {
        transform: translateX(-6px);
        opacity: 1;
    }

    50% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/*Page Topと書かれたテキストの位置*/
#page-top span {
    position: absolute;
    bottom: -20px;
    right: 20px;
    color: #666;
}

/*================
タブ　未使用
=================*/
/*
.tab_content {
    display: none;
}

#Bijoude_tab:checked~#Bijoude_content,
#IQsever_tab:checked~#IQsever_content {
    display: block;
}

input[type="radio"] {
    display: none;
}

label::after {
    content: "　/　";
}

label:last-of-type::after {
    content: "";
}

label span {
    cursor: pointer;
    background-image: linear-gradient(to top, #ffe59e 50%, transparent 50%);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: 0.2s;
}

label:hover span,
input:checked+label span {
    background-size: 100% 100%;
}

*/


/*================
js 背景画像
=================*/

.bg_placeholder {
    height: 350px;
    background-size: cover;
}

.bg {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-image: url(img/5.png);
    background-size: cover;
    background-position: center center;
    z-index: -1;
    display: none;
}

.bg.on {
    display: block;
}

@media screen and (min-width: 960px) {
    .bg_placeholder {
        height: 600px;
    }

    .bg {
        width: 100%;
        height: 600px;
    }

    /*=======min-width:960px==========*/
}

/* スマホサイズ用のスタイル */
@media screen and (max-width: 959px) {
    .bg_placeholder {
        margin: 0;
        position: 0;
        height: 350px;
        /* スマホ用の高さ */
    }

    .bg {
        margin: 0;
        padding: 0;
        background-image: url(img/parts/dolphin.png);
        background-repeat: no-repeat;
        width: 100vw;
        /* スマホ用に横幅を固定 */
        height: 100vh;
        /* スマホ用に高さを調整 */
        background-size: cover;
    }
}


/*================
js slider
=================*/
.seisaku .seisaku_inner .slider {
    padding-bottom: var(--contents_gutter);
    padding-top: 150px;
}

.seisaku .seisaku_inner .slider li {
    padding: 0 calc(var(--gutter_base)*2);
}

.seisaku .seisaku_inner .slider img {
    width: 20%;
    height: 100px;
}

@media screen and (min-width:960px) {
    .seisaku {
        padding: var(--section_gutter_pc) 0;
    }

    .seisaku .seisaku_inner .slider {
        margin-bottom: var(--contents_gutter_pc);
    }
}