/* 共通 */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.register-container {
    width: 300px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
}


/* 見出し系<h1>とかのサイズ背景色あり */
.section-title {
    font-size: 20px;
    font-weight: bold;
    background-color: #00aeffb6; /* 青の背景色 */
    color: #ffffff; /* テキストを少し濃い色にして強調 */
    padding: 15px 20px; /* 余白を増やして見やすく */
    /*border-radius: 8px; /* 角を少し丸めて柔らかい印象に */
    margin-top: 25px;
    margin-bottom: 25px; /* セクションの下に余白 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 軽い影を追加して立体感を */
    text-align: center; /* タイトルを中央揃えに */
    border-radius: 5px;
}


/* 重複後で手直し */
input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}


/* 共通のフォームコンテナスタイル */
.form-container {
    width: 100%;
    max-width: 1000px; /* 横幅を広く設定 */
    margin: 50px auto;
    background-color: #fff;
    padding: 30px; /* パディングを少し増やして、フォームに余裕を持たせる */
    border-radius: 10px; /* 角を少し丸くして、柔らかい印象に */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* 影を少し強めに */
    text-align: center; /* 親要素で中央揃えを強制 */
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px; /* h2とフォームの間に余白を増やす */
}

.form-container label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #333;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"] {
    width: 100%;
    padding: 12px; /* パディングを少し増やして、入力がしやすいように */
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-container button {
    width: 100%;
    padding: 15px;
    background-color:#616161; /* 濃いグレー */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px; /* フォームフィールドとボタンの間に余白を追加 */
    margin-bottom: 30px; /* ボタンの下に余白を追加 */
}

.form-container button:hover {
    background-color: #4b4a4a; /* ホバー時にさらに濃く */
}

.form-container a {
    display: inline-block; /* インライン要素をブロックレベル要素として扱い */
    width: auto; /* 横幅を自動に設定（コンテンツに応じて調整） */
    max-width: 100px; /* 最大幅を指定して、横幅を狭める */
    padding: 8px 5px; /* 横方向のパディングを設定してボタンの幅を調整 */
    background-color: #727070; /* グレー */
    color: white; /* 文字色を白に設定 */
    text-align: center; /* テキストを中央揃えに */
    text-decoration: none; /* 下線を削除 */
    border-radius: 4px; /* ボタンの角を丸く */
    font-size: 18px; /* フォントサイズ */
    margin: 5px auto; /* 上下の余白を追加し、左右を自動に設定して中央寄せ */
    display: block; /* 横幅を中央寄せするためにブロック要素に変更 */
    transition: background-color 0.3s ease; /* ホバー時の色変更のトランジション */
}

.form-container a:hover {
    background-color: #4b4a4a; /* ホバー時にさらに濃いグレー */
}

.form-container .special-link {
    background-color: #0093f5;  /* アクセントの色 */
    color: #fff; /* 白い文字 */
    padding: 15px 25px;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin: 30px auto; /* 上下の余白と、中央寄せ */
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: auto; /* 幅を自動に設定 */
    max-width: 300px; /* 最大幅を指定して、横幅を狭める */
}

.form-container .special-link:hover {
    background-color:  #0073c0; /* ホバー時の濃い色 */
    color: #fff; /* ホバー時も文字色は白 */
}


/* フィルターフォームのスタイル */
.filter-form-wrapper {
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    padding: 20px 0;         /* 線とフィルターフォームの間に余白を追加 */
    /*border-top: 1px solid #ccc; /* 上部の薄いグレーの線 */
    /*border-bottom: 1px solid #ccc; /* 下部の薄いグレーの線 */
}

.filter-form {
    display: flex;
    /* flex-direction: column;  /* フィルターフォーム内の要素を縦に並べる */
    gap: 10px;               /* 各要素の間に余白 */
    align-items: flex-start; /* ラベルとセレクトを左揃えに */
}

.filter-form .filter-group {
    display: flex;
    align-items: center; /* ラベルとセレクトを横並び */
    gap: 10px;           /* ラベルとセレクトの間に余白 */
}

.filter-form label {
    font-size: 16px;
    font-weight: bold;
}

.filter-form select {
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f4f4f4;
}

.filter-form button {
    width: auto;           /* ボタンの幅を自動に */
    padding: 8px 10px;
    background-color: #616161;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;    /* ボタンを中央揃えに */
    margin-top: 1px;       /* 上の要素と少し距離を取る */
    margin-bottom: 0;      /* ボタン下の余白を削除 */
}

.filter-form button:hover {
    background-color: #4b4a4a; /* ホバー時の色 */
}


/* 汎用的なコンテンツボックススタイル */
.content-box {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
    /*border-radius: 8px;*/
    background-color: #ffffff;  /* 背景色を薄いグレーに */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);  /* ボックスに濃い影を追加 */
}


/* header.php */
/* ヘッダー専用のスタイル - 他と差別化するために接頭辞を追加 */
header.cf-header {
    background-color: #007BFF;  /* ヘッダーにのみ適用 */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    /* position: fixed;*/
    position: sticky;
    top: 0;
    z-index: 1000; /* 他の要素より前面に表示 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 下に影をつけて浮かせる */
    width: 100%;
}

header.cf-header .cf-logo a {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

header.cf-header .cf-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding-right: 30px;
}

header.cf-header .cf-nav ul li a {
    color: white;
    font-weight: bold;
}



header.cf-header .cf-highlight-btn {
    background-color: #ffcc00;
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
}

header.cf-header .cf-highlight-btn:hover {
    background-color: #e6b800;
}


header.cf-header a {
    display: inline-block;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
}

header.cf-header a:hover {
    background-color: #0056b3;
}





/* footer.php */
/* フッター専用のスタイル */
.cf-footer {
    background-color: #333;
    color: white;
    padding: 40px;
    text-align: center;
}

.cf-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.cf-footer-nav ul li {
    display: inline;
    margin: 0 10px;
}


/* フッターのリンク背景色を透明にする */
.cf-footer-nav a {
    display: inline-block; /* フッター内のリンクをインラインブロックに設定 */
    text-decoration: none;
    padding: 10px;
    color: white;
    background-color: transparent;
}

.cf-footer-nav a:hover {
    background-color: transparent;
    color: #e6b800;
}

.cf-footer p {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

footer a {
    display: inline-block; /* フッターのリンクをインラインブロックに戻す */
}



/* index.php */

/* LPページ専用のスタイル */
.lp-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* ヒーローセクションのスタイル */
.lp-hero {
    position: relative;
    background-image: url('img/CreateFlow.png'); /* 背景画像のパス */
    background-size: cover; /* 画像をセクションに合わせて拡大 */
    background-position: center; /* 画像を中央配置 */
    background-attachment: fixed; /* スクロール時に背景を固定 */
    padding: 100px 20px; /* 上下のパディングを大きめに設定 */
    color: white; /* テキストを白に */
    text-align: center; /* テキストを中央に配置 */
    background-repeat: no-repeat; /* 空白部分に繰り返し表示されないように */
    height: 500px; 
}

/* 背景画像に透過オーバーレイを追加 */
.lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.144); /* 背景に半透明の黒オーバーレイを追加 */
    z-index: -1; /* オーバーレイをテキストの背後に配置 */
}


/* hero-content 内のテキストスタイル */
.lp-hero .hero-content {
    position: relative;
    z-index: 1; /* テキストをオーバーレイより前面に表示 */
    padding: 150px 0;
}

.lp-hero h1 {
    /*font-size: 48px;*/
    margin-bottom: 20px;
    font-size: 3rem; /* 見出しのフォントサイズ */
    font-weight: bold;
    font-family: serif;
}

.lp-hero p {
    /* font-size: 18px;
    margin-bottom: 40px;*/

    font-size: 1.2rem;
    margin-bottom: 30px;
    
}

.lp-cta-btn {
    display: inline-block; /* ボタンの幅を文字に合わせる */
    background-color: #ffcc00;
    padding: 15px 25px; /* パディングは余白を調整 */
    border-radius: 5px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center; /* テキストを中央に揃える */
    width: auto; /* 幅を自動で文字に合わせる */
    text-decoration: none; /* アンダーラインを消す */
}

.lp-cta-btn:hover {
    background-color: #e6b800;
}

/* サービス紹介セクションのスタイル */
.lp-features {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.lp-features h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    font-weight: bold;
}

.lp-feature-list {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.lp-feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* カードのホバー効果 */
.lp-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
}

/* 機能タイトルのスタイル */
.lp-feature-item h3 {
    font-size: 28px;
    color: #015cbd;
    margin-bottom: 15px;
}

/* 機能説明のスタイル */
.lp-feature-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* 行動喚起セクションのスタイル */
.lp-cta {
    padding: 60px 20px;
    text-align: center;
}

.lp-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.lp-cta p {
    font-size: 18px;
    margin-bottom: 40px;
}



/* dashboard.php */

/* ダッシュボードの依頼履歴テーブルのスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ccc;
}

th {
    padding: 10px;
    text-align: left;
    background-color: #e0e0e0; /* ヘッダーの背景色を淡いグレー */
    color: #333; /* テキストカラー */
}



tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* 偶数行の背景を淡いグレー */
}

th, td {
    padding: 10px;
    text-align: left;
}





/* 依頼詳細ページのスタイル */
.request-details-container {
    width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}





/* privacy-policy.php */

.privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

.privacy-policy h2 {
    color: #2c3e50;
    margin-top: 20px;
    padding-bottom: 5px;
    text-align: center; /* Ensure heading is left-aligned */
}

.privacy-policy h3 {
    color: #2c3e50;
    margin-top: 30px;
    border-bottom: solid 1px rgb(185, 185, 185);
    padding-bottom: 5px;
    text-align: left; /* Ensure heading is left-aligned */
}

.privacy-policy p {
    margin: 10px 0;
    padding: 5px 0;
    text-align: left; /* Ensure paragraphs are left-aligned */
}

.privacy-policy ul {
    padding-left: 20px;
    margin: 10px 0;
    text-align: left; /* Ensure unordered lists are left-aligned */
}

.privacy-policy ul li {
    margin-bottom: 8px;
    text-align: left; /* Ensure list items are left-aligned */
}

/* Container Styling */
.privacy-policy .form-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Link Styling */
.privacy-policy a {
    color: #ffffff; /* 文字色を適用 */
    text-decoration: none;
    display: inline; /* インライン要素として設定 */
    margin: 0 5px;
    padding: 5px 5px;
}

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




/* tokushoho.php */
/* Tokushoho-specific styles */
.tokushoho-page {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.tokushoho-page .form-container {
    max-width: 900px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tokushoho-page h2 {
    color: #2c3e50;
    margin-top: 20px;
    padding-bottom: 5px;
}

.tokushoho-page h3 {
    color: #2c3e50;
    margin-top: 20px;
    border-bottom: solid 1px rgb(185, 185, 185);
    padding-bottom: 5px;
}

.tokushoho-page .tokushoho-section {
    margin-bottom: 20px;
}

.tokushoho-page .tokushoho-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    background-color: #ffffff;
}

.tokushoho-page .tokushoho-text {
    margin: 5px 0 15px 0;
    padding: 5px;
    background-color: #ffffff;
    padding-left: 10px;
}

/*terms.php*/
/* terms.php 専用のスタイル */
.terms-container {
    width: 96%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.terms-container h2 {
    text-align: center;
    margin: 20px 0;
    color: #2c3e50;
    padding-bottom: 5px;
}

.terms-container h3 {
    font-size: 18px;
    margin: 30px 0;
    color: #333;
    text-align: left;
    border-bottom: solid 1px rgb(185, 185, 185);
}

.terms-container .policy-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.terms-container ul {
    list-style: none;
    padding-left: 0;
}

.terms-container ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.terms-container .section-border {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.terms-container .policy-container {
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
}





/* ---------------------------------------------------------------- */





/* ログインページ用のスタイル */
.login-container, .dashboard-container {
    width: 300px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}



/* LP作成依頼フォーム用のスタイル */
.request-form-container {
    width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 支払いページと納品ページのスタイル */
.payment-container, .delivery-container {
    width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.flash-ok{background:#e7f7ec;color:#155724;border:1px solid #c3e6cb;padding:12px 14px;border-radius:8px;margin:12px 0 16px;font-weight:600;}

/* お支払い金額 行のハイライト */
.amount-row {
  position: relative;
  background: linear-gradient(90deg, #fff 0%, #f7fbff 30%, #eef7ff 100%);
}
.amount-row th,
.amount-row td {
  border-top: 2px solid #e3f0ff;
  border-bottom: 2px solid #e3f0ff;
}

/* 左にアクセントバー */
.amount-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #2f80ed, #56ccf2);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* 金額の見た目を大きく力強く */
.amount-row .yen-mark {
  font-size: 18px;
  color: #2f80ed;
  margin-right: 4px;
  font-weight: 700;
  vertical-align: baseline;
}
.amount-row .amount-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0b3d91;
}

/* 「未設定」用の控えめカラー */
.amount-row .muted {
  color: #6b7280;
}

/* 表全体がギザギザしないように角丸と余白（任意） */
table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
}
table th, table td {
  padding: 12px 14px;
}


