@charset "UTF-8";

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


section#hero {
    position: relative;
    background-image: url("../img/hero_bg_pc.webp") ;
    background-repeat:no-repeat;
    background-size:auto 100%;
    background-position:center top;
    width: 100%;
    height:100vh;
}


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

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

section#hero p {
    width: auto;
    height: 26%;
    position: absolute;
    top: 36%;
    left: 30%;
    transform: translate(-50%, -50%);
}

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



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

section#strong {
    margin:2rem 0 3rem;
}
section#strong > ul {
    list-style-type:none;
    margin:3rem auto;
    padding:0rem 0 3rem 0;
    background:#fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius:2rem;
}
section#strong > ul > li {
    margin-top:0rem;
}

#bg_ichi ,
#bg_ni ,
#bg_san {
    position:absolute;
    top:2rem;
    left:0rem;
    width: 8rem;
    height:auto;
    z-index:1;

}

.white_bg {
    background:rgba(255,255,255,0.8);
    padding:1rem 0rem;
    box-shadow:none;
    position:relative;
    width:100%;
}
.white_bg h3 {
    position:relative;
    z-index:2;
    top:0rem;
    left:0rem;
    transform:translate(0%,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.4rem;
    line-height:1em;
    text-align:left;
    width:calc(50% - 3rem);
    padding:3rem 0 1rem 3rem;
}
.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;
    width:calc(50% - 3rem);
    padding:0rem 0 0rem 3rem;
}



ul.strong_img {
    list-style-type:none;
    margin:0;
    padding:0rem 0 0 0;
    display:block;
    gap:0;
    position:absolute;
    top:0rem;
    right:0rem;
    width:calc(50% - 3rem);
    height:100%;
}
ul.strong_img li:nth-child(1) {
    position:absolute;
    top:4rem;
    left:0;
    width:50%;
}
ul.strong_img li:nth-child(2) {
    position:absolute;
    right:2rem;
    bottom:1rem;
    width:50%;
}

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(33.3% - 1rem);
}
section#works ul li img {
    display: block;
    width:100%;
    height:auto;
}

section#works ul li::after {
    content: "";
    position: absolute;
    inset: 0;

}

section#works ul li span {
    position: absolute;
    inset: 0;
    z-index: 1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:1.2rem;
    line-height:1em;
}


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

.sideblue_title {
    background: #011a3e;
    color: #fff;
    display: inline-block;
    padding: 1em 1.5em 1em calc(((100% - 960px) /2) + 1.5rem);
    font-size: 1.5rem;
    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: 1rem 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;
}

ul.company_img {
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
}
ul.company_img li {
    position:relative;
    flex-basis:calc(50% - 1rem);
}

section#message {
    background:none;
    background-color:#000;
}
section#message .inner {
    background: url("../img/message_bg_pc.png") no-repeat;
    background-size: 90% auto;
    background-position:bottom right;
    padding:0rem 0 3rem;
}
section#message img#message_txt {
    width:70%;
    height:auto;
    margin:2rem auto 2.5rem;
}
section#message img#message_name {
    display:block;
    width:20%;
    height:auto;
    margin:0rem auto 0rem 0;
    text-align:left;
}


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.6rem;
    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:640px;
    height:auto;
}



