@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}

/* レイアウト */
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
.align-center {
    text-align: center;
}

/* 見出し */
.font-english {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.4;
}

.intro,
.heading-large {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    font-size: 1.5rem;
    background-color: #0bd;
    color: #fff;
    border-radius: 8px;
    padding: .75rem 1.5rem;
    transition: .5s;
}
.btn:hover {
    background-color: #0090aa;
}

/* ヘッダー
------------------------------- */
.page-header {
    padding-top: .5rem;
}
.logo {
    width: 210px;
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.5rem;
    list-style: none;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}

/* ヘッダーカバー画像
------------------------------- */
.cover { 
    background-size: cover;
    background-position: center bottom;
    height: 600%;
}

/* HOME
------------------------------- */
.cover-home {
    background-image: url(../images/top.jpg);
}

.about {
    max-width: 736px;
    padding: 0 1.5rem;
    margin: 3rem auto 0;
}

.about p {
    margin-bottom: 3rem;
}

/* フッター
------------------------------- */
.page-footer {
    padding-top: 12rem;
}

.info {
    width: 100%;
    max-width: 544px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
}
.info th,
.info td {
    border-bottom: 1px solid #c9c2bc;
}
.info th {
    text-align: left;
    font-weight: normal;
    padding: 1rem;
}
.info td {
    padding: 1rem 0;
}

.copyright {
    background-color: #432;
    text-align: center;
    padding: 2rem 0;
    margin-top: 6rem;
    color: #fff;
}



/* デスクトップ版
------------------------------- */
@media (min-width: 800px) {
    /* 見出し */
    .page-title {
        font-size: 5rem;
    }
    .heading-large {
        font-size: 2rem;
    }

    /* ヘッダー */
    .page-header {
        display: flex;
        justify-content: space-between;
        padding-top: 1.5rem;
    }
    .main-nav {
        font-size: 2rem;
    }

    /* HOME */
    .cover-home {
        background-image: url(../images/top.jpg);
    }
    .about {
        margin: 4rem auto 0;
    }

}

/* ===== TOP hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-copy h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 30px;
  margin-bottom: 10px;
}

.hero-copy span {
  font-size: 36px;
}

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- hero 調整 ---- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero .page-header {
  position: absolute;
  top:20px;
  left: 0;
  width:100%;
  display:flex;
  justify-content: center;
  align-items:center;
  flex-direction:column;
  z-index:10;
}


/* heroコピー文章 */
.hero-copy {
  width:100%;
  max-width: 700px;
  position:absolute;
  bottom:35%;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
  color:#fff;
  z-index:5;
  margin:0 auto;
}

.hero-copy h1,
.hero-copy p,
.hero-copy span {
  color:#fff;
}

.hero-copy h1 {
  font-size: 36px;
  font-weight:600;
  margin-bottom:14px;
}
.hero-copy p {
  font-size:24px;
  margin-bottom:12px;
}
.hero-copy span {
  font-weight:700;
  font-size:20px;
  letter-spacing:2px;
}

.page-header {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

/* === 最後の方に入れて === */
.logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(001px #fff);
}


/* 日本語キャッチ */
.hero-copy h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.4rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* 英語サブコピー */
.hero-copy p {
  font-family: 'Allura', cursive;
  font-size: 40px;
   line-height: 1;
}

/* INITYHOMEの部分 */
.hero-copy span {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 768px) {
  .hero-copy p {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .hero-copy h1 {
    font-size: 1.8rem;
  }

}

/* ===== PC Header Layout ===== */
.hero .page-header {
  position:absolute;
  top: 40px;
  left: 40px;
  width: calc(100% - 120px);
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index:100;
}

/* logo */
.hero .page-header .logo {
  width:140px;
  height:auto;
}

/* nav */
.hero .page-header nav ul {
  display:flex;
  gap:32px;
}

.hero .page-header nav ul li a {
  color:#432;
  font-size:32px;
  font-weight:500;
}
.hero .page-header a:hover {
    color: #0bd;
}

/* hero-copy (PC) */
@media (min-width: 769px) {
  .hero-copy h1 {
    font-size:50px;
  }
}

/* ==== ロゴに白シャドウ ==== */
.logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(1px 1px 1px rgba(255,255,255,0.8));
}

/* ===== スマホ調整 (max-width: 768px) ===== */
@media screen and (max-width: 768px) {

  /* Hero 内の header を縦並びに */
  .hero .page-header {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
  }

  /* ロゴ（Hero 専用） */
  .hero .page-header .logo {
    width: 140px;
  }

  /* ナビ（Hero 専用） */
  .hero .page-header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0;
    margin: 0;
  }

  .hero .page-header nav ul li a {
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #432;
  }

  /* ---- グローバル .main-nav は使わない ---- */
  .main-nav {
    display: block; /* ←ここが大事！Hero 以外には効かせない */
  }

  /* Hero コピー */
  .hero-copy {
    padding-top: 180px;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 22px;
    line-height: 1.6;
  }

  .hero-copy span {
    font-size: 20px;
  }

  .hero-copy p {
    display: none;
  }

  .main-nav { 
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
  }

  .main-nav li a {
      font-size: 14px;
      letter-spacing: 0.05em;
  }

  .page-header {
      position: absolute;
      top: 10px;
      left: 0;
      width: 100%;
      flex-direction: column;
      display: flex;
      align-items: center;
      gap: 6px;
  }

}


/* ===== 下層ページ共通 ===== */
.page-main {
  max-width: 900px;
  margin: 160px auto 100px;
  padding: 0 20px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  color: #432;
}

.page-title {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th, .company-table td {
  border-bottom: 1px solid #ddd;
  padding: 14px 10px;
  text-align: left;
}
.company-table th {
  width: 25%;
  font-weight: 600;
  color: #555;
}

/* 見出し */
.font-english {
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}

/* ---- お問い合わせ ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form button {
  background: #555;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #333;
}

/* ---- アクセス ---- */
.access-info {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.8;
}

.map-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}



.footer {
  text-align: center;
  font-size: 14px;
  color: #777;
  padding: 30px 0;
  border-top: 1px solid #eee;
  background: #fafafa;
}