@charset "UTF-8";


/*共通設定
----------------------------------*/
body {
    font-family: "Zen Kaku Gothic New", sans-serif,'メイリオ';
    color: rgb(8, 19, 26);
    width: 100%;
}

::after,
::before {
    background-repeat: no-repeat;
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.6;
}

ul,
li {
    list-style: none;
}

.wrapper {
    max-width:75%;
    padding: 10% 2%;
    margin: 0 auto;
}

.flex {
    display: flex;
}

/* 見出し */
h2 {
    font-size: 35px;
    font-weight:bold;
    text-align: center;
    align-items: center;
}


/* 小見出し */
.subheading {
    text-align: center;
    margin-bottom: 5%;
    color: #114756;
}


/* マーカー下線アニメーション */
/* アニメーション前のスタイル */
.js-marker {
    display: inline;
    position: relative;
    background-image: linear-gradient(90deg, #E8D983, #E8D983);
    /* 単色の場合は同じ色、グラデーションさせる場合は別々の色 */
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0 30%;
    /* '30%'の部分にマーカーの太さを記入 */
    transition: all 1s ease-in-out;
    /* マーカーを引く速度を調整 */
}

/* アニメーション発火時 */
.js-marker.inview {
    background-size: 100% 30%;
    /* '30%'の部分は上で設定した太さに合わせる */
}



/*========= ファーストビュー　LoadingのためのCSS ===============*/

#svg-animation path {
    fill: transparent;
    stroke-width: 2px;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.st0{
    fill:none;
    stroke:#000;
    stroke-width:1;
    stroke-miterlimit:50;
}


/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
position: fixed;
width: 100%;
height: 100%;
z-index: 100000;
background:#ffffff;
text-align:center;
color:#000000;
}

/* Loading画像中央配置　*/
.first {
position: absolute;
top: 30%;
left: 25%;
}


/* fadeUpをするアイコンの動き */
.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
from {
opacity: 0;
transform: translateY(100px);
}

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

/*header
------------------------------------------------------------ */
.page-header {
    justify-content: space-between;
    background-color:#ffffff;
    padding: 0 5%;
    /* 固定ヘッダーの設定 */
    position: sticky;
    top: 0;
    /* left: 0; */
    width: 100%;
    z-index: 100;

}

#pc-gnav {
    display: block;
}

#pc-gnav.hidden {
    display: none;
}

.gnav {
    margin-right: 200px;
}

.gnav-list {
    padding: 3% 0;
}

.gnav-item {
    margin-top: 3.5%;
    margin-right: 10%;
}

/* aタグホバーした時下線を左から右へ表示 */
.gnav-link {
    text-decoration: none;
    color:#2a2a2a;
    font-size: 18px;
}

.gnav-text {
    position: relative;
    font-size: 15px;
    font-weight: bold;
}

.gnav-text:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0%;
    height: 1px;
    background-color: #2a2a2a;
    transition: all 0.5s;
}

.gnav-link:hover .gnav-text:after {
    width: 100%;
}


/*ファーストビュー
------------------------------------------------------------ */

.top-bg {
    background-image: url(../img/mv.png);
    max-width: 100%;
    height: 0;
    padding-top: 57.6666666667%;
    background-repeat: no-repeat;
    background-size: cover;
}



/*about
-------------------------- */
#about{
    padding: 10% 2%;
    margin: 0 auto;
}

#about h2{
    margin-bottom: 2rem;
}
.about-contents {
    justify-content: center;
    align-items: center;
}

/* .about-inner {
    width: 70%;
margin: 0 auto;
} */

.about-detail {
    line-height: 2;
}

.about-name {
    margin-bottom: 2%;
}

.about-name span {
    font-size: 20px;
    font-weight: bold;
}

.sp {
    display: none;
}

.about-pic {
    max-width: 300px;
}

.introduction-container{
    margin-bottom: 3%;
}

.about-text__inner{
    max-width:500px;
}
.aboutーtext {
    line-height: 2rem;
}

/*WORKS
---------------------------------------------------- */

.works {
    padding: 10% 2%;
    margin: 0 auto;
}

.works__title{
    margin-bottom: 2rem;
}

.wrap {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.works-img {
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.kenkodo-img {
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.work-detail {
    color: #646460;
    background-color: #f7f7f7;
    text-align: left;
    padding: 20px;
    margin: 0 auto;
    min-height: 330px;
    border-radius: 0 0 20px 20px;
}

.work-detail_bunner {
    color: #646460;
    background-color: #f7f7f7;
    text-align: left;
    padding: 20px;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
}

.tomtac-detail a {
    font-size: 14px;
    margin-bottom: 5%;
    font-weight: bold;
    color: #646460;
}

.works-link:hover {
    opacity: 1;
}

.detail-heading {
    font-size: 15px;
    margin-bottom: 5%;
    text-align: center;
    font-weight: bold;
    color: #646460;
}

.detail-link {
    font-size: 14px;
    margin-bottom: 5%;
}

.detail-title {
    font-size: 14px;
    margin-bottom: 5%;
}

.tomtac-title {
    margin-bottom: 0;
}

.detail-txt {
    font-size: 14px;
    margin-bottom: 10%;
}

.detail-tool {
    font-size: 14px;
}

.detail-period{
    font-size: 14px;
}

/* マウスオーバーで画像を拡大する */
.works-pic {
    overflow: hidden;
}

.works-pic img {
    display: block;
    transition: 0.5s;
}

.works-pic img:hover {
    transform: scale(1.1, 1.1);
}


/************* タブ *************/
.tab-container {
    display: flex;
    border-top:1px solid #d3d3d3;
    border-bottom:1px solid #d3d3d3;
}

.tab {
    font-size: x-large;
    font-weight:nomal;
    padding: 0.8em 1.5em;
    border-radius: 20px 20px 0 0;
    transition: all .2s;
    cursor: pointer;
}

.tab::before {
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    font-weight:bold;
}

/* タブ現在値 */
.current {
    color: rgb(8, 19, 26);
    border-bottom:3px solid ;
    font-weight:bold;
}

.current::before {
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    font-weight:bold;
    border-bottom:1px solid;
    font-weight:;
}

/************* メニュー *************/

.menu-box {
    width: 100%;
    padding: 40px;
    border-radius: 0 20px 20px 20px;
}

.menu {
    max-width: 400px;
    margin: 0 auto;
    transition: all .2s;
    cursor: pointer;
}

.menu-top {
    transition: all .2s;
}


/* 画像をフワッと表示 */
.grid-item {
    opacity: 0;
    /* いったん非表示 */
    visibility: hidden;
    transform: translateY(40px);
    transition: all 1s;
}

.grid-item.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}



/*スキル
-------------------------- */
#skill h2{
    margin-bottom: 2rem; 
}
.skill-detail_contents {
    margin-top: 20px;
}

/* 各スキル見出し設定 */
.skill-heading {
    font-family: 'Lato', sans-serif;
    border-bottom: 2px solid;
    width: 200px;
    font-size: 25px;
}

.skill-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill__outer {
    max-width: 800px;
    justify-content: space-between;
}

.skill__outer-box {
    width: 47%;
}

.skill-list_inner{
    margin-bottom: 60px;
}

.skill-subheading {
    font-weight: bold;
}

.skill-image,
.design {
    margin-right: 2%;
}

.skill-text {
    line-height: 1.8;
}

.css img,
.js img,
.challenge img {
    max-width: 60px;
    min-width: 60px;
}

.design img {
    max-width: 50px;
    min-width: 50px;
}

.office img {
    max-width: 70px;
    min-width: 70px
}

.communication img {
    max-width: 70px;
    min-width: 70px
}

span.star5-rating {
    margin: 30px 0;
}

.skill-item {
    margin-bottom: 30px;
}


/* スキル　フワッと表示 */
.fade {
    transition: all 2000ms;
    opacity: 0;
    visibility: hidden;
    transform: translate(0px, 50px);
}

.fadein {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
}



/*星の実装
-------------------------- */
.star5_rating {
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC;
}

.star5_rating:before,
.star5_rating:after {
    content: '★★★★★';
}

.star5_rating:after {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #E8D983;
    /* 自由に設定化 */
}

.star5_rating[data-rate="5"]:after {
    width: 100%;
}

/* 星5 */
.star5_rating[data-rate="4.5"]:after {
    width: 90%;
}

/* 星4.5 */
.star5_rating[data-rate="4"]:after {
    width: 80%;
}

/* 星4 */
.star5_rating[data-rate="3.5"]:after {
    width: 70%;
}

/* 星3.5 */
.star5_rating[data-rate="3"]:after {
    width: 60%;
}

/* 星3 */
.star5_rating[data-rate="2.5"]:after {
    width: 50%;
}

/* 星2.5 */
.star5_rating[data-rate="2"]:after {
    width: 40%;
}

/* 星2 */
.star5_rating[data-rate="1.5"]:after {
    width: 30%;
}

/* 星1.5 */
.star5_rating[data-rate="1"]:after {
    width: 20%;
}

/* 星1 */
.star5_rating[data-rate="0.5"]:after {
    width: 10%;
}

/* 星0.5 */
.star5_rating[data-rate="0"]:after {
    width: 0%;
}

/* 星0 */



/*contact
-------------------------- */

#contact h2{
    margin-bottom: 2rem;
}
.form__dl_inner {
    margin-bottom: 56px;
}

.contact {
    padding: 10% 2%;
    margin: 0 auto;
}

.contact dl{
    max-width: 800px;
    margin: 0 auto; 
}

.form__dd{
font-size: 16px;
}

.form__dl_inner {
    margin-bottom: 56px;
}

.form__category {
    margin-bottom: 16px;
    font-size: 20px;
}

.form__required {
    color: #fff;
    background: #a63e3e;
    margin-left: 1rem;
    padding: 4px 8px;
    font-size: 0.875rem;
    border-radius: 5px;
    }

    input[type=text], input[type=email], input[type=tel], textarea {
        width: 100%;
        background: #fff;
        border: 1px solid #707070;
        border-radius: 5px;
        padding: 16px;
        font-size: 20px;
    }

    /*送信ボタン*/

    .form__btn{
        justify-content: center;
    }

    .form__btn input{
        appearance: none;
        width: 260px;
        padding: 33px 20px 30px;
        color: white;
        font-size: 18px;
        line-height: 15px;
        color: #ffffff;
        background-color: #a63e3e;
        border: 1px solid #a63e3e;
        transition: all 0.3s ease;
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        border-radius: 5px; 
    }

    .form__btn input:hover{
        background-color: #ffffff;
        border: 1px solid #a63e3e;
        color: #a63e3e;
    }

/*footer
-------------------------- */
footer {
    text-align: center;
    padding: 20px;
    font-size: 15px;
}

.copy {
    text-align: center;
}


/*pagetopボタン
-------------------------- */
html {
    scroll-behavior: smooth;
}

.gotop {
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    /* background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2); */
    background: #a63e3e;
    border-radius: 50%;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #ffffff;
    opacity: 0.8;
    position: fixed;
    bottom: -60px;
    right: 20px;
    z-index: 10000;
    transition: 0.8s;
}

.gotop::before {
    content: "";
    display: block;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    width: 25%;
    height: 25%;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}

.gotop:hover {
    opacity: 1;
}

.gotop.show {
    bottom: 20px;
}



/* レスポンシブ 768px 
-------------------------- */

@media (max-width: 768px) {

    body {
        font-size: 14px;
    }

    .wrapper{
        max-width: 980px;
        padding: 10% 2%;
        margin: 0 auto;
    }
    

    #svg-animation{
        fill: transparent;
        stroke-width: 2px;
        stroke-linejoin: round;
        stroke-linecap: round;
        width: 80%;
    }

    .first {
        position: absolute;
        top: 30%;
        left: 2%;
        }

  .page-header {
    padding: 0;
  }

    .gnav {
        display: none;
    }

    .gnav-list {
        display: flex;
        flex-direction: column;
        padding: 10%;
    }

    .gnav-item {
        margin: 3% 5%;
        text-align: center;
    }

    .gnav-text {
        color: #000;
    }


    /* ハンバーガー */
    .menu-btn {
        width: 50px;
        height: 50px;
        padding: 10px 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: auto;
        background:#ffffff;
    }

    .menu-btn:focus {
        outline: none;
    }

    .menu-btn span {
        background: #114756;
        display: block;
        width: 100%;
        height: 2px;
        transition: transform .5s;
    }

    .close span:first-child {
        transform: translateY(17px) rotate(-45deg);
    }

    .close span:nth-child(2) {
        opacity: 0;
    }

    .close span:last-child {
        transform: translateY(-10px) rotate(45deg);
    }

    #pc-gnav {
        display: none;
    }

    #pc-gnav.open {
        display: block;
        position: fixed;
        top: 50px;
        right: auto;
        left: 0;
        bottom: 0;
        background: #f7f7f7;
        padding: 0 30px;
        z-index: 100;
        width: 100%;
        padding: 0;
        transition: 0.8s;
    }


    /* about
    -------------------------- */

    .about-contents {
        flex-direction: column;
    }

    .about-pic {
        max-width: 200px;
        margin-right: 5%;
        margin-bottom: 5%;
    }

    .about-inner {
        width: auto;
        margin-left: 0;
    }

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

    .sp {
        display: block;
    }

    /* .about-dt {
        width: 40%;
    } */

    /* .about-dd {
        width: 60%;
    } */

    /* .aboutーtext {
        padding: 0 5%;
    } */


    /* works
    -------------------------- */

    .works {
        padding: 10% 2%;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .menu-box {
        padding: 20px;
    }

    .tab{
        padding: 0.8em 2.5em;
    }

    /* skill 
    -------------------------- */
    .skill__outer {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .rate {
        font-size: 15px;
        height: 15px;
    }

    .skill__outer-box {
        width: 100%;
    }

    .skill-item {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .skill-list {
        margin: 0 5% 5% 5%;
    }



/*コンタクト
-------------------------------------------*/
.form__category {
    font-size: 1rem;
}

.contact dl {
    max-width: 400px;
    margin: 0 auto;
}

input[type=text], input[type=email], input[type=tel], textarea {
    font-size: 18px;
}

    /* footer
    -------------------------- */
    .footer-gnav-item {
        padding: 20px;
    }


    /*pagetopボタン
-------------------------- */
    .gotop {
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        opacity: 1;
        border: 1px solid #000000;
        background: none;
        bottom: -50px;
        right: 10px;
        background: #ffffff;
        border-radius: 50%;
        z-index: 50;
    }

    .gotop::before {
        top: 10%;
        bottom: 0;
        border-top: 2px solid #000000;
        border-right: 2px solid #000000;
    }
}

@media (max-width: 480px) {
    /*問い合わせ-------------------------- */  
    input[type=text] {
        font-size: 12px;
    }
    .Form {
        margin-top: 40px;
    }

    .Form-Item-Label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .Form-Item-Label.isMsg {
        margin-top: 0;
    }

    .Form-Item-Label-Required {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
    }

    .Form-Item-Input {
        margin-left: 0;
        margin-top: 18px;
        height: 40px;
        flex: inherit;
        font-size: 15px;
    }

    .Form-Item-Textarea {
        margin-top: 18px;
        margin-left: 0;
        height: 200px;
        flex: inherit;
        font-size: 15px;
    }

    .Form-Btn {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
    }
}