@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.big-bg {
    position: relative;
    width: 100%;
    height: 100vh;

    overflow: hidden;
}



body,
html {
    margin: 0;
    padding: 0;

    font-family: "Yu Gothic Medium", "Zen Maru Gothic", sans-serif;
}

.logo-box {
    position: relative;
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #c9d0b8;

    justify-content: center;
    align-items: center;


}

.logo-box img {


    width: auto;
    height: 100%;
    object-fit: cover;
    background-size: cover;

}

.logo-overlay {
    position: absolute;
    top: 10px;
    left: 20%;
    z-index: 10;
    line-height: 1.2;


    color: rgb(191, 16, 71);
    text-align: left;

}

.logo-text {
    font-size: 50px;
    font-weight: 700;
    display: block;

}

.logo-subtext {
    font-size: 25px;
    display: block;
    margin: 0;

}

.main-nav {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 100;

}

.main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}


.main-nav li {
    margin-bottom: 20px;
}

.main-nav a {
    text-decoration: none;
    color: rgb(11, 175, 57);
    font-size: 20px;
    font-weight: bold;
}

.main-nav a:hover {
    color: rgb(191, 16, 71);
}

h1,
h2,
p {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
}

h2 {
    color: rgb(230, 37, 156);
    font-size: 30px;
}

h1 {
    font-size: 30px;
}

p {
    font-size: 20px;
    line-height: 1.8;
}

.big-bg {
    background-size: cover;
    background-position: center top;
}

.page-profile {
    background-color: #f0f07e;
}

.page-hobby {
    background-color: #fffaf0;
}

.page-book {
    background-color: #66abe8;
}

.page-profile section,
.page-hobby section,
.page-book section {
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

#contact {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-title {
    text-align: center;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-item input,
.contact-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    /* 幅の計算を調整 */
}

.contact-submit {
    text-align: center;
}

.contact-submit button {
    background-color: #333;
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-submit button:hover {
    background-color: #555;
}