@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');

html {
    font-size: 62.5%;
}

body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 1.6em;
    letter-spacing: 0.2rem;
    position: relative;
}

p {
    line-height: 1.8;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/*header*/
header {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    padding: 15px;
    background-color: rgb(255 255 255 / 75%);
    height: 100px;
}

header div {
    display: flex;
    justify-content: space-between;
}

header h1 {
    display: flex;
    align-items: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
}

header h1 img {
    width: 45px;
    margin-right: 10px;
}

header nav {
    display: flex;
    align-items: center;
}

header ul {
    display: flex;
}

header li {
    margin-right: 40px;
    font-size: 2rem;
    font-weight: 700;
}

header li a {
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

header li a:hover {
    color: #13439B;
}

.tel_button {
	
	background-position: left ;
    text-decoration: none;
    color: #fff;
    background: #13439B;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    font-size: 2.4rem;
	transition: .3s;
	border: 3px solid #13439B;
}

.tel_button:hover {
	
	background-position: left 50%;
    text-decoration: none;
    color: #13439B;
    background: #fff;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    font-size: 2.4rem;
	transition: .3s;
	border: 3px solid #13439B;
}



.tel_button img{
    width: 40px;
	margin-right: 15px
}

/*first_view*/
.first_view {
    top: -100px;
    width: 100%;
    height: 90vh;
    position: relative;
}

.first_view::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(image/topimage.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.first_view div {
    position: absolute;
    top: 63%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    animation-name: fade;
    animation-duration: 1.5s;
    color: #fff;
    letter-spacing: 0.04em;
    font-family: 'Noto Serif JP', serif;
}

.first_view h2 {
    text-align: center;
    font-size: 6rem;
    text-shadow: 1px 1px 10px #000000;
    font-weight: normal;
}

.first_view p {
    font-size: 2.4rem;
    text-align: center;
    margin-top: 15px;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*animation*/
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

/*mainwrap*/

.headline_base {
    font-size: 5rem;
    font-weight: normal;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.headline_base span {
    font-size: 1.8rem;
    color: #13439B;
    display: block;
    font-weight: bold;
}

/*business*/
.base_section,
.Products_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.business_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0;
}

.business_box h3 {
    font-size: 3.2rem;
}

.business_box h4 {
    font-size: 4rem;
}

.business_box h4 span {
    color: #13439B;
}

.business_box p {
    width: 70%;
    margin-top: 30px;
}

.business_box img {
    width: 40%;
}

/*Products*/
.bg_blue {
    margin: 100px 0;
    padding: 100px 0;
    background: #ebf2ff;
}

.Products_wrap h3 {
    background: #13439B;
    text-align: center;
    color: #fff;
    padding: 15px;
    font-size: 3.4rem;
}

.Products_wrap ul {
    margin: 100px 0;

}

.Products_wrap li {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
}

.Products_wrap img {
    width: 30%;
}

.Products_wrap div {
    width: 65%;
    font-size: 20px;
    border-top: 1px solid #13439B;
    border-bottom: 1px solid #13439B;
    display: flex;
    align-items: center;
}

.Products_wrap p {
    width: 90%;
    margin: 0 auto;
}

.Products_wrap .reverse {
    flex-direction: row-reverse;
}

/*sensor_wrap*/
.green_hd {
    background: #9DC90E;
    color: #fff;
    font-size: 3.4rem;
    text-align: center;
    padding: 15px;
    margin: 50px 0;
}

.sensor_wrap ul {
    display: flex;
    justify-content: space-between;
}

.sensor_wrap li {
    width: 30%;
    border: 5px solid #f3ffcd;
    padding: 25px;
}

.sensor_wrap h4 {
    font-size: 2.4rem;
    color: #9DC90E;
    text-align: center;
    line-height: 1.5;
}

.sensor_wrap span {
    background: #9DC90E;
    padding: 5px 10px;
    font-size: 1.7rem;
    color: #fff;
}

.sensor_wrap img {
    width: 100%;
    margin: 30px 0;
}

/*mode_wrap*/
.mode_wrap {
    background: #f3ffcd;
    margin: 50px 0;
    padding: 50px 0;
}

table {
    width: 100%;
    border-right: #3EB1C6 solid 1px;
    border-collapse: collapse;
}

table thead th {
    background: #3EB1C6;
    color: #fff;
    padding: 10px 15px;
    border-right: #f3ffcd solid 1px;
    border-bottom: #f3ffcd solid 1px;
}

table thead th:last-child {
    border-right: #3EB1C6 solid 1px;
}

table tbody th {
    background: #3EB1C6;
    color: #fff;
    padding: 10px 15px;
    border-bottom: #f3ffcd solid 1px;
    vertical-align: top;
}

table tbody tr:last-child th {
    border-bottom: #3EB1C6 solid 1px;
}

table tbody td {
    background: #fff;
    padding: 10px 15px;
    border-left: #3EB1C6 solid 1px;
    border-bottom: #3EB1C6 solid 1px;
    vertical-align: top;
    text-align: center;
}

/*cta_wrap*/
.cta_wrap {
    margin: 50px auto;
    padding: 50px 0;
    text-align: center;
}

.cta_wrap p {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cta_wrap a {
    width: 60%;
    font-size: 3.2rem;
    display: inline-block;
    border: 2px solid #9DC90E;
    color: #9DC90E;
    position: relative;
    padding: 1.5rem;
    border-radius: .6rem;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: .1rem;
    transition: .5s;
}

.cta_wrap a:hover {
    background: #9DC90E;
    color: #fff;
}

.cta_wrap a:before {
    content: "";
    position: absolute;
    top: 46%;
    right: 12px;
    width: 10px;
    height: 2px;
    background: #9DC90E;
    transform: rotate(45deg);
}

.cta_wrap a:after {
    content: "";
    position: absolute;
    top: 54%;
    right: 12px;
    width: 10px;
    height: 2px;
    background: #9DC90E;
    transform: rotate(-45deg);
}

/*company*/
#company .headline_base span {
    color: #E9533D;
}

.company_wrap {
    margin: 150px 0 0;
    padding: 100px 0;
    background: #f6f6f6;
}

.company_box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.information {
    width: 45%;
}

.company_box dl {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.company_box dt {
    flex-basis: 30%;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.company_box dd {
    flex-basis: 70%;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.companylogo {
    display: flex;
    align-items: center;
}

.companylogo img {
    width: 30px;
    margin-right: 15px;
}

.information p {
    background: #E9533D;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin: 30px 15px;
    font-weight: bold;
}

.information a {
    font-weight: bold;
    font-size: 5rem;
    text-decoration: none;
    color: #E9533D;
    display: flex;
    align-items: center;
    justify-content: center;
	border: 2px solid #E9533D;
	transition: .3s;
}

.information a:hover {
    font-weight: bold;
    font-size: 5rem;
    text-decoration: none;
    color: #fff;
	background-color: #E9533D;
    display: flex;
    align-items: center;
    justify-content: center;
	border: 2px solid #E9533D;
	transition: .3s;
}


.information a span {
    font-size: 2rem;
    margin-right: 10px;
}

.access {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.access h3 {
    padding: 5px;
    color: #E9533D;
}

.company_box iframe {
    width: 100%;
    height: auto;
    border: none;
    flex-grow: 1;
}

/*footer*/
footer {
    background: #13439B;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer div {
    display: flex;
}

footer p {
    color: #fff;
    font-weight: bold;
}

footer ul {
    display: flex;
    margin-left: 50px;
}

footer li {
    padding: 20px;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer small {
    color: #fff;
}

@media screen and (max-width: 640px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    header {
        height: 70px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header h1 img {
        width: 30px;
    }

    .hamburger {
        position: absolute;
        right: 20px;
        top: 20px;
        width: 50px;
        height: 40px;
        cursor: pointer;
        z-index: 300;
    }

    .hamburger__line {
        position: absolute;
        width: 50px;
        height: 3px;
        right: 0;
        background-color: #000;
        transition: all 0.5s;
    }

    .hamburger__line--1 {
        top: 1px;
    }

    .hamburger__line--2 {
        top: 15px;
    }

    .hamburger__line--3 {
        top: 30px;
    }

    .open .hamburger__line--1 {
        transform: rotate(-45deg);
        top: 11px;
    }

    .open .hamburger__line--2 {
        opacity: 0;
    }

    .open .hamburger__line--3 {
        transform: rotate(45deg);
        top: 11px;
    }

    .sp-nav {
        position: fixed;
        top: -100%;
        left: 10%;
        width: 80%;
        height: 60vh;
        background-color: rgba(255, 255, 255, 0.9);
        transition: all 0.5s;
        z-index: 200;
        overflow-y: auto;
        border-radius: 30px;
        display: block;
        padding: 30px 0;
    }

    .open .sp-nav {
        top: 10%;
    }

    .sp-nav h2 {
        text-align: center;
        color: #13439B;
    }

    .sp-nav ul {
        width: 80%;
        margin: 0 auto;
        flex-direction: column;
    }

    .sp-nav li {
        padding: 15px 0;
        border-bottom: 1px solid #ccc;
        margin-right: 0;
    }

    .sp-nav li span {
        font-size: 1.2rem;
        padding-left: 15px;
        color: #000000;
    }

    .sp-nav li span::before {
        content: "/";
        margin-right: 5px;
    }

    .sp-nav li a::before {
        content: "▶";
        color: #13439B;
        vertical-align: middle;
        margin-right: 10px;
        font-size: 1.2rem;
    }

    .tel_button{
        padding: 15px;
        width: 68%;
        margin: 20px auto 0;
        justify-content: center;
    }
	
	.tel_button img{
    width: 15%;
	margin-right: 5%;
}

    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 5;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        cursor: pointer;
        z-index: 100;
    }

    .open .black-bg {
        opacity: 0.5;
        visibility: visible;
    }

    /**/
    .headline_base {
        font-size: 3.5rem;
    }

    .headline_base span {
        font-size: 1.3rem;
    }

    .first_view {
        height: 70vh;
    }

    .first_view p {
        font-size: 1.4rem;
    }



    /*first_view*/
    .first_view h2 {
        font-size: 3rem;
    }

    /*business*/
    .business_box div {
        width: 94%;
        margin: 0 auto;
    }

    .business_box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        letter-spacing: 0;
        flex-direction: column;
    }

    .business_box h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .business_box h4 {
        font-size: 2.3rem;
        text-align: center;
    }

    .business_box p {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .business_box img {
        width: 100%;
    }

    /*Products*/
    .bg_blue {
        margin: 50px 0;
        padding: 50px 0;
    }

    .Products_wrap h3 {
        font-size: 2.5rem;
    }

    .Products_wrap ul {
        margin: 50px 0;
    }

    .Products_wrap li {
        margin-bottom: 30px;
        flex-direction: column;
        align-items: center;
    }

    .Products_wrap .reverse {
        flex-direction: column;
    }

    .Products_wrap img {
        width: 70%;
        margin: 0 auto 15px;
    }

    .Products_wrap div {
        width: 92%;
        font-size: 14px;
        padding: 15px 0;
    }

    .sensor_wrap ul {
        flex-direction: column;
        align-items: center;
    }

    .sensor_wrap li {
        width: 90%;
        margin-bottom: 25px;
        padding: 15px 15px 15px 0;
    }

    .sensor_wrap div {
        display: flex;
        align-items: flex-start;
        margin-top: 20px;
    }

    .sensor_wrap img {
        width: 30%;
        margin: 0;
    }

    .sensor_wrap p {
        font-size: 1.2rem;
        line-height: 1.5;
    }


    /*mode_wrap*/
    .green_hd {
        font-size: 2.5rem;
    }

    table {
        width: 96%;
        margin: 0 auto;
    }

    table thead {
        display: none;
    }

    table tbody th {
        display: block;
    }

    table tbody td {
        display: block;
    }

    table tbody td::before {
        content: attr(label);
        float: left;
        clear: both;
        font-weight: bold;
    }

    table tbody td p {
        padding-left: 6em;
    }

    /*company*/
    .company_box {
        flex-direction: column;
    }

    /*cta*/
    .cta_wrap p {
        width: 90%;
        margin: 0 auto 30px;
    }

    .cta_wrap a {
        width: 90%;
        font-size: 1.8rem;
    }

    .company_box dt {
        padding: 5px;
        display: flex;
        align-items: center;
    }

    .company_box dd {
        padding: 10px;
    }

    .information {
        width: 95%;
        margin: 0 auto;
    }

    .information h3 {
        font-size: 1.7rem;
    }

    .information a {
        flex-direction: column;
        font-size: 3.5rem;
		padding: 3% 0;
    }

    .access {
        width: 94%;
        margin: 0 auto;
    }

    .access h3 {
        text-align: center;
        background: #E9533D;
        color: #fff;
        margin-top: 50px;
    }

    .company_box iframe {
        height: 400px;
    }

    /*footer*/
    footer {
        flex-direction: column;
    }

    footer div {
        flex-direction: column;
        align-items: center;
    }

    footer ul {
        margin-left: 0;
    }

    footer li {
        padding: 20px 10px;
    }

    footer small {
        margin-top: 50px;
    }
}