@charset "utf=8";

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

body {
    font-family: 'Quattrocento', serif;
    color: #131313;
    line-height: 2;
    letter-spacing: 0.2em;
    overflow-x: hidden;
    overflow: scroll;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #131313;
}

img {
    max-width: 100%;
}

#header {
    width: 100%;
    position: sticky;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;

    box-sizing: border-box;
    background: rgb(236, 224, 231);
}

#header .header-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 20px;
}

#header .header-inner .logo {
    margin-left: 50px;
    margin-right: 50px;
}

#header .header-inner .glovalnav {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
}

#header .header-inner .glovalnav li {
    padding-right: 25px;
    color: #131313;
}

#hamnav {
    display: none;
}


#mainvisual {
    animation: fadein-top 3s ease-out forwards;
}


@keyframes fadein-top {
    0% {
        opacity: 0;
        transform: translateY(-100px);
        /* 開始時はマイナス指定 */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* 終了時の位置をデフォルトに */
    }
}

#message {
    text-align: center;
    margin-top: 100px;
}

.message-inner {
    width: 800px;
    max-width: 80%;
    position: relative;
    padding: 0.25em 1em;
    margin: 0 auto;
}

.message-inner:before,
.message-inner:after {
    content: '';
    width: 20px;
    height: 30px;
    position: absolute;
    display: inline-block;
}

.message-inner:before {
    border-left: solid 1px #54474e;
    border-top: solid 1px #54474e;
    top: 0;
    left: 0;
}

.message-inner:after {
    border-right: solid 1px #54474e;
    border-bottom: solid 1px #54474e;
    bottom: 0;
    right: 0;
}

#message .message-title {
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 1.75rem;
}

#message .message-text p {
    padding-bottom: 15px;
}

#profile .profile-inner {
    margin: 0 auto;
    width: 800px;
    max-width: 100%;
    margin-top: 100px;
}


#profile .profile-inner_wrap {
    display: flex;
    gap: 60px;

}

#profile .profile-title {
    font-size: 1.5rem;
    border: solid 1px #92878d;
    border-radius: 50%;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    border: solid 1px #d8c4cf;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding-left: 5px;
    margin-bottom: 30px;
}

#profile .profile-inner_wrap_img {
    width: 30%;
}

#profile .profile-inner_wrap_text {
    width: 80%;
}



/*=========流れるテキスト===============*/
/*全共通*/

.slide-in {
    overflow: hidden;
    display: inline-block;
    font-size: 1.25rem;
}

.slide-in_inner {
    display: inline-block;
}

/*左右のアニメーション*/
.leftAnime {
    opacity: 0;
    /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
    animation-name: slideTextX100;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
    from {
        transform: translateX(-100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

.slideAnimeRightLeft {
    animation-name: slideTextX-100;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX-100 {
    from {
        transform: translateX(100%);
        /*要素を右の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}

#profile .profile-inner_wrap_text {
    text-align: center;
}

#profile .profile-inner_wrap_text p {
    margin-bottom: 20px;
}

/* LINE001 */

#profile .profile-inner .button {
    text-align: right;
}

.button a {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 15px;
    color: #131313;
    transition: 0.3s ease-in-out;
}

.button a:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: #D8C4CF;
    transform: translateX(-50%);
}

.button a:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #4a4a4a;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.button a:hover {
    opacity: 0.7;
}

.button a:hover:after {
    transform: scale(1, 1);
}

#footer {
    background: rgb(216, 196, 207, 0.95);
    height: 120px;
    margin-top: 80px;
}


#footer .footer-inner {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1rem;

}

#footer .footer-inner_logo {
    width: 200px;
    height: 70px;
    margin: 0 auto;
}

#footer .copyright {
    text-align: center;
    color: #131313;
}

/* profile.html */

#sub-mainvisual {
    background-image: url(../public/images/mv-2.png);
    height: 200px;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;

}

#sub-mainvisual .sub-mainvisual_image {
    overflow-x: hidden;
}

#sub-mainvisual .sub-mainvisual_image_title {
    text-align: center;
    margin-top: 60px;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 2px 3px #acacac
}

.cp_breadcrumb *,
.cp_breadcrumb *:after,
.cp_breadcrumb *:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.cp_breadcrumb a {
    text-decoration: none;
    color: #54474e;
}

.cp_breadcrumb .breadcrumbs {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 20px;
    margin-bottom: 100px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.cp_breadcrumb li {
    display: inline-block;
    position: relative;
    padding-right: calc(16px + 8px);
    margin-right: 8px;
    color: #60565c;
}

.cp_breadcrumb li::before {
    content: '›';
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
    font-size: 1em;
    color: inherit;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cp_breadcrumb li:last-child {
    margin-right: 0;
    padding-right: 0;
    color: #ffffff;
}

.cp_breadcrumb li:last-child::before {
    content: normal;
}

#about .about-inner {
    text-align: center;
    margin: 0 auto;
    width: 800px;
    max-width: 90%;
}

#about .about-inner .about-inner_text-title {
    margin-top: 30px;
    margin-bottom: 30px;
}

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

#about .about-inner_text-explanation_br {
    display: inline-block;
    margin-bottom: 20px;

}

#about .about-inner .about-inner_image {
    animation: fadein-top 3s ease-out forwards;
}

#skill .skill-inner {
    width: 800px;
    margin: 0 auto;
    padding: 30px 50px 30px 50px;
    border: double 5px #D8C4CF;
    background: rgb(216, 196, 207, 40%);
    max-width: 90%;
}

#skill .skill-inner_title {
    font-size: 1.75rem;
    text-align: center;
    padding-bottom: 30px;

}

#skill .skill-inner_text {
    line-height: 2.5;
}

#skill .skill-inner_text_title {
    font-weight: bold;
    white-space: nowrap;
    float: left;
}

#skill .skill-inner_text_coding .p_br {
    display: none;
}

#skill .skill-inner_text_supplement {
    padding-left: 20px;
    padding-bottom: 20px;
}

#skill .skill-inner_text p {
    margin-bottom: 10px;
}

#skill .skill-inner_text p:last-child {
    padding-bottom: 0;

}

/* contact.html */
#formWrap {
    width: 1000px;
    max-width: 90%;
    margin: 0 auto;
    color: #555;
    line-height: 120%;
    font-size: 90%;
    font-size: 1rem;
}

#formWrap .formWrap-inner_wrap {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 50px 30px 50px;
    border: double 5px #D8C4CF;
    background: rgb(216, 196, 207, 40%);
    margin-bottom: 30px;
}


#formWrap .formWrap-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1;
}

#formWrap .formWrap-text {
    line-height: 1.5;
}

#formWrap .formWrap-text p {
    margin-bottom: 10px;
}

#formWrap .formTable .box {
    background-color: rgb(216, 196, 207, 40%);
    padding: 20px 20px;
    width: 100%;
}

table.formTable {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

table.formTable td,
table.formTable th {
    border: 2px solid #D8C4CF;
    vertical-align: inherit;
}

table.formTable th {
    width: 40%;
    font-weight: normal;
    background: rgb(216, 196, 207, 40%);
    text-align: left;
    padding: 30px 20px 30px 20px;
    white-space: nowrap;
}

table.formTable td {
    padding: 20px;
    height: 30px;
}

#formWrap .submit {
    padding-top: 30px;
    padding-bottom: 30px;
}

#formWrap .submit .submit-design {
    padding: 30px 30px;
    background: rgb(216, 196, 207);
    vertical-align: middle;
    color: #5e5d5d;
    line-height: 0;
}

#formWrap .submit .submit-design:hover {
    background: rgb(216, 196, 207, 60%);
}

#formWrap .caution {
    margin-top: 30px;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {

    /* ヘッダー */

    #header .header-inner {
        align-items: center;
        padding: 10px 10px
    }

    #header .header-inner .logo {
        width: 230px;
    }

    #header .header-inner .pcnav {
        display: none;
    }

    /* ハンバーガーメニュー */
    #hamnav {
        display: block;
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.6s;
        background: rgb(216, 196, 207, 90%);
    }

    /* アクティブクラスがついたら位置を0 */
    #hamnav.panelactive {
        top: 0;
    }

    /* ハンバーガーナビゲーション */
    #hamnav ul {
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* liのレイアウト設定 */
    #hamnav li {
        list-style: none;
        text-align: center;
    }

    /* aのレイアウト設定 */
    #hamnav a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    #hamnav li:last-child img {
        width: 80px;
    }

    /* --- ハンバーガーボタンのためのCSS ---*/

    #header .header-inner .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        width: 50px;
        top: 35px;
        left: 5px;
        margin-left: 20px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    #profile .profile-inner {
        width: 80%;
    }

    #profile .profile-inner_wrap {
        flex-direction: column;
        text-align: center;
    }

    #profile .profile-inner_wrap_img {
        width: 100%;
    }

    #profile .profile-inner_wrap_text {
        width: 100%;
        text-align: left;
    }

    #message .message-inner {
        width: 90%;
    }

    #message .message-inner .message-title {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    #message .message-inner .message-text {
        font-size: 1rem;
    }

    #message .message-text .message-text_br {
        display: none;
    }
    
    #about .about-inner_text-explanation {
        text-align: left;
    }

    #about .about-inner_text-explanation p:last-child {
        margin-bottom: 30px;
    }

    

    #skill .skill-inner {
        width: 90%;
        padding: 30px 20px;
    }

    #skill .skill-inner_text_coding .p_br {
        display: block;
        margin-left: 20px;
    }

    #formWrap {
        width: 95%;
        margin: 0 20px;
    }

    #formWrap .formWrap-inner .caution p {
        line-height: 1.5rem;
    }

    table.formTable th,
    table.formTable td {
        width: auto;
        display: block;
    }

    table.formTable th {
        margin-top: 5px;
        border-bottom: 0;
        padding: 20px 20px;
    }

    table.formTable td {
        height: 80px;
        padding: 10px 20px;
    }

    table.formTable .child1  {
        padding: 30px 20px 20px 20px;
    }

    table.formTable .child2 {
        height: 160px;
    }

    table.formTable .box {
        width: 80%;
    }

    form input[type="submit"],
    form input[type="button"] {
        display: block;
        width: 100%;
        height: 40px;
    }

    


}