

/* CSSリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}






/* 動いてないときのヘッダ */
#main-header {
  position: relative;
  background: #333;
  color: #fff;
  line-height: 80px;
  display: flex;
  justify-content: space-between;
  height: 80px;
}

/* 動いているときヘッダ */
#fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: #fff;
  line-height: 80px;
  display: flex;
  justify-content: space-between;
  height: 80px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateY(-100%);
  opacity: 0;
  z-index: 3000;
}





/* ロゴ（ｺﾞｳﾘｷｱﾔｶ） */
.logo {
  width: 300px;
  height: 80px;
  display: flex;
  justify-content: left;
  align-items: flex-end;
  font-size: 20px;
  font-weight: 600;
  background: #f4f4f4;
  color: #000000;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  line-height: 2.5;
}

/* logoのリンク */
.logo a {
  margin-left: 1em;
  display: flex;
  align-items: flex-end;
}

/* 画像の高さを揃える */
.logo a img {
  height: 60px;
  object-fit: contain;
}









.pc-menu {
  padding-right: 1em; /* PCメニューの右側を一文字空ける */
}


.pc-menu ul {
  display: flex;
  justify-content: center; /* 3つを左右にきれいに配置 */
  align-items: center;
  gap: 2em; /* ← 間隔を作る */
/*  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0; */
}

.pc-menu li {
  list-style: none;
/*  flex: 1; /* 3つを均等に広げる */
/*  text-align: center; /* テキストを中央揃え */
}

.pc-menu li.icons {
  display: flex;
  justify-content: center; /* アイコンを中央に寄せる */
  align-items: center; /* ← これ重要 */
  gap: 0.5em; /* アイコン同士の距離 */
  height: 80px; /* ← main-header と揃える */ 
}

.pc-menu a {
  text-decoration: none;
  color: #fff;
  position: relative;
}

/* 下線アニメーション */
.pc-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ff6600;
  transition: 0.3s;
  transform: translateX(-50%);
}

.pc-menu a:hover::after {
  width: 60%;
}

/* アイコンの高さ統一 */
.pc-menu img {
  height: 24px;
  object-fit: contain;
}









/* indexに使用しているCSS */

.catch-copy{
  display:flex;
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 200px;
  padding-left:  5em;
  align-items:center;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}


.center {
  display: flex;
  justify-content: center;   /* 横方向中央 */
  align-items: flex-start;       /* 縦方向中央 */
  height: 13vh;             /* 画面全体の高さ */
}

.falling-text {
  font-size: 40px;
  font-weight: bold;
  color: #ff6600;
  animation: fall 2s ease forwards;
}

@keyframes fall {
  0% { transform: translateY(-200px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}



/* indexの本文 */
.order{
  display: flex;              /* 横並びにする */
  justify-content: center; /* 横方向中央寄せ */ 
  align-items: flex-start; /* 縦方向は上寄せ */ 
  height: 15vh;
  font-size: 13px;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}



/* indexのできること欄 */
.container {
  display: flex;              /* 横並びにする */
  justify-content: center; /* 横方向中央寄せ */ 
  align-items: flex-start; /* 縦方向は上寄せ */ 
  height: 100vh;
}

.left, .right {
  width: 20%;                 /* 左右の幅を調整 */
  font-size: 13px;
/*  padding-left:  20em; */
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}

.left p, .right p {
  margin: 0;                  /* 行間の余計な余白を消す */
  font-size: 13px;
}



/* aboutに使用しているCSS */

.about{ 
  width: 70%;                 /* 横幅を70%にする */
  margin: 0 auto;             /* 中央寄せ */
  /*height: 15vh;*/
  font-size: 13px;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}

/* 本文のリンクは普通のインラインのまま →本文リンクないけど一応*/
.about a {
  display: inline;
  width: auto;
  line-height: normal;
  text-align: left;
  color: inherit;
}

#copy-mail { cursor: pointer; }






/* ハンバーガーアイコン */

.mobile-menu {
  display: none;
  width: 30px;
  height: 22px;
  text-align: center;
  cursor: pointer;
  position: absolute;
  z-index:3000;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.line {
  background-color: white;
  height: 4px;
  width: 100%;
  position: absolute;
}

.line:nth-of-type(1) {
  top: 0;
}

.line:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.line:nth-of-type(3) {
  bottom: 0;
}

main {
  min-height: 100vh;
  background: #f4f4f4;
}



/* スマホメニュー（最初は隠す） */
/* スマホメニュー（最初は隠す） */
.mobile-nav {
  position: fixed;
  top: 0;
  width: 80%; /* ← ロゴ以外の幅 */
  right: -80%; /* ← 隠す位置も揃える */
  height: 100%;
  background: #333;
  padding-top: 80px;
  transition: right 0.3s ease;
  z-index: 2000;
  display: none;
}

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


#fixed-header .mobile-menu {
  z-index: 4000;
}


.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav a {
  font-size: 1.2em;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.mobile-nav li {
  padding: 1em 1.5em; /* 上下1em、左右1.5em */
  border-bottom: 1px solid #444; /* 区切り線（お好みで） */
}

.mobile-nav li.icons {
  display: flex;
  gap: 1em; /* アイコン同士の距離 */
}

.mobile-nav img {
  height: 24px;
  object-fit: contain;
}




/* スマホ時だけ mobile-nav を有効化 */
@media (max-width: 800px) {
  .mobile-nav {
    display: block; /* ← スマホでは存在させる（位置は right:-70% で隠れてる） */
  }
}


/* モバイル用表示切り替え */
@media (max-width: 800px) {
  .mobile-menu {
    display: block;
  }

  .pc-menu {
    display: none;
  }

  .container { 
      flex-direction: column; 
      justify-content: flex-start; /* ← これが上寄せ！ */
      align-items: flex-start;
      text-align: center; /* ← テキストも中央寄せに（必要なら） */
       gap: 1.5em; }

       .left, .right { width: 100%; /* ← 全幅にして自然に見せる */ }
  

}