.intro {
position:fixed; inset:0;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
background:#fff;
transition:opacity 0.8s ease,
visibility 0.8s step-end;
z-index:9998;
}
.intro.is-hidden {
opacity:0;
visibility:hidden;
}
.logo {
width:min(80vw, 500px);
opacity:0;
transform:translateX(-100px);
animation:slideIn 1.5s cubic-bezier(.25,.8,.25,1) forwards;
}
.company_name {
margin-top:1rem;
font-size:1.2rem;
color:#000;
opacity:0;
letter-spacing:0.15em;
transform:translateX(-80px);
animation:slideInText 1.5s cubic-bezier(.25,.8,.25,1) forwards;
animation-delay:1.2s;
}
@keyframes slideIn {
0% {opacity:0; transform:translateX(-100px);}
100% {opacity:1; transform:translateX(0);}
}
@keyframes slideInText {
0% {opacity:0; transform:translateX(-80px);}
100% {opacity:1; transform:translateX(0);}
}
#container {
text-align:center;
font-family:"Noto Sans JP",sans-serif;
}


header {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
header .toplogo {
display: block;
}
header .logo {
display: none;
}

#mainimage {
width: 100%;
height: 70vw;
background-size: cover;
background-position: center bottom;
position: relative;
z-index: 5;
display: grid;
}
#mainimage:before {
width: 100%;
height: 100%;
content: '';
position: absolute;
top: 0;
left: 0;
opacity: 1;
background-image: url(../image/top/dot.png);
background-size: 2px auto;
z-index: 11;
background-color: rgba(0,0,0,0.3);
}
#mainimage .box {
text-align: left;
position: relative;
z-index: 15;
left: 5%;
top: 55%;
}
#mainimage .vignette {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 12;
background: radial-gradient(ellipse at center,
rgba(0,0,0,0) 50%,
rgba(0,0,0,.35) 100%);
opacity: 0; /* GSAPで制御 */
}
#mainimage h1 {
background-color: rgba(255, 255, 255, 0);
padding: 0.2em;
font-family: iroha-26tubaki-stdn, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 18px;
line-height: 2em;
display: inline;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
text-align: right;
margin: 0 0 0.5em 0;
}
#mainimage h1 {
display: inline;
text-align: left;
margin: 0 0 0.5em 0;
line-height: 2em;
background: rgba(255, 255, 255, 0.96);
padding-left: 1.5em;
}
#mainimage h1 b{
color: #FF0000;
font-weight: normal;
}
#mainimage h1 .line {
display: inline-block;
background-color: rgba(255,255,255,.9);
overflow: hidden;
clip-path: inset(0 100% 0 0); /* GSAPで制御 */
will-change: clip-path;
padding: 0 0.8em;             /* PCより広めに余白 */
border-radius: 0.2em;         /* スマホだと角を少し丸めると視認性UP */
margin-bottom: 0.3em;         /* 行間を少し空ける */
}
#mainimage h1 span.char {
display: inline-block;
opacity: 0;
transform: translateX(-20px);
}
#mainimage p {
color: #FFF;
font-size: 14px;
line-height: 2em;
}
/* アクセシビリティ：動きを抑える人には最終状態で */
@media (prefers-reduced-motion: reduce) {
#mainimage h1 .line { clip-path: inset(0 0 0 0); }
#mainimage h1 .char { opacity: 1; transform: none; filter: none; }
}

#top {
}
#top p {
opacity: 0;
transform: translateY(40px);
will-change: opacity, transform;
}
#top h2,
#top h3 {
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 700;
font-style: normal;
font-size: 18px;
line-height: 1.3em;
text-align: center;
}
h2,
h3,
h4,
h5 {
opacity: 0;
transform: translateY(40px); /* 下に少し隠す */
will-change: opacity, transform;
}
#top h2 span,
#top h3 span{
color: #FF0000;
}
#top h4 {
color: #666666;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 500;
font-style: normal;
font-size: 17px;
line-height: 1.3em;
padding: 0.5em 0 1em 0;
text-align: center;
}

#message {
margin: 40px auto 0 auto;
}
#message h2 {
text-align: left;
margin: 0px 4% 0em 4%;
}
#message .bg {
background-image: url("../image/top/message_bg.jpg");
background-position: right top;
background-size: 40%;
margin: 0px auto 0 auto;
padding: 5vw 0 3vw 0
}
#message .box p {
font-family: iroha-26tubaki-stdn, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 15px;
line-height: 1.5em;
text-align: left;
margin: 0px 4% 1em 4%;
opacity: 0;
transform: translateY(40px);
will-change: opacity, transform;
}
#message .box p b {
color: #FF0000;
}
#message .box p:nth-child(1) {
margin: 0px 15% 1em 4%;
}

#business {
margin: 40px auto 0 auto;
}
#business dl {
margin: 0px auto 0 auto;
width: 90%;
display: flex;
flex-wrap: wrap;
}
#business dl img {
width: 100%;
height: auto;
display: block;
opacity: 0;
will-change: opacity, transform;
transform: scale(0.8);
}
#business dt {
width: 100%;
text-align: left;
}
#business dt:nth-of-type(1) {
order: 0;
}
#business dt:nth-of-type(2) {
order: 3;
}
#business dt:nth-of-type(3) {
order: 4;
}
#business dd:nth-of-type(1) {
order: 1;
}
#business dd:nth-of-type(2) {
order: 2;
}
#business dd:nth-of-type(3) {
order: 5;
}
#business dd {
width: 100%;
text-align: left;
opacity: 0;
transform: translateY(40px);
will-change: opacity, transform;
}
#business dl h5 {
font-size: 18px;
line-height: 1.3em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 700;
font-style: normal;
padding: 0em 0 0.5em 0em;
}
#business dl p {
color: #4c4c4c;
font-size: 13px;
line-height: 1.3em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 400;
font-style: normal;
padding: 0 0 1em 0em;
}
#business dl dt h5 {
}
#business dl dt p {
padding: 0 0em 1em 0em;
}
#business p.bt {
width: 100%;
margin: 0px auto 30px auto;
}
#business p.bt a {
padding: 0.5em 1em 0.5em 1em;
box-sizing: border-box;
margin: 0px 0 0 0;
}

#real {
margin: 30px auto 0 auto;
background-image: url("../image/top/real_bg.jpg");
background-position: center center;
background-size: cover;
padding: 10vw 0 6vw 0;
}
#real h3 {
color: #FFF;
}
#real h4 {
color: #FFF;
padding-bottom: 2em;
}
#real p {
color: #FFF;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
line-height: 1.5em;
padding: 0 1em 2em 1em;
text-align: center;
}
#real p.bt {
width: 70%;
margin: 0px auto 0 auto;
}

#interview {
margin: 50px auto 0 auto;
}
#interview dl {
margin: 0px auto 0 auto;
width: 90%;
}
#interview dd {
text-align: left;
background-color: #f4f4f4;
width: 100%;
padding: 1em;
box-sizing: border-box;
margin-bottom: 20px;
}
#interview dd img {
margin: 0px auto 0.5em auto;
display: block;
opacity: 0;
will-change: opacity, transform;
transform: scale(0.8);
}
#interview dd h5 {
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 500;
font-style: normal;
font-size: 14px;
line-height: 1.5em;
padding: 0.5em 1em 0.5em 1em;
}
#interview dd h5 span.name {
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 700;
font-style: normal;
font-size: 16px;
line-height: 1.3em;
color: #000;
padding: 0em 1em 0.5em 1em;
}
#interview dd p {
color: #4c4c4c;
font-size: 14px;
line-height: 1.5em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 400;
font-style: normal;
padding: 0em 1em 1em 1em;
}
#interview p.bt {
width: 80%;
margin: 0px auto 0 auto;
}

#statistics {
margin: 100px auto 0 auto;
background: linear-gradient(to right,  #e7e6e6 50%,#f2f2f2 50%);
padding: 5vw 0 3vw 0;
}
#statistics .box {
background-image: url("../image/top/statistics_bg.png");
background-size: 100%;
background-position: center center;
}
#statistics h4:after {
content: '';
display: block;
width: 416px;
height: 52px;
background-image: url("../image/top/statistics_icon.png");
background-size: contain;
vertical-align: middle;
margin: 50px auto 0 auto;
position: relative;
}
#statistics p {
color: #000;
font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
line-height: 2.2em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 400;
font-style: normal;
padding: 0 0 3em 0em;
}
#statistics p.bt {
width: 380px;
max-width: 31.6vw;
margin: 0px auto 0 auto;
}
#contact h3 {
display: none;
}
#contact li {
opacity: 0;
will-change: opacity, transform;
transform: scale(0.8);
}

