@charset "utf=8";
html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    color:#333;
    padding-top: 38px;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}


img {
    max-width: 100%;
    margin-bottom: 10px;
}
/* キャンペーンバー（画面一番上に表示） */
.announcement-bar {
    position: absolute; /* 固定しない、ページの一番上に表示 */
    top: 0;
    left: 0;
    right: 0;
    background-color: #BF995C;
    color: #721c24;
    padding: 10px;
    text-align: center;
    height: 38px;
    z-index: 9999;
}

.promotion {
    background-color: #F9F5F0;
    color: #333;
    padding: 20px;
    border-radius: 10px;
}

/* ヘッダー（スクロールしても一番上で固定） */
.site-header {
    position: sticky; /* 一番上で固定 */
    top: 0;  /* 画面の上部にきたときに固定 */
    left: 0;
    right: 0;
    background-color: #333; 
    color: #fff;
    z-index: 9998;
}

.site-header .container {
    padding: 10px;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

main {
    text-align: center;
    background-color: #fff;
}

.main-nav {
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-right: 20px;
}

.main-nav li:last-child {
    margin-right: 0;
}

.main-content img {
    max-width: 60%;
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .container {
    margin-bottom: 40px;
}

.main-hero {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.main-hero img {
    position: relative;
    z-index: 1;
}

.main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.main-hero .cta-button {
    position: relative;
    z-index: 2;
}

.search-form {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.search-form input {
    padding: 5px;
    margin-right: 10px;
}

.search-form button {
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    cursor: pointer; /* カーソルをポインターにする */
}

.site-header .container {
    display: flex; 
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.site-title {
    margin: 0;
    font-weight: bold;
    font-size: 2.6rem;
}

main h2 {
    font-size: 2.6rem;
    font-weight: bold;
    padding-top: 20px;
    margin-bottom: 20px;
}

main p {
    max-width: 80%;
    margin: 0 auto;
}

.cta-button {
    font-size: 1.8rem;
    background-color: #FFD700;
    color: #fff;
    padding: 10px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s, background-color 0.3s;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-color: #FFC107;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.promotion {
    margin-top: 20px;
}

.footer {
    border-top: 2px solid #BF995C;
    background-color: #EBC3C3;
    padding-top: 20px; 
    padding-bottom: 20px;
    margin-top: 30px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.footer-section li {
    padding-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-bottom: 10px;
}

.mailmagazine h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

form p {
    margin-bottom: 1rem;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button[type="submit"] {
    background-color: #F5E1A4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    color: #333;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: box-shadow 0.3s, background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #F2C94C;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.social-links img {
    margin: 0; /* 不要な余白を削除 */
    padding: 0;
    margin-right: 10px;
    border: none;
    width: 32px;
    height: 32px;
    display: inline-block;
    max-width: none; /* 上書きを防ぐ */
}
