@charset "utf-8";
/* レイアウトのためのCSS */

body {
    font-family: 'Sawarabi Gothic', sans-serif;
    color: #000;
    font-size: 1rem;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    word-wrap: break-word;
}

_:-ms-lang(x)::-ms-backdrop,
body {
    /*IE11用ハック*/
    overflow-x: hidden;
}

@media screen and (max-width:768px) {
    body {
        font-size: 0.8rem;
    }
}

* {
    box-sizing: border-box;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
    outline: none;
}

img {
    width: 100%;
    height: auto;
}

/* splash */

/* loading ※https://projects.lukehaas.me/css-loaders/参照*/
.loader {
    color: #000;
    font-size: 40px;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}

@keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }

    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }

    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* font-family */

h1,
h2,
#service h3,
#header .scrolldown3,
#contact .tel,
#contact .mail,
#footer,
nav,
#splash-logo {
    font-family: 'Teko', sans-serif;
}

/* splash */

#splash-logo {
    color: #000;
}

/* header */

#header .fixed {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#header h1 {
    position: fixed;
    z-index: 9999;
    top: 3vh;
    left: 2vw;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1;
}

@media screen and (max-width:768px) {
    #header h1 {
        font-size: 2rem;
        top: 4vh;
        left: 4vw;
    }
}

#header .scrolldown3 span {
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* gnavi */

.circle-bg {
    border: 2px solid #000;
}

#g-nav ul {
    font-size: 1.7rem;
    letter-spacing: 0.2em;
}


@media screen and (max-width:768px) {
    #g-nav ul {
        font-size: 1rem;
    }
}

/* heading */

h2 {
    font-size: 3rem;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 5vh 0;
}

_:-ms-lang(x)::-ms-backdrop,
#service h2 {
    /*IE11用ハック*/
    padding: 20vh 0 0 0;
}

@media screen and (max-width:768px) {
    h2 {
        font-size: 2rem;
    }
}

/* area */

.fixed {
    z-index: 1;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    padding: 0 7vw;
    /* animation: bgchange 40s ease infinite; */
    background: #66CCCC;
}

@media screen and (max-width:768px) {

    #service.fixed,
    #about.fixed {
        height: auto;
    }
}

@media screen and (max-width:540px) {
    .fixed {
        padding: 0 60px;
    }

}

/* concept */

#concept {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#concept h3 {
    font-size: 1.2rem;
    margin: 0 0 5vh 0;
}

@media screen and (max-width:768px) {
    #concept h3 {
        font-size: 1rem;
    }
}

#concept p {
    line-height: 3;
}

@media screen and (max-width:540px) {

    #concept h3,
    #concept p {
        text-align: center;
        line-height: 2;
    }

    #concept p br {
        display: none;
    }

}

/* service */

#service {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

_:-ms-lang(x)::-ms-backdrop,
#service {
    /*IE11用ハック*/
    display: block;
}

#service .service-area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2vw;
}

#service .service-area section {
    width: 30%;
}

#service .service-area .service-img {
    width: 20%;
    margin: 0 auto 1vh auto;
}

#service .service-area .service-card {
    display: block;
    width: 30%;
    text-decoration: none;
    /* 下線を消す */
    color: inherit;

    /* “同化”させる：枠・背景・影を全部無し */
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;

    /* 触った感だけ少し */
    transition: transform 160ms ease;
}

#service .service-area .service-card:hover {
    /* transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.14); */

    /* ほんの少しだけ浮く */
    transform: translateY(-3px);
}

#service .service-area .service-card:active {
    transform: translateY(-1px);
}

#service .service-area .service-card:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 4px;
}

/* タイトルだけ色が変わる（下線なしでリンク感） */
#service .service-area .service-card h3 {
    transition: color 160ms ease;
}

/* hoverでタイトル色だけ変える */
#service .service-area .service-card:hover h3 {
    /* 背景が #66CCCC 前提で “少し明るく” */
    color: rgba(255, 255, 255, 0.85);
}

/* hover時にアイコンも少しだけ反応 */
#service .service-area .service-card .service-img {
    transition: transform 160ms ease;
}

#service .service-area .service-card:hover .service-img {
    transform: translateY(-2px) scale(1.04);
}

/* service-card 内のPNGを黒にする（単色アイコン向け） */
.service-card .service-img img {
    filter: brightness(0);
}

/* キーボード操作のときだけ、わかるように輪郭 */
#service .service-area .service-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 6px;
}

#service h3 {
    font-size: 2rem;
    font-weight: normal;
}

#service .caption {
    font-weight: bold;
    margin: 0 0 3vh 0;
}

@media screen and (max-width:768px) {
    #service {
        padding: 0 0 18vh 0;
    }

    #service .service-area {
        justify-content: space-around;
    }

    #service .service-area section {
        width: 45%;
        margin: 0 0 5vh 0;
    }

    #service h2 {
        padding: 15vh 0 0 0;
    }

    #service h3 {
        font-size: 1.5rem;
    }

    #service .service-area .service-card {
        width: 45%;
        margin: 0 0 5vh 0;
    }
}

@media screen and (max-width:500px) {

    #service .service-area {
        display: block;
    }

    #service .service-area section {
        width: 100%;
    }

    #service .service-area .service-card {
        width: 100%;
    }

}

/* about */

#about {
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .about-list {
    width: 50vw;
    margin: 0 auto;
}

#about .about-list>li {
    border-bottom: 2px solid #000;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
}

/* PC: 横並び（幅固定はやめて flex で調整） */
#about .about-list dl {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

#about .about-list dt {
    flex: 0 0 10em;
    /* 見出し幅。長いなら 11em, 12em に */
    padding: 0;
    white-space: normal;
    /* nowrap をやめる（狭い時の崩れ防止） */
    font-weight: 600;
}

#about .about-list dd {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
    /* dd のデフォ余白対策 */
}


@media screen and (max-width:768px) {
    #about {
        padding: 5vh 0 0 0;
    }

    #about h2 {
        padding: 10vh 0 0 0;
    }

    #about .about-list {
        width: 70vw;
    }
}

/* スマホ: 縦並び（1行目dt / 2行目dd） */
@media screen and (max-width:600px) {
    #about .about-list dl {
        display: block;
    }

    #about .about-list dt {
        margin: 0 0 6px 0;
    }
}

/* contact */

#contact {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact .tel,
#contact .mail {
    font-size: 2rem;
    margin: 0 0 1vh 0;
}

#contact .mail {
    margin: 0 0 6vh 0;
}

#contact .sns-link li {
    display: inline-block;
    margin: 0 10px;
}

#contact .sns-link li img {
    width: 30px;
}

@media screen and (max-width:768px) {

    #contact .tel,
    #contact .mail {
        font-size: 1.3rem;
    }
}

/* footer */

#footer small {
    position: fixed;
    display: block;
    left: 0;
    top: 50%;
    transform: rotate(-90deg);
    text-transform: uppercase;
    z-index: 2;
    line-height: 1;
    letter-spacing: 0.1em;
}

#footer p {
    position: fixed;
    display: block;
    right: 0;
    top: 50%;
    transform: rotate(90deg);
    text-transform: uppercase;
    z-index: 2;
    line-height: 1;
    letter-spacing: 0.1em;
}

/* About：事業内容の箇条書き */
/* .about-list dd .list-bullets {
    margin-top: 10px;
    padding-left: 1.2em;
    list-style: disc;
}

.about-list dd .list-bullets li {
    margin: 6px 0;
    line-height: 1.6;
} */