@charset "UTF-8";
/* 共通設定 */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #f7fdf9;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ヘッダー*/
.header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  height: 70px;          /* ヘッダーの高さを固定 */
  box-sizing: border-box;
}

.logo img {
  display: block;
  height: 35px;
  margin-left: 20px;
}

.insta-icon img {
  height: 40px;
  margin-right: 20px;
}

.Itsumo_logo img{
  height: 30px;
  margin-right: 5px;
}

/* ============================= */
/* ▼ ナビゲーション（PC） */
/* ============================= */
.nav {
  position: static;
  background-color: transparent;
  box-shadow: none;
  transition: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li a {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  height: 70px;          /* ヘッダーの高さと揃える */
  line-height: 70px;     /* 青いライン中央で揃える */
  box-sizing: border-box;
}


/* ============================= */
/* ▼ ハンバーガーメニュー（共通） */
/* ============================= */
.menu-btn {
  width: 30px;
  height: 18px;
  display: none;  /* PCでは非表示、スマホで表示 */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* 開閉アニメーション */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================= */
/* ▼ スマホ用レイアウト */
/* ============================= */
@media screen and (max-width: 768px) {

  /* ハンバーガーメニューを表示 */
  .menu-btn {
    display: flex;
  }

  /* ナビゲーションを非表示にして右から出す */
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding-top: 0;
  }

  /* 開いたとき */
  .nav.open {
    right: 0;
  }

  /* ナビを縦並びに */
  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    padding: 12px 24px;
    border-bottom: 1px solid #eee;
  }

  .nav li a {
    height: auto;
    line-height: 1.6;
  }
}

/* HEROセクション */
.hero {
  padding-top: 100px;
  text-align: center;
  background-color: #f7fdf9;
  padding-bottom: 40px;
}

.hero h1 {
  font-size: 1.9rem;
  color: #ff6d4d;
  margin-top: 100px;
  margin-bottom: 20px;
}

.hero {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-align: center;
}

/* 画像を中央寄せにする */
.hero img {
  display: block;         /* ブロック要素に変更 */
  margin: 0 auto;         /* 左右マージンを自動 */
  max-width: 1000px;
  width: 100%;
  height: auto;
}

.hero .credit {
  text-align: end;
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

/* 共通：カードデザイン */
section {
  background-color: #fff;
  border-radius: 20px;
  padding: 25px;
  margin: 80px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  box-sizing: border-box;
}

/* タイトルの装飾 */
section h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}


/* ボタン */
section .btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background-color: #ff6d4d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}
section .btn:hover {
  background-color: #ffbd59;
}


/* 2カラムの基本レイアウト */
.two-column {
  display: flex;
  flex-direction: row; /* PCでは横並び */
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px; /* カラム間の余白 */
}

/* テキスト部分と画像部分の幅を調整 */
.two-column > div:first-child {
  flex: 1; /* テキスト側 */
}

.two-column > div:last-child {
  flex: 1; /* 画像側 */
  display: flex;
  flex-direction: column; /* タイトルとテキストを縦に並べる */
  justify-content: flex-start; /* 上寄せ */
}

/* 他のセクションの画像（about, recruit, accessなど） */
.two-column img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 30px;
}


/* フッター */
footer {
  background-color: #ffffff;
  color: #000000;
  padding: 20px 0;
  text-align: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0 0 10px;
  align-items: center;
}

.footer-nav li {
  margin: 0 12px;
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  /* PC用 */
  .nav {
    position: static;
    display: block;
    width: auto;
    height: auto;
    box-shadow: none;
    background-color: transparent;
  }
  
  .nav ul {
    display: flex;
    gap: 35px;
  }

  .menu-btn {
    display: none;
  }
}
  .two-column {
    grid-template-columns: 1fr;
  }


/* スマホ対応：縦並びにする */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    gap: 20px;
    text-align: center; /* 中央揃えにするときれい */
  }

  .two-column > div {
    width: 100%;
  }

  .two-column img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;

}

/* スマホ対応：h1のフォントサイズを小さくする */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 1.4rem; /* お好みで 1.2rem や 1.5rem に調整可 */
    margin-top: 100px;  /* 上の余白も少し詰めるとバランス◎ */
  }
}

  /* Googleマップをレスポンシブ対応 */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 の比率 */
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* 角丸にする場合 */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
}
