@charset "utf-8";

/*
Theme Name: ニューズデンタルラボラトリー
Theme URI: https://news-dl.com/
Description: ニューズデンタルラボラトリー
Version: 1.0
Author: Webtry_Hachisuga
Author URI: https://webtry.net
*/

/*body*/
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}  
.wrapper {
    margin: 0 3%;
}
/*ヘッダー*/
#name {
    display: flex;
    align-items: center;
    padding: 5px 0 0 5px;
}
#name img {
    width: auto;
    height: 40px;
}
.top-title {
    padding-top: 3px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    min-width: 12rem;
}
.top-title h1 {
    font-size: 0.7rem;
    color: #082a4d;
    line-height: 0.9rem;
}
.header_container {
    display: flex;
    justify-content: space-between;
}
.header_container_inner {
    display: flex;
    gap: 30px;
}
.btn-menu img {
    width: 50px;
}
.btn-menu {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 8000;
}
.btn-menu span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #082a4d;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
/* ×（バツ）に変形 */
.btn-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .btn-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .btn-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/*モバイルメニュー*/
#menu-panel {
    background-color: white;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4000;
    padding: 2rem;
    width: max(32vw, 20rem);
    height: 92vh;
    box-shadow: 0 0 2rem black;
    translate: 100vw;
}
.menu-list {
    list-style: none;
    margin-top: 5rem;
}
.menu-list li {
    margin: 1rem 0.5rem;
}
.menu-list li a {
    color: #082a4d;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bolder;
    line-height: 3rem;
}
.menu-list li a:hover {
    color: #21C8D3;
}
/*スライダー*/
.swiper {
    position: relative;
}
.swiper-slide {
    margin: 0 auto;
    display: block;
}
.swiper-slide img {
    width: 100%;
    height: 90vw;
    text-align: center;
    line-height: 300px;
    object-fit: cover;
    display: block;
}
.swiper-wrapper {
    width: 100%;
}

.swiper .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    margin: 7px 7px !important;
}
/*企業メッセージ*/
#message-top {
    margin-top: 1rem;
}
#message-top h2 {
    white-space: nowrap;
    text-align: center;
}
.company-top_text {
    padding: 1rem 0;
}
.company-top_text p {
    font-size: 0.9rem;
    color: #4d4d4d;
}
.fade-line {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.3s ease, transform 2.6s ease;
}
.fade-line.visible {
    opacity: 1;
    transform: translateY(0);
}
/*ニューズの強みトップ*/
#about-top {
    margin-bottom: 100px;
    margin-top: 60px;
}
#about-top h2 {
    text-align: center;
}
.about-top_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.6rem;
    font-weight: bold;
    white-space: nowrap;
    color: white;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6),
    -1px -1px 10px rgba(0, 0, 0, 0.4);
}
.about-top_image {
    padding: 0.6rem 0;
    position: relative;
}
.about-top_image img {
    width: 100%;
}
.about-top_text {
    padding-bottom: 1rem;
}
.more-btn-blue {
    text-align: center;
}
.more-btn-blue a button {
    color: #082a4d;
    font-weight: bold;
}
.more-btn-blue a button:hover {
    color: #21C8D3;
}
/*製品情報*/
#product-top {
    background: linear-gradient(120deg, #082a4d);
    padding-bottom: 70px;
}
.product_image-top {
    margin: 0 8%;
    position: relative;
    overflow: hidden;
}
.product_image-top img {
    width: 100%;
    height: 100%;
    aspect-ratio:  3 /2 ;
    transition: transform 0.3s ease;
    display: block;
}
.product_image-top img:hover {
    transform: scale(1.2);
}
/* ラベルの基本状態：非表示 */
.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 10px 0;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    font-weight: bold;
    pointer-events: none;
}
.product-label a {
    color: white;
    text-decoration: none;
}
/* ホバー時にラベルを表示 */
.product_image-top:hover .product-label {
    opacity: 1;
}
.product_container {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    grid-template-rows: repeat(4,auto);
    gap: 70px;
    padding: 30px 30px 50px 30px;
}
#product-top h2 {
    text-align: center;
    padding-top: 80px;
    color: white;
}
#product-top h2 span {
    font-size: 1rem;
}
.more-btn {
    display: block;
    padding: 0.6rem 1rem;
    background-color: white;
    width: 9rem;
    text-align: center;
    margin: 0 auto;
    white-space: nowrap;
    font-weight: bold;
}
.more-btn a button:hover {
    color: #21C8D3;
}
/*インスタグラム*/
#instagram h2 {
    text-align: center;
    padding-bottom: 1.4rem;
}
/*会社情報・リクルート*/
.rink-box_image {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}
.rink-box_image img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}
.rink-box_image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(33, 200, 211, 0) 0%, rgba(33, 200, 211, 0.9) 100%);
    pointer-events: none; /* 画像やリンクをクリックできるように */
    z-index: 1;
}
.rink-box_text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(0, -50%);
    color: white;
    font-size: 1.7rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6),
    -1px -1px 10px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    font-weight: bold;
    z-index: 2;
    pointer-events: none;
}
.rink-box_text p {
    text-align: center;
    font-size: 0.9rem;
}
.rink-box_text a {
    color: white;
    text-decoration: none;
}
.rink-box_image a img:hover {
    transform: scale(1.2);
}
/*ニュース＆コンタクト*/
#news h2 {
    text-align: center;
}
#news h2 span {
    font-size: 1rem;
}
#news {
    margin-top: 60px;
    margin-bottom: 50px;
}
.news_text {
    margin: 2rem;
}
.news_text li {
    list-style: none;
}
.news_title {
    border-bottom: solid 1px #c0c0c0;
    padding-bottom: 0.2rem;
    font-size: 0.9rem;
}
.news_content {
    padding-top: 0.3rem;
    font-size: 0.8rem;
    padding-bottom: 2rem;
    line-height: 1.2rem;
}
/*お問い合わせ*/
#contact {
    background-color: #21C8D3;
    padding-bottom: 50px;
    margin-top: 80px;
}
#contact h2 {
    text-align: center;
    color: white;
    padding-top: 50px;
    padding-bottom: 40px;
    font-size: 1.2rem;
}
.contact-btn {
    display: block;
    padding: 0.5rem 0.9rem;
    background-color: white;
    width: 9rem;
    text-align: center;
    margin: 0 auto;
}
.contact-btn a button {
    color: #082a4d;
    font-size: 0.9rem;
}
.contact-btn a button:hover {
    color: #21C8D3;
}
/*フッター*/
footer {
    padding-top: 50px;
}
#footer-menu ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0 5px;
}
#footer-menu ul li {
    font-size: 0.7rem;
    list-style: none;
    white-space: nowrap;
}
#footer-menu ul li a {
    text-decoration: none;
    color: black;
}
#footer-menu ul li a:hover {
    color: #21C8D3;
}
#footer-menu ul li+ li {
    border-left: solid 1px;
    padding-left: 0.5rem;
}
#copyright {
    text-align: center;
    padding: 2rem 0;
    font-size: small;
}
/**********/
/*会社情報*/
#company {
    margin-top: 60px;
}
#company h1 {
    text-align: center;
}
#company h1 span {
    font-size: 1rem;
}
.company_image {
    margin-top: 50px;
    margin-bottom: 30px;
}
.company_image img {
    width: 100%;
    aspect-ratio: 5 / 2;
    object-fit: cover;
}
.company-top {
    padding-top: 30px;
    position: relative;
}
.company-top_image img {
    height: 180vw;
    width: 100%;
    object-fit: cover;
}
.company-top_text {
    padding: 2rem 0;
}
.company-top_text p {
    padding: 1rem;
    font-size: 1.1rem;
    line-height: 2.2rem;
    color: #4d4d4d;
}
.fade-line {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.3s ease, transform 2.6s ease;
}
.fade-line.visible {
    opacity: 1;
    transform: translateY(0);
}
/*会社概要*/
.company-profile {
    margin-top: 20px;
}
.company-profile h2 {
    text-align: center;
}
.company-profile h2 span {
    font-size: 1rem;
}
.company-table {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
.company-table table {
    border-collapse: collapse;
    line-height: 1.5rem;
    font-size: 0.9rem;
}
.company-table table th {
    background-color: #f0f8ff;
    width: 6rem;
    padding: 0.5rem 0.7rem;
    border: solid 1px #b4d9fa;
}
.company-table table td {
    padding: 0.5rem 0.7rem;
    border: solid 1px #b4d9fa;
}
/*マップ*/
#map h2 {
    text-align: center;
}
#map h2 span {
    font-size: 1rem;
}
#map {
    margin-top: 80px;
}
.g-map iframe {
    width: 100%;
    height: 90vw;
}
.g-map {
    display: block;
    width: 90%;
    margin: 1.5rem auto;
}
/******/
/*製品情報*/
#product-page {
    margin-top: 60px;
}
#product-page h1 {
    text-align: center;
}
#product-page h1 span {
    font-size: 1rem;
}
.product-page_outer {
    background-color: #082a4d;
    padding-bottom: 60px;
    position: relative;
}
.product-content img {
    width: 100%;
    transition: all 0.4s ease;
    aspect-ratio: 3 / 2;
}
.product-content {
    margin: 3rem;
    cursor: pointer;
}
.product-page-top {
    padding: 1rem;
    margin: 3rem auto;
}
.product-description {
    font-size: 0.9rem;
    padding-bottom: 2rem;
}
.product-description p {
    padding-bottom: 1.2rem;
    padding-top: 0.3rem;
    font-size: 0.9rem;
}
.product-page_outer h2 {
    color: white;
    text-align: center;
    padding: 5rem 1rem 1rem 1rem;
}
.product-page_outer h2 span {
    font-size: 1rem;
}
.product-content {
    text-align: center;
}
.product-content h3 {
    color: white;
    display: inline-block;
    text-align: left;
    padding: 1.3rem 0 0.5rem 0;
}
.product-content p {
    color: white;
    font-size: 0.9rem;
    display: none;
}
#product-pickup {
    position: fixed;
    display: block;
    width: 90%;
    height: auto;
    margin: auto;
    z-index: 500;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
}
#product-pickup img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
#product-pickup h3 {
    text-align: center;
    padding: 1rem 0 0.2rem 0;
}
#product-pickup p {
    padding: 0.6rem;
}
#product-pickup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 999;
}
.order-flow_title {
    margin: 6rem auto 3rem auto;
    padding: 0.3rem;
}
.order-flow_container {
    margin: 0 35px;
}
.order-flow_image img {
    width: 100%;
}
.order-flow_image {
    border: solid 1px #21C8D3;
}
.order-flow_text p span {
    color: #21C8D3;
    font-size: 1.2rem;
}
.order-flow-description {
    padding-top: 50px;
    margin: 0 32px;
}
.order-flow-description ul {
    list-style: none; /* デフォルトの「・」を消す */
    padding-left: 0; /* 左の余白も消す */
}

.order-flow-description li {
    position: relative;
    padding-left: 1.2em; /* 円とテキストの間に余白を作る */
    margin-bottom: 1.2em; /* 行間調整（任意） */
    font-size: 0.9rem;
    line-height: 1.3rem;
}

.order-flow-description li::before {
    content: "";
    position: absolute;
    left: -0.5em;
    top: 0.12em; /* 円の縦位置をテキスト中央に近づける */
    width: 1.2em;
    height: 1.2em;
    background-color: rgba(33, 200, 211, 0.5); /* 👈 好きな色を指定 */
    border-radius: 50%; /* 正円にする */
}

/*******/
/*採用情報*/
#recruit-page-top {
    margin-top: 60px;
}
#recruit-page-top h1 {
    text-align: center;
}
#recruit-page-top h1 span {
    font-size: 1rem;
}
.recruit-page-top_catch {
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #21C8D3;
}
.recruit-page-top_text {
    padding: 1rem;
    font-size: 0.9rem;
}
.recruit-page-top_image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
#recruit-details {
    margin-top: 40px;
}
#recruit-details h2 {
    text-align: center;
}
.recruit-details_container {
    padding: 1rem;
}
.recruit-details_container h3 {
    font-size: 1.1rem;
    color: #082a4d;
    line-height: 2.5rem;
}
.recruit-details_container p {
    padding-left: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.7rem;
}
/*****/
/*ニューズの強み*/
#about {
    margin-top: 60px;
}
#about h1 {
    text-align: center;
}
.about-title_image {
    margin-top: 50px;
    position: relative;
}
.about-title_image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}
.inner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    white-space: nowrap;
    color: white;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6),
    -1px -1px 10px rgba(0, 0, 0, 0.4);
}
.about_text {
    margin-bottom: 60px;
    margin-top: 10px;
    line-height: 1.5rem;
}
.about-grid_container {
    margin: 0 50px;
}
.about-grid {
    padding-bottom: 50px;
}
.about-grid_image img {
    width: 100%;
}
.about-grid_text {
    padding-top: 0.6rem;
}
.about-grid_text p span {
    color: #21C8D3;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 0.3em;
}
/*保有設備*/
#facilities {
    margin-top: 60px;
}
#facilities h2 {
    text-align: center;
    padding-top: 100px;
    margin: 50px 10%;
    border-top: #082a4d solid 1px;
}
.facilities-top_image {
    margin: 30px;
}
.facilities-top_image img {
    width: 100%;
}
.facilities_text p span {
    color: #21C8D3;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 0.3em;
}
.facilities_text {
    padding-bottom: 2rem;
}
.facilities_text h3 {
    text-align: center;
    padding-bottom: 0.5em;
    line-height: 1.8rem;
}
.facilities_text p {
    font-size: 0.9rem;
}
.facilities-lineup {
    margin: 30px;
}
.facilities_container {
    padding-bottom: 50px;
    display: block;
    min-width: 15rem;
}
.facilities_image img {
    width: 100%;
}
/******/
/*お問い合わせ*/
#contact-page {
    margin-top: 60px;
}
#contact-page h1 {
    text-align: center;
}
#contact-page h1 span {
    font-size: 1rem;
}
.contact-page_text {
    margin-top: 60px;
    margin-bottom: 60px;
}
/*コンタクトフォーム*/
.contactform label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    display: block;
}
.contactform input[type="text"],
.contactform input[type="email"],
.contactform input[type="tel"],
.contactform textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contactform input[type="text"]:focus,
.contactform input[type="email"]:focus,
.contactform input[type="tel"]:focus,
.contactform textarea:focus {
    background: #ebfbfc;
    border: 2px solid #21C8D3;
    outline: none;
}
.contact-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #ebfbfc;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
    border: 1px solid #ccc;
    color: black;
}

.contact-button:hover {
    background-color: #c9f4f6;
    border: solid 2px #21C8D3;
}
.required {
    font-size: 0.8em;
    padding: 3px;
    background: #cc0000;
    color: #ffffff;
    border-radius: 2px;
    margin-right: 10px;
    margin-bottom: 2px;
    display: inline-block;
}
@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .pc {
        display: none !important;
    }
    .product-page_container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        width: 80%;
        margin: 0 auto;
    }
    .company-table table {
        width: 80%;
    }
    #recruit-details {
        margin-top: 150px;
        margin-bottom: 100px;
    }
    #recruit-details h2 {
        font-size: 2rem;
        margin-bottom: 80px;
    }
    .recruit-details_container {
        display: flex;
        width: 60%;
        margin: 0 auto;
        border-bottom: solid 1px #4d4d4d;
        padding: 3rem 0;
    }
    .recruit-details_container h3 {
        width: 20rem;
        font-size: 1.3rem;
    }
    .recruit-details_container p {
        font-size: 1.1rem;
        line-height: 2.3rem;
    }
}
@media (min-width: 1025px) {
    .mb {
        display: none !important;
    }
    /*ヘッダー*/
    #name img {
        height: 3rem;
        width: auto;
    }
    .top-title h1 {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    /*メインメニュー*/
    #main-menu nav ul {
        display: flex;
        justify-content: center;
        gap: 2rem;
        line-height: 70px;
        align-items: center;
        padding-right: 6vw;
    }
    #main-menu nav ul li {
        list-style: none;
        font-size: 1.2rem;
        white-space: nowrap;
    }
    #main-menu nav ul li a {
        text-decoration: none;
        color: black;
    }
    #main-menu nav ul li a:hover {
        color: #21C8D3;
    }
    .instagram-icon img {
        width: 30px;
        height: auto;
        display: block;
        margin-left: 30px;
    }
    .instagram-icon img:hover {
        transform: scale(1.2);
        transition: 0.2s ease;
    }
    #contact-top-button {
        display: block;
        background-color: #21C8D3;
        width: 8rem;
        text-align: center;
        line-height: 70px;
    }
    #contact-top-button a {
        color: white;
        font-size: 1rem;
        text-decoration: none;
    }
    #contact-top-button a:hover {
        font-size: 1.1rem;
        transition: ease 0.2s;
    }
    .contact-top_image img {
        width: 20px;
    }
    .contact-top_image {
        display: flex;
        align-items: center;
        line-height: 70px;
        background-color: #21C8D3;
        padding-left: 2rem;
    }
    .contact-top_container {
        display: flex;
    }
    /*ヘッダー固定*/
    .menubar-fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999; /* 必要に応じて調整（他要素より前面に） */
        background-color: rgba(255 , 255, 255, 0.7); /* 任意。透過を避けるために追加推奨 */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 任意：見た目強調用 */
    }
    /*スライダー*/
    .swiper-slide img {
        height: 60vh;
        display: block;
        margin: 0 auto;
    }
    #image-illustration {
        height: 60vh;
        width: 45%;
    }
    /*企業メッセージ*/
    #message-top h2 {
        font-size: 2rem;
        padding-top: 80px;
    }
    .company-top_text {
        padding: 2rem 10%;
        display: block;
    }
    .company-top_text p {
        font-size: 1rem;
        text-align: left;
    }
    /*ニューズの強み*/
    #about-top {
        margin-top: 150px;
    }
    #about-top h2 {
        font-size: 2rem;
        padding-bottom: 2rem;
    }
    .about-top_image {
        width: 50%;
        display: block;
        margin: 0 auto;
    }
    .about-top_image img {
        aspect-ratio: 6 / 2;
        object-fit: cover;
        overflow: hidden;
    }
    .about-top_title {
        font-size: 4rem;
    }
    .about-top_text {
        font-size: 1.2rem;
        text-align: center;
        padding: 3rem 0;
        line-height: 2rem;
    }
    .more-btn-blue a {
        font-size: 1.5rem;
    }
    /*製品情報*/
    .product_container {
        grid-template-columns: repeat(4,1fr);
        grid-template-rows: repeat(2,auto);
        gap: 50px;
        padding: 4vw;
    }
    #product-top h2 {
        font-size: 2rem;
    }
    #product-top h2 span {
        font-size: 1.3rem;
    }
    .more-btn {
        width: 12rem;
    }
    .more-btn a {
        font-size: 1.5rem;
    }
    /*サイドバー設定*/
    .outer-outer_container {
        display: flex;
        width: 80%;
        margin: 100px auto;
    }
    .outer_container {
        width: 70%;
        padding-right: 8%;
    }
    aside {
        width: 30%;
    }
    #instagram {
        margin-top: 50px;
        margin-right: 6%;
    }
    #instagram h2 {
        font-size: 2rem;
    }
    /*会社情報・リクルート*/
    .rink-box {
        padding-bottom: 50px;
    }
    .rink-box_image img {
        aspect-ratio: 7 / 3;
    }
    .rink-box_text {
        font-size: 3.3rem;
    }
    .rink-box_text p {
        font-size: 1.2rem;
    }
    /*お知らせ・問い合わせ*/
    #news h2 {
        font-size: 2rem;
    }
    #news h2 span {
        font-size: 1.3rem;
    }
    #news {
        margin: 130px 0;
    }
    .news_title {
        font-size: 1.3rem;
    }
    .news_content {
        font-size: 1rem;
        padding-bottom: 3rem;
    }
    #contact {
        margin-top: 180px;
        padding-bottom: 90px;
    }
    #contact h2 {
        font-size: 1.5rem;
        padding-top: 90px;
        padding-bottom: 70px;
    }
    .contact-btn a button {
        font-size: 1.5rem;
        font-weight: bold;
    }
    .contact-btn {
        width: 14rem;
    }
    /*フッター*/
    footer {
        padding-top: 180px;
        padding-bottom: 70px;
    }
    #footer-menu ul li {
        font-size: 1rem;
    }
    /*********/
    /*会社情報*/
    #company {
        margin-top: 150px;
    }
    #company h1 {
        font-size: 2rem;
    }
    #company h1 span {
        font-size: 1.3rem;
    }
    .company_image {
        width: 60%;
        display: block;
        margin: 100px auto 0 auto;
    }
    .company_image img {
        aspect-ratio: 7 / 2;
    }
    .company-top_image img {
        height: 80vh;
    }
    .company-top_text {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    .company-top_text p {
        font-size: 1.5rem;
        line-height: 3rem;
    }
    /*会社概要*/
    .company-profile {
        margin-top: 50px;
    }
    .company-profile h2 {
        font-size: 2rem;
    }
    .company-profile h2 span {
        font-size: 1.3rem;
    }
    .company-table {
        margin-top: 3rem;
    }
    .company-table table {
        width: 60%;
        font-size: 1.2rem;
        line-height: 2.4rem;
    }
    .company-table table th {
        width: 10rem;
        padding: 1.3rem 1.3rem;
    }
    .company-table table td {
        padding: 1.3rem 1.3rem;
    }
    /*マップ*/
    #map {
        margin-top: 180px;
        margin-bottom: 180px;
    }
    #map h2 {
        font-size: 2rem;
    }
    #map h2 span {
        font-size: 1.3rem;
    }
    .g-map {
        margin: 3rem auto;
        width: 60%;
    }
    .g-map iframe {
        height: 40vw;
    }
    /*****/
    /*製品情報*/
    #product-page {
        margin-top: 150px;
    }
    #product-page h1 {
        font-size: 2rem;
    }
    #product-page h1 span {
        font-size: 1.3rem;
    }
    .product-page_outer {
        padding-bottom: 100px;
    }
    .product-page-top {
        font-size: 1.2rem;
        margin: 6rem auto;
        text-align: center;
    }
    .product-description {
        font-size: 1.1rem;
        display: block;
        width: 70%;
        margin: 0 auto;
        padding-bottom: 5rem;
    }
    .product-description p {
        font-size: 1rem;
    }
    .product-page_container {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        width: 80%;
        margin: 0 auto;
    }
    .product-page_outer h2 {
        font-size: 2rem;
        padding-top: 8rem;
        padding-bottom: 3rem;
    }
    .product-page_outer h2 span {
        font-size: 1.3rem;
    }
    .product-content h3 {
        font-size: 1.2rem;
    }
    .product-content p {
        font-size: 1rem;
    }
    #product-pickup {
        width: 50%;
    }
    #product-pickup h3 {
        font-size: 1.4rem;
    }
    #product-pickup p {
        font-size: 1.1rem;
        padding: 1.3rem;
    }
    #product-pickup .close-btn {
        font-size: 2.5rem;
        top: 20px;
        right: 25px;
    }
    .order-flow_container {
        display: flex;
        align-items: stretch;
        justify-content: center;
    }
    #order-flow {
        width: 60%;
        display: block;
        margin: 0 auto;
    }
    .order-flow_title {
        text-align: center;
        font-size: 1.3rem;
    }
    .order-flow_text p {
        font-size: 1.2rem;
        padding: 1rem 2rem 2rem 2rem;
        line-height: 2rem;
        border: solid 1px #c0c0c0;
        border-left: none;
        height: 100%;
        box-sizing: border-box; /* padding込みで高さを正方形に収める */
        display: flex;
        flex-direction: column;
        justify-content: center; /* テキストを縦中央 */
    }
    .order-flow_text p span {
        font-size: 1.7rem;
    }
    .order-flow_image,
    .order-flow_text {
        flex: 1;
        aspect-ratio: 1 / 1;
    }
    .order-flow_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .order-flow-description li {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }
    .order-flow-description li::before {
        top: 0.22em;
    }
    /*****/
    /*採用情報*/
    #recruit-page-top {
        margin-top: 150px;
    }
    #recruit-page-top h1 {
        font-size: 2rem;
    }
    #recruit-page-top h1 span {
        font-size: 1.3rem;
    }
    .recruit-page-top_catch {
        text-align: center;
        font-size: 1.6rem;
        padding: 4rem;
    }
    .recruit-page-top_text {
        margin: 50px 20%;
        font-size: 1.2rem;
        line-height: 2.8rem;
    }
    .recruit-page-top_image {
        width: 60%;
        display: block;
        margin: 0 auto;
    }
    .recruit-page-top_image img {
        aspect-ratio: 6 /2;
    }
    #recruit-details {
        margin-top: 150px;
        margin-bottom: 100px;
    }
    #recruit-details h2 {
        font-size: 2rem;
        margin-bottom: 80px;
    }
    .recruit-details_container {
        display: flex;
        width: 60%;
        margin: 0 auto;
        border-bottom: solid 1px #4d4d4d;
        padding: 3rem 0;
    }
    .recruit-details_container h3 {
        width: 20rem;
        font-size: 1.3rem;
    }
    .recruit-details_container p {
        font-size: 1.1rem;
        line-height: 2.3rem;
    }
    /*****/
    /*ニューズの強み*/
    #about {
        margin-top: 150px;
    }
    #about h1 {
        font-size: 2rem;
    }
    .about-title_image {
        margin-top: 80px;
        display: block;
    }
    .about-title_image img {
        width: 60%;
        height: 300px;
        display: block;
        margin: 0 auto;
    }
    .about_text {
        text-align: center;
        font-size: 1.3rem;
        padding-top: 2rem;
        line-height: 2.5rem;
    }
    .about-grid_container {
        width: 50%;
        display: block;
        margin: 150px auto;
    }
    .about-grid {
        display: flex;
        padding-bottom: 0;
    }
    .about-grid:nth-child(2) {
        flex-direction: row-reverse;
    }
    .about-grid_image {
        width: 50%;
    }
    .about-grid_image img {
        height: 100%;
        aspect-ratio: 1 / 1;
        display: block;
        object-fit: cover;
    }
    .about-grid_text {
        width: 50%;
        font-size: 1.2rem;
        padding: 4rem 2rem;
        line-height: 2.5rem;
        border: solid 1px #c0c0c0;
    }
    .about-grid_text p span {
        font-size: 1.7rem;
        margin-bottom: 2em;
    }
    /*保有設備*/
    #facilities {
        margin-top: 250px;
    }
    #facilities h2 {
        font-size: 2rem;
        padding-top: 200px;
        margin: 70px 30%;
    }
    .facilities-top_image {
        display: block;
        width: 50%;
        margin: 0 auto;
    }
    #facilities-title {
        text-align: center;
    }
    .facilities_text {
        width: 60%;
        display: block;
        margin: 0 auto;
        padding-top: 2rem;
    }
    .facilities_text h3 {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }
    .facilities_text p span {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .facilities_text p {
        font-size: 1.2rem;
    }
    .facilities-lineup {
        display: flex;
        margin: 10vw;
    }
    .facilities_image img {
        height: 35vh;
        width: auto;
        display: block;
        margin: 0 auto;
    }
    /****/
    /*お問い合わせ*/
    #contact-page {
        margin-top: 150px;
    }
    #contact-page h1 {
        font-size: 2rem;
    }
    #contact-page h1 span {
        font-size: 1.3rem;
    }
    .contact-page_text {
        text-align: center;
        font-size: 1.5rem;
        margin: 100px 0;
    }
    #contactform {
        width: 50%;
        display: block;
        margin: 0 auto;
    }
    .contact-button {
        width: 50%;
        display: block;
    }
}