/* Oswald Light (300) */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Oswald-Light.woff2') format('woff2');
  font-display: swap;
}

/* Noto Sans JP Regular */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/noto-sans-jp-v53-japanese-regular.woff2') format('woff2');
  font-display: swap;
}

/* 全体共通 */
body {
  font-family: "Oswald", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  margin: 0;
  padding: 0;
  background: #666666;
  overflow-x: hidden;
  width: 100%;
  font-size: 1em;
}



/* ヘッダー全体 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #eeeeee;
  background-color: #666666;
  padding: 15px 15px;
  position: relative;
  z-index: 1000;
}

.site-title {
  font-size: 1.5rem;
  color: #eeeeee;
  margin: 0;
}

@media (min-width: 768px) {
    .site-title {
        font-size: 2rem;
    }

}

/* ハンバーガーアイコン */
.menu-icon {
  font-size: 2rem;
  cursor: pointer;
  color: #eeeeee;
  z-index: 1001;
}

/* ===== メニューオーバーレイ（全体） ===== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(170, 170, 170, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: flex-end;
  z-index: 1999;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== メニュー本体（右側50%） ===== */
.menu-drawer {
  position: relative;
  width: 50%;
  max-width: 300px;
  height: 100%;
  background-color: #eeeeee;
  padding: 20px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  z-index: 2000;
}

.menu-overlay.open .menu-drawer {
  transform: translateX(0%);
}

/* 閉じるボタン（×） */
.menu-close {
  font-size: 28px;
  margin-bottom: 20px;
  cursor: pointer;
  color: #444444;
  align-self: flex-end;
}

/* メニューリスト */
.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin: 12px 0;
}

.menu-links a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #444444;
  transition: color 0.2s;
}

.menu-links a:hover {
  color: #888888;
}

/* SNSアイコン（下部に横並び） */
.menu-sns {
  margin-top: auto;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 40px 0 100px 0;
}

.menu-sns img {
  width: 36px;
}









/* ヒーロー画像とロゴ */
.hero {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 34%;
  height: auto;
}

.hero img.logo-overlay {
  position: absolute;
  top: 50%;
  left: 32%;
  width: 15%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* メインエリア全体 */
main {
  padding: 1% 0;
}

a{
  color: inherit;
  text-decoration: none;
  transition: opacity 0.5s;
}
a:hover{
    opacity: 0.6;
}


main h1, h2, h3, h4{
  font-size: 0.8rem;
/*  color: #003476;*/
/*  margin-bottom: 0.2rem;*/
/*  border-left: 4px solid #003476;*/
/*  padding-left: 0.3rem;*/
}
@media (min-width: 768px) {
    main h1, h2, h3, h4 {
        font-size: 1.2rem;
/*        margin-bottom: 0.5rem;*/
/*        padding-left: 0.5rem;*/
    }
}

main p {
    font-size: 0.7rem;
/*  padding: 0 2%;*/
/*  line-height: 1.2rem;*/
/*  margin-bottom: 0.5rem;*/
/*  color: #6f6f6f;*/
}

@media (min-width: 768px) {
    main p {
        font-size: 1rem;
/*        padding: 0 5%;*/
/*        line-height: 1.5rem;*/
    }
}

/* "With your life" セクション */
.catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
  width: 100%;
}

.catch .catch-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.catch-text {
  text-align: center;
  color: white;
  width: 90%;
  margin: 3% auto;
}

.catch-text h2 {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.catch-text p {
  line-height: 1.6;
  text-align: center;
}

.catch-image{
    width: 100%;
}
.catch-image img {
/*  width: 40%;*/
/*  padding: 0 auto;*/
/*  max-height: 500px;*/
  display: none;
/*  margin: 0 auto;*/
}

/* PC向け：画像右・テキスト左 */
@media (min-width: 768px) {
  .catch {
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
  }

  .catch .catch-inner {
      flex-direction: row-reverse;
      align-items: center;
  }

  .catch-text {
      width: 50%;
      padding: 0 10%;
    text-align: center;
  }
  
  .catch-text h2 {
      font-size: 1.7rem;
  }

  .catch-image {
    width: 30%;
    padding: none;
  }

  .catch-image img {
      display: block;
      max-width: 180px;
  }
}


/* コンテンツセクション（Introduction, Rental等） */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5% 0;
}

.section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}


.section.reverse{
  flex-direction: column-reverse;
}

.section img {
  width: 30%;
  max-width: 180px;
  margin: 0 auto;
}

.text-block {
  text-align: center;
  width: 80%;
  margin: 3% auto;
  color: #eeeeee;
  line-height: 1.5;
}

.text-block h3 {
  margin-top: 10px;
  font-weight: bold;
}

/* PC向けレイアウト調整 */
@media (min-width: 768px) {
  .section {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
  }
  
  .section .section-inner {
    flex-direction: row;
    align-items: center;
  }

  
  .section.reverse .section-inner{
    flex-direction: row-reverse;
  }

  .section img {
    width: 30%;
    flex-shrink: 0;
  }
  
  .text-block {
      width: 60%;
      margin: 0% auto;
  }
  
}

/* Introductionセクション全体 */
.introduction {
  position: relative;
  padding: 5% 0;
  margin-bottom: 10%;
  display: flex;
  justify-content: center;
}

/* 内部ラッパー */
.introduction .intro-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

/* テキスト */
.introduction .text-block {
  color: #444444;
  text-align: center;
  line-height: 1.6;
  z-index: 1;
  width: 60%;
  margin: 3% auto;
}

.introduction .text-block p {
  text-align: center;
}

.introduction .text-block h3 {
  font-weight: bold;
  text-align: center;
  margin: 0;
}

/* 画像 */
.introduction img {
  width: 30%;
  margin: 0 auto;
  max-width: 180px;
  height: auto;
  z-index: 1;
}

.intro-bg-rect {
  position: absolute;
  top: 25%;
  right: 10%;
  width: 80%;
  height: 80%;
  background-color: #dddddd;
  z-index: 0;
}


/* PCで横並びにする */
@media (min-width: 768px) {
  .introduction .intro-inner {
    flex-direction: row;
/*    justify-content: center;*/
    align-items: center;
  }

  .introduction .text-block {
      width: 50%;
      padding: 15% 3% 0;
      margin: 0 10% 0 0;
      text-align: center;
  }
      
  .introduction img {
    width: 20%;
    max-width: 180px;
    margin: 0 auto;
  }
  
  .intro-bg-rect {
    position: absolute;
    top: 25%;
    right: 10%;
    width: 190%;
    max-width: 1500px;
    height: 85%;
    background-color: #dddddd;
    z-index: 0;
  }

}

@media (min-width: 1300px) {
    .intro-bg-rect {
        max-width: 900px;
    }

}


/* フッターセクションのレイアウト */
footer {
  background-color: #eeeeee;
  padding: 3rem 1rem 2rem;
  text-align: center;
  color: #444444;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-items: center;
  max-width: 100%;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.footer-logo, .footer-sns {
  flex: 1 1 100%;
  display: flex;
  gap: 5%
}

.footer-logo img{
    width: auto;
    padding: 2rem 0;
    max-height: 5rem;
}

.footer-sns img {
  width: auto;
  padding: 2%;
  max-height: 2.5rem;
}

.footer-sns a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.footer-sns a:hover {
  opacity: 0.7;
}

.footer-info {
  flex: 1 1 100%;
  text-align: center;
  line-height: 2.3;
  min-width: 0;
}

.footer-info a {
  color: inherit;
  font-size: 1.0rem;
  font-weight: bold;
}

.footer-info a:hover {
  text-decoration: underline;
}

/*.footer-info p + p {*/
/*  text-indent: 0.1rem;*/
/*  font-size: 0.75rem;*/
/*  line-height: 0.1;*/
/*}*/

/* PC表示（768px以上） */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo {
    flex: 1 1 35%;
    margin: 0 1%;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #666666;
    max-height: 4.5rem;
  }
  
  .footer-sns {
    flex: 1 1 45%;
    align-items: center;
    justify-content: center;
    max-height: 4.5rem;
  }

  .footer-info {
    flex: 1 1 30%;
    text-align: left;
    padding-left: 5%;
    border-left: 1px solid #666666;
  }
  
  .footer-info a {
    color: inherit;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .footer-info p + p {
    text-indent: 0.1rem;
    font-size: 0.8rem;
    line-height: 0.1;
  }

  .footer-logo img, .footer-sns img {
    width: auto;
    padding: 1rem 2%;
    max-height: 2.5rem;
  }

}

.footer-nav {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.footer-nav a {
  display: inline-block;
  margin: 0 0.4rem;
  text-decoration: none;
  color: #444444;
}

.footer-nav a::first-letter {
  color: #444444;
}

.footer-nav a:hover {
  color: #444444;
}

.footer-copyright p {
    padding: 0 2%;
    font-size: 0.8rem;
    line-height: 1.2rem;
    margin-bottom: 0.5rem;
    color: #444444;
}

@media (min-width: 768px) {
    .footer-nav {
        font-size: 1rem;
    }

    .footer-nav a {
      margin: 0 1rem;
    }
    
    .footer-copyright p {
        padding: 0 5%;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

}

/* ===== 汎用リビール（共通） ===== */
/* 基本（下からフェードアップ） */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.inview {
  opacity: 1;
  transform: none;
}

/* 方向バリエーション */
.reveal-up    { transform: translateY(24px); }
.reveal-down  { transform: translateY(-24px); }
.reveal-left  { transform: translateX(24px); }
.reveal-right { transform: translateX(-24px); }
.reveal-scale { transform: scale(.96); }

.reveal-up.inview,
.reveal-down.inview,
.reveal-left.inview,
.reveal-right.inview,
.reveal-scale.inview { transform: none; }

/* 速度バリエーション（必要なら） */
.reveal.fast   { transition-duration: .5s; }
.reveal.slow   { transition-duration: 1.2s; }

/* 子要素のステップ表示（リストやカードで段階的に出したいとき） */
.reveal-children > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-children.inview > * {
  opacity: 1;
  transform: none;
}
.reveal-children.inview > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.inview > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-children.inview > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-children.inview > *:nth-child(4) { transition-delay: 0.35s; }
/* 5つ以上ある場合は適宜nth-childを足してください */

/* 動きを付けたくないとき（明示的に無効化） */
.no-reveal,
.no-reveal * { opacity: 1 !important; transform: none !important; }
