@charset "UTF-8";

/* ================================
   ベース
================================ */
:root {
    --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --bg: #f5f3ef;
    --card: #ffffff;
    --accent: #502d16;
    --accent-light: #3f7aa8;
    --border: #ddd;
    --text: #333;
}

/* 横スクロール完全防止 */
html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: var(--bg);
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.7;
}

.container {
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px;
    position: relative;
}

.ad-label {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-bottom: 4px;
}

/* ================================
   ヘッダー
================================ */
.site-header {
  width: 100%;
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.header-left {
  display: flex;
  margin: 0 auto;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.header-left:hover {
  opacity: 0.85;
}

.logo {
  height: 56px;
  margin-right: -8px;
}

.siteName {
  height: 46px;
  display: block;
}

/* ================================
   ハンバーガーボタン
================================ */
.menu-button {
  width: 36px;
  height: 36px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-button:hover {
  background: none;
}

.slide-menu {
  position: absolute;
  top: 56px;
  right: 0;
  width: 0;
  overflow: hidden;
  background: #fff;
  border-left: 1px solid #eee;
  box-shadow: -2px 0 6px rgba(0,0,0,0.05);
  transition: width 0.3s ease, padding 0.3s ease;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  z-index: 999;
}

.slide-menu a {
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  font-size: 1em;
}

.slide-menu a:hover {
  color: #666;
}

/* 開いたとき */
.slide-menu.open {
  width: 200px;
  padding: 16px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ================================
   見出し
================================ */
h1 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--accent);
}

/* ================================
   カード（フォーム）
================================ */
form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* ================================
   入力フィールド
================================ */
.field {
    margin-bottom: 22px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

input[type="text"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
}

input[type="date"].input-like {
    background-color: #fff !important;
    color: #000;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(42, 92, 130, 0.15);
    outline: none;
}

.note {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.input-like {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    resize: none;
    overflow-y: hidden;
    line-height: 1.4;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ================================
   ボタン
================================ */
button,
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #2773ae;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover,
input[type="submit"]:hover {
    background: var(--accent-light);
}


/* ================================
   SNS
================================ */
.sns-share {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.sns-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #5a4632;
  font-size: 16px;
}

.sns-title::before,
.sns-title::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #5a4632;
  margin: 0 1em;
}

.sns-title span {
  /*! padding: 0 1em; */
  background: var(--bg);
}

.sns-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.sns-icons img {
  width: 50px;
  height: 50px;
  border: 1px solid #d8cbb8;
  border-radius: 50%;
  padding: 4px;
  transition: opacity 0.25s ease;
}

.sns-icons img:hover {
  opacity: 0.6;
}


/* ================================
   フッター
================================ */
.footer-wrapper {
    text-align: center;
    padding: 10px 0 40px;
    color: #5a4632;
    font-size: 14px;
    opacity: 0.85;
}

.footer-home {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
    text-decoration: none;
    color: #5a4632;
}

.footer-home:hover {
    opacity: 0.7;
}

.footer-links a {
    color: #5a4632;
    text-decoration: none;
}

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

.sep {
    margin: 0 6px;
    opacity: 0.6;
}
