@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Meiryo", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: #1d1d1f;
}
a {
  color: #06c;
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.wrapper {
  max-width: 980px;
  padding: 0 22px;
  margin: 0 auto;
}
.link-more {
  font-size: 14px;
  position: relative;
}
.link-more::after {
  position: absolute;
  top: 54%;
  right: -12px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
}
.link-more:hover {
  text-decoration: underline;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  width: 100%;
  background-color: #000;
  position: fixed;
  z-index: 10;
}
#header .header-inner {
  height: 44px;
  display: flex;
  align-items: center;
}
#header .header-inner .logo {
  flex-shrink: 0;
  width: 16px;
  line-height: 1px;
  margin-right: 9%;
}
#navi {
  width: 100%;
}
#navi ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#navi a {
  height: 44px;
  line-height: 44px;
  display: inline-block;
  color: #f5f5f7;
  font-size: 16px;
  padding: 0 10px;
  opacity: 0.8;
  transition: all 0.5s;
}
#navi a:hover {
  opacity: 1;
}
.hamburger {
  display: none;
}



/*-------------------------------------------
メイン
-------------------------------------------*/
#main {
  padding-top: 44px;
}



/*-------------------------------------------
TOP背景画材
-------------------------------------------*/
#responsive-background {
  background-image: url(../img/main-top.png);
  background-size: cover; /* 画面いっぱいに拡大。入り切らない部分は切り取られる */
  background-position: center;
  height: 720px;
  margin-bottom: 45px;
  aspect-ratio: 16 / 9; /* アスペクト比を保持してレスポンシブ */
  width: 100%; /* 幅を指定します。 */
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
}
#responsive-background .headline {
  color: #f5f5f7;
  font-size: 56px;
  font-weight: bold;
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  text-align: center;
}
#responsive-background .subhead {
  color: #f5f5f7;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 125px;
  left: 0;
  right: 0;
  text-align: center;
}



/*-------------------------------------------
content1
-------------------------------------------*/
#content1 {
  margin-bottom: 80px;
}
#content1 img {
  /* object-fit: cover; */

  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像全体を収める */
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
}
#content1 h2 {
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
  padding: 0% 15% 2% 15%; /* 「上」「右」「下」「左」 */
  text-align: center;
}
#content1 p {
  color: #000000;
  font-size: 18px;
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
  padding: 0% 15% 2% 15%; /* 「上」「右」「下」「左」 */
  text-align: center;
}



/*-------------------------------------------
content2
-------------------------------------------*/
#content2 {
  margin-bottom: 80px;
}
#content2 img {
  /* object-fit: cover; */

  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像全体を収める */
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
}
#content2 h1 {
  font-size: 20px;
  display: inline-block;
  padding: 0 4px;
  background: linear-gradient(transparent 60%, #f2cf39 60%);
  margin-bottom: 2%;
  width: 100%;
  text-align: center;

}
#content2 p {
  color: #000000;
  font-size: 15px;
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
  padding: 0% 10% 1% 10%; /* 「上」「右」「下」「左」 */
  /* text-align: center; */
}



/*-------------------------------------------
content3
-------------------------------------------*/
#content3 {
  margin-bottom: 80px;
}
#content3 img {
  /* object-fit: cover; */

  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像全体を収める */
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
}
#content3 h1 {
  font-size: 30px;
  display: inline-block;
  padding: 0 4px;
  background: linear-gradient(transparent 60%, #f2cf39 60%);
  margin-top: 5%;
  margin-bottom: 2%;
  width: 100%;
  text-align: center;

}
#content3 p {
  color: #000000;
  font-size: 18px;
  position: relative; /* 要素を移動しても、要素の高さを維持したまま配置 */
  padding: 0% 20% 1% 20%; /* 「上」「右」「下」「左」 */
  /* text-align: center; */
}



/*-------------------------------------------
listbox-area
-------------------------------------------*/
#listbox-area {
  margin-bottom: 80px;
}
#listbox-area .headline {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(transparent 60%, #f2cf39 0%); /* マーカー */
  display: inline; /* マーカー */
  padding: 0 1px 0px; /* マーカー */
}
#listbox-area .textlink {
  display: block;
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
}
#listbox-area .models:hover {
  text-decoration: underline;
}
#listbox-area .listbox-area-list {
  display: flex;
  justify-content: space-between;
  border: 2px solid #ccc; /* 枠線の太さ、種類、色 */
  border-radius: 8px; /* 角を丸くする（不要な場合は削除） */
  padding: 20px; /* ボックス内側の余白 */
  background-color: #f9f9f9; /* 背景色 */
}
#listbox-area .item {
  padding: 20px;
}
#listbox-area .item li {
  font-size: 14px;
  margin-bottom: 20px;
}
#listbox-area .item .item-title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
  background: linear-gradient(transparent 60%, #f2cf39 0%); /* マーカー */
  display: inline; /* マーカー */
  padding: 0 1px 0px; /* マーカー */
}



/*-------------------------------------------
production
-------------------------------------------*/
#production {
  display: grid;  /* または flex 要素と要素の間の余白（隙間）を一括で指定できるプロパティ */
  gap: 12px; /* 上下・左右の隙間を12pxに指定 要素と要素の間の余白（隙間）を一括で指定できるプロパティ */
  grid-template-columns: 1fr 1fr; /* グリッドレイアウトは行と列に要素を並べる */
  margin-bottom: 12px; /* 要素の下側のマージン領域を設定 */
}
#production .work1 {
  background-image: url(../img/work1.png);
}
#production .work1back {
  background-image: url(../img/work1back.png);
}
#production .work2 {
  background-image: url(../img/work2.jpg);
}
#production .work2back {
  background-image: url(../img/work2back.png);
}
#production .item {
  background-size: cover;
  background-position: center;
  height: 520px; /* 領域の高さ */
  position: relative;
}
#production .item .copy {

  position: absolute; /* position:absolute;をつけただけでは位置の指定はできない。位置の指定は、top、bottom、left、rightで行う */
  
  /* 要素が起点の上からどれだけ離れているかを示します */
  top: 20%;
  /* 要素が起点の下からどれだけ離れているかを示します */
  /* bottom: 50px; */
  /* 要素が起点の左からどれだけ離れているかを示します */
  left: 10%;
  /* 要素が起点の右からどれだけ離れているかを示します */ 
  right: 10%;
  /* text-align: center; */
  
  /* transform を使うと文字数が多くなると余白が広くなりすぎるため使わない */
  /* transform 上下左右中央 */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */

  /* transform を使うと文字数が多くなると余白が広くなりすぎるため使わない */  
  /* transform 上下中央 */
  /* top: 50%; */
  /* transform: translateY(-50%); */

}
#production .item .copy2 {

  position: absolute; /* position:absolute;をつけただけでは位置の指定はできない。位置の指定は、top、bottom、left、rightで行う */
  
  /* 要素が起点の上からどれだけ離れているかを示します */
  top: 5%;
  /* 要素が起点の下からどれだけ離れているかを示します */
  /* bottom: 50px; */
  /* 要素が起点の左からどれだけ離れているかを示します */
  left: 10%;
  /* 要素が起点の右からどれだけ離れているかを示します */ 
  right: 10%;
}
#production .item .bg-dark {
  color: #fff;
}
#production .item .headline {
  font-size: 20px;
  font-weight: bold;
  line-height: 2.0;
}
#production .item .subhead {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 7px;
}

#production p {
  line-height: 2.0; /* 行間 */
}



/*-------------------------------------------
google マップ
-------------------------------------------*/
#map-container {
  width: 100%;
  max-width: 80%; /* マップの最大幅（任意で調整） */
  aspect-ratio: 16 / 9; /* 縦横比を固定（例：16:9） */
  margin: 0 auto; /* 中央揃え */
}
#map-container iframe {
  width: 100%;
  height: 100%;
}



/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  width: 100%;
  background-color: #f5f5f7;
  color: #86868b;
  font-size: 15px;
  padding: 20px 0;
}
#footer .text-area {
  font-size: 15px;
  color: #000000;
  border-bottom: 1px solid #d2d2d7;
}
#footer .text-area h1 {
  font-size: 20px;
  margin-bottom: 30px;
}
#footer .text-area p {
  margin-bottom: 20px;
}
#footer .footer-menu {
  display: flex;
  border-bottom: 1px solid #d2d2d7;
  padding-bottom: 20px;
  margin-bottom: 10px;
}
#footer .footer-menu .menu {
  width: 25%;
}
#footer .footer-menu .title {
  color: #1d1d1f;
  font-weight: bold;
  margin-top: 20px;
}
#footer .footer-menu ul li {
  margin-top: 10px;
}
#footer .footer-menu a {
  color: #616167;
}
#footer .footer-menu a:hover {
  text-decoration: underline;
}
#footer .copyright {
  font-size: 12px;
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header .header-inner .logo {
    z-index: 20;
  }
  #navi {
    position: fixed;
    background: #000;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    transition: all 0.6s;
    z-index: 10;
  }
  #navi a {
    font-size: 12px;
    padding-left: 0;
  }
  #navi ul {
    flex-direction: column;
    padding: 44px 40px 0 40px;
    text-align: left;
  }
  #navi ul li {
    width: 100%;
    border-bottom: solid 1px #f5f5f7;
  }
  #navi ul li:last-child {
    border-bottom: none;
  }
  #navi.active {
    transform: translateY(0%);
  }
  /*　ハンバーガーメニュー　*/
  .hamburger {
    width: 44px;
    height: 44px;
    display: block;
    position: fixed;
    top: 0;
    right: 8px;
    z-index: 20;
    cursor: pointer;
  }
  .hamburger span {
    width: 16px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 14px;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 18px;
  }
  .hamburger span:nth-child(2) {
    top: 26px;
  }
  .hamburger.active span:nth-child(1) {
    top: 22px;
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2) {
    top: 22px;
    transform: rotate(45deg);
  }

  /*-------------------------------------------
  Phone
  -------------------------------------------*/
  #responsive-background {
    background-image: url(../img/phone-sp.jpg);
  }
  #responsive-background .headline {
    font-size: 32px;
	color: #000;
  }
  #responsive-background .subhead {
    font-size: 19px;
	color: #000;
    top: 88px;
  }

  /*-------------------------------------------
  content1
  -------------------------------------------*/
  #content1 .headline {
    font-size: 32px;
  }

  /*-------------------------------------------
  listbox-area
  -------------------------------------------*/
  #listbox-area .headline {
    font-size: 25px;
  }
  #listbox-area .models {
    font-size: 18px;
  }
  #listbox-area .listbox-area-list {
    flex-wrap: wrap;
  }
  #listbox-area .item {
    width: 50%;
    padding: 10px;
  }
  #listbox-area .item .item-title {
    font-size: 18px;
  }

  /*-------------------------------------------
  production
  -------------------------------------------*/
  #production {
    grid-template-columns: 1fr;
  }
  #production .item .headline {
    font-size: 32px;
  }
  #production .item .subhead {
    font-size: 19px;
  }


#production .item .copy {

  position: absolute; /* position:absolute;をつけただけでは位置の指定はできない。位置の指定は、top、bottom、left、rightで行う */
  
  /* 要素が起点の上からどれだけ離れているかを示します */
  top: 10%;
  /* 要素が起点の下からどれだけ離れているかを示します */
  /* bottom: 50px; */
  /* 要素が起点の左からどれだけ離れているかを示します */
  left: 13%;
  /* 要素が起点の右からどれだけ離れているかを示します */ 
  right: 13%;
  /* text-align: center; */
  
  /* transform を使うと文字数が多くなると余白が広くなりすぎるため使わない */
  /* transform 上下左右中央 */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */

  /* transform を使うと文字数が多くなると余白が広くなりすぎるため使わない */  
  /* transform 上下中央 */
  /* top: 50%; */
  /* transform: translateY(-50%); */

}
#production .item .headline {
  font-size: 20px;
  font-weight: bold;
  line-height: 2.0;
}
#production p {
  line-height: 1.7; /* 行間 */
}



  /*-------------------------------------------
  フッター
  -------------------------------------------*/
  #footer .footer-menu {
    flex-wrap: wrap;
  }
  #footer .footer-menu .menu {
    width: 50%;
  }
}
