/* ======================================================
   共通スタイル（YouPlan スマホサイト）
   Theme color: #ff8000
   Author: YOUPLAN Co., Ltd.
====================================================== */

/* --------------------------------
   基本設定
-------------------------------- */
html, body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #fff;
}


/* --------------------------------
   ヘッダー
-------------------------------- */
header {
  text-align: center;
  padding: 12px 0 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

header p {
  margin: 6px 0;
  font-size: 15px;
  color: #333;
}

header p:first-child {
  font-weight: bold;
  color: #666;
}

/* 電話受付時間（オレンジ） */
header p[style*="#ff8000"] {
  color: #ff8000 !important;
  font-weight: bold;
}

/* h1タイトル */
#hpb-headerMain h1 {
  font-size: 17px;
  font-weight: 600;
  margin: 12px 16px;
  color: #222;
}

/* 電話番号リンク */
#hpb-headerMain a[href^="tel:"] {
  display: inline-block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: bold;
  color: #0078d7;
  text-decoration: none;
  letter-spacing: 1px;
}

#hpb-headerMain a[href^="tel:"]:hover {
  text-decoration: underline;
}

/* --------------------------------
   ページトップへ
-------------------------------- */
.pagetop {
  text-align: right;
  margin: 20px;
}

/* --------------------------------
   P+やh4+で、テキスト中央へ
-------------------------------- */
.center-text {
  text-align: center;
}
/* --------------------------------
   ナビゲーション
-------------------------------- */
.main-nav {
  width: 100%;
  border-top: 1px solid #ccc;
}

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

.main-nav li {
  border-bottom: 1px solid #dcdcdc;
}

/* 背景の濃淡交互 */
.main-nav li:nth-child(odd) a { background-color: #e0e0e0; }
.main-nav li:nth-child(even) a { background-color: #f7f7f7; }

.main-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}

.main-nav a::after {
  content: "›";
  font-size: 18px;
  color: #999;
}

.main-nav a:hover {
  background-color: #ddd;
}

/* --------------------------------
   コンテンツ（トップページ画像など）
-------------------------------- */
.intro {
  text-align: center;
  margin: 20px auto;
  padding: 0 16px;
}

.intro figure {
  margin: 0 auto 24px;
}

.intro img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.intro-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.intro figcaption {
  margin-top: 8px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* --------------------------------
   お問い合わせボタン
-------------------------------- */
.contact-box {
  margin-top: 12px;
  text-align: center;
}

.contact-box a {
  display: inline-block;
  background-color: #ff8000;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-box a:hover {
  background-color: #e36c00;
  transform: translateY(-1px);
}

/* --------------------------------
   ブランドメッセージ・ヒーロー
-------------------------------- */
.hero-message {
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  border-left: 5px solid #ff8000;
  padding: 24px 16px;
  margin: 20px auto;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 8px;
}

.hero-message h1 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  line-height: 1.7;
}

.brand-message {
  text-align: center;
  padding: 24px 16px;
  border-top: 3px solid #ff8000;
  border-bottom: 3px solid #ff8000;
  background-color: #fff8f0;
  margin: 24px auto;
}

.brand-message h1 {
  font-size: 20px;
  font-weight: bold;
  color: #ff8000;
  margin-bottom: 8px;
}

.brand-message p {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
}

/* --------------------------------
   お問い合わせページ全体
-------------------------------- */
/* ===== ヘッダーの上下リンクラインデザイン ===== */
.contact-header {
  background: #ff8000;
  color: #fff;
  text-align: center;
  padding: 1.5em 0;
}
.contact-header p {
  font-size: 0.9em;
  margin-bottom: 0.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;  /* 左右リンクの間隔 */
  color: #fff;
}

.contact-header p::before,
.contact-header p::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.6); /* 白の半透明で上品 */
}

/* リンク文字は白で統一 */
.contact-header a {
  color: #fff;
  text-decoration: none;  /* 下線なしにするとスッキリ */
  font-weight: 500;
}

/* ホバーで軽く強調（PC閲覧にも優しい） */
.contact-header a:hover {
  text-decoration: underline;
}

.contact-header .pc-link {
  font-size: 0.9em;
  margin-bottom: 0.5em;
}

.page-title h2 {
  font-size: 1.6em;
  font-weight: 700;
}

.page-title .en {
  display: block;
  font-size: 0.8em;
  letter-spacing: 2px;
}

.contact-main {
  padding: 1.5em;
  background: #f9f9f9;
}

.lead {
  font-size: 1em;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.0em;
}

/* フォーム */
.contact-forms h3 {
  color: #ff8000;
  border-left: 6px solid #ff8000;
  padding-left: 10px;
  margin-bottom: 1em;
}

.form-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1.2em;
  margin-bottom: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-card h4 {
  margin-bottom: 0.8em;
  color: #333;
}

.btn-orange {
  display: inline-block;
  background: #ff8000;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-orange:hover {
  background: #e86e00;
}

.note {
  color: #ff8000;
  font-size: 0.9em;
  margin-top: 1em;
  text-align: center;
  line-height: 1.5;
}

/* 電話案内 */
.contact-phone {
  background: #fff;
  padding: 1.5em;
  margin-top: 2em;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-phone h3 {
  color: #ff8000;
  margin-bottom: 0.5em;
}

.contact-phone .tel {
  font-size: 1.6em;
  font-weight: bold;
  margin: 0.5em 0;
}

.contact-phone a {
  color: #333;
  text-decoration: none;
}

.contact-phone .hours {
  font-size: 0.9em;
  color: #555;
}

/* --------------------------------
   フッターエリア
-------------------------------- */
.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #bfbfbf;
  color: #fff;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.8;
}

footer {
  background-color: #f2f2f2;
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links a img.icon {
  width: 110;   /* 好みで大きさ調整OK */
  height: auto;
  display: block;
}

/* --------------------------------
   スマホ調整
-------------------------------- */
@media (max-width: 600px) {
  header { padding: 8px 0 16px; }
  #hpb-headerMain h1 { font-size: 16px; }
  #hpb-headerMain a[href^="tel:"] { font-size: 18px; }
  .main-nav a { font-size: 15px; padding: 12px 14px; }
  .intro figcaption { font-size: 14px; }
  .contact-box a { font-size: 16px; padding: 10px 16px; }
  .hero-message h1 { font-size: 16px; }
}

/* ===============================
   プライバシーポリシーページ用
================================== */
.policy-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.2em 1.5em;
  margin: 1.2em 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.policy-card h3 {
  color: #ff8000;
  font-size: 1.1em;
  border-left: 5px solid #ff8000;
  padding-left: 8px;
  margin-bottom: 0.8em;
}

.policy-card p,
.policy-card ul {
  font-size: 0.95em;
  color: #333;
  line-height: 1.7;
  margin: 0.5em 0;
}

.policy-card ul {
text-align: left;
  list-style-type: disc;
  padding-left: 1.5em;
}

.policy-card a {
  color: #007ACC;
  text-decoration: none;
}

.policy-card a:hover {
  text-decoration: underline;
}

/* =================================================
   業務内容ページ用 全部左側にオレンジのラインがつく
==================================================== */
.standard-card {
  background: #fff;
  border-radius: 10px;
  padding: 1em 1.2em;
  margin: 1em auto;   /* ← 中央揃え */;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  
  max-width: 600px;     /* ← 中央揃えには幅の指定が必要 */
  width: 90%;           /* ← スマホでは自動で調整 */
  
  display: block;          /* ← ブロック化追加！ */
  margin-left: auto;       /* ← 追加！ */
  margin-right: auto;      /* ← 追加！ */
}

.standard-card h3 {
  color: #ff8000;
  font-size: 1.1em;
  border-left: 5px solid #ff8000;
  padding-left: 8px;
  margin-bottom: 0.8em;
}

.standard-card p,
.standard-card ul {
  font-size: 0.95em;
  color: #333;
  line-height: 1.7;
  margin: 0.5em 0;
}

.standard-card ul {
  text-align: left;
  list-style-type: disc;
  padding-left: 1.5em;
}

.standard-card a {
  color: #007ACC;
  text-decoration: none;
}

.standard-card a:hover {
  text-decoration: underline;
}

.standard-main {
  padding: 10px; 
  background: #f9f9f9; 
  }
