:root {
  --color-brand: #1a2b4c;       /* ブランドネイビー */
  --color-accent: #f9a825;      /* アクセントイエロー */
  --color-bg-light: #f5f7fa;    /* ページ背景 */
  --color-cta: #0078D4;
  --color-text-main: #333;      /* メインテキスト */
  --color-text-light: #fff;     /* 白文字 */ 
}

sp{
  color:#fff;
}

.sa{
  color:#fff;
}

html, body {
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Yu Gothic UI', sans-serif;
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
}

body:not(.top-page) {
  background-image: url('images/bg-vertical.jpg');

}

header {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 60px;
  background-color: var(--color-brand);
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.3rem 1rem;
  background-color: var(--color-brand);
  color: var(--color-text-light);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-left: auto;
  text-align: right;
  line-height: 1.4;
  order: 2;                   /* navより後に表示 */

}

.header-contact .phone {
  font-size: 1.5rem;
  font-weight: bold;
}

.header-contact .hours {
  font-size: 1.2rem;
  opacity: 0.85;
}

header h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.site-title {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin: 0;
}


.hero {
  position: relative;
  background: linear-gradient(to right, var(--color-brand), #0f1e3a);
  color: var(--color-text-light);
  text-align: center;
  padding: 40px 20px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.hero img {
  width: 100%;
  height: auto;
  z-index: 1;
  position: relative;
}

.hero-text {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  text-align: center;
}

.hero-text h2 {
  color: var(--color-text-light);
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0rem;
  text-align: center;
  background-color: var(--color-brand);
  color: var(--color-text-light);
  margin-top: 0px;
}

.cta-button {
  background-color: var(--color-cta);
  color: var(--color-text-light);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #009688;
}

.page-service {
  background-color: #f0f4f8;
  color: #333;
  padding: 40px 20px;
  font-family: sans-serif;
}

.page-service h2 {
  font-size: 2rem;
  color: #1a2b4c;
  border-left: 6px solid #f9a825;
  padding-left: 12px;
  margin-bottom: 24px;
}

.contact {
  text-align: center;
  padding: 2em;
  background-color: #e0f7fa;
}
.contact img {
  margin-top: 1em;
}

.contact-form {
  padding: 2em;
  background-color: #f0f8ff;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form form input[type=text],
.contact-form form input[type=email],
.contact-form form textarea {
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form form input[type=submit] {
  background-color: #004080;
  color: white;
  padding: 0.7em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form iframe {
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-options h3,
.contact-form h3 {
  font-size: 1.2em;
  margin-top: 1.5em;
  color: #333;
  display: flex;
  align-items: center;
}

.contact-options h3 span,
.contact-form h3 span {
  margin-right: 0.5em;
  font-size: 1.2em;
}


.company-info {
  background-color: #ffffff !important;
  padding: 40px 20px;
  max-width: 1000px;
  margin:  auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e0e0e0;
}

.company-info table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);


}

.company-info table th,
.company-info table td {
  padding: 1em;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.company-info table th {
  background-color: #f5faff !important;
  color: #1a2b4c !important;
  font-weight: bold;
  border-right: 1px solid #ddd;
  width: 30%;
}

.company-info table td a {
  color: var(--color-cta);
  text-decoration: underline;
}

.company-info table td a:hover {
  text-decoration: none;
  color: #004d40;
}

.contact-options {
  background-color: #fce4ec; /* 淡いピンクで親しみやすさ */
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contact-box {
  background-color: #fff;
  border: 3px solid var(--color-accent);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
}

.contact-box h2 {
  font-size: 1.6rem;
  color: var(--color-brand);
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.contact-box img {
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-box img:hover {
  transform: scale(1.05);
}

.phone-button {
  display: inline-block;
  font-size: 1.5rem;         /* ← 番号を大きく！ */
  font-weight: bold;       /* ← 太字で強調 */
  padding: 1em 1.5em;
  margin-top: 1em;
  background-color: var(--color-cta);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.05em;  /* ← 数字の読みやすさ向上 */
}

.phone-button:hover {
  background-color: #009688;
  transform: scale(1.05);
}

/* 料金表ページ全体の背景と文字色 */
.price-table {
  background-color: #e8f5e9; /* 淡いグリーンで安心感 */
  color: #333;
  padding: 40px 20px;
  font-family: sans-serif;
}


.price-table h3 {
  font-size: 1.3em;
  margin-top: 1.5em;
  color: #333;
  display: flex;
  align-items: center;

}

.price-table h3 span[aria-hidden="true"] {
  margin-right: 0.5em;
  font-size: 1.2em;
}


/* キャンペーンボックス */
.price-campaign {
  background-color: #fffde7; /* 淡いイエロー */
  border-left: 6px solid #f9a825;
  margin: 20px 0;
  border-radius: 8px;
}

.price-campaign .highlight {
  color: #d84315; /* 割引強調：赤系 */
  font-weight: bold;
}

.campaign-note {
  font-size: 0.9rem;
  color: #666;
}

/* 強調料金 */
.fee-highlight {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1a2b4c;
}

/* テーブル全体の枠線とグリッド感 */
.price-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: transparent;
  margin-bottom: 40px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border: 1px solid #ccc; /* 外枠追加 */
}


/* ヘッダー行の強調 */
.price-table th {
  background-color: #c8e6c9 !important;
  padding: 12px;
  text-align: left;
  border: 1px solid #bbb; /* グリッド線追加 */
}

/* 通常行の区切り */
.price-table td {
  padding: 12px;
  border: 1px solid #ddd; /* グリッド線追加 */
}




/* セクション間の余白 */
.price-table h3 {
  margin-top: 40px;
  margin-bottom: 12px;
  border-bottom: 2px solid #f9a825;
  padding-bottom: 4px;
  color: #00796b;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f1f8e9;
}

.price-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}



footer {
  background-color: var(--color-brand);
  text-align: center;
  padding: 0.8em;
  font-size: 0.9em;
  color: white; 

}
/* 共通見出し */
.section-title {
  font-size: 1.4em;
  border-bottom: 2px solid #f7f9fa;
  padding-bottom: 0.3em;
  margin-top: 1em;
  color: #fcfdfd;
}


.section-lead {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 2em;
  color:  #fff;
}

.card {
  background-color: #fff;
  border-left: 6px solid #f9a825;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  flex-shrink: 0;  
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  color: #1a2b4c;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #333;
}


.service-cards .card:nth-child(even) {
  background-color: #f0f8ff;
}

.go-price {
  margin: 0em 0;
  text-align: center;
  font-size: 1.1em;
  
}

.go-services, .go-price {
  background-color: #fffde7; /* 淡いイエローで誘導 */
  padding: 20px;
  text-align: center;
  border-top: 2px solid var(--color-accent);
  margin: auto;
  margin-bottom: 12px;
}

.go-services a, .go-price a {
  color: var(--color-brand);
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 0;
}
.service-cards .card:nth-child(odd) {
  background-color: #ffffff;
}

.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
}

.services h3 {
  font-size: 1.2em;
  margin-top: 1em;
  color: #333;
  display: flex;
  align-items: center;
}

.services h3 span[aria-hidden="true"] {
  margin-right: 0.5em;
  font-size: 1.2em;
}


.site-title {
  text-align: center;
  padding: 1em 0;
}

.site-title h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.site-title .tagline {
  font-size: 1.1em;
  color: #f0f8ff;
  margin-top: 0.3em;
  font-style: italic;
}

.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card a:hover {
  opacity: 0.95;
}
.service-detail {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  padding-top: 100px;
}

.service-detail img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.service-detail h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service-detail p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-detail ul li {
  margin-bottom: 0.5rem;
  color:  #fff;
}
.card-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1em;

}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin-top: 2em;

}


/* ご挨拶ページ専用スタイル */
.greeting {
  background-color: #fafafa;
  color: var(--color-text-main);
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  padding: 60px 20px;
  line-height: 1.9;
  font-size: 5rem;
}

.greeting h2 {
  font-size: 2rem;
  color: var(--color-brand);
  border-left: 6px solid var(--color-accent);
  padding-left: 12px;
  margin-bottom: 30px;
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
}

/* 挨拶文カード */
.greeting-card {
  font-family: 'Shippori Mincho B1', 'Yu Mincho', serif;
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 600;
  color: var(--color-text-main);
  background-color: var(--color-bg-card);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 850px;
  margin: 0 auto;
}


.greeting-card p {
  margin-bottom: 1.5em;
  text-indent: 1.5em;
}

/* 署名部分 */
.signature {
  text-align: right;
  font-weight: bold;
  margin-top: 2rem;
  font-size: 1.3rem;
}

.remote-support-benefit {
  border: 2px solid #0078D4;
  background-color: #F3F9FF;
  padding: 1em;
  margin-top: 1.5em;
  border-radius: 8px;
}

.remote-support-benefit h4 {
  margin-top: 0;
  color: #FFA500;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 0.5em;
}

.remote-support-benefit .note {
  font-size: 0.95em;
  color: #555;
}

.highlight-red {
  color: #d60000; /* 落ち着いた赤。目立ちすぎない安心感 */
  font-weight: bold;
}

.nav-menu {
  display: block;
  color: rgb(248, 243, 243);
  order: 1;
  margin-left: auto;
}

.nav-menu a {
  color: white;            /* 通常リンクを白に */
  text-decoration: none;   /* 下線を消す場合 */
  font-size: 1rem;
}

.nav-menu a:visited {
  color: white;            /* 訪問済みリンクも白に */
}

.nav-menu a:hover {
  color: #ffcc00;          /* ホバー時は黄色などにすると分かりやすい */
}

.nav-menu a:active {
  color: #ff6600;          /* クリック時の色 */
}

.nav-menu ul{
  display: flex;             /*横並びにする*/
  flex-direction: row;       /*横方向*/
  gap: 1rem;                 /*リンク間の余白*/
  list-style: none;          /*リストマーカーを消す*/
  margin: 0;
  padding: 0;       
}

.hamburger {
  display: none;
}




@media (max-width: 768px){
  .header {
    padding: 8px 10px;   /* スマホ用にさらに余白を減らす */
   
  }
  .header-inner {
    flex-direction: column; /* 縦積みにして高さを抑える */
    align-items: center;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.active {
    display: block;
  }
  .nav-menu ul {
    flex-direction: column; /* 縦並び */
    align-items: center;
  }
  .nav-menu a {
    display: block;
    padding: 10px;
    font-size: 1.2rem;
  }
  
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    text-align: center;
  }

  .header-contact {
    display: flex;
    flex-direction: column; /* 縦並びにして横幅オーバーを防ぐ */
    align-items: center;
    font-size: 0.9rem;

  }

  .phone {
    font-size: 1.1rem;
  }

  .hours {
    font-size: 1.2rem;   /* PCより小さめに */
    text-align: center;  /* 中央寄せで収まりやすく */

  }

  .site-title {
    font-size: 1.2rem;
    text-align: center;  /* 中央寄せで収まりやすく */

  }

  
  .hamburger {
    display: flex;   /* スマホでは表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #f5f0f0;
    margin: 3px 0;
  }



  .phone-button {
    font-size: 1.2rem;
    padding: 1em;
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
    margin: 0.5em auto;
  }

  .price-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .services {
    padding: 1em;
  }

  body:not(.top-page) {
  background-image: url('images/bg-horizontal.jpg');
  }
  
  .hero-banner {
   margin-top: 0px;
   padding: 0rem;

  }
  
  .responsive-table, 
  .responsive-table thead, 
  .responsive-table tbody, 
  .responsive-table th, 
  .responsive-table td, 
  .responsive-table tr {
    display: block;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 0.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .responsive-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    border: none;
  }

  .responsive-table td::before {
   display: none; /* ラベルを非表示 */
    content: none;

  }
}

