/*
Theme Name: Data Portability JP
Theme URI: https://example.com/
Author: あなたの名前
Author URI: https://example.com/
Description: Data Portability JP 公式サイト用シンプルLPテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dpjp
*/

/* 基本リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全体 */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #f7f9fc;
  line-height: 1.6;
  margin: 0;
}

/* ヘッダー */
.site-header {
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
  background: #004080;
  color: #fff;
  padding: 22px;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
}

.site-header .logo a {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.site-nav ul li a:hover {
  text-decoration: underline;
}


/* セクション */
.section {
  width: 100%;         /* 背景は横幅いっぱい */
  padding: 80px 0;     /* 上下の余白だけ */
  background: none;    /* 必要に応じて背景色設定 */
}
.section-inner {
  max-width: 1000px;   /* 中身だけ固定幅 */
  margin: 0 auto;
  padding: 0 20px;     /* 左右少し余白 */
}
.section h2 {
  color: #004080;
  margin-bottom: 20px;
  font-size: 2em;
}
.section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

/* LP専用セクション */

/* テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table th, table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}
table th {
  background: #e6f0ff;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 10px 25px;
  background: #004080;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.btn:hover {
  background: #00264d;
}

/* フォーム */
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.wpcf7-form input[type="submit"] {
  background: #004080;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.wpcf7-form input[type="submit"]:hover {
  background: #00264d;
}

/* 加盟企業リスト */
ul {
  padding-left: 20px;
}
ul li {
  margin-bottom: 5px;
}

/* ヒーローセクション */
.hero {
  width: 100%;
  height: 400px;
  background: url('<?php echo get_template_directory_uri(); ?>/assets/images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}
.hero p {
  font-size: 1.5em;
  margin-bottom: 30px;
}
.hero .btn {
  font-size: 1.2em;
  padding: 12px 30px;
}


/* フェードインアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


