@charset "UTF-8";

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}:where([hidden]:not([hidden='until-found'])){display:none!important}:where(html){-webkit-text-size-adjust:none;color-scheme:dark light}@supports not (min-block-size:100dvb){:where(html){block-size:100%}}@media (prefers-reduced-motion:no-preference){:where(html:focus-within){scroll-behavior:smooth}}:where(body){block-size:100%;block-size:100dvb;line-height:1.5;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased}:where(input,button,textarea,select){font:inherit;color:inherit}:where(textarea){resize:vertical;resize:block}:where(button,label,select,summary,[role='button'],[role='option']){cursor:pointer}:where(:disabled){cursor:not-allowed}:where(label:has(>input:disabled),label:has(+input:disabled)){cursor:not-allowed}:where(button){border-style:solid}:where(a){text-underline-offset:.2ex}:where(ul,ol){list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,picture,svg){max-inline-size:100%;block-size:auto}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(h1,h2,h3){line-height:calc(1em + 0.5rem)}:where(hr){border:none;border-block-start:1px solid;color:inherit;block-size:0;overflow:visible}:where(:focus-visible){outline:2px solid var(--focus-color,Highlight);outline-offset:2px}:where(.visually-hidden:not(:focus,:active,:focus-within,.not-visually-hidden)){clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;border:0!important}

/* ↑　リセットCSS */

:root {
    /* usually vars */
    --preset-color-black: #000;
    --preset-color-white: #fff;
    --preset-color-whitegray: #f2f2f2;
    --preset-color-fontgray: #606060;
    --preset-color-red: #ff3200;
    --preset-color-waterblue: #02a1ad;
    --preset-color-blue: #0c8dbc;

    --preset-padding-num: 5em;
}


@font-face {
    font-family: "U-OTF-GothicMB";
    font-weight: 500; 
    src: url("./fonts/U-OTF-GothicMB101Upr-Reg.otf") format('opentype');
}
@font-face {
    font-family: "U-OTF-GothicMB";
    font-weight: 600; 
    src: url("./fonts/U-OTF-GothicMB101Upr-DeBold.otf") format('opentype');
}


html, body {
    background: var(--preset-color-white);
    display: block;
    font-family: "U-OTF-GothicMB", sans-serif;
    font-size: max(10px, 1.9vh);
    height: 100%;
    margin: 0; padding: 0;
    width: 100%;
}
.header, section {
    display: block;
    margin: 0 auto 0 auto; padding: 0;
    width: 100%;
}
section {
    display: block;
    background: var(--preset-color-white);
    margin: auto auto 0rem auto; 
    padding: 2rem 0 2rem 0;
    overflow-x: hidden;
}
.wrapper-container {
    margin: 0 auto 1rem auto; padding: auto;
    width: 80%;
    max-width: 1110px;
}
h1 {
    font-size: min(4rem, 10vw);
}
.contact-button {
    cursor: pointer;
}
.contact-button:hover {
    opacity: 0.6;
}


/* ------------------------HEADER------------------------ */
.header {
    display: block;
    height: max(100px, 2.8em);
    position: absolute;
    z-index: 100;
    background-color: transparent;
    padding: 0 1.1% 1.1% 1.1%;
}
.header > #header-in {
    display: flex;
    height: 95%;
    position: relative;
    justify-content: space-between;
    margin: auto auto auto auto;
    width: 100%;
}
#header-in > #header-left, #header-in > #header-right {
    height: 100%;
}
#header-left {
    display: flex;
    width: 52%;
    height: 100%;
}
/* logo */
#header-left img {
    display: block;
    /* 363 * 250 */
    width: auto;
    /* height: attr(width); */
    max-height: min(100%,100px);
    max-width: 10vw;
}
/* sentence */
#header-left > p {
    display: none;
}
@media (min-width: 1110px){
    #header-left > p {
        display: block;
        /* font-size: calc(15px, 35%, 20px); */
        font-size: 50%;
        position: relative;
        /* bottom: 0; */
        /* height: 1em; */
        /* padding: 3em 0 0 3%; */
        margin: auto 0;
        font-weight: 500;
        color: var(--preset-color-fontgray);
    }
}
@media (min-width: 2500px){
    #header-left > p {
        font-size: 35%;
    }
}
#header-right {
    width: 48%;
}
#header-tel {
    height: 100%;
    text-align: end;
}
#header-tel > img, #header-tel > #tel-nums{
    display: none;
}
#header-tel > a {
    display: inline-block;
    height: 100%;
    line-height: 100%;
    margin: auto 0;
    position: relative;
    width: 45%;
}
#header-tel > a > img {
    display: inline-block;
    margin: 3% 0;
    position: relative;
    height: auto;
}

@media (min-width:1110px){
    /* tel nums */
    #header-right {
        height: max(100px, 6vw); 
    }
    #header-tel {
        display: flex;
        font-style: normal;
        color: var(--preset-color-red);
        justify-content: right;
    }
    #header-tel > img, #header-tel > #tel-nums {
        line-height: 120%;
    }
    #header-tel > img {
        display: inline-block;
        height: 40px;
        margin: auto 1%;
    }
    #header-tel > #tel-nums{
        display: inline-block;
        font-size: 35%;
        margin: auto 0 auto 0;
    }
    #tel-nums > #number {
        font-size:  x-large;
        font-weight: 600;
    }
    #tel-nums > #time {
        font-size: large;
    }
    #header-tel > a {
        /* contact button */
        /* margin: 0; */
        /* max-height: 40px; */
        display: inline-block;
        margin: auto 1%;
        padding: 0;
        height: 50%;
        font-size: 35%;
        aspect-ratio: 510 /120;
        /* position: relative;
        top: 5%; */
    }
    #header-tel > a > img {
        display: inline-block;
        /* margin: auto 0;
        position: relative;
        top:0; */
        margin: auto 0;
        height: auto;
        height: 40px;

        /* width: auto; */
        /* padding: 5% 0; */
    }
}


/* -------------------------HERO-------------------------- */
/* #B4F1F4 */
#hero {
    padding: 0 0 0 0px;
    margin: 0;
    background: -moz-linear-gradient(left, white 50%, #B4F1F4 50%);
    background: -webkit-linear-gradient(left white 50%, #B4F1F4 50%);
    background: linear-gradient(to right, white 50%, #B4F1F4 50%); 
}
#hero > img {
    display: block;
    width: 100%;
    margin: 0 auto 0 auto;
    max-width: 1110px;
}


/* ------------------------APPLICATION----------------------- */

#applications {
    background-color: var(--preset-color-whitegray);
}

.app {
    border-radius: 2rem;
    box-shadow: 0px 3px 6px 0px #00000029;
    margin: 0;
    padding: 0 0 1em 0;
    background-color: var(--preset-color-white);
}

.app-title {
    margin: 0;
    padding: 0.3em 0.1em 0.3em 0.1em;
    font-size: 1em;
    color: var(--preset-color-white);
    font-weight: 600;
    text-align: center;
    background-color: var(--preset-color-blue);
}
.app-app {
    font-size: 0.7em;
    font-weight: 500;
}

.app-text {
    color: var(--preset-color-black);
    margin: 0.7em 0 0 0;
    padding: 0 0 0 1rem;
    list-style: none;
    font-weight: 600;
    font-size: 0.9em;
}
.app ul > li {
    line-height: 1.5em;
    color: var(--preset-color-fontgray);
}
.app ul .change-height {
    line-height: 120%;
}
.app .app-yen {
    font-size: 1.4em;
    margin: 1em auto auto auto;
    color: var(--preset-color-waterblue);
    line-height: 1em;
    white-space: nowrap; 
    font-weight: 600;
}

#app-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    padding: 2em 0 0.5em 0; /*top and bottom*/
    background-color: var(--preset-color-whitegray);
    width: 95%;
}

.app > img {
    width: 100%;
    border-radius: 2rem 2rem 0 0;
    aspect-ratio: 5 / 3;
}
.app > .app-title {
    /* title */
    text-align: center;
    padding: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--preset-color-white);
    background-color: var(--preset-color-blue);
}
.app-title > .app-app {
    font-size: smaller;
}
.app > .app-text {
    margin: 1rem 1rem 0 1rem;
}
.app > ul {
    /* sentence */
    margin: 1rem 0 auto 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--preset-color-fontgray);
    line-height: 2rem;
}
.app > .app-yen {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--preset-color-waterblue);
}

#center-contact-button {
    width: 43.9%;
    margin: 0 auto;
    display: block;
}

#center-contact-button > img {
    width: 100%;
    max-width: 25vw;
    margin: 0 auto;
}


@media (min-width: 1110px){
    #app-container {
        display: flex;
    }
    .app > .app-text {
        margin: 0.2rem 0 0 0.2rem;
    }
    .app > .app-title {
        font-size: 0.9rem;
    }
    .app > ul {
        font-size: 80%;
    }
}

/* -----------------------USING---------------------- */
#using {
    background-color: var(--preset-color-white);
    width: 100%;
}
#using > h1 {
    width: 100%;
    text-align: center;
    margin: auto auto 0.3em auto;
    color: var(--preset-color-waterblue);
    text-decoration: underline solid 2px;
    text-underline-offset: 20px;
}
#using-container {
    display: grid;
    margin: 0 auto ;
    padding: 2%;
    width: 95.8%;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
}
.using-box img {
    display: inline-block;
    width: 1.4em;
    position: relative;
    top: 0.2em;
    margin-right: 5px;
}
@media (min-width: 690px){
    #using-container {
        grid-template-columns: repeat(2, 50%);
        min-height: fit-content;
    }
}
.using-box {
    background-color: var(--preset-color-white);
    box-shadow: 0px 3px 6px #00000029;
    border-style: solid;
    border-color: var(--preset-color-waterblue);
    border-radius: 1.8vw;
    padding: 1em;
}

.using-box > h1 {
    font-weight: 600;
    color: var(--preset-color-waterblue);
    font-size: 4vw;
    border-bottom: solid 5px;
    border-color: var(--preset-color-whitegray);
    line-height: 130%;
    margin-bottom: 3%;
    padding-bottom: 2%;
}

.using-box > p {
    font-weight: 500;
    /* font-size: ; */
    color: var(--preset-color-fontgray);
    line-height: 1.6em;
    font-size: 3vw;
}

@media (min-width: 690px){
    .using-box {
        width: 100%;
        padding: 1em;
    }
    .using-box:nth-of-type(3) {
        padding-bottom:16.1%;
    }
    
    .using-box:nth-of-type(6) {
        padding-bottom:12%;
    }
    .using-box > p {
        font-size: 1.3vw;
    }
    .using-box > h1 {
        font-size: 2.4vw;
    }
}

@media(min-width: 1100px) { 
    .using-box > h1 {
        font-size: 1.1rem;
    }
    .using-box > p {
        font-size: 0.67rem;
    }
}

/* --------------------------------------ROBOT------------------------------------- */
#robot {
    background-color: var(--preset-color-whitegray);
}

#robot > h1 {
    width: 100%;
    text-align: center;
    margin: auto auto 0.3em auto;
    color: var(--preset-color-blue);
    text-decoration: underline solid 2px;
    text-underline-offset: 20px;
}
#robot-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    background-color: var(--preset-color-whitegray);
    width: min(90vw, 1120px);
}

.each-robot {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--preset-color-fontgray);
    font-weight: 500;
    aspect-ratio: 542 / 370;
    padding: 15px;
    position: relative;
}

#big {
    width: min(46%, 555px);
    margin: auto;
}

@media (min-width: 690px) {
    #robot-container {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 0;
    }
}

@media (min-width: 450px) {
    .each-robot {
        padding: 3em;
    }
}
@media (min-width: 690px) {
    .each-robot {
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 690px) {
    #big {
        width: 91%;
        margin: auto;
    }
}


#kebbi {
    background-image: url("./images/robot_1_kebbi.png");
}
#pepper {
    background-image: url("./images/robot_2_pepper.png");
}
#sota {
    background-image: url("./images/robot_3_sota.png");
}
#temi {
    background-image: url("./images/robot_4_temi.png");
}
#big {
    background-image: url("./images/robot_5_big.png");
}



/* ------------------------------------------CASE------------------------------------------- */
.case h2 {
    background-color: var(--preset-color-waterblue);
    color: var(--preset-color-white);
    text-align: center;
    margin: auto;
    width: 8rem;
    line-height: 3rem;
    font-size: 2.1rem;
    font-weight: 600;
}

.case-container > h1 {
    text-align: center;
    font-size: min(3.3rem, 8vw); /* a little small than others*/
    width: 100%;
    margin: 0.3em auto 1.5em auto;
    color: var(--preset-color-waterblue);
    text-decoration: underline solid 2px;
    text-underline-offset: 20px;
}
#case-gray, #case-gray > .case-container{
    /* background is gray */
    background-color: var(--preset-color-whitegray);
}
.case .case-grid {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    grid-template-rows: 1fr;
    width: 100%;
    aspect-ratio: 5 / 3;
}
.case-grid .case-left {
    height: 100%;
    position: relative;
    top: -30px;
} 
.case-left > img {
    width: 100%;
}
.case-grid .case-right {
    background-image: url("./images/good_pepper_alpha100.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
.case-right > img {
    position: relative;
    width: 80%;
    aspect-ratio: 1.2 / 1;
    margin: 0 10% 0 auto;
    top: -50px;
}
.movie {
    width: 100%;
    aspect-ratio: 5 / 3;
}


/* ---------------------------BEGIN------------------------- */
.begin, .begin>h1 {
    /* BACKGROUND */
    width: 100%;
    background-color: var(--preset-color-whitegray);
}
.begin>h1 {
    /* ONLY TITLE */
    width: 100%;
    text-align: center;
    margin: auto auto 1em auto;
    color: var(--preset-color-blue);
    text-decoration: underline solid 2px;
    text-underline-offset: 20px;
}
#begin-container {
    /* MAIN TEXT */
    max-width: 1100px;
    background-color: var(--preset-color-whitegray);
}
@media (min-width: 376px){
    #begin-container {
        /* MAIN TEXT FOR PC */
        width: 100%;
    }
}
.each-begin-div{
    display: grid;
    grid: 1fr / auto;
    align-items: center;
    margin: 0 0 2rem 0; 
    padding: 2.3% 0;
    background-size: max(648px,63.6%) auto;
    background-repeat: no-repeat;
    background-position: right;
}

.each-begin-div:nth-of-type(1){
    background-image: url("./images/begin_!!.jpg");
}
.each-begin-div:nth-of-type(2){
    background-image: url("./images/begin_money.jpg");
}
.each-begin-div:nth-of-type(3){
    background-image: url("./images/begin_lodder.jpg");
}
.each-begin-div:nth-of-type(4){
    background-image: url("./images/begin_pict.jpg");
}
/* left blocks */
.each-begin-div > div {
    background-color: rgba(255, 255, 255, 1);
    padding: 0.8em 1rem 3% 0.8em;
    margin: auto auto auto 4%;
    border-radius: 0.8rem ;
    width: min(50%,450px);
    box-shadow: 0 0.2rem 0.6rem 0.1rem rgba(0, 0, 0, .15);
    display: grid;
    align-content: space-around;
    grid: 3rem / auto;
}

@media (min-width: 1110px) {
    .each-begin-div > div {
        width: 45.5%;
    }
}

.each-begin-div h2 {
    color: var(--preset-color-blue);
    font-size: min(40px,3.2vw);
    font-weight: 600;
    margin-top: 0;
    display: grid;
    /* align-content: center; */
    /* height: 30%; */
}
.each-begin-div .mini-gray-text {
    /* p */
    font-size: min(20px, 1.5vw);
    font-weight: 600;
    line-height: max(10px, 1.6em);
    color: var(--preset-color-fontgray);
    /* position: relative;
    bottom: 1em; */
}
@media (min-width: 2000px){
    .each-begin-div .mini-gray-text {
        /* p */
        font-size: min(22px, 1.6vw);
        font-weight: 600;
        line-height: max(10px, 1.6em);
        color: var(--preset-color-fontgray);
        position: relative;
        bottom: 1em;
    } 
}
.sankaku {
    display: block;
    width: 0;
    height: 0;
    margin: auto auto 1.2rem auto;
    border-style: solid;
    border-width: 1.7rem 1rem 0 1rem;
    border-color: #ff3300 transparent transparent transparent;
}


/* --------------------------RECORD----------------------------- */
.record {
    background-color: var(--preset-color-white);
}
#record-container {
    background-color: var(--preset-color-white);
}
#record-container  h1 {
    width: 100%;
    text-align: center;
    margin: auto auto 0.6em auto;
    color: var(--preset-color-waterblue);
    text-decoration: underline solid 2px;
    text-underline-offset: 20px;
}
#record-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
@media (min-width:768px) {
    #record-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.one-record {
    background-color: var(--preset-color-white);
    width: 100%;
    margin-bottom: 1em;
}
.one-record > img {
    width: 100%;
    aspect-ratio: 5 / 3.8;
}
.one-record > h2 {
    font-weight: 600;
    color: var(--preset-color-waterblue);
    font-size: 1rem;
    padding: 0.5rem 0 0.5rem 0;
}
.one-record > p {
    font-weight: 500;
    color: var(--preset-color-fontgray);
    font-size: 0.8rem;
}


/* -----------------------CONTACT------------------------ */

.contact-us {
    background-color: #e6f3f8;
    padding: 3em 0 0 0;
    margin: 0 0 0 0;
}
.contact-us > .wrapper-container {
    background-color: #e6f3f8;
    margin-bottom: 0;
}
#okigaru {
    display: block;
    margin: 0 auto 0 auto;
    background-color: #e6f3f8;
}
#wrapper_good_pepper {
    background-image: url("./images/good_pepper_alpha100.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position:center; 
    background-color: #e6f3f8;
    width: min(650px,auto);
    height: auto;
    min-height: 50vw;
    margin: auto;
    padding: 0 0 1rem 0;

    /* For Contact Button Position */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    text-align: center; /* the button is inline */
    align-items: end;

    position: relative;
}
#bottom-contact-button {
    width: 43.9%;
    margin: 0 auto;
    display: block;
}

#bottom-contact-button > img {
    width: 100%;
}

/* --------------------- COPYRIGHT ----------------------- */
.copy-right {
    text-align: center;
    font-size: 0.7rem;
    color: var(--preset-color-fontgray);
    font-weight: 600;
    padding: 0.3rem 0 0.5rem 0;
}