/* =========================================
   CreateGoods - Global Stylesheet
   Version: 1.12 (2025-12)
   ========================================= */

/* ========== Reset ========== */
* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --header-h: 6rem;
  --main-bg: #21C3D9;      /* 薄ブルー（背景） */
  --main-text: #012C40;    /* 濃ブルー（文字） */
  --button-bg: #d8f9fc;    /* 白に近い水色（ボタン内側） */
}

/* ========== Base ========== */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--main-text);
  background: var(--main-bg);
  margin: 0;
  padding-top: var(--header-h);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: var(--main-bg);
  border-bottom: 2px solid var(--main-text);
  z-index: 1000;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img { height: 50px; width: auto; display:block; }

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  color: var(--main-text);
  text-decoration: none;
  font-weight: bold;
}
.site-nav a:hover { text-decoration: underline; }

@media (max-width: 768px){
  .site-header { transition: transform .25s ease, opacity .25s ease; }
  .site-header.is-hidden { transform: translateY(-100%); opacity:0; }
}

/* ========== Main Sections ========== */
#main-visual {
  text-align: center;
  margin: 0 auto 2rem;
  padding: 1rem;
}

section {
  margin: 3rem auto;
  max-width: 900px;
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 2px solid var(--main-text);
}
section:last-of-type { border-bottom: none; }

section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--main-text);
  display: inline-block;
  padding-bottom: .3rem;
}
section p { margin: 0.5rem 0; }

/* ========== Hero Section ========== */
.hero {
  text-align: center;
  padding: 5rem 1rem;
}
.hero-inner img {
  max-width: 80%;
  height: auto;
  margin-bottom: 1rem;
}
.hero-inner p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* ========== What's New ========== */
.home-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.home-news-list li { margin-bottom: .5rem; }
.home-news-list a {
  display: inline-block;
  color: var(--main-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(1,44,64,.4);
  padding-bottom: .2rem;
}
.home-news-list a:hover { border-color: var(--main-text); }

/* ========== Buttons ========== */
.button-link {
  display: inline-block;
  background: var(--main-text);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--main-text);
  transition: all 0.3s ease;
}
.button-link:hover {
  background: var(--button-bg);
  color: var(--main-text);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--main-bg);
  border-top: 2px solid var(--main-text);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--main-text);
}
.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  margin: 0 0 1rem 0;
  padding: 0;
}
.footer-nav a {
  color: var(--main-text);
  text-decoration: none;
  font-weight: bold;
}
.footer-nav a:hover { text-decoration: underline; }
.footer-counter { margin: 0.5rem 0; }
.footer-copy {
  font-size: 0.85rem;
  color: var(--main-text);
  opacity: 0.85;
}

/* =========================================
   QUOTE PAGE SECTION
   ========================================= */
.quote-intro {
  background: rgba(255,255,255,0.8);
  border: 2px solid var(--main-text);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
  line-height: 1.8;
}
.quote-intro p { margin-bottom: 1.2rem; }
.quote-intro ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
  list-style: disc;
}
.quote-intro li { margin-bottom: .4rem; }

.quote-block {
  margin-bottom: 3rem;
  padding: 1rem;
  border: 2px solid var(--main-text);
  border-radius: 8px;
  background: #d8f9fc;
}
.quote-header {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: .3rem;
  color: var(--main-text);
}
.quote-date {
  font-size: .9rem;
  color: #333;
  margin-bottom: .8rem;
}

/* ===== テーブル部分 ===== */
table.quote-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 2px solid var(--main-text);
  border-radius: 10px;
  overflow: hidden;
  margin-top: .5rem;
}
table.quote-table th,
table.quote-table td {
  border: 1px dashed rgba(1,44,64,0.5);
  padding: 6px 10px;
}
table.quote-table th:first-child,
table.quote-table td:first-child {
  white-space: normal;
  text-align: left;
  width: 40%;
}
table.quote-table th:nth-child(2),
table.quote-table td:nth-child(2),
table.quote-table th:nth-child(3),
table.quote-table td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}
table.quote-table th:nth-child(4),
table.quote-table td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}
table.quote-table th:nth-child(5),
table.quote-table td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
}
table.quote-table tbody tr:nth-child(odd) {
  background: rgba(0,0,0,0.02);
}
.quote-total {
  text-align: right;
  font-weight: bold;
  padding-top: .6rem;
  color: var(--main-text);
}
.quote-buttons {
  text-align: center;
  margin: 2rem 0;
}

/* ===== Googleフォーム埋め込み用 ===== */
.form-wrapper {
  width: 100%;
  height: 1200px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.form-wrapper iframe {
  width: 100%;
  height: 1400px;
  border: none;
  margin-top: -160px; /* ヘッダー画像を隠す */
}
