@charset "utf-8";


/*  要素をリンクにするメモhttps://web-den.com/wrapping-atag */


/* リセットcss */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 大枠 */
.main_flex {
    display: flex;
}

.top_img {
    max-width: 1200px;
    max-height: min-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 50px 50px 295px;
    animation-name: fadeUpAnime;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

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

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

#menu_btn_check {
    display: none;
}

/* フォント設定 */
h1 {
    font-family: adventures-unlimited, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
}

p,
a {
    font-family: futura-pt, sans-serif;
    font-weight: 300;
    font-style: normal;
}

.profile_txt p,
.profile_txt a,
#entry_form p,
th,
td,
#entry_form input[type="submit"] {
    font-family: a-otf-ryumin-pr6n, serif;
    font-weight: 300;
    font-style: normal;
}


/* 左側共通部分 */


.nav {
    width: 295px;
    text-align: center;
    position: fixed;
    top: 0;
}

.nav section {
    position: relative;
}

section {
    position: relative;
    margin: 190px 60px 0px 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

section p {
    font-size: 12px;
}

section a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav ul:first-child {
    margin-top: 45px;
}

/* hoverしたとき */
.nav nav ul li a {
    position: relative;
    color: #333;
    font-size: 18px;
    line-height: 24px;
}

.nav nav ul li a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: left;
    transition: 0.6s;
}

.nav nav ul li a:hover:before {
    transform: scale(1);
}

#profile .main_flex ul li:nth-child(1) a,
#gallery .main_flex ul li:nth-child(2) a,
#contact .main_flex ul li:nth-child(3) a {
    text-decoration: underline;
}

.contact_ico:hover {
    opacity: 0.5;
}

/* プロフィール */
.profile_txt {
    margin-top: 200px;
    margin-left: 295px;
    max-width: 1200px;
    font-size: 14px;
}

.profile_txt p:nth-child(3) {
    margin: 30px 0;
}

.contact_ico {
    display: inline;
    margin-top: 50px;
    width: 5%;
}

/* ギャラリーページ */

.gallery_img {
    max-width: 1200px;
    margin-left: 295px;
    display: flex;
    flex-wrap: wrap;
    animation-name: fadeUpAnime;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

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

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

.gallery_img {
    padding: 30px 0 50px;
}

.gallery_img div {
    width: 250px;
    height: 250px;
    margin: 20px 20px 0 0;
}

.gallery_img a:last-child div img {
    margin-bottom: 50px;
}

.last {
    display: none;
}

.gallery_img div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* お問い合わせページ */

#entry_form {
    width: 1200px;
    margin-top: 200px;
    margin-left: 295px;
}

#entry_form p {
    margin-bottom: 20px;
    font-size: 14px;
}

.ast {
    color: #f1363e;
}

table {
    border-collapse: collapse;
}

th {
    padding: 0 35px 16px 0;
    margin-right: 30px;
    font-size: 14px;
    text-align: left;
}

td {
    width: 10em;
    padding: 0px 35px 16px 0;
    font-size: 14px;
    text-align: left;
}

#entry_form table tr:nth-child(5) th {
    vertical-align: top;
}


tr:nth-child(2) td {
    width: 30em;
}

tr:nth-child(2) td label {
    margin-right: 20px;
}

#entry_form textarea {
    width: 200%;
}

#entry_form input[type="text"],
#entry_form input[type="email"],
#entry_form textarea {
    padding: 8px;
    border: #e8e8e8 solid 2px;
    border-radius: 3px;
}

#entry_form input[type="text"]:focus,
#entry_form input[type="email"]:focus,
#entry_form textarea:focus {
    background-color: #e8e8e8;
    outline: none;
}

#entry_form input[type="submit"] {
    width: 83px;
    height: 38px;
    border: none;
    border-radius: 3px;
}

#entry_form input[type="submit"]:hover {
    background-color: #333;
    color: #f1363e;
}


label,
input,
textarea,
select {
    cursor: pointer;
}