/*
  緑馬ベーカリー ARG 共通CSS（整理版）
  - 重複していた早川ベーカリーCSSを整理
  - 未使用の bread-pop-card 系CSSを削除
  - dark-page の footer 暗転を解除
*/

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header h1 {
  font-size: 24px;
  margin: 0;
  color: #2f4f4f;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  padding: 8px 12px;
}

nav a:hover,
nav a.active {
  color: #2f4f4f;
  border-bottom: 2px solid #2f4f4f;
}

/* ページタイトル */
.page-title {
  text-align: center;
  padding: 70px 20px;
  background: #f7f3ed;
}

.page-title h2 {
  font-size: 36px;
  letter-spacing: 6px;
  color: #2f4f4f;
  margin: 0;
}

/* あいさつ本文 */
.greeting {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 10%;
  gap: 60px;
}

.greeting-text {
  width: 50%;
}

.greeting-text h3 {
  font-size: 30px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 500;
}

.greeting-text p {
  margin-bottom: 24px;
  line-height: 2;
  font-size: 15px;
}

.greeting-image {
  width: 50%;
}

.greeting-image img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.bread-container {

max-width:1100px;

margin:auto;

padding:80px 20px;

display:grid;

grid-template-columns:

repeat(
auto-fit,
minmax(250px,1fr)
);

gap:40px;

}


.bread-card{
background:white;
box-shadow:
0 3px 10px
rgba(0,0,0,0.08);
overflow:hidden;
text-align:center;
}

.bread-card img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}

.bread-card h3{
margin-top:20px;
font-size:22px;
}

.bread-card p{
padding:20px;
line-height:1.8;
font-size:14px;
}

.bread-message{
text-align:center;
padding-bottom:80px;
font-size:16px;
line-height:2;
}
.history-intro {
  text-align: center;
  padding: 60px 20px 20px;
  line-height: 2;
  font-size: 15px;
}

.history {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 90px;
}

.history-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #e5e5e5;
}

.history-year {
  width: 90px;
  flex-shrink: 0;
  font-size: 18px;
  color: #2f4f4f;
  font-weight: bold;
}

.history-item h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
}

.history-item p {
  margin: 0;
  line-height: 1.9;
  font-size: 14px;
}

@media (max-width: 768px) {
  .history-item {
    flex-direction: column;
    gap: 10px;
  }

  .history-year {
    width: auto;
  }
}
.news-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 90px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
}

.news-list {
  border-right: 1px solid #ddd;
  padding-right: 30px;
}

.news-list h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #2f4f4f;
}

.news-link {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.news-link span {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 5px;
}

.news-link:hover {
  color: #2f4f4f;
}

.news-detail {
  padding-left: 10px;
}

.news-article {
  padding-bottom: 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid #ddd;
}

.news-article h3 {
  font-size: 28px;
  color: #2f4f4f;
  margin-bottom: 10px;
}

.news-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 30px;
}

.news-article p {
  line-height: 2;
  font-size: 15px;
}

.time-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 35px 0;
}

.time-change div {
  text-align: center;
}

.time-change span {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.time-change strong {
  font-size: 28px;
  font-weight: 500;
  color: #2f4f4f;
}

.time-change .arrow {
  font-size: 30px;
  color: #999;
}

.news-image {
  width: 100%;
  max-width: 480px;
  display: block;
  margin: 30px 0;
  border-radius: 4px;
}

.broken-link {
  color: #2f4f4f;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-list {
    border-right: none;
    padding-right: 0;
  }

  .time-change {
    flex-direction: column;
  }
}
.contact {
  max-width: 700px;
  margin: auto;
  padding: 80px 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 15px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.send-btn {
  background: #2f4f4f;
  color: white;
  border: none;
  padding: 16px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.send-btn:hover {
  opacity: 0.9;
}

#complete {
  text-align: center;
  padding: 80px 20px;
}

#complete h3 {
  font-size: 30px;
  color: #2f4f4f;
  margin-bottom: 30px;
}

.control-number {
  margin: 35px auto;
  padding: 25px;
  max-width: 360px;
  border: 1px solid #ccc;
  background: #f8f8f8;
}

.control-number span {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.control-number strong {
  font-size: 30px;
  letter-spacing: 3px;
  color: #2f4f4f;
}

.small-note {
  font-size: 12px;
  color: #777;
}

/* フッター */
footer {
  text-align: center;
  padding: 35px;
  font-size: 10px;
  background: #f5f5f5;
  color: #555;
}
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  background: #f7f3ed;
  text-align: center;
}

.error-page h1 {
  font-size: 80px;
  margin: 0;
  color: #2f4f4f;
}

.error-page h2 {
  font-size: 24px;
  margin: 20px 0;
}

.error-page p {
  font-size: 14px;
  color: #666;
}

.error-back {
  margin-top: 30px;
  color: #2f4f4f;
  text-decoration: underline;
}
.profile-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.profile-card {
  background: #fff;
  padding: 40px;
  border: 1px solid #e5e5e5;
  margin-bottom: 50px;
}

.profile-card h3 {
  font-size: 30px;
  color: #2f4f4f;
  margin-bottom: 5px;
}

.profile-kana {
  font-size: 13px;
  color: #777;
  margin-bottom: 30px;
}

.profile-card p,
.profile-note p {
  line-height: 2;
  font-size: 15px;
}

.profile-history {
  margin-bottom: 50px;
}

.profile-history h3,
.profile-note h3 {
  font-size: 24px;
  color: #2f4f4f;
  margin-bottom: 25px;
}

.profile-history-item {
  display: flex;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}

.profile-history-item span {
  width: 90px;
  flex-shrink: 0;
  color: #2f4f4f;
  font-weight: bold;
}

.profile-history-item p {
  margin: 0;
  line-height: 1.8;
}

.profile-note {
  background: #f8f8f8;
  padding: 30px;
  border-left: 4px solid #2f4f4f;
}

@media (max-width: 768px) {
  .profile-history-item {
    flex-direction: column;
    gap: 8px;
  }

  .profile-history-item span {
    width: auto;
  }
}
.page-number {
  margin-top: 12px;
  font-size: 11px;
  color: #777;
}
/* ===== TOPページ ===== */
.hero {
  height: 50vh;
  background: url("hero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero-content {
  position: relative;
  color: white;
  z-index: 1;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero p {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  font-size: 18px;
}

.section {
  padding: 80px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}
.thread-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.thread-box {
  background: #f7f7f7;
  border: 1px solid #ccc;
  padding: 30px;
  font-family: "MS PGothic", "Osaka", monospace;
}

.thread-box h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: #333;
}

.thread-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 30px;
}

.res {
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
}

.res span {
  color: #008000;
  font-size: 14px;
}

.res p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.res.important {
  background: #fff8f8;
  padding-left: 12px;
  border-left: 4px solid #8b0000;
}
.registry-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.registry-warning {
  background: #f8f8f8;
  border-left: 4px solid #999;
  padding: 20px 25px;
  margin-bottom: 40px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.registry-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 35px;
  margin-bottom: 40px;
}

.registry-card h3,
.registry-note h3 {
  color: #2f4f4f;
  font-size: 24px;
  margin-bottom: 25px;
}

.registry-table {
  width: 100%;
  border-collapse: collapse;
}

.registry-table th,
.registry-table td {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 12px;
  text-align: left;
  font-size: 15px;
}

.registry-table th {
  width: 180px;
  color: #555;
  background: #fafafa;
  font-weight: 500;
}

.registry-note {
  background: #f7f3ed;
  padding: 30px;
  line-height: 2;
  font-size: 15px;
}

.registry-noise {
  color: #777;
  font-size: 13px;
}
/* ===== 早川ベーカリー ===== */

.hayakawa-hero{

position:relative;

height:500px;

overflow:hidden;

}

.hayakawa-hero img{

width:100%;

height:100%;

object-fit:cover;

display:block;

}

.hayakawa-hero::after{

content:"";

position:absolute;

inset:0;

background:

linear-gradient(

to right,

rgba(255,255,255,0.7),

rgba(255,255,255,0)

);

}

.hayakawa-hero-text{

position:absolute;

left:10%;

top:50%;

transform:

translateY(-50%);

z-index:2;

}

.hayakawa-hero-text h1{

font-size:56px;

color:#5f4024;

margin-bottom:20px;

}

.hayakawa-hero-text p{

font-size:24px;

color:#5f4024;

}



.hayakawa-page{

max-width:900px;

margin:auto;

padding:

70px 20px 90px;

}


.hayakawa-intro,

.hayakawa-section{

margin-bottom:

60px;

}


.hayakawa-intro h2,

.hayakawa-section h2{

font-size:

26px;

color:

#8a5a2b;

margin-bottom:

24px;

}


.hayakawa-intro p,

.hayakawa-section p{

line-height:

2;

font-size:

15px;

}


.partner-list{

list-style:none;

padding:0;

}


.partner-list li{

padding:

16px 20px;

background:

#fffdf8;

border-bottom:

1px solid #e5e5e5;

}


.hayakawa-news{

border:

1px solid #e5e5e5;

padding:

25px;

margin-bottom:

24px;

background:

white;

}


.hayakawa-news h3{

margin-top:0;

color:#8a5a2b;

}
/* ===== 東雲大学ページ ===== */

.university-header {
  background: #24476b;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.university-header h1 {
  margin: 0;
  font-size: 38px;
  letter-spacing: 4px;
}

.university-header p {
  margin: 10px 0 0;
  font-size: 14px;
  opacity: 0.8;
}

.university-page {
  max-width: 900px;
  margin: auto;
  padding: 70px 20px 90px;
}

.university-notice {
  margin-bottom: 50px;
  line-height: 2;
}

.university-notice h3 {
  font-size: 26px;
  color: #24476b;
  margin-bottom: 24px;
}

.award-card {
  border: 1px solid #ddd;
  padding: 40px;
  margin-bottom: 50px;
  background: #fff;
}

.grand-prize {
  border-top: 6px solid #24476b;
  background: #f8fbff;
}

.award-label {
  display: inline-block;
  background: #24476b;
  color: white;
  padding: 6px 16px;
  font-size: 13px;
  margin-bottom: 18px;
}

.award-card h3 {
  font-size: 28px;
  color: #24476b;
  margin-bottom: 15px;
}

.award-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
}

.award-card p {
  line-height: 2;
}

.award-list {
  margin-bottom: 50px;
}

.award-list h3,
.university-note h3 {
  color: #24476b;
  font-size: 24px;
  margin-bottom: 25px;
}

.award-item {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
}

.award-item span {
  width: 90px;
  color: #24476b;
  font-weight: bold;
}

.award-item p {
  margin: 0;
}

.university-note {
  background: #f7f7f7;
  padding: 30px;
  line-height: 2;
}
/* ===== 会員データ照会 ===== */

.member-data-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.member-warning {
  background: #f8f8f8;
  border-left: 4px solid #999;
  padding: 20px 25px;
  margin-bottom: 40px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.member-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 35px;
  margin-bottom: 40px;
}

.member-card h3,
.member-note h3 {
  color: #2f4f4f;
  font-size: 24px;
  margin-bottom: 25px;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
}

.member-table th,
.member-table td {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 12px;
  text-align: left;
  font-size: 15px;
}

.member-table th {
  width: 180px;
  color: #555;
  background: #fafafa;
  font-weight: 500;
}

.member-note {
  background: #f7f3ed;
  padding: 30px;
  line-height: 2;
  font-size: 15px;
}
/* ===== 会員登録 ===== */

.member-register-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.register-intro {
  background: #f8f8f8;
  border-left: 4px solid #2f4f4f;
  padding: 24px 28px;
  margin-bottom: 40px;
  line-height: 2;
  font-size: 15px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #8b0000;
  color: white;
  font-size: 11px;
  border-radius: 2px;
}

.register-result {
  margin-top: 40px;
}

.result-card {
  padding: 40px;
  border: 1px solid #ddd;
  background: #fff;
  line-height: 2;
}

.result-card h3 {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 24px;
}

.result-card.success {
  border-left: 6px solid #2f4f4f;
}

.result-card.success h3 {
  color: #2f4f4f;
}

.result-card.failed {
  border-left: 6px solid #999;
  background: #f8f8f8;
}

.result-card.failed h3 {
  color: #555;
}
/* ===== 会員限定予約 ===== */

.reservation-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.reservation-intro {
  background: #f8f8f8;
  border-left: 4px solid #2f4f4f;
  padding: 24px 28px;
  margin-bottom: 40px;
  line-height: 2;
  font-size: 15px;
}

.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.reservation-result {
  margin-top: 40px;
}
/* ===== 最上送迎 ===== */

.transport-page{

max-width:900px;

margin:auto;

padding:

70px 20px 90px;

}


.transport-warning{

background:#f8f8f8;

padding:

20px;

margin-bottom:

40px;

border-left:

4px solid #999;

}


.transport-table{

width:100%;

border-collapse:

collapse;

background:white;

}


.transport-table th{

background:

#2f4f4f;

color:white;

padding:

16px;

font-weight:

normal;

}


.transport-table td{

padding:

18px;

border-bottom:

1px solid #e5e5e5;

text-align:center;

}


.transport-note{

margin-top:

50px;

padding:

30px;

background:

#f7f7f7;

}


.transport-note h3{

color:

#2f4f4f;

margin-top:0;

}


.small-note{

font-size:

12px;

color:

#777;

}
/* ===== 適応者データ ===== */

.dark-page {
  background: #050505;
  color: #e8e8e8;
}

.dark-page .header {
  filter: brightness(0.55);
}

.adaptive-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

.classified-header {
  border: 1px solid #555;
  padding: 35px;
  margin-bottom: 35px;
  background: #0d0d0d;
}

.classified-header p {
  color: #999;
  font-size: 12px;
  letter-spacing: 3px;
  margin: 0 0 12px;
}

.classified-header h1 {
  margin: 0 0 15px;
  font-size: 36px;
  color: #fff;
}

.classified-header span {
  color: #c7c7c7;
  font-size: 14px;
}

.redaction-note {
  border-left: 4px solid #8b0000;
  background: #111;
  padding: 20px 25px;
  margin-bottom: 40px;
  color: #ccc;
  font-size: 13px;
  line-height: 1.8;
}

.adaptive-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b0b0b;
  border: 1px solid #444;
}

.adaptive-table th {
  background: #1a1a1a;
  color: #ddd;
  padding: 14px;
  border-bottom: 1px solid #555;
  font-size: 13px;
  font-weight: normal;
}

.adaptive-table td {
  padding: 15px;
  border-bottom: 1px solid #333;
  text-align: center;
  font-size: 14px;
  color: #e5e5e5;
}

.blackout {
  display: inline-block;
  background: #000;
  color: #000;
  padding: 0 12px;
  border: 1px solid #222;
  user-select: none;
}
/* ===== 研究照会 ===== */

.research-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

.research-title-card {
  border: 1px solid #555;
  background: #111;
  padding: 35px;
  margin-bottom: 35px;
}

.research-title-card span {
  display: inline-block;
  font-size: 12px;
  color: #999;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.research-title-card h2 {
  font-size: 34px;
  color: #fff;
  margin: 0 0 10px;
}

.research-title-card p {
  color: #aaa;
  font-size: 13px;
  margin: 0;
}

.research-section {
  border: 1px solid #333;
  background: #0b0b0b;
  padding: 30px;
  margin-bottom: 35px;
}

.research-section h3 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #fff;
  font-size: 24px;
  border-bottom: 1px solid #444;
  padding-bottom: 12px;
}

.research-section p {
  color: #d0d0d0;
  line-height: 2;
  font-size: 14px;
}

.dark-list {
  margin: 0;
  padding-left: 22px;
}

.dark-list li {
  color: #d0d0d0;
  margin-bottom: 14px;
  line-height: 1.8;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
}

.research-table th,
.research-table td {
  border-bottom: 1px solid #333;
  padding: 16px;
  text-align: left;
  color: #e5e5e5;
}

.research-table th {
  width: 220px;
  background: #151515;
  color: #aaa;
  font-weight: normal;
}

.phase-box {
  border: 1px solid #444;
  padding: 22px;
  margin-bottom: 18px;
  background: #111;
}

.phase-box h4 {
  color: #fff;
  margin: 0 0 10px;
}

.phase-box p {
  margin: 0;
}

.phase-box.locked {
  opacity: 0.55;
}

.research-footer-note {
  margin-top: 50px;
  padding: 24px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 13px;
}
/* ===== 研究レポート ===== */

.dependency-report-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 80px 20px 120px;
}

.report-section {
  border: 1px solid #333;
  background: #0b0b0b;
  padding: 30px;
  margin-bottom: 35px;
}

.report-section h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #fff;
  font-size: 24px;
  border-bottom: 1px solid #444;
  padding-bottom: 12px;
}

.report-section p {
  color: #d0d0d0;
  line-height: 2;
  font-size: 14px;
}

.route-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #e5e5e5;
  font-size: 15px;
}

.route-box div {
  border: 1px solid #444;
  background: #111;
  padding: 18px;
}

.route-box span {
  color: #777;
  text-align: center;
}

.long-scroll-space {
  height: 700px;
}

.report-choice {
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid #333;
}

.report-choice p {
  color: #eee;
  line-height: 2.2;
  font-size: 18px;
  margin-bottom: 30px;
}

.report-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 42px;
  background: #8b0000;
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
}

.report-btn:hover {
  opacity: 0.85;
}
/* ===== 通報前 情報整理 ===== */

.report-check-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 120px;
}

.report-paper {
  background: #f4f0e8;
  color: #222;
  padding: 50px;
  border: 1px solid #c8c0b2;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

.paper-header {
  border-bottom: 2px solid #222;
  padding-bottom: 25px;
  margin-bottom: 40px;
}

.paper-header p {
  font-size: 12px;
  letter-spacing: 4px;
  margin: 0 0 10px;
  color: #555;
}

.paper-header h1 {
  font-size: 32px;
  margin: 0 0 12px;
}

.paper-header span {
  font-size: 14px;
  color: #555;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.paper-line {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px dashed #777;
  padding-bottom: 14px;
}

.paper-line label {
  font-weight: bold;
  font-size: 15px;
}

.paper-line input {
  border: none;
  background: transparent;
  border-bottom: 1px solid #333;
  padding: 10px;
  font-size: 16px;
  font-family: inherit;
}

.paper-line input:focus {
  outline: none;
  background: rgba(255,255,255,0.45);
}

.report-submit-btn {
  margin-top: 35px;
  align-self: center;
  padding: 16px 60px;
  background: #111;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: 4px;
}

.report-submit-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .report-paper {
    padding: 30px 20px;
  }

  .paper-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* ===== 失敗エンド ===== */

.bad-ending-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  text-align: center;
}

.ending-label {
  margin-bottom: 45px;
}

.ending-label span {
  color: #b53a3a;
  letter-spacing: 5px;
  font-size: 18px;
  border-bottom: 1px solid #8b0000;
  padding-bottom: 10px;
}

.ending-message h1 {
  color: #f0f0f0;
  font-size: 34px;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 30px;
}

.ending-message p {
  color: #d0d0d0;
  font-size: 20px;
  margin-bottom: 60px;
}

.new-bread-section {
  position: relative;
  max-width: 820px;
  margin: 0 auto 70px;
}

.new-bread-section img {
  width: 100%;
  display: block;
  border: 1px solid #333;
}

.x-share-section {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 35px;
  border-top: 1px solid #444;
}

.x-share-section p {
  color: #ddd;
}

.x-share-btn {
  display: inline-block;
  width: 80%;
  max-width: 460px;
  padding: 18px 30px;
  margin: 15px 0 25px;
  border: 1px solid #ccc;
  color: #eee;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 3px;
}

.x-share-btn:hover {
  background: #111;
}

.ending-back {
  margin-top: 70px;
}

.ending-back a {
  color: #ddd;
  text-decoration: underline;
  font-size: 14px;
}

@media (max-width: 768px) {
  .ending-message h1 {
    font-size: 26px;
  }
}
/* ===== 成功エンド ===== */

.good-ending-body {
  background: #f8f6f0;
  color: #333;
}

.good-ending-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  text-align: center;
}

.good-ending-label {
  margin-bottom: 45px;
}

.good-ending-label span {
  color: #2f4f4f;
  letter-spacing: 5px;
  font-size: 18px;
  border-bottom: 1px solid #2f4f4f;
  padding-bottom: 10px;
}

.good-ending-message h1 {
  color: #2f4f4f;
  font-size: 36px;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 40px;
}

.good-ending-message p {
  color: #444;
  font-size: 18px;
  line-height: 2.1;
  margin-bottom: 18px;
}

.good-photo-section {
  position: relative;
  max-width: 780px;
  margin: 70px auto;
  background: white;
  padding: 18px;
  box-shadow: 0 8px 35px rgba(0,0,0,0.15);
}

.good-photo-section img {
  width: 100%;
  display: block;
}

.thanks-text {
  position: absolute;
  right: 45px;
  bottom: 38px;
  color: white;
  font-size: 48px;
  letter-spacing: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.light-share {
  border-top: 1px solid #ddd;
}

.light-share p {
  color: #333;
}

.x-share-btn-light {
  display: inline-block;
  width: 80%;
  max-width: 460px;
  padding: 18px 30px;
  margin: 15px 0 25px;
  border: 1px solid #2f4f4f;
  color: #2f4f4f;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 3px;
  background: white;
}

.x-share-btn-light:hover {
  background: #eef3ef;
}

.ending-back-light {
  margin-top: 70px;
}

.ending-back-light a {
  color: #2f4f4f;
  text-decoration: underline;
  font-size: 14px;
}
.search form{

display:flex;

align-items:center;

gap:10px;

}
/* スマホ対応 */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .greeting {
    flex-direction: column;
    padding: 50px 20px;
  }

  .greeting-text,
  .greeting-image {
    width: 100%;
  }
}