@charset "UTF-8";

main {
    margin-top:calc(var(--header-height) *-1);
}


section#hero {
    position: relative;
    background: url("../img/hero_bg.webp") no-repeat;
    background-size: 100% auto;
    width: 100%;
    aspect-ratio: 1720 / 2300;
}


section#hero h1 {
    width: 31vw;
    height: auto;
    margin:0 0 0 auto;
    position:absolute;
    z-index:1;
    right:0;
}

section#hero h1 img {
    max-width: 100%;
    height: auto;
    margin-top:3rem;
}

section#hero p {
    width: 27vw;
    height: auto;
    position: absolute;
    top: 31%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section#hero p img {
    max-width: 100%;
    height: auto;
}



h2.seigaiha_title {
    background: url("../img/seigaiha_title_bg.png") no-repeat;
    background-size: 100% auto;
    color:#fff;
    text-align:center;
    width: 100%;
    aspect-ratio: 1541 / 261;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:1.2rem;
    line-height:1em;
}

section#strong {
    margin:2rem 0 3rem;
}
section#strong > ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
section#strong > ul > li {
    margin-top:3rem;
}

#bg_ichi ,
#bg_ni ,
#bg_san {
    position:absolute;
    top:-2rem;
    left:-1rem;
    width: 23%;
    height:auto;
    z-index:1;
    opacity:0.8;
}

.white_bg {
    background:rgba(255,255,255,0.8);
    padding:1rem 2rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.white_bg h3 {
    width:100%;
    position:absolute;
    z-index:2;
    top:-0.5em;
        left:50%;
        transform:translate(-50%,0%);
        text-align:center;

    text-shadow:
        /* 1px */
        -1px -1px 0 #fff,
         0px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  0px 0 #fff,
         1px  0px 0 #fff,
        -1px  1px 0 #fff,
         0px  1px 0 #fff,
         1px  1px 0 #fff,

        /* 2px */
        -2px -2px 0 #fff,
         0px -2px 0 #fff,
         2px -2px 0 #fff,
        -2px  0px 0 #fff,
         2px  0px 0 #fff,
        -2px  2px 0 #fff,
         0px  2px 0 #fff,
         2px  2px 0 #fff;
    font-weight:bold;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size:1.3rem;
    line-height:1em;
}
.white_bg p {
    position:relative;
    z-index:3;
    text-shadow:
        /* 1px */
        -1px -1px 0 #fff,
         0px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  0px 0 #fff,
         1px  0px 0 #fff,
        -1px  1px 0 #fff,
         0px  1px 0 #fff,
         1px  1px 0 #fff,

        /* 2px */
        -2px -2px 0 #fff,
         0px -2px 0 #fff,
         2px -2px 0 #fff,
        -2px  0px 0 #fff,
         2px  0px 0 #fff,
        -2px  2px 0 #fff,
         0px  2px 0 #fff,
         2px  2px 0 #fff;
    font-size:1rem;
    line-height:1.6em;
}



ul.strong_img {
    list-style-type:none;
    margin:0;
    padding:0;
    display:flex;
    gap:0.5rem;
}


section#works ul {
    list-style-type:none;
    margin:2rem auto 3rem;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    width:98%;
}

section#works ul li {
    position:relative;
    flex-basis:calc(50% - 0.5rem);
    overflow: hidden;
}
section#works ul li::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: 0.1s;
    pointer-events: none;
}
section#works ul li img {
    display: block;
}
section#works ul li:hover::after {
    background: rgba(0, 0, 0, 0.2);
}
section#works ul li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

section#works ul li span {
    position: absolute;
    inset: 0;
    z-index: 1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}


section#company {
    background: #000;
    padding:3rem 0 3rem;
}

.sideblue_title {
    background: #011a3e;
    color: #fff;
    display: inline-block;
    padding: 1em 2em;
    font-size: 1rem;
    line-height: 1em;
}

section#company dl {
    color: #fff;
    border-top: 1px solid #464646;
    border-left: 1px solid #464646;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
}

section#company dl dt,
section#company dl dd {

    border-right: 1px solid #464646;
    border-bottom: 1px solid #464646;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
}

section#company dl dt {
    text-align: center;
    letter-spacing: 0.2em;
    flex-basis: 7em;
}

section#company dl dd {
    text-align: left;
    flex-basis:calc(100% - 7em);
}

section#company dl dd address {
    font-style: normal;
}
section#company dl dd address:first-child {
    margin-bottom:0.5rem;
}
section#company dl dd address a {
    color:#fff;

}
section#company dl dd address a:hover {
    color:#CCCCCC;
    text-decoration:underline;
}

ul.company_img {
    display:flex;
    flex-wrap:wrap;
    gap:1.5rem;
}
ul.company_img li {
    position:relative;
    flex-basis:100%;
}
ul.company_img li span {
    position:absolute;
    top:1rem;
    left:1rem;
    font-size:1rem;
    line-height:1em;
    color:#fff;
    font-weight:bold;
}


section#message {
    background: url("../img/message_bg.png") no-repeat;
    background-size: 100% auto;
    background-position:bottom center;
    background-color:#000;
}
section#message img#message_txt {
    width:100%;
    height:auto;
    margin:2rem auto 2.5rem;
}
section#message img#message_name {
    width:40%;
    height:auto;
    margin:0rem auto 1.5rem;
}


section#news {
    background:#fff;
    padding:4rem 0;
    text-align:center;
}

h2.underbar_title {
    text-align:center;
    position:relative;
    display:inline-block;
    margin:0 auto;
    font-size:1.2rem;
    line-height:1em;
}
h2.underbar_title::after {
    content:'';
    position:absolute;
    left:0%;
    border-bottom:1px solid #000;
    display:block;
    width:100%;
    padding-top:0.5rem;

}


section#news ul {
    margin:3rem 0 0;
}
section#news ul li {
    margin-bottom:1rem;
}
section#news ul li img {
    width:100%;
    max-width:746px;
    height:auto;
}



