@charset "utf-8";
* {
    word-break: break-all;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fcf8ef;
    color: #1f1f1f;
    position: relative;
}

#description {
    position: fixed;
    z-index: -2;
    opacity: 0;
}

#reverse {
    background-color: #1f1f1f;
    color: #fcf8ef;
}

h1 {
    font-family: "Noto Sans JP";
    font-size: 2rem;
}

h2 {
    font-family: "Showcard Gothic", "FULLY FREE" , "ZCOOL_KuaiLe", "cookierun", sans-serif;
    font-size: clamp(1.8rem, 7vw, 3.5rem); 
}

h3 {
    font-family: "Jockey One", "cookierun", "Lilita One", "Yusei Magic", sans-serif;
    font-size: clamp(2rem, 4vw, 5rem); 
}

h4 {
    font-family: "Jockey One", "cookierun", "Lilita One", "Yusei Magic", "FULLY FREE", sans-serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

h5 {
    font-family: "cookierun", "Lilita One", "Yusei Magic", "cookierun", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
}

h6 {
    font-family: "Yusei Magic", "cookierun", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}

p {
    font-family: "Yusei Magic", "cookierun", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5rem;
}

a {
    color: #1f1f1f;
    font-family: "Yusei Magic", "cookierun", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    z-index: 5;
}

img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 4% 0;
    z-index: 300;
    max-width: 1600px;
    width: 100%;
    background-color: rgb(255, 255, 255, 0.1);
}

footer {
    bottom: 0;
    max-width: 1600px;
    width: 100%;
    padding: 5px 4%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(255, 255, 255, 0.1);
}

.job h3 {
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 400;
}

#footer.fix {
    position: fixed;
}

footer h5 {
    font-size: 1.5rem;
}

main {
    padding: 120px 4% 0;
}

li {
    list-style: none;
}

.dot-img {
    content: "";
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#232946 69%, #fff 70%);
    background-size: 3px 3px;
    position:fixed;
    top:0;
    left:0;
    opacity:0.1;
    z-index: 2;
}

.red {
    color: #e03346;
}

button, input, textarea, .white, .accordion-header span, #all {
    position: relative;
    z-index: 5;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}

.intro-text {
  margin-top: 90px;   /* ← メニュー高さに合わせて調整 */
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.logo-area {
    margin-bottom: 1rem;
}

@media screen and (width < 850px) {
    p {
        font-size: 1rem;
        line-height: 1rem;
    }

    p:empty::before {
        height: 16px; 
        line-height: 16px; 
    }

    footer {
        padding: 0 4% 5px;
    }

    a {
        font-size: 1rem;
    }

    .job h3 {
        font-size: 0.6rem;
    }

    .intro-text {
        margin-top: 70px;   /* ← メニュー高さに合わせて調整 */
    }
}