/* 【全体設定】 */
/* 初期設定のbody余白をなくす */
body {
    margin: 0;
}

body,
p,
a,
li,
td,
th,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea {
    font-family: "游ゴシック体", "游ゴシック Medium", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN";
    z-index: 200;
}

/* スクロールバー常に表示（モーダルウィンドウでガクつく対策） */
/* #contents {
 overflow-y:auto;
} */

/* 【共通部品】 */
/* ① 文字色 */
.textWH {
    font-size: 18px;
    color: #fff;
    z-index: 200;
}

@media screen and (max-width:765px) {
    .textWH {
        font-size: 14px;
    }
}

.textBK {
    font-size: 18px;
    color: #222;
    z-index: 200;
}

@media screen and (max-width:765px) {
    .textBK {
        font-size: 14px;
        text-align: center;
    }
}

/* ② 背景色 */
.backGR {
    background-color: #ccc;
}

.backBK {
    background-color: #444;
}


/* ③ フルスクリーンレイアウト */
.fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;

    /* 中央寄せ */
    display: flex;
    /* 要素をflexboxに対応させる */
    align-items: center;
    /* 縦方向の中央揃え */
    justify-content: center;
    /* 横方向の中央揃え */
    flex-direction: column;

    /* 背景画像の配置 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/*  フェードインアニメーション */
.fade-in {
    animation-delay: 1.5s;
    animation-name: fadeInAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-timing-function: ease-out;
}

@keyframes fadeInAnime {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body.no_scroll {
    overflow: hidden;
}

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

/* 詳細ページボタン */
.btn-detail {
    z-index: 200;
    display: inline-block;
    margin-top: 15px;
    padding: 10px 100px;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

@media screen and (max-width:765px) {
    .btn-detail {
        font-size: 15px;
        padding: 10px 55px;
        margin: 20px;
    }
}

.btn-detail:hover {
    background-color: #ccc;
}

.btn-detail::after {
    font: var(--fa-font-regular);
    /* FontAwesomeからアイコンの読み込み */
    content: '\f105';

    position: absolute;
    margin-top: 5px;
    margin-left: 60px;

    font-weight: 900;
}

@media screen and (max-width:765px) {
    .btn-detail::after {
        margin-top: 4px;
        margin-left: 25px;
    }
}

/* モーダルウィンドウ */
.hide-area {
    display: none;
}


/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close {
    background-color: aqua;
}

.modaal-close:after,
.modaal-close:before {
    background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #444;
}



/* トップに戻るボタン */
.btn-back2top {
    position: fixed;
    right: 8%;
    bottom: 10%;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    opacity: 70%;
    z-index: 400;
}

.v-enter-active,
.v-leave-active {
    transition: opacity 0.5s;
}

.v-enter,
.v-leave-to {
    opacity: 0;
}

.v-enter-to,
.v-leave {
    opacity: 70%;
}

.fa-up-long {
    font-size: 1.5em;
    color: #444;
}


/* 【画面ごとの設定】*/

/* ①トップ画面 */
/* ハンバーガーメニュー */
/* モバイルメニューボタン */
.menu-btn {
    position: absolute;
    right: 30px;
    top: 30px;
    overflow: hidden;
    z-index: 400;
    padding-top: 5px;
}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    transition: all 0.4s;
}

.menu-trigger {
    position: relative;
    width: 35px;
    height: 25px;
}

.menu-trigger span {
    background-color: #ccc;
    height: 5px;
    width: 100%;
    position: absolute;
    left: 0;
}

.menu-trigger span:nth-of-type(1) {
    top: 0;
}

.menu-trigger span:nth-of-type(2) {
    top: 10px;
}

.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}

.naviTitle {
    font-size: 18px;
    color: #777;
}

@media screen and (max-width:765px) {
    .naviTitle {
        font-size: 14px;
    }
}

.navLink {
    font-size: 24px;
}

/* 【アニメーション】ハンバーガーボタンとバツボタンを切り替え */
.menu-trigger.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
    background-color: #444;
}

.menu-trigger.active span:nth-of-type(2) {
    left: 50px;
    opacity: 0;
    background-color: #444;
}

.menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
    background-color: #444;
}


#navigation {
    z-index: 200;
    position: absolute;
    top: 0;
    right: 0;
}

#navigation ul {
    background-color: #ccc;
    margin: 0;
    width: 25vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width:765px) {
    #navigation ul {
        width: 100vw;
    }
}

#navigation ul li {
    padding: 20px;
    margin: 0 0 3vh 0;
}

.li-container {
    width: 100%;
}

@media screen and (max-width:765px) {
    .li-container {
        width: 80%;
    }
}

.li-container li a::after {
    font: var(--fa-font-regular);
    /* FontAwesomeからアイコンの読み込み */
    content: '\f105';

    position: absolute;
    right: 30px;
    margin-top: 7px;

    font-weight: 900;
    padding: auto;
}

@media screen and (max-width:765px) {
    .li-container li a::after {
        right: 20%;
    }
}

#navigation ul li div {
    padding-left: 10px;
}

#navigation ul li a {
    display: block;
    color: #222;
    text-decoration: none;
    padding: 10px;
    border-bottom: 1px solid #444;
}

/* 「こだわる みにまる。」およびその装飾とレイアウト */

.circle .topMessage {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
}

.circle {
    position: relative;
    top: 50%;
    left: 50%;
    /* width: 500px;
    padding-top: 500px; */
    width: 55vmin;
    padding-top: 55vmin;
    border-radius: 100%;
    background-color: #ccc;
    transform: translate(-50%, -50%);
}

@media screen and (max-width:765px) {
    .circle {
        width: 300px;
        padding-top: 300px;
    }
}

.topMessage {
    position: relative;
    z-index: 200;
    color: #222;
    font-size: 50px;
    margin: 0;
    font-weight: bold;
}

@media screen and (max-width:765px) {
    .topMessage {
        font-size: 34px;
    }
}

/* トップの文章×2 */
#topSentence1 {
    color: #fff;
    font-size: 35px;
    position: relative;
    text-align: center;
    top: 30px;
}

@media screen and (max-width:765px) {
    #topSentence1 {
        font-size: 22px;
        top: 20px;
    }
}

.topSentence2 {
    color: #fff;
    font-size: 35px;
    position: relative;
    top: 8vh;
    text-align: center;
}

@media screen and (max-width:765px) {
    .topSentence2 {
        font-size: 22px;
    }
}

.topContainer {
    display: flex;
    flex-direction: column;
    text-align: center;

    padding-bottom: 100px;
}


/* ②メインコンテンツ */

/* フルスクリーンの背景画像設定 */
/* ① デザインへの想い */
.backDesign {
    background-image: url(../img/room.png);
}

@media screen and (max-width:765px) {
    .backDesign {
        background-image: url(../img/room_mobile.png);
    }
}

/* ② プロフィール */
.backProf {
    background-image: url(../img/profile.png);
}

/* ③ ポートフォリオ */
.backPortfolio {
    background-image: url(../img/nature.png);
}

/* 【TODO】レスポンシブ追記 */


/* 背景 */
.rectangle {
    position: absolute;
    z-index: 100;
    width: 80%;
    height: 80%;
}

@media screen and (max-width:765px) {
    .rectangle {
        width: 90%;
        height: 90%;
    }
}

/* ① 黒色背景 */
.rectangleBK {
    background-color: rgba(68, 68, 68, 0.75);
}

/* ② 白色背景 */
.rectangleWH {
    background-color: rgba(255, 255, 255, 0.75);
}


/* 文字 */
/* メインコンテンツの大文字 */
.mainMes {
    font-size: 30px;
    font-weight: bold;
    z-index: 200;
}

@media screen and (max-width:765px) {
    .mainMes {
        font-size: 20px;
    }
}

/* 左下に表示するタイトル */
.mainTitle {
    position: absolute;
    font-size: 90px;
    z-index: 200;
    bottom: -35px;
    left: 7%;
}

@media screen and (max-width:765px) {
    .mainTitle {
        font-size: 40px;
        bottom: -15px;
        left: 4%;
        font-weight: bold;
    }
}



/* ② プロフィール画面 */
/* 詳細ページボタン */
.btnBK {
    border: solid 1px #222;
    color: #222;
    box-shadow: 2px 2px 2px #444;
}

@media screen and (max-width:765px) {
    .br::before {
        content: "\A";
        white-space: pre;
    }
}


/* ③ ポートフォリオ */

/* 横並びコンテンツ */
.card-wrapper {
    display: flex;
    justify-content: space-between;
    text-align: center;

    z-index: 200;
}

@media screen and (max-width:765px) {
    .card-wrapper {
        flex-direction: column;
        padding-bottom: 100px;
        vertical-align: 15px;
    }
}



/* 枠は固定して、中身の画像だけ拡大縮小（style_modal.cssからコピー） */
.works {
    object-fit: cover;

    width: 20vw;
    height: 20vh;
}

@media screen and (max-width:765px) {
    .works {
        width: 50vw;
        height: 14vh;
        position: absolute;
        transform: translate(-50%, -50%);
    }
}

.card-content {
    display: flex;
    flex-direction: column;
    width: 20vw;
    padding: 0px 40px 35px 40px;
    margin: 0;
}

@media screen and (max-width:765px) {
    .card-content {
        width: 40vw;
        height: 15vh;
        padding: 40px;
    }

}

.card-text {
    flex-grow: 1;
    font-size: 24px;
    padding-bottom: 5px;
}

@media screen and (max-width:765px) {
    .card-text {
        font-size: 18px;
        /* padding: 30px; */
    }
}

/* 詳細ページボタン */
.btnWH {
    border: solid 1px #fff;
    color: #fff;
    box-shadow: 2px 2px 2px #ccc;
}





/* ④ 問い合わせ */

/* 左下の「Contact」ボックス */
.contact-box {
    position: absolute;
    z-index: 400;
    width: 30vmin;
    height: 30vmin;
    opacity: 100%;
    background-color: #444;
    bottom: -5vh;
    left: -8vw;
    display: table;
}

@media screen and (max-width:765px) {
    .contact-box {
        width: 25vmin;
        height: 25vmin;
    }
}

.contact-text {
    font-size: 6vmin;

    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

@media screen and (max-width:765px) {
    .contact-text {
        font-size: 20px;
        font-weight: bold;
    }
}


.contact-layout {
    position: relative;
    z-index: 100;
    width: 68%;
    height: 68%;
    background-color: #686868;

    /* 中央寄せ */
    display: flex;
    /* 要素をflexboxに対応させる */
    align-items: center;
    /* 縦方向の中央揃え */
    justify-content: center;
    /* 横方向の中央揃え */
    flex-direction: column;
}

@media screen and (max-width:765px) {
    .contact-layout {
        width: 78%;
        height: 78%;
    }
}

#contact {
    width: 100%;
    flex-direction: column;
}

/* フォームの中身のレイアウト */

li {
    list-style: none;
}

ul {
    padding-left: 0;
}

/* 入力ボックスの初期スタイルをリセット */
input {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 送信ボタン */
.submit-box {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    /* Set cursor to pointer */
    transition: background-color 0.3s;
    /* Optional: for smooth color transition */
    text-align: center;
    width: 35vw;
    box-shadow: 2px 2px 2px #222;
}

/* ホバー時 */
.submit-box:hover {
    background-color: #ccc;
    /* Darken background color when hovered */
}

/* ボタン押下中 */
.submit-box:active {
    background-color: #777;
}

/* ボタン押下中 */
.submit-box:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.5);
}

@media screen and (max-width:765px) {
    .submit-box {
        font-size: 18px;
        padding: 7px 20px;
    }
}

.form-label {
    font-size: 22px;
}

@media screen and (max-width:765px) {
    .form-label {
        font-size: 18px;
    }
}

.form-box {
    background-color: #f1f1f1;
    width: 35vw;

    box-shadow: 0 0 0px 100px #f1f1f1 inset;
    -webkit-text-fill-color: #222 !important;
}

@media screen and (max-width:765px) {
    .form-box {
        width: 60vw;
    }
}

.oneLine {
    height: 30px;
    font-weight: bold;
}

.multiLine {
    height: 15vh;
    font-weight: bold;
}

.contact-form-item {
    text-align: center;
    margin-bottom: 40px;
}

#result {
    text-align: center;
    color: #fff;
}