.is-hide {
    display: none;
}

.fadeout-bg {
    transition-property: opacity;
    transition-delay: .9s;
    transition-duration: .8s;
    opacity: 0;
    pointer-events: none;
}

.fadeout-loader {
    transition-property: opacity;
    transition-delay: .9s;
    transition-duration: .3s;
    opacity: 0;
    pointer-events: none;
}

#loader-bg {
    background: #fff;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

#loader {
    height: 120px;
    left: 50%;
    margin-left: -60px;
    margin-top: -60px;
    position: fixed;
    top: 50%;
    width: 120px;
}

#loader p {
    color: #454545;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

#loader p img {
    display: inline-block;
}

html {
    min-height: 100%;
    min-height: 100dvh;
    background: #07506f url(../images/bg.png?v=10) no-repeat center / cover;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", sans-serif;
    font-weight: 500;
}

body,
html {
    margin: 0;
    padding: 0;
}

#landscape-warning {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    font-size: 22px;
    z-index: 1;
}

#center {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#location {
    color: #fff;
    font-size: 9vw;
    font-weight: 700;
}

#mapLink {
    text-decoration: none;
}

#buttonContainer {
    position: fixed;
    bottom: max(10vw, calc(env(safe-area-inset-bottom, 0px) + 12px));
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#myButton {
    background-color: #9f0000;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.new {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    background-color: #f8f9faf2;
    color: #000;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .5s ease, opacity .5s ease;
}

.new.visible {
    transform: translateY(0);
    opacity: 1;
}

.close-button {
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    flex: 0 0 30px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #333;
}

.close-button i {
    font-size: 30px;
    color: #666;
}

.close-button:hover i {
    color: #333;
}

#notificationBar {
    overflow: hidden;
}

#notificationBar a {
    text-decoration: none;
    color: #333;
}

#notificationBar a.icon {
    width: 12vw;
    float: left;
    border: 1px solid #333;
}

#notificationBar a img {
    width: 100%;
}

#notificationBar a.tit {
    margin: 0;
    width: 65vw;
    min-width: 0;
    float: left;
    display: block;
}

#notificationBar span {
    color: #fff;
    background: #d54a4a;
    padding: 3px 5px;
    font-size: 12px;
    margin-right: 9px;
    position: relative;
    bottom: 2px;
}

.fix-guide-trigger {
    position: fixed;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    box-sizing: border-box;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    padding: 10px 14px;
    background: #07506f;
    color: #fff;
    font: 700 13px/1.3 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    cursor: pointer;
}

.fix-guide-trigger[hidden],
.fix-guide-modal[hidden] {
    display: none;
}

.fix-guide-modal {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    padding: calc(16px + env(safe-area-inset-top, 0px))
        calc(16px + env(safe-area-inset-right, 0px))
        calc(16px + env(safe-area-inset-bottom, 0px))
        calc(16px + env(safe-area-inset-left, 0px));
    background: rgba(4, 25, 39, .72);
    z-index: 10000;
}

.fix-guide-panel {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 440px);
    max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    padding: 24px 20px 20px;
    background: #fffdf8;
    color: #183444;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
    font-size: 14px;
    line-height: 1.6;
}

.fix-guide-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eaf2f5;
    color: #183444;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.fix-guide-date {
    display: inline-block;
    margin: 0;
    border-radius: 999px;
    padding: 3px 10px;
    background: #e6f2f7;
    color: #07506f;
    font-size: 12px;
    font-weight: 700;
}

.fix-guide-panel h2 {
    margin: 12px 42px 10px 0;
    font-size: 20px;
    line-height: 1.4;
}

#fixGuideDescription {
    margin: 0 0 16px;
}

.fix-guide-url {
    display: grid;
    gap: 6px;
    border: 1px solid #c9e0e9;
    border-radius: 12px;
    padding: 12px;
    background: #f0f8fb;
}

.fix-guide-url > span:first-child {
    font-size: 12px;
    color: #416070;
}

.fix-guide-url strong {
    overflow-wrap: anywhere;
    color: #07506f;
    font-size: 13px;
}

#copyFixGuideUrl,
.fix-guide-done {
    border: 0;
    border-radius: 9px;
    padding: 10px 14px;
    background: #07506f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fix-guide-copy-status:empty {
    display: none;
}

.fix-guide-copy-status {
    font-size: 12px;
    color: #07506f;
}

.fix-guide-steps {
    counter-reset: fix-step;
    display: grid;
    gap: 13px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.fix-guide-steps li {
    position: relative;
    padding-left: 38px;
}

.fix-guide-steps li::before {
    counter-increment: fix-step;
    content: counter(fix-step);
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #d54a4a;
    color: #fff;
    font-weight: 700;
}

.fix-guide-steps strong,
.fix-guide-steps span {
    display: block;
}

.fix-guide-steps strong {
    color: #183444;
}

.fix-guide-done {
    width: 100%;
}

.fix-guide-trigger:focus-visible,
.fix-guide-panel button:focus-visible {
    outline: 3px solid #d54a4a;
    outline-offset: 3px;
}

@keyframes fix-guide-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fix-guide-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fix-guide-rise {
    from { opacity: 0; transform: translateY(22px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fix-guide-drop {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(12px) scale(.98); }
}

.fix-guide-modal.is-open {
    animation: fix-guide-fade-in .28s ease-out both;
}

.fix-guide-modal.is-open .fix-guide-panel {
    animation: fix-guide-rise .28s ease-out both;
}

.fix-guide-modal.is-closing {
    animation: fix-guide-fade-out .2s ease-in both;
}

.fix-guide-modal.is-closing .fix-guide-panel {
    animation: fix-guide-drop .2s ease-in both;
}

@media (prefers-reduced-motion: reduce) {
    .fix-guide-modal.is-open,
    .fix-guide-modal.is-open .fix-guide-panel,
    .fix-guide-modal.is-closing,
    .fix-guide-modal.is-closing .fix-guide-panel {
        animation: none;
    }
}
