.topbk {
  background-image: url(/images/Ace-top_image.jpg);
  background-size: cover;
  background-position: 0% 100%;
}
.midashi1 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1.75em;
    line-height: 1.25em;
    font-weight: bold;
    color: #00B49F;
}
.midashi2 {
    text-align: justify;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1em;
    font-weight: bold;
    color: #00B49F;
}
.midashi3 {
    text-align: center;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1.5em;
    line-height: 1.25em;
    font-weight: bold;
    color: #00B49F;
    margin-bottom: -1px;
}
.honbun1 {
    text-align: justify;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    line-height: 1.5em;
    font-size: 1em;
    margin-bottom: 0px;
}
.honbun3 {
    text-align: justify;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    line-height: 2em;
    font-size: 1em;
    margin-bottom: 0px;
    padding-left: 5em;
    text-indent: -5em;
}
.honbun2 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    line-height: 1.5em;
    color: #00B9A5;
    font-weight: bold;
    font-size: 1.25em;
    margin-bottom: 0px;
}
.img100 {
    width: 100%;
}
.contact1 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-weight: bold;
    font-size: 1.25em;
    line-height: 1em;
}
.contact2 {
    text-align: center;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    line-height: 1.5em;
    font-size: 1em;
    margin-bottom: 0px;
}
p span {
    display: inline-block;
}

/* ===== サイト移転告知ページ ===== */
.notice-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notice-logo {
    margin-bottom: 2.5em;
}
.notice-logo img {
    width: 80%;
    height: auto;
}
.notice-text {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1em;
    line-height: 2em;
    color: #333;
    margin-bottom: 1.75em;
}
.notice-text a {
    color: #00B49F;
    font-weight: bold;
    text-decoration: underline;
}
.notice-btn-wrap {
    margin-top: 2em;
}
.notice-btn {
    display: inline-block;
    padding: 0.75em 3em;
    background-color: #00B49F;
    color: #fff;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.notice-btn:hover {
    background-color: #00917f;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 575px) {
    .notice-text {
        text-align: left;
        font-size: 0.95em;
    }
}

/* ===== フェードイン ===== */
@keyframes noticeFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.notice-fade {
    opacity: 0;
    animation: noticeFadeIn 0.8s ease-out forwards;
}
.notice-delay-1 { animation-delay: 0.2s; }
.notice-delay-2 { animation-delay: 0.6s; }
.notice-delay-3 { animation-delay: 1.0s; }

/* 動きを抑える設定の端末では無効化 */
@media (prefers-reduced-motion: reduce) {
    .notice-fade {
        opacity: 1;
        animation: none;
    }
}

/* ===== 背景グラデーションアニメーション ===== */
@keyframes bgFlow {
    0%   { background-position:   0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position:   0% 50%; }
}
body {
    background: linear-gradient(
        120deg,
        #ffffff,
        #e8f7f3,
        #d3f0e8,
        #e8f7f3,
        #ffffff
    );
    background-size: 300% 300%;
    animation: bgFlow 18s ease infinite;
}

/* モバイル：背景グラデーションなし・シャドウなし */
@media (max-width: 767px) {
    body {
        background: #ffffff;
        animation: none;
    }
    .notice-wrap {
        box-shadow: none;
    }
	.notice-logo img {
    width: 100%;
    height: auto;
}
}

/* 動きを抑える設定の端末では静止 */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }
}
.notice-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
}