
/* Reset */
* { 
    box-sizing:border-box;
    margin:0;
    padding:0
}


/* Base */
html {
    overflow-x: hidden;
    font-size: clamp(0.2px, calc(1vw / 1600 * 100), 1px);
    scroll-behavior: smooth;
}
@media (max-width: 768px) {
    html {
        font-size: clamp(0.2px, calc(1vw / 750 * 100), 1px);
    }
}
@media (max-width: 450px) {
    html {
        font-size: clamp(0.2px, calc(1vw / 450 * 100), 1px);
    }
}

html,body{
    overflow-x: hidden;
    height:100%;
    font-family:'Noto Sans JP',system-ui;
    -webkit-font-smoothing:antialiased;
    background:#fff;
    color:#111;
}

button, input, select, optgroup, textarea {
    font-size:18rem;
}
::placeholder{
    color: #ccc;
}

a {
    text-decoration:none;
    color:inherit
}

img {
    display:inline-block;
    max-width:100%;
}

.pc-only {
    display:block;
}
@media (max-width: 768px) {
    .pc-only {
        display:none;
    }
}
.pc-only-inline {
    display:inline;
}
@media (max-width: 768px) {
    .pc-only-inline {
        display:none;
    }
}

.sp-only {
    display:none;
}
@media (max-width: 768px) {
    .sp-only {
        display:block;
    }
}
.sp-only-il, .sp-only-inline {
    display:none;
}
@media (max-width: 768px) {
    .sp-only-il, .sp-only-inline {
        display:inline;
    }
}

.ctr {
    text-align: center;
}

[id] {
  scroll-margin-top: 60rem;
}


.contactForm__req {
    position: relative;
    top: -0.2rem;
    display: inline-block;
    margin: 0 4rem;
    padding: 0.2rem 8rem;
    background-color: red;
    color: white;
}

header {
    font-size:18rem;
}
main {
    font-size:18rem;
}

main p {
    line-height: 1.8;
    margin-bottom: 18rem;
}

.container{
    max-width:1100px;
    margin:0 auto;
    padding:0 20px
}

footer {
    background-color: #CA191D;
    color: #fff;
    font-size:20rem;
    padding: 25rem 0;
}
.footer-links {
    text-align: left;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    
}
.footer-copyright {
    margin-top: 0rem;
    text-align: center;
}




/* Header */
header {
  font-size: 20rem;
}

.site-header-engineer {
  width: 100%;
  aspect-ratio: 3.5 / 2;
  height: 800rem;
  max-height: 800px;
  background-color: #fff;
}
@media (max-width: 768px) {
  .site-header-engineer {
    width: 100%;
    aspect-ratio: 3.5 / 2;
    height: 540rem;
    max-height: 65vh;
    background-color: #fff;
  }
}
.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin: 0 auto;
  padding: 0px 0px;
  max-height: 800px;
  max-width: 1600px;
  background-color: #fff;
}
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: flex-start;
    height: auto;
    padding: 0 0 0 0;
  }
}
.header-left-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 38%;
  height: auto;
  max-height: 300px;
  padding: 0 10% 0 5%;
  background-color: #fff;
}
@media (max-width: 768px) {
  .header-left-box {
    width: 45%;
    height: 320rem;
    margin-bottom: 18rem;
    padding: 0 0% 0 0;
    font-size: 0.8rem;
  }
}
.heder-left-upper {
  width: 90%;
}
@media (max-width: 768px) {
  .heder-left-upper {
    margin-bottom: 15rem;
  }
}
.header-left-box .logo-caption {
  margin: 8rem 0 2rem 0;
  font-weight: 400;
  font-size: 14rem;
  letter-spacing: 2.0rem;
}
.header-left-box .logo {
  display: block;
  width: 100%;
  margin-right: 30rem;
}
@media (max-width: 768px) {
  .header-left-box .logo-caption {
    margin-bottom: 4rem;
    font-size: 11rem;
    letter-spacing: 0.95rem;
  }
  .header-left-box .logo {
    display: block;
    width: 100%;
    max-width: 155rem;
    margin-right: 1rem;
  }
}

.header-left-box .logo img {
  width: 100%;
  height: auto;
}
.header-left-box .logo span {
  font-weight: 700;
  color: #333;
}

.header-left-hero-image {
    z-index: 3;
    max-width: 1600px;
    height: 300rem;
    margin: 0 auto;
    text-align: center;
}
.header-left-hero-image picture {
  display: inline-block;
  margin: 0 auto;
  z-index: 3;
  width: 100%;
  max-width: 1500rem;
  height: auto;
  max-height: 600px;
}
.header-left-hero-image picture img {
  width: 92.5vw;
  max-width: 1420rem;
}
@media (max-width: 768px) {
  .header-left-hero-image {
    
  }
}


.header-right-box {
  position:relative;
  z-index: 2;
  top: 0px;
  right: 0px;
  width: 75vw;
  height: calc( 100vw * 0.4 );
  max-height: 800px;
  background-color: #071547;
  color: #fff;
  font-weight: 700;
}
@media (max-width: 768px) {
  .header-right-box {
    position: relative;
    top: 64rem;
    right: 0%;
    width: 56%;
    min-height: 205rem;
  }
}
.header-right-box .header-tagline {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 0rem;
  text-align: right;
  font-size: 18rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .header-right-box .header-tagline {
    display: block;
  }
}
.header-right-box__text {
  position:absolute;
  right:0;
  top: 16rem;
  height: 58rem;
  display: flex;
  align-items: end;
  justify-items: center;
  margin-right: 90rem;
  color:#fff;
  font-weight:700;
  font-size: 30rem;
  letter-spacing: 9rem;
}
@media (max-width: 768px) {
  .header-right-box__text {
    position: relative;
    top: 0px;
    width: 100%;
    height: 24rem;
    margin: 0 0;
    padding-left: 15rem;
    text-align: left;
    font-size: 12rem;
    letter-spacing: 1rem;
  }
}
.header-right-hero-imageback {
  position: static;
  z-index: 1;
  top: 90rem;
  right: 90rem;
  width: 100%;
  height: auto; 
}
@media (max-width: 768px) {
  .header-right-hero-imageback {
    position: relative;
    top: 0rem;
    right: 0rem;
    width: calc( 100vw - 30rem );
  }
}
.header-right-hero-image {
  position: absolute;
  z-index: 2;
  width: 70vw;
}





.privacy-section {
    width: 90%;
    max-width: 1000rem;
    margin: 50rem auto 30rem auto;
    background-color: #ffffff;
    max-height: 40vh;
    min-height: 400px;
}
@media (max-width: 768px) {
    .privacy-section {
        width: 93%;
    }  
}
.privacy-section__header {
    margin-bottom: 15rem;
    padding: 5rem 0rem;
    background-color: #CA191D;
    font-size: 22rem;
    color: #fff;
    text-align: center;
}

.privacy-section__inner {
    width: 100%;
    margin: 0 auto;
    padding: 60rem 20rem;
    background-color: #ffffff;
    border: 2px solid #ccc;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 40vh;
    min-height: 400px;
}
.privacy-section .privacy-body {
    width: 92%;
    max-width: 760rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .privacy-section__inner {
        padding: 40rem 20rem;
    }
    .privacy-section .privacy-body {
        width: 94%;
        font-size: 13rem;
    }
}


.privacy-section__h3-title {
    position: relative;
    left: -44rem;
    height: 70rem;
    margin: 10rem 0 15rem 0;
}
.privacy-section__h3-title img {
    height: 100%;
    image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 768px) {
    .privacy-section__h3-title {
        position: relative;
        left: -24rem;
        height: 60rem;
        margin: 10rem 0 15rem 0;
    }
}




/* 問合せフォーム */
.contact-section {
  background-color: #fff;
}
.contact-section__inner.container  {
  width: 90%;
  max-width: 900rem;
  margin: 0 auto;
}
.contactForm__body {
  margin: 0 auto;
}
@media (max-width: 768px) {
    .contact-section__inner.container  {
        width: 92%;
        padding: 0 10rem;
    }  
}

.content-section-h3 {
  margin-bottom: 15rem;
  padding: 5rem 0rem;
  background-color: #CA191D;
  font-size: 22rem;
  color: #fff;
  text-align: center;
}

.contactForm__body input {
  max-width: 100%;
}
.contactForm__list {
  border: 1px solid #ECCAC9;
}
.contactForm__list .contactForm__ttl  {
  padding: 14rem 14rem;
  background-color: #ECCAC9;
  font-weight: 400;
}

.contactForm__list .contactForm__data {
  min-height: 2.5em;
  margin: 0;
  padding: 14rem 14rem 18rem 18rem;
  font-weight: 400;
}
.contactForm__list .contactForm__data .error {
    font-weight: 500;
}
.contactForm__remarktext {
    display: inline-block;
    margin: 0 40rem;
    font-size: 16rem;
    color: #444;
}

.contactForm__btns {
    text-align: center;
}
.contactForm__btn {
  margin: 10rem auto;
  padding: 1.2em 2em 1.2em 2em;
  background-color: #f0f0f0;
  border: 2px solid #666;
  border-radius: 6rem;
  cursor: pointer;
}

article.page {

}

.entry-title {
    margin-bottom: 45rem;
    padding: 5rem 0rem;
    background-color: #CA191D;
    font-size: 22rem;
    color: #fff;
    text-align: center;
}
article.page .section-title {
    position: relative;
    left: -20rem;
}
article.page .section-title img {
    max-height: 88px;
}


/* スマホメニュー */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        position: absolute;
        top: -59rem;
        right: 0;
        display: block;
    }
}

.hamburger span {
    display: block;
    width: 36rem;
    height: 3.30rem;
    background: #c91b1b;
    margin: 3.5rem 0 9rem 0;

    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
    position: relative;
}

/* 1本目を30度回転 */
.hamburger.active span:nth-child(1) {
    position: relative;
    top: 12rem; /* 中央に寄せる */
    transform: rotate(40deg);
}

/* 2本目を消す */
.hamburger.active span:nth-child(2) {
    opacity: 0;
}

/* 3本目を逆向きに30度回転 */
.hamburger.active span:nth-child(3) {
    position: relative;
    top: -12rem; /* 1本目と同じ位置に重ねる */
    transform: rotate(-40deg);
}


/* --------------------
    Mobile Menu Overlay
-------------------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    top: 95rem;
    flex-direction: column;
    background: #fff;
    opacity: 0;
    visibility: hidden; 
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    height: 87px;
    padding: 14px 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    background: #000;
    color: #fff;
}

.mobile-menu-header img {
    height: 56px;
}

.mobile-menu-close {
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu-list {
    flex: 1;
    padding: 6px 20px;
}

.mobile-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 10px 21px 10px;
    border-bottom: 1px solid #000;
    font-size: 1.2rem;
}
@media (max-width: 389px) {
    .mobile-menu-item {
        padding: 14px 0;
        font-size: 1.1rem;
    }
}

.mobile-menu-item span {
    font-size: 22px;
    color: #000;
    font-weight: 500;
}
.mobile-menu-item-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-menu-item span.mobile-menu-item-en {
    display: inline-block;
    min-width: 110px;
}
.mobile-menu-item span.mobile-menu-item-jp {
    display: inline-block;
    width: 90%;
    position: relative;
    top: 0.2rem;
    text-align: left;
    font-size: 17px;
}
.mobile-menu-item span.mobile-menu-item-toright {
    display: inline-block;
    height: 26px;
}
.mobile-menu-item span.mobile-menu-item-toright img {
    height: 26px;
}

.mobile-menu-footer {
    text-align: center;
    padding: 16px 20px 16px;
}

.mobile-menu-logo {
    height: 68px;
}
@media (max-width: 389px) {
    .mobile-menu-logo {
        height: 48px;
    }
}
.mobile-menu-sns {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 22px auto 34px auto;
    height: 37px;
}
@media (max-width: 389px) {
    .mobile-menu-sns {
        height: 24px;
        gap: 20px;
        margin: 20px auto 6px auto;
    }
}

.mobile-menu-bottom {
    background-color: #CA191D;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.75rem;
}
.mobile-menu-bottom a, .mobile-menu-bottom a:visited {
    color: white;
}
@media ( min-width: 390px ) and ( max-width: 768px) {
    .mobile-menu-bottom {
        padding: 20px 1.5em;
        font-size: 1.0rem;
    }
}


/* 初期状態 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s ease-out 0.5s, transform 1.5s ease-out 0.2s;
  visibility: hidden;
}

/* 画面に入った時（JavaScriptがクラスを付与） */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
