/* 
    Theme Name:アイエムテック
*/
@font-face {
  font-family: 'NotoSansJP';
  src: url('fonts/NotoSansJP-VariableFont_wght.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PlayfairDisplay';
  src: url('fonts/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-black: #1d1d1d;
  --color-amber: #37271a;
  --color-orange: #ffa634;
  --color-beige: #f2f1e9;
}

html {
  font-size: 100%;
}

body{
  color: var(--color-black);
  letter-spacing: 2px;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  font-family: "NotoSansJP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

img{
  max-width: 100%;
}

.sp{
  display: none;
}

section{
  padding: 6rem 0;
}

.f-acc{
  font-family: "PlayfairDisplay", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.bk-beige{
  background-color: var(--color-beige);
}

.contents_in{
  width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  position: relative;
}

.con_title{
  width: fit-content;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 4rem;
}

.con_title span{
  display: block;
  font-size: 5rem;
  letter-spacing: 1px;
  color: var(--color-orange);
}

.con_title::before{
  position: absolute;
  content: '';
  height: 1px;
  background-color: var(--color-amber);
  right: 0;
  top: 4.6rem;
  width: 70%;
}

.flex_box{
  display: flex;
}
.btn_box{
  justify-content: center;
}
.btn{
  width: fit-content;
  margin: 4rem auto 0;
}
.btn_box .btn{
  margin: 4rem 2rem 0;
}

.btn a{
  display: flex;
  gap: 8px;
  align-items: center;
  width: 18rem;
  max-width: 240px;
  height: 4rem;
  padding: 0.6rem 0px 0.6rem 1rem;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  background-color: var(--color-amber);
  border-radius: 32px;
  letter-spacing: 2px;
  transition: 0.4s;
}
.long-btn a{
  width: fit-content;
  max-width: fit-content;
}
.btn .arr {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  aspect-ratio: 1;
  overflow: hidden;
}

.btn .text {
  flex-shrink: 1;
  width: 100%;
  padding-left: 1.4rem;
  letter-spacing: 4px;
  font-size: 18px;
}

.btn a:hover{
  background-color: var(--color-orange);
}

/*  =========== ヘッダー =========== */
.site-header{
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 100;
}
.hd-container{
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}
#hd-logo{
  max-width: 340px;
  width: 26vw;
  padding: 1rem 1rem;
}

.menu-list{
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}
.menu-item{
  height: 100%;
  display: flex;
  align-items: center;
  padding: 1.4rem 1rem;
}

.menu-link{
  padding: 0.4rem;
  transition: ease-in-out 0.2s;
  color: var(--color-amber);
}
.menu-link:hover,
.menu-link.is-active,
.menu-item:has(.is-active) .menu-link{
  color: var(--color-orange);
}

.menu-cta .menu-link{
  padding: 0.6rem 1rem;
  border-radius: 3rem;
}
.menu-cta .menu-link:hover{
  color: #fff;
  background-color: var(--color-amber);
}

/* サブメニュー */
.sb-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: var(--color-amber);
  padding: 1.8rem 4vw;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2rem);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(.22,1,.36,1);
  z-index: -1;
  display: flex;
  justify-content: center;
}

.menu-item.has-sub:hover > .sb-menu,
.sb-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


/* サブメニューリンク */
.sb-menu li{
  width: fit-content;
  margin: 0 1rem;
}
.sb-menu li a {
  position: relative;
  display: block;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: #fff;
}
.sb-menu li a::before{
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #fff;
  transition: 0.2s;
}

.sb-menu li a:hover::before,
.sub-link.is-active::before {
  width: 100%;
}

/* PC（1024px以上）ではハンバーガー非表示 */
.hamburger-button {
  display: none;
}

.nav-menu {
  display: block;
}

/* ハンバーガー回転アニメ */
.openbtn-active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.openbtn-active .line:nth-child(2) {
  opacity: 0;
}
.openbtn-active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}



/*  =========== フッター =========== */
.foot{
  background-color: var(--color-amber);
  color: #fff;
  padding: 4rem 2rem 2rem;
}
.foot .flex_box{
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
}
.foot .left{
  width: 40%;
}
.foot .right{
  width: 55%;
}
.foot .right iframe{
  width: 100%;
}
.foot ul{
  margin: 3rem 0;
}
.foot ul li{
  display: flex;
  margin-bottom: 1.4rem;
}
.foot a{
  display: block;
  width: fit-content;
}
.foot li a:hover{
  text-decoration: underline;
}
.f-logo{
  font-size: 2rem;
  font-weight: bold;
}
footer{
  background-color: var(--color-amber);
  color: #fff;
  text-align: center;
  padding: 0.6rem 0;
}

/*  =========== トップページ =========== */
main{
  padding-top: 5rem;
}
.top{
  margin: 0;
  padding: 0;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.group_box{
  padding-top: 10rem;
}
.ochi-group{
  background-color: #fff;
  text-align: center;
  padding: 4rem 0;
  border-radius: 1rem;
}
.ochi-group .ochi-logo{
  display: block;
  margin-top: 2rem;
  transition: 0.4s;
}
.ochi-group small{
  display: block;
  padding-top: 0.6rem;
}
.ochi-group .ochi-logo:hover{
  opacity: 0.6;
}

/* .strengths{
  padding-top: 8rem;
}

.strengths .con_title::before{
  width: 65%;
}

.strengths ul{
  margin: 2rem 0;
  justify-content: space-between;
}

.strengths li{
  width: 24%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  color: #fff;
  text-align: center;
  align-content: center;
}
.strengths li:nth-child(1){
  background-image: url(img/top/strengths01.png);
}
.strengths li:nth-child(2){
  background-image: url(img/top/strengths02.png);
}
.strengths li:nth-child(3){
  background-image: url(img/top/strengths03.png);
}
.strengths li:nth-child(4){
  background-image: url(img/top/strengths04.png);
}

.strengths li .f-acc{
  font-size: 4.2rem;
  border-bottom: 1px solid;
}
.strengths li .text{
  margin: 1.4rem 0 4rem;
  height: 10rem;
  line-height: 1.8;
  font-size: 1.2rem;
}
.strengths li b{
  font-size: 1.8rem;
} */


.top-works .con_title::before{
  width: 75%;
}

.carousel {
  position: relative;
  padding: 0 7vw;
  max-width: 1600px;
  margin: 2rem auto;
}

/* スライド */
.swiper{
  height: fit-content;
}
.carousel .swiper-slide {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  height: fit-content;
  padding-bottom: 1rem;
  overflow: hidden;
}
.carousel .swiper-slide:hover{
  opacity: 0.6;
}
.border-title{
  max-width: 1200px;
  margin: 0 auto;
  font-size: 2vw;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
}
.border{
  width: 100%;
  border-bottom: 2px solid #ccc;
  margin-bottom: 5rem;
}
.equ-item .img img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel .title {
  padding: 12px;
  text-align: center;
}

.carousel .title b{
  font-size: 1.4rem;
}

.carousel .title p{
  font-weight: 400;
  letter-spacing: 1px;
}
.carousel .swiper-button-prev,
.carousel .swiper-button-next{
  color: var(--color-amber);
}
.top-recruit{
  padding-bottom: 14rem;
}
.top-recruit .con_title::before{
  width: 70%;
}


/* =========================
   背景
========================= */
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 1.2s ease,
    transform 1.8s cubic-bezier(.22,1,.36,1);
}
#top-slide {
  width: 100%;
  height: 90vh;
  background-color: #fff;
}

.hero-bg.is-show {
  opacity: 1;
  transform: scale(1);
}

/*  =========== 会社概要 =========== */
.message .message_box p{
  line-height: 1.8;
}
.message .flex_box{
  justify-content: space-between;
}
.message .message_box{
  width: 68%;
}
.message .message_img{
  width: 30%;
  padding-top: 2rem;
}
.message .top_name{
  padding-top: 2.4rem;
  font-size: 1.2rem;
  margin-left: auto;
  width: max-content;
  display: flex;
  align-items: baseline;
}
.message .top_name span{
  margin-right: 1.4rem;
}
.message .img_box{
  max-width: 200px;
}
.overview .con_title::before{
  width: 66%;
}
.overview ul li{
  display: flex;
  border-bottom: 1px solid var(--color-amber);
}
.overview ul li:first-of-type{
  border-top: 1px solid var(--color-amber);
}
.overview ul .cate{
  background-color: var(--color-amber);
  color: #fff;
  display: inline-block;
  width: 200px;
  text-align-last: justify;
  align-content: center;
  border-bottom: 1px solid #fff;
  font-weight: bold;
}
.overview li div{
  padding: 1rem 2rem;
  flex-shrink: 0;
}
.overview li .flex_box{
  flex-shrink: unset;
  justify-content: space-between;
}
.overview li .company_img{
  width: 30%;
  padding: 1rem;
}
.overview li a{
  text-decoration: underline;
}
.overview li .grid{
  width: calc(100% - 180px);
  display: grid;
  grid-template-columns: 30% 30% 30%;
}
.overview ul li:last-child .cate{
  border: none;
}
.history .con_title::before{
  width: 72%;
}
.history .flex_box{
  align-items: center;
}

.history .flex_box span{
  font-size: 2rem;
  font-weight: bold;
  color: #b19a87;
  padding-right: 4rem;
  padding-bottom: 2rem;
  position: relative;
}
.history .flex_box span::before,
.history .flex_box span::after{
  position: absolute;
  content: '';
  background-color: var(--color-orange);
}
.history .flex_box span::before{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  right: 0;
  top: 1.4rem;
}
.history .flex_box span::after{
  width: 1px;
  height: 100%;
  top: 2rem;
  right: 4px;
}
.history .flex_box.last span::after{
  content: none;
}
.history .flex_box p{
  padding-left: 4rem;
  padding-bottom: 2rem;
}

/*  =========== 事業内容 =========== */
.work .con_title{
  margin-bottom: 0;
}
.work .work_item{
  padding-top: 6rem;
}
.work .flex_box{
  justify-content: space-between;
  flex-wrap: wrap;
}
.work .flex_box .img{
  width: 24%;
  padding-top: 2rem;
}
.work .flex_box .img img{
  width: 100%;
}
.work .work_item b{
  font-size: 2rem;
}
.work .btn{
  margin: 8rem auto 2rem;
}

/*  =========== マンション建築事例 =========== */
.business .flex_box{
  flex-wrap: wrap;
  justify-content: space-between;
}
.business .business_item{
  width: 30%;
  margin-bottom: 4%;
}

/*  =========== 採用情報 =========== */
.recruit_img{
  text-align: center;
  margin-bottom: 1.4rem;
}
.recruit_new .con_title::before{
  width: 50%;
}
.recruit_craft .con_title::before{
  width: 62%;
}
.recruit_new .message_box p{
  padding-bottom: 0.8rem;
}
.recruit .recruit_detail{
  margin-top: 5rem;
}
.recruit li{
  display: flex;
  align-items: normal;
  border-bottom: 1px solid var(--color-amber);
}
.recruit li:first-of-type{
  border-top: 1px solid var(--color-amber);
}
.recruit .cate{
  background-color: var(--color-amber);
  color: #fff;
  display: inline-block;
  width: 180px;
  text-align-last: justify;
  align-content: center;
  border-bottom: 1px solid #fff;
  font-weight: bold;
}
.recruit li div{
  padding: 1rem 2rem;
  flex-shrink: 0;
}
.recruit_point{
  margin-top: 5rem;
}
.recruit_point .flex_box{
  justify-content: space-between;
  flex-wrap: wrap;
}
.recruit_point li{
  border: 2px solid var(--color-orange) !important;
  display: block;
  width: 32%;
  padding: 2rem 0.4rem;
  text-align: center;
  align-content: center;
  background-color: #ffa6342e;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
}
.recruit_point li span{
  font-weight: normal;
  font-size: 1rem;
  display: block;
  line-height: 1.4;
  margin-top: 0.4rem;
}

/*  =========== お問い合わせ =========== */
.contact .ct-box{
  margin-bottom: 3rem;
}
.contact .ct-item{
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-amber); 
  margin-bottom: 0.8rem;
}
.contact .required{
  background-color: var(--color-amber);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  margin-left: 1rem;
}
.contact .column_2{
  display: flex;
  justify-content: space-between
}
.contact .column_2 li{
  width: 50%;
}
.contact .ct-name{
  padding-right: 1rem;
}
.contact .w-100{
  width: 80%;
}
.contact input,
.contact textarea{
  border: 1px solid #ccc;
  padding: 0.6rem;
  background-color: #fff;
  letter-spacing: 2px;
}
.contact input.entry-file{
  background-color: transparent;
  border: none;
}
.contact .center{
  text-align: center;
}
.contact .link-policy{
  text-decoration: underline;
}
.contact .doui{
  font-size: 1.2rem;
  margin: 2rem 0;
}
.contact .form-btn input{
  background: var(--color-amber);
  color: #fff;
  width: 8rem;
  letter-spacing: 0.4rem;
  text-align: center;
  border-radius: 30px;
}
.form-btn [type="submit"]:disabled {
  opacity: 0.8;
}

/*  =========== プライバシーポリシー =========== */
.policy .con_title::before{
  width: 52%;
}
.pp_contents h3{
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.pp_item{
  margin-top: 2rem;
}
.pp_item b{
  font-size: 1.4rem;
  display: block;
  padding-bottom: 0.4rem;
}
.pp_item ul{
  margin-top: 0.6rem;
}
.pp_item li{
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.pp_item li::before{
  position: absolute;
  content: '';
  left: 0;
  top: 0.4rem;
  width: 0.8rem;
  aspect-ratio: 1 / 1;
  background-color: var(--color-orange);
}

/* レスポンシブ(タブレット 680px～1200px) */
@media screen and (max-width: 1200px) {
  .contents_in{
    max-width: 860px;
    width: 80%;
  }
  .hamburger-button {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger-lines .line {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: var(--color-amber);
    transition: 0.3s;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: #fff;
    transition: 0.4s ease;
    padding-top: 80px;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-list {
    list-style: none;
    padding: 0;
    flex-direction: column;
    justify-content: normal;
  }

  .menu-item {
    margin-bottom: 10px;
    width: 100%;
    height: fit-content;
    padding: 0;
    flex-direction: column;
    align-items: baseline;
  }
  .menu-item.menu-cta{
    width: fit-content;
    margin-right: auto;
    padding: 20px;
  }
  .menu-link {
    width: 100%;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding: 0.6rem 1.2rem;
  }
}