/*
Theme Name: Guadian theme ver2.1
Author: Ogino Masanori
Version: 2.1
License: It is protected by copyright
*/
@charset "UTF-8";
div#__next {
    height: 0px;
}

/* 全体 */
.wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}

/* 入力エリア（カード感） */
.wpcf7 form {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* 各項目 */
.wpcf7 p {
  margin-bottom: 20px;
  position: relative;
}

/* ラベル（ある場合） */
.wpcf7 label {
  font-size: 13px;
  color: #666;
  display: block;
  margin-bottom: 6px;
}

/* 入力 */
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 16px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* フォーカス時（浮き上がる感じ） */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  background: #fff;
  border-color: #3b82f6;
  box-shadow: 0 6px 18px rgba(59,130,246,0.15);
  outline: none;
  transform: translateY(-2px);
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 140px;
}

/* プレースホルダー */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #9ca3af;
}

/* ボタン（グラデ） */
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 18px;
  border-radius: 9999px;
  border: none;
  font-weight: bold;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* hover */
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

/* 押した時 */
.wpcf7 input[type="submit"]:active {
  transform: scale(0.98);
}

/* エラー */
.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
}

/* 成功メッセージ */
.wpcf7-response-output {
  border: none;
  background: #f0fdf4;
  color: #166534;
  padding: 16px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

/* スマホ */
@media (max-width: 768px) {
  .wpcf7 form {
    padding: 20px;
  }
}
/* プライバシーポリシーページ */
.privacy-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 120px 24px 100px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
}

.privacy-page h1 {
  text-align: center;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.privacy-page .privacy-box {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid #edf2f7;
}

.privacy-page h2 {
    font-size: 35px !important;
    letter-spacing: 0.2em;
  font-weight: 800;
  margin: 56px 0 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid #2563eb;
  line-height: 1.5;
}

.privacy-page h2:first-child {
  margin-top: 0;
}
.privacy-page h3 {
  text-align: left !important;
  margin-top: 20px;
}
.privacy-page p,
.privacy-page li {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #444;
}

.privacy-page ul {
  margin: 16px 0 0;
  padding-left: 1.4em;
}

.privacy-page li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .privacy-page {
    padding: 90px 16px 70px;
  }

  .privacy-page .privacy-box {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .privacy-page h1 {
    margin-bottom: 36px;
  }

  .privacy-page h2 {
    margin-top: 40px;
  }

  .privacy-page p,
  .privacy-page li {
    font-size: 14px;
    line-height: 1.9;
  }
}
/* 会社概要テーブル */
/* WPデフォルト消す */
.wp-block-table td,
.wp-block-table th {
  border: none !important;
  padding: 0 !important;
}

/* 本体 */
.company-table {
  width: 100%;
  max-width: 900px;
  margin: 60px auto;
  border-collapse: collapse;
}

/* 行の区切り（超うっすら） */
.company-table tr + tr td,
.company-table tr + tr th {
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* 左（項目） */
.company-table th {
  width: 30%;
  padding: 20px 0;
  text-align: left;
  font-size: 13px;
  color: #9ca3af;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* 右（内容） */
.company-table td {
  padding: 20px 0;
  font-size: 16px;
  color: #111827;
  font-weight: 500;
}
.drawer-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fe 100%);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform .35s ease;
  padding: 32px 24px;
}

.drawer-menu.open {
  transform: translateX(0);
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 30px;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.drawer-nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-nav a {
  position: relative;
  display: block;
  padding: 20px 0;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(2, 63, 142, 0.12);
}

.drawer-nav a::after {
  content: "→";
  position: absolute;
  right: 0;
  color: #023f8e;
  font-weight: 700;
}

.drawer-nav a:first-child {
  border-top: 1px solid rgba(2, 63, 142, 0.12);
}

.drawer-nav a:hover {
  color: #023f8e;
}

@media (min-width: 768px) {
  .drawer-menu {
    display: none;
  }
}

.drawer-cta {
  display: block;
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #20c7b8, #023f8e);
  color: #fff !important;
  text-align: center;
  font-size: 18px !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(2, 63, 142, 0.22);
}