@charset "UTF-8";

html {
  font-size: 62.5%
}
body {
  background-color: #f0f0f0;
  color: #000;
  font-size: 1.2rem;
}
a {
  color: #000;
  font-size: 1.3rem;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

.pcObj{
  display: block;
}

.spObj{
  display: none;
}

@media (max-width: 768px){
.pcObj{
  display: none;
}
.spObj{
  display: block;
}
}

.logo {
  width: 180px;
  line-height: 1px;
  margin-right: 60px;
}
.logo a {
  display: block;
}
.page-title {
  font-size: 2.25rem;
  font-weight: normal;
  letter-spacing: 0.3em;
  line-height: 1;
  margin-bottom: 80px;
}
.section-title {
  font-weight: normal;
  line-height: 1;
  margin-bottom: 50px;
}
.section-title::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #000;
  display: block;
}
.section-title .en {
  display: block;
  font-size: 3rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.section-title .ja {
  display: block;
  font-size: 2rem;
  margin-bottom: 36px;
}
.wrapper {
  width: 100%;
  max-width: 1032px;
  padding: 0 16px;
  margin: 0 auto;
}
@media (max-width: 768px){
.section-title .ja {
  display: block;
  font-size: 2rem;
  margin-bottom: 36px;
}
.section-title .en {
  display: block;
  font-size: 3rem;
  letter-spacing: 0.3em;
  line-height: 1.5;
  margin-bottom: 10px;
}
}
/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .inner {
  display: flex;
  align-items: center;
}
#header .inner ul {
  display: flex;
  align-items: center;
}
#header .inner li {
  margin-right: 30px;
}
#header .inner li:last-child {
  margin-right: 0;
}
#header .contact {
  width: 200px;
  height: 80px;
  line-height: 80px;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  display: inline-block;
  text-align: center;
}
#header .contact:hover {
  background-color: #333;
}

/*追記*/
/* ヘッダーの共通高さ（PC/Tablet） */
:root { --header-h: 80px; }

@media (max-width: 768px){
  :root { --header-h: 64px; } /* SPのときだけ小さくする場合 */
}

#header{
  position: sticky;
  top: 0;
  z-index: 10000;
  height: var(--header-h);
  background: #fff;
  display: flex;
  align-items: center;
  /* 影はお好みで */
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}


#header .inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;


  padding-right: 200px;
  box-sizing: border-box;
}

#header .inner ul{
  display: flex;
  align-items: center;
  gap: 30px;
}

#header > .contact{
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
  height: var(--header-h);
  line-height: var(--header-h);
  display: inline-block;
  text-align: center;
  background: #1659F5;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  z-index: 10001;
  white-space: nowrap;
}
#header > .contact:hover{ background: #333; }

@media (max-width: 768px){
  .hamburger{ display: flex; }

  #header .inner ul{ display: none; }

  #header .inner{ padding-right: 16px; }


  #header > .contact{ display: none; }
}

/* WP管理バー対策（ログイン時のズレ防止） */
body.admin-bar #header{ top: 32px; }
@media (max-width: 782px){
  body.admin-bar #header{ top: 46px; }
}

/* アンカー(#about等)のずれ防止 */
[id]{ scroll-margin-top: var(--header-h); }

/*追記.end*/

.nav-close{
  display: none;
}

/* スマホ用ナビ */
@media screen and (max-width: 768px) {
  /* ナビ本体（初期は右外） */
  nav#js-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 20, 40, 0.9);
    backdrop-filter: blur(8px);
    transition: right 0.5s ease;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* 出現状態 */
  nav#js-nav.active {
    right: 0;
  }

  /* ここがポイント：初期は隠す */
  #header .inner nav ul {
    display: none;
  }
  /* そして active の時に表示に戻す */
  nav#js-nav.active ul {
    display: flex;
  }

  /* 縦並びレイアウト */
  nav#js-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    text-align: center;
  }

  /* .hamburger {
    display: flex;
  } */

  /* ハンバーガー本体 */
.hamburger {
  position: relative;
  width: 32px;
  height: 24px;
  cursor: pointer;
  z-index: 9999; /* ナビより前に出す */
}

/* 3本線 */
.hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #1659F5;
  border-radius: 2px;
  transition: 0.3s;
}

/* 上・中・下の位置 */
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* 開いたときのアニメ（使ってたら） */
.hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

    nav#js-nav a {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.3s;
  }
  nav#js-nav a:hover {
    color: #c9a34a;
  }

  /* 閉じるボタン */
  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s;
    z-index: 10000;
  }
  .nav-close:hover {
    opacity: 0.7;
  }
  }
/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 120px;
}
#mainvisual img {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
}

/*-------------------------------------------
News
-------------------------------------------*/
#news {
  margin-bottom: 120px;
}
#news .list {
  display: flex;
  justify-content: space-between;
}
#news .list li {
  width: calc(100%/3);
  border-right: solid 1px #000;
  padding: 10px 20px;
}
#news .list li:first-child {
  padding-left: 0;
}
#news .list li:last-child {
  border-right: none;
  padding-right: 0;
}
#news .list li .date-area {
  font-size: 2rem;
  margin-bottom: 16px;
}
#news .list li p {
  font-size: 1rem;
}
#news .list li .date-area span {
  width: 50px;
  height: 20px;
  line-height: 20px;
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 10px;
  text-align: center;
}

@media screen and (max-width: 768px) {
#news .list li .date-area {
  font-size: 2rem;
  margin-bottom: 16px;
}
#news .list li p {
  font-size: 1.5rem;
}
}

/*-------------------------------------------
About
-------------------------------------------*/
#about {
  display: flex;
  margin-bottom: 120px;
}
#about .img {
  width: 55%;
}
#about .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#about .text {
  width: 45%;
  padding: 180px 5% 0 5%;
}
#about .text p {
  line-height: 2.2;
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
#about .text p {
  line-height: 2.2;
  font-size: 1.6rem;
}
}

/*-------------------------------------------
Business
-------------------------------------------*/
#business {
  margin-bottom: 120px;
}
#business .flex {
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
}
#business .flex .left {
  width: 46%;
  margin-top: 100px;
}
#business .flex .right {
  width: 46%;
}
#business .flex .item {
  margin-bottom: 50px;
}
#business .flex .item:last-child {
  margin-bottom: 0;
}
#business .flex .title {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 0 0 10px 18px;
  position: relative;
}
#business .flex .title::before {
  content: "";
  width: 8px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -18px;
}
@media screen and (max-width: 768px) {
#business .flex .title {
  font-size: 2.2rem;
}
}
/*-------------------------------------------
Company
-------------------------------------------*/
#company {
  height: 750px;
  display: flex;
  align-items: center;
  position: relative;
}
#company .text {
  width: 55%;
  background-color: #fff;
  padding: 100px 8% 100px 6%;
  position: absolute;
  top: 0;
  left: 0;
}
#company .img {
  width: 53%;
  position: absolute;
  top: 115px;
  right: 0;
}
#company .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#company .info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1.6rem;
}
#company .info dt {
  width: 20%;
  margin-top: 10px;
}
#company .info dt:first-of-type {
  margin-top: 0;
}
#company .info dd {
  width: 80%;
  margin-top: 10px;
}
#company .info dd:first-of-type {
  margin-top: 0;
}
#company .info .add {
  margin-left: 20%;
}

  @media screen and (max-width: 768px) {
  #company .info {
    font-size: 1.3rem;
  }
  }


/*-------------------------------------------
固定ページ
-------------------------------------------*/
#page {
  margin-top: 80px;
  margin-bottom: 120px;
}
#page .form {
  margin-top: 60px;
}
#page .form .required {
  color: #ff0000;
}
#page .form dt {
  margin-bottom: 5px;
}
#page .form dd {
  margin-bottom: 30px;
}
#page .form input,
#page .form textarea {
  width: 100%;
  background-color: #fff;
  padding: 15px;
}
#page .form textarea {
  height: 180px;
}
#page .button {
  width: 100px;
  border: solid 1px #000;
  margin: 0 auto;
  transition: all 0.3s ease;
}
#page .button:hover {
  background-color: #ddd;
}
#page .button input {
  width: 100%;
  padding: 10px 0;
}

/*-------------------------------------------
Category一覧
-------------------------------------------*/
#category {
  margin-top: 80px;
  margin-bottom: 120px;
}
#category .tab-menu {
  display: flex;
  border-bottom: solid 1px #000;
}
#category .tab-menu .active {
  border-bottom: solid 3px #000;
}
#category .tab-menu li {
  width: 240px;
  padding: 20px 0;
  text-align: center;
}
#category .tab-menu li a {
  font-size: 1rem;
}
#category .list dt {
  margin: 50px 0 10px 0;
}
#category .list dt span {
  width: 50px;
  height: 20px;
  line-height: 20px;
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 10px;
  text-align: center;
}
#category .list dd {
  padding-bottom: 50px;
  border-bottom: solid 1px #ccc;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  background-color: #fff;
  padding-bottom: 20px;
}
#footer .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
}
#footer .flex .logo {
  margin-right: 0;
}
#footer .copyright {
  font-size: 0.625rem;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 768px) {
  .logo {
    width: 120px;
    margin: 8px 0;
  }
  .page-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .section-title {
    margin-bottom: 34px;
  }
  .section-title .ja {
    margin-bottom: 24px;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header .inner {
    /* flex-direction: column; */
    align-items:center;
  }
  #header .contact {
    display: none;
  }

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  #mainvisual {
    margin-bottom: 80px;
  }

  /*-------------------------------------------
  News
  -------------------------------------------*/
  #news {
    margin-bottom: 80px;
  }
  #news .list {
    flex-direction: column;
  }
  #news .list li {
    width: 100%;
    border-right: none;
    padding: 10px 0;
    margin-bottom: 20px;
  }
  #news .list li:last-child {
    margin-bottom: 0;
  }

  /*-------------------------------------------
  About
  -------------------------------------------*/
  #about {
    flex-direction: column;
    margin-bottom: 80px;
  }
  #about .img {
    width: 100%;
    margin-bottom: 30px;
  }
  #about .img img {
    height: 300px;
  }
  #about .text {
    width: 100%;
    padding: 0 16px;
  }

  /*-------------------------------------------
  Business
  -------------------------------------------*/
  #business {
    margin-bottom: 80px;
  }
  #business .flex {
    flex-direction: column;
    padding: 0;
  }
  #business .flex .left {
    width: 100%;
    margin: 0 0 30px 0;
  }
  #business .flex .right {
    width: 100%;
  }
  #business .flex .item {
    text-align: center;
    margin-bottom: 30px;
  }
  #business .flex .title {
    text-align: left;
  }

  /*-------------------------------------------
  Company
  -------------------------------------------*/
  #company {
    height: auto;
    flex-direction: column;
    position: static;
  }
  #company .text {
    width: 100%;
    padding: 40px 20px;
    margin-bottom: 20px;
    position: static;
  }
  #company .img {
    width: 100%;
    padding: 0;
    position: static;
  }
  #company .info {
    flex-direction: column;
  }
  #company .info dt {
    width: 100%;
    margin-top: 20px;
  }
  #company .info dd {
    width: 100%;
    margin-top: 5px;
    padding-left: 14px;
  }
  #company .info dd:first-of-type {
    margin-top: 5px;
  }
  #company .info .add {
    margin-left: 0;
  }

  /*-------------------------------------------
  固定ページ
  -------------------------------------------*/
  #page {
    margin-top: 40px;
  }
  #page .form {
    margin-top: 40px;
  }

  /*-------------------------------------------
  Category一覧
  -------------------------------------------*/
  #category {
    margin-top: 40px;
  }
  #category .tab-menu li {
    width: 50%;
  }
  #category .list dt {
    margin-top: 40px;
  }
  #category .list dd {
    padding-bottom: 40px;
  }

  /*-------------------------------------------
  footer
  -------------------------------------------*/
  #footer .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  #footer .flex .logo {
    margin-bottom: 10px;
  }
}
