@charset "utf-8";
/*
Theme Name: 株式会社ビジネスサポート10
Theme URI: http://localhost/business_support_w
Author: k.inoue
Author URI: http://localhost
Description: 株式会社ビジネスサポート10のテンプレート
Version: 1.0
*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.8;
  color: #333;
}

img {
  vertical-align: bottom;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #333;
}

/* ヘッダー */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

/* ロゴの表示 */
.site-logo::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url('image/bs10-rogo.png');
  background-position: center;
  background-size: contain;
}

header h1 a {
  color: #1d4ed8;
  text-decoration: none;
  font-size: 24px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #1d4ed8;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: #1d4ed8;
  color: white;
}

.btn.primary:hover {
  background: #1e40af;
}

.btn:not(.primary) {
  background: transparent;
  color: #1d4ed8;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  border: 2px solid #1d4ed8;
}

.btn:not(.primary):hover {
  background: #1d4ed8;
  color: white;
}

/* ヒーローセクション */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('image/main-img-3.jpg') no-repeat center;
  background-size: cover;
  padding: 80px 0;
  text-align: center;
}

.hero .box-black {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-text-area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text-area h2 {
  font-size: 48px;
  color: #1e40af;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  margin-bottom: 20px;
  text-align: center;
}

.hero-text-area p {
  font-size: 30px;
  font-weight: bold;
  color: #1d4ed8;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  margin-bottom: 40px;
  text-align: center;
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* セクション */
.about {
  padding-top: 60px;
}

.notice {
  padding: 60px 0;
}

.services {
  padding: 60px 0;
  background: #f9fafb;
}

.contact {
  background: #fff;
}

section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

/* アバウト */
.hello-img span {
  display: block;
  margin-top: 10px;
  color: #1d4ed8;
  font-size: 16px;
  text-align: center;
}

.hello-img {
  float: right;
  width: 25%;
  margin: 0 0 12px 12px;
}

.hello-img img {
  max-width: 100%;
  height: auto;
}

/* サービスグリッド */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.service-img {
  height: 300px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 20px;
  margin: 15px 0;
  color: #1d4ed8;
  text-align: center;
}

/* 情報ボックス */
.info-box {
  background: #eff6ff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

.info-box h3 {
  margin-bottom: 10px;
  color: #1d4ed8;
}

/* お知らせ */
.notice a {
  text-decoration: none;
}

.notice ul {
  list-style: none;
}

.notice li {
  display: flex;
  margin-bottom: 10px;
  padding-top: 10px;
  border-top: solid 1px #101010;
}

.notice li:nth-last-child(1) {
  padding-bottom: 10px;
  border-bottom: solid 1px #101010;
}

.notice p {
  display: inline;
  margin-left: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1d4ed8;
}

/* ページコンテンツ */
.page-content {
  padding: 60px 0;
}

.page-content h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.content-box {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* テーブル */
.info-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.info-table th {
  background: #f9fafb;
  font-weight: 500;
  width: 30%;
}

/* サービス詳細 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-detail {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-detail h3 {
  color: #1d4ed8;
  margin-bottom: 10px;
}

.service-detail ul {
  margin-top: 15px;
  padding-left: 20px;
}

.service-detail li {
  margin-bottom: 8px;
}

/* プロセス */
.process {
  background: #eff6ff;
  padding: 40px;
  border-radius: 8px;
  margin: 40px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.step {
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #1d4ed8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
  font-size: 18px;
}

/* お問い合わせページ */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: block;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  color: #baccfb;
  margin-bottom: 10px;
}

.contact-form-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* CTA */
.cta {
  text-align: center;
  margin-top: 40px;
}

/* フッター */
footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* レスポンシブ  ホーム画面 */
@media (max-width: 1025px) {
  .hero-text-area {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .menu-btn {
      display: block;
  }
  
  nav {
      display: none;
  }
  
  .hero-text-area h2 {
      font-size: 32px;
  }
  
  .hero-text-area p {
      font-size: 18px;
  }

  .notice p {
    display: block;
    margin: 0;
  }
  
  .buttons {
      flex-direction: column;
      align-items: center;
  }

  .about h3,
  .services h3 {
    margin: 10px 0;
    font-size: 16px;
  }

  .hello-img {
    margin: 0 0 20px 0;
  }
  
  .contact-info,
  .contact-page {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .service-grid,
  .services-grid {
      grid-template-columns: 1fr;
  }

  .service-img {
  height: 200px;
}
  
  .process-steps {
      grid-template-columns: 1fr;
  }
  
  .container {
      padding: 0 15px;
  }
}

@media (max-width: 400px) {
  header h1 a {
    font-size: 18px;
  }

  .hero-text-area h2 {
    font-size: 28px;
  }

  .hero-text-area p {
    font-size: 20px;
  }

  .about h2,
  .notice h2,
  .services h2 {
    font-size: 28px;
  }

  .hello-img span {
    font-size: 8px;
  }
}

/* レスポンシブ 会社概要画面 */
@media (max-width: 400px) {
  .content-box {
    padding: 15px;
  }
  
  .content-box h2 {
    font-size: 24px !important;
  }

  .info-table th {
  width: 25%;
  }
  
  .info-table th,
  .info-table td {
    font-size: 12px;
  }
}

/* レスポンシブ お問い合わせ画面 */
@media (max-width: 400px) {
  .page-content h1 {
    display: none;
  }

  .page-content h2 {
    font-size: 24px;
  }
}

/* 投稿ページ（single.php） */
.single-post .site-main {
    padding: 60px 20px;
    background: #f9fafb;
}

.single-post article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.single-post .entry-title {
    font-size: 32px;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.single-post .entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.single-post .entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.single-post .entry-footer {
    margin-top: 30px;
    font-size: 14px;
    color: #555;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #ccc;
    margin-top: 30px;
}

.nav-previous,
.nav-next {
    width: 45%;
    text-align: center;
    font-size: 14px;
}

.nav-previous a,
.nav-next a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
}

.no-link {
    color: #999;
    font-style: italic;
}


/* レスポンシブ */
@media (max-width: 768px) {
    .single-post article {
        padding: 20px;
    }

    .single-post .entry-title {
        font-size: 24px;
    }

    .single-post .entry-content {
        font-size: 15px;
    }

    .single-post .post-navigation {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
