@charset "UTF-8";

/* 全体設定 */
body {
  font-family: "Inter", Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
  Meiryo, メイリオ, sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

.section {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 100px;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/** -------- スマホ -------- **/
@media screen and (max-width: 768px) {
  .section {

  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

}

/** -----------------------------------
    テキスト
-------------------------------------**/
.text {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.1rem;
  color: #333;
  text-align: left;
}

h3 {
  font-size: 18px;
  font-weight: bold;
  color: #071A39;
}

h4 {
  font-size: 18px;
  font-weight: bold;
  color: #071A39;
}

.section-ttl h4 {
  font-size: 24px;
  font-weight: bold;
  color: #071A39;
  text-align: center;
  margin-bottom: 30px;
}

.reason-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #071A39;
  margin-bottom: 10px;
}

.reason-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}



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


/** -----------------------------------
    見出し
-------------------------------------**/
.section-ttl {
  margin: 60px auto;
  text-align: left;
}

.section-ttl h2 {
  font-size: 32px;
  font-weight: bold;
  color: #071A39;
  margin-bottom: 5px;
  line-height: 1.2;
}

.section-ttl h2 span {
  font-size: 18px;
  color: #071A39;
  display: block;
  margin-top: 0;
  margin-bottom: 10px;
}

.section-ttl h2::after {
  content: "";
  display: block;
  width: 25%;
  height: 15px;
  background-color: #14104C;
  margin-top: 0px;
}

@media (max-width: 768px) {
  #service {
    margin-bottom: 80px;
    padding: 20px;
    overflow: hidden; 
  }

  .section-ttl {
    text-align: center;
    margin: 40px auto;
  }

  .section-ttl h2 {
    font-size: 24px;
  }

  .section-ttl h2 span {
    font-size: 16px;
  }

  .section-ttl h2::after {
    width: 50%;
    margin: 10px auto 0;
  }
}


/** -----------------------------------
    ヘッダー
-------------------------------------**/
#header {
  background-color: #FFFFFF;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  position: fixed;
  top: 0;
  z-index: 1;
  box-sizing: border-box;
}

.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;  
  font-size: 32px;
  color: #071A39;
  font-weight: bold;
}

.header-logo a {
  display: flex;
  color: #071A39;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;  /* 折り返しを防ぐ */
}

.header-logo a:hover {
  color: #007BFF;
}

.gnav-pc-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

ul.gnav-pc li {
  display: inline;
  margin-right: 15px;
}

ul.gnav-pc li a {
  color: #071A39;
  font-size: 16px;
  letter-spacing: 0.15em;
  font-weight: bold;
  position: relative;
  text-decoration: none;
}

ul.gnav-pc li a:hover {
  color: #007BFF;
}

#menu-button {
  display: none;
}

/* メニューのハンバーガーアイコン */
#menu-button {
  display: none;
  cursor: pointer;
}

.menu-button-inner span {
  display: block;
  width: 25px;
  height: 3px;
  background: black;
  margin: 5px 0;
}

/** -------- スマホ -------- **/
@media screen and (max-width: 768px) {
  #header {
    height: 80px;
    padding: 0 50px;
  }

  .header-logo {
    font-size: 20px;
  }

  #header h1 a {
    display: flex;
  }

  .gnav-pc-wrap {
    display: none;
  }

  .gnav-sp-wrap {
    display: none;
    width: 90vw;
    height: 100vw;
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 20vh;
    left: 5vw;
    z-index: 100;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(5px);
  }

  .gnav-sp ul {
    padding: 0;
    margin: 0;
    text-align: center;
  }

  ul.gnav-sp li {
    list-style:none;
    padding: 0;
    margin-bottom: 30px;
  }

  ul.gnav-sp li a {
    font-size: 20px;
    letter-spacing: 0.15em;
    color: #2b251f;
    font-weight: bold;
  }

  #menu-button {
    display: block;
    cursor: pointer;
  }
  
  #hamburger-icon {
    display: block;
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: black;
  }
}


/** -----------------------------------
    キービジュアル
-------------------------------------**/
#top_kv {
  width: 100%;
  height: calc(100vh - 120px);
  position: relative; 
  overflow: hidden;
}

#top_kv img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh - 150px);
  object-fit: cover;
  object-position: bottom;
}

.top_kv {
  position: relative;
}

.main-copy {
  position: absolute;
  top: 42%;
  left: 0%;
  transform: translateY(-50%);
  color: white;
  font-size: 2em;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 20px 20px 100px;
  box-sizing: border-box;
  text-decoration: none;
}

.main-copy::after {
  content: "";
  display: inline-block;
  width: 100px;
  border-bottom: 2px solid white;
  margin-left: 10px;
  vertical-align: middle;
}

.sub-copy {
  position: absolute;
  top: 58%;
  left: 18%;
  transform: translateY(-50%);
  color: white;
  font-size: 2em;
  text-shadow: 5px 4px 4px #666666;
  text-align: left;
  padding: 20px;
  box-sizing: border-box;
  text-decoration: none;
}

@media (max-width: 768px) {
  #top_kv {
    height: calc(100vh - 80px);
  }

  #top_kv img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 150px);
    object-fit: cover;
    object-position: 75% 50%;
  }

  .main-copy {
    position: absolute;
    top: 42%;
    left: 5%;
    font-size: 1.5em;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .main-copy span {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }

  .main-copy span:first-child::after { 
    content: "";
    display: inline-block;
    width: 40px;
    border-bottom: 2px solid white;
    margin-left: 10px;
  }

  .main-copy::after {
    display: none;
  }

  .sub-copy {
    position: absolute;
    top: 53%;
    left: 5%;
    font-size: 1.2em;
    color: white;
    padding: 10px;
    text-shadow: 5px 4px 4px #414141;
  }
}


/** -----------------------------------
    news
-------------------------------------**/
/* ニュースリスト全体 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px; /* 各記事の間隔 */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* リスト全体の最大幅を設定 */
  margin: 0 auto; /* 画面中央に配置 */
}

/* 各記事のスタイル */
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* 日付と内容の間隔 */
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  padding: 15px; /* 内側の余白を追加 */
  background-color: #e8f5e9; /* 背景色を指定 */
  border-radius: 6px; /* 角を少し丸く */
}

/* 2つ目以降の背景色を薄くする場合（オプション） */
.news-item:nth-child(even) {
  background-color: #f1f8f4; /* 偶数行に別の背景色 */
}

/* 日付部分のスタイル */
.news-date {
  flex-shrink: 0;
  font-size: 14px;
  color: #555;
  font-weight: bold;
  text-align: right;
  width: 100px; /* 日付の幅を統一 */
}

/* 記事内容のスタイル */
.news-content {
  flex-grow: 1;
}

.news-content h3 {
  font-size: 16px;
  margin: 0;
}

.news-content h3 a {
  color: #242152;
  text-decoration: none;
  transition: color 0.3s;
}

.news-content h3 a:hover {
  color: #4198f5;
}

.news-content p {
  font-size: 14px;
  color: #666;
  margin: 5px 0 0;
}

/* 「もっと見る」のスタイル */
.news-more {
  text-align: center;
  margin-top: 20px;
  margin-right: 20px;
}

.news-more a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.news-more a:hover {
  color: #0056b3;
}

/** -------- スマホ -------- **/
@media (max-width: 768px) {
  .news-list {
    padding: 10px;
    gap: 15px;
  }

  /* 各記事のスタイル */
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .news-date {
    width: auto;
    margin-bottom: 5px;
  }

  .news-content h3 {
    font-size: 14px;
  }

  .news-content p {
    font-size: 12px;
  }

  .news-more {
    margin-right: 0;
    margin-top: 15px;
  }
}


/** -----------------------------------
    会社について
-------------------------------------**/
.image-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  background-color: #fff;
}

.image-gallery img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/** -------- スマホ -------- **/
@media (max-width: 768px) {
  .section-ttl h2 {
    font-size: 1.8em;
    text-align: center;
  }

  .text {
    font-size: 1.0em;
    line-height: 1.5;
    padding: 0 10px;
  }

  .image-gallery {
    padding: 10px;
  }

  .image-gallery img {
    width: 100%;
    height: auto;
    max-width: 150px;
  }
}

/** -----------------------------------
    選ばれる理由のスタイル
-------------------------------------**/
.reasons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
  background-color: #f9f9f9;
}

.reason-card {
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  flex: 1 1 calc(50% - 20px);
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.reason-card .icon {
  margin-bottom: 15px;
}

.reason-card .icon img {
  width: 50px;
  height: 50px;
}

.image-gallery2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  background-color: #fff;
  margin-top: 40px;
}

.image-gallery2 img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/** -------- スマホ -------- **/
@media (max-width: 768px) {
  .reasons-container {
    padding: 10px;
    gap: 20px;
  }

  .reason-card {
    flex: 1 1 100%;
    max-width: none;
    padding: 15px;
  }

  .reason-card .icon img {
    width: 40px;
    height: 40px;
  }

  .image-gallery2 {
    padding: 10px;
  }

  .image-gallery2 img {
    width: 100%;
    height: auto;
    max-width: 150px;
  }
}


/** -----------------------------------
    サービス
-------------------------------------**/
#service .service-items {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  height: 400px;
  background-image: url("../img/16.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: flex-start;
}

.service-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 80px;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-box:hover .service-icon {
  transform: scale(1.1);
}

.service-box h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.service-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.img16 {
  display: none;
}

/* スマホ表示用のスタイル */
@media (max-width: 768px) {
  #service .service-items {
    height: auto; /* スマホ表示時に高さを自動調整 */
    background-image: none; /* 背景画像を非表示に */
    padding: 10px; /* パディングを調整 */
  }

  .service-items {
    padding: 10px; /* パディングを減らす */
  }

  .service-box {
    width: 100%; /* 幅を100%に設定 */
    max-width: none; /* 最大幅を解除 */
    margin-top: 20px; /* マージンを減らす */
  }

  .service-icon {
    width: 50px; /* アイコンサイズを縮小 */
    height: 50px; /* アイコンサイズを縮小 */
  }

  .service-box h3 {
    font-size: 18px; /* タイトルのフォントサイズを小さく */
  }

  .service-box p {
    font-size: 12px; /* プロフィール文のフォントサイズを小さく */
  }

  .img16 {
    width: 100%; /* 横幅を100%に設定 */
  }

  .img16 img {
    width: 100%; /* 画像の幅を100%に設定 */
    height: auto; /* 高さを自動調整 */
    display: block; /* 画像をブロック要素にする（デフォルトでのインライン表示を防ぐ） */
  }
}


/** -----------------------------------
    会社概要
-------------------------------------**/
.outline table {
  margin: 20px auto 0;
  border-collapse: collapse;
  width: 90%;
  max-width: 1000px;
  text-align: left;
}

.outline th {
  background-color: #F9FAFB;
  font-weight: bold;
  color: #333;
  padding: 10px 15px;
  vertical-align: top;
  width: 25%;
}

.outline td {
  background-color: #FFF;
  color: #444;
  font-size: 14px;
  padding: 10px 15px;
  vertical-align: top;
}

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


/** -----------------------------------
    メッセージ
-------------------------------------**/



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

/** -----------------------------------
    お問い合わせ
-------------------------------------**/
#contact .text {
  text-align: center;
  margin: 0 auto;
}

.contact-info {
  margin: 50px 0;
  color: #333;
  text-align: center;
}

.contact-info p {
  margin: 5px 0;
  font-size: 20px;
}

.contact-info a {
  color: #4a90e2;
  text-decoration: none;
}

.contact-info a:hover {
  color: #357ab8;
  text-decoration: underline;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  box-sizing: border-box;
}

.contact-form {
  max-width: 600px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
}

.contact-form textarea {
  height: 100px;
}

.contact-form button {
  padding: 10px 20px;
  background-color: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #357ab8;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.submit-button {
  margin: 20px auto 0 auto;
  display: block;
  padding: 10px 20px;
  font-size: 16px;
}



.privacy-policy-container {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

#toggle-policy {
  margin-bottom: 10px;
}

.policy-content {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

.policy-content h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.policy-content h2 {
  font-size: 18px;
  color: #555;
  margin-top: 20px;
  border-left: 4px solid #007BFF;
  padding-left: 10px;
}

.policy-content p {
  font-size: 14px;
  color: #333;
  margin: 10px 0;
}

.policy-content ul {
  padding-left: 20px;
}

.policy-content ul li {
  margin-bottom: 8px;
}

/** -------- スマホ -------- **/
@media (max-width: 768px) {
  .contact-info {
    margin: 30px 0;
  }

  .contact-info p {
    font-size: 16px;
  }

  .contact-form {
    padding: 10px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 14px;
  }

  .contact-form button {
    font-size: 1em;
  }

  .privacy-policy-container {
    margin-bottom: 40px;
  }

  .policy-content h1 {
    font-size: 20px;
  }

  .policy-content h2 {
    font-size: 16px;
  }

  .policy-content p {
    font-size: 12px;
  }
}

/** -----------------------------------
    フッター
-------------------------------------**/
.footer {
  background-color: #0A072E;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.footer-copy {
  color: #cccccc;
  font-size: 12px;
}

