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

html {
    scroll-behavior: smooth; /* ページ内リンクをスムーズスクロールに */
}

body {
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.6;
    background: url("image/bg.png") no-repeat center center fixed;
    background-size: cover;
    color: #333;
    font-size: 15px; /* 本文の文字を少し小さく */
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}
strong {
    font-weight: bold;
    color: #c94848; /* 好きな強調色を指定 */
}

.black-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s, background-color 0.3s;
}

.floating-button:hover {
    background-color: #333;
    transform: scale(1.1);
}

.black-button:hover {
    background-color: #222;
    transform: scale(1.05);
}

.button-container {
    text-align: center;
    margin: 1rem 0 3rem 0;
}
.privacy-policy strong {
    color: #000;
}
nav {
    background: #000;
    border-bottom: 1px solid #ddd;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.menu li {
    margin: 0 1.5rem;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}
.fade-body {
    opacity: 0;
    transform: translateY(20px); /* 下からふわっと */
    animation: fadeIn 1.2s ease-out forwards;
}

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

.menu a:hover {
    color: #e61a1a;
}

main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9); /* 白背景＋少し透ける */
    border-radius: 9px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 80px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* h2中央寄せ＋左右に線の装飾 */
section h2 {
    position: relative;
    text-align: center;
    font-size: 1.6rem;
    color: #ae1111; /* 好きなカラーに変更 */
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
}

#about h2::before,
#about h2::after{
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #ffcc00;
}

section h2::before,
section h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #ae1111;
}

section h2::before {
    left: 0;
}

section h2::after {
    right: 0;
}

/* 装飾が本文にかぶらないように余白調整 */
section h2 span {
    background: white;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
}

p {
    font-size: 14px;
    line-height: 1.8;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background: #eee;
    font-size: 0.9rem;
}
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #9400b7;
    color: white;
    font-size: 34px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#about {
    background: rgba(0, 0, 0, 0.0); /* 半透明の黒背景 */
    color: #fff; /* 白文字 */
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif; /* 明朝体 */
    text-align: center; /* 中央寄せ */
    padding: 60px 20px;
    border-radius: 20px;
    max-width: 800px;
    margin: 60px auto;
}

#about h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2em; /* 少し大きめに */
    line-height: 1.8;
}
#about {
    position: relative;
    max-width: 1000px !important; /* ← ここを広げる */
    color: #fff;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    max-width: 800px;
    margin: 60px auto;
    z-index: 1;
}
#about h2 {
    color: #ffcc00; /* 好きな色に変更可能 */
    letter-spacing: 9px;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.6) 20%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: -1;
}

#about h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2em;
    line-height: 1.8;
}


.floating-button:hover {
    background-color: #005fa3;
    transform: scale(1.1);
}
footer {
    min-width: 1000px;
    background: #eee;
}
footer .wf div:nth-of-type(n+2) {
    margin: 30px 0 35px;
    vertical-align: bottom;
    display: inline-block;
}
footer div img {
    width: auto;
    height: 100%;
    margin: 0 auto;
}
footer .wf {
    text-align: center;
    padding: 80px 0px 100px;
}
footer small {
    display: block;
    font-size: 12px;
    line-height: 20px;
    color: #111;
}
footer .medea {
    margin-left: 40px !important;
}
footer .wf div:nth-of-type(n+2)
{
    margin: 30px 0 35px;
    vertical-align: bottom;
    display: inline-block;
}
footer .victor
{
    margin-left: 40px !important;
    height: 33px;
}
footer .wf {
    text-align: center;
    padding: 80px 0px 100px;
}
footer .megido72 {
    height: 99px;
}
footer .wf div:nth-of-type(n+2) {
    margin: 30px 0 35px;
    vertical-align: bottom;
    display: inline-block;
}
footer .dena {
    height: 39px;
    margin-left: 40px !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    section h2 {
        font-size: 1.3rem;
    }

    section {
        padding: 1.5rem;
    }
    .menu {
        flex-direction: column;
        align-items: center;
    }

    .menu li {
        margin: 0.5rem 0;
    }

    h2 {
        font-size: 1.3rem;
    }
    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    #about h2::before, #about h2::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 10%;
        height: 1px;
        background: #ffcc00;
    }
}
@media screen and (max-width: 480px) {
    .floating-button {
        display: none;
    }
}
@media screen and (max-width: 900px) {
    footer {
        width: 100% !important;
        min-width: auto;
    }
    footer .wf {
        padding: 100px 40px 40px;
        text-align: center;
        font-size: 0;
        line-height: 0;
    }
    footer .megido72 {
        margin: 0 0 40px;
    }
    footer .wf div:nth-of-type(n+2)
    Specificity: (0,2,2)
    {
        margin: 0 0 21px 0 !important;
    }
    footer .dena
    Specificity: (0,1,1)
    {
        height: 13vw;
        margin-bottom: 30px !important;
    }
    footer .wf div:nth-of-type(n+2) {
        margin: 0 0 21px 0 !important;
    }
    footer .wf div:nth-of-type(n+2) {
        margin: 0 0 21px 0 !important;
    }
}
