@charset "UTF-8";

body {
	font-family: "游ゴシック体", "Yu Gothic", sans-serif;
	margin: 0;
	padding: 0;
	background-color: #FFFBF0;
	color: #333;
	padding-top: 68px;
}

header {
	background-color: #2d4b3a;
	color: white;
	padding: 15px 20px 15px 10px;
	/* 左を10px、右を20pxに調整 */
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	/* 幅計算を調整 */
}

.logo {
	font-size: 24px;
	font-weight: bold;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

nav ul li {
	margin-left: 25px;
}

nav ul li a {
	color: white;
	text-decoration: none;
	font-size: 16px;
}


#hero {
	text-align: center;
	padding: 20px;
}

#hero img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

section {
	scroll-margin-top: 80px;
	padding: 20px;
	margin: 10px auto;
	max-width: 1100px;
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
}

h2 {
	border-bottom: 2px solid #2d4b3a;
	padding-bottom: 5px;
	color: #2d4b3a;
	margin-top: 0px;
	/* ここを調整 */
	margin-bottom: 10px;
	/* ここを調整 */
}

input,
button {
	padding: 10px;
	margin-top: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}



button {
	background-color: #2d4b3a;
	color: white;
	cursor: pointer;
}
button:hover {
    background-color: #45a049; /* ホバー時の色 */
}
.normal-buttuon {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #2d4b3a; /* 既存のボタンの背景色に合わせる */
    color: white;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.normal-buttuon:hover {
    background-color: #4E3C3C; /* ホバー時の色 */
    border: 1px solid #4E3C3C;
    box-shadow: 0 0 0 2px #FFFBF0, 0 0 0 3px #4E3C3C;
}
.cart-add-button:disabled {
    background-color: #ccc;  /* 灰色の背景 */
    color: #666;  /* 文字色も灰色に */
    cursor: not-allowed;  /* カーソルを無効化 */
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

table th,
table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

table th {
	background-color: #2d4b3a;
	color: white;
}

footer {
	text-align: center;
	padding: 20px;
	background-color: #2d4b3a;
	color: white;
	margin-top: 20px;
}

.details-content {
	display: none;
	margin-top: 20px;
}

.toggle-btn {
	background-color: #2d4b3a;
	color: white;
	padding: 8px 32px;
	cursor: pointer;
	border: none;
	border-radius: 5px;
	display: block;
	margin-top: 20px;
}

.toggle-btn:hover {
	background-color: #3e6b59;
}
.search-button:disabled {
    background-color: rgb(192, 192, 192);
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}
button:disabled,[type="submit"]:disabled {
    background-color: rgb(192, 192, 192);
    color: #666;
    opacity: 0.5;
    cursor: not-allowed;
}
button:disabled:hover {
    background-color: rgb(192, 192, 192);
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -14px;
  background-color: #BF555C;
  color: white;
  border-radius: 50%;
  padding: 3px 7px 4px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
}
.toast-message {
	min-width: 250px;
	background-color: rgba(0, 0, 0, 0.75);
	color: white;
	text-align: center;
	border-radius: 5px;
	padding: 10px;
	position: fixed;
	top: 100px;
	right: 100px;
	z-index: 1000;
	opacity: 1;
	animation: fadeOut 4s ease-in-out forwards;
}

@keyframes fadeOut {
	0% { opacity: 1; }
	70% { opacity: 1; }
	100% { opacity: 0; }
}
.news-item {
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
}

.news-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.news-body {
  padding-left: 1em;
}

.backHome_btn {
	background-color: transparent;
	color: #4E3C3C;
	border: none;
	box-shadow: none;
	padding: 0;
	font-size: 1.6rem;
}

.backHome_btn:hover {
	background-color: transparent;
	color: #2d4b3a;
	border: none;
	box-shadow: none;
	padding: 0;
}