body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    padding-top: 80px; /* ヘッダーの高さ分、bodyに余白をとる */
    font-family: 'メイリオ', Segoe Script, Verdana, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', Meiryo, Osaka, sans-serif;
    background-image: url("../img/back.jpg");
background-attachment: fixed;
}

@media screen and (max-width: 768px) {
    body {
        background-image: none;
        background-attachment: scroll;
    }
}

/* ヘッダー固定 */
.header {
    font-family: Segoe Script, 'メイリオ', Verdana, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', Meiryo, Osaka, sans-serif;
    background-color: #dc143c;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media screen and (max-width: 768px) {
.header-inner img {
    max-width: 100%;
}
}

.nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #fff;
}

/* ハンバーガーボタン */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 110px;
        left: 0;
        width: 100%;
        background: #dc143c;
        display: none;
        flex-direction: column;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav ul li {
        padding: 15px;
        border-top: 1px solid #fff;
    }

    .nav.active {
        display: flex;
    }
}

.footer {
    font-family: Segoe Script, 'メイリオ', Verdana, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', Meiryo, Osaka, sans-serif;
    background-color: #dc143c;
    color: #fff;
    padding: 5px;
    font-size: 14px;
    text-align:center
}

/* 2カラムレイアウト */
.container {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

.main {
    flex: 3;
    padding: 20px;
}

.sidebar {
    flex: 1;
    padding: 20px;
}

.sidebar img {
  max-width: 280px;
  height: auto;
}

.hover-bright {
    padding: 10px 0;
}

.hover-bright img {
  transition: 0.3s;
}

.hover-bright img:hover {
  filter: brightness(120%); /* 明るさを120%にする */
  /* 必要に応じて拡大などを追加 */
  /* transform: scale(1.05); */
}

/* レスポンシブ対応（スマホ） */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* 縦並びに変更 */
    }
    
    .sidebar {
        margin-top: 20px;
text-align: center;
    }

    .sidebar img {
        max-width: 100%;
        height: auto;

}
}



/* メインバナーボックス */
.keybox {
  margin-bottom: 30px;
}

.keybox img {
  max-width: 800px; /* 最大幅を600pxに制限 */
  width: 100%;      /* 600px以下の画面では画面幅に合わせる */
  height: auto;
}

@media screen and (max-width: 768px) {
  .box {
    width: 100%; /* スマホでは縦並び（幅100%）にする */
  }
}




/* メインボックス */
.container2 {
  display: flex; /* 横並びにする */
  flex-wrap: wrap; /* スマホなどで幅が足りなくなったら折り返す */
  gap: 20px; /* ボックス同士の隙間（好みに応じて調整） */
}
.box {
  width: calc(50% - 10px); /* 50%から隙間の半分(10px)を引いた幅 */
  padding: 5px;
  box-sizing: border-box; /* パディングを含めて幅を計算させる */
}
.box img{
  width: 100%;
}

@media screen and (max-width: 768px) {
  .box {
    width: 100%; /* スマホでは縦並び（幅100%）にする */
  }
}

/* 新着アコーディオン */
.accordion-wrap{
    border-bottom: 1px solid #dc143c;
}

.accordion-item{
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 10px;
}

.accordion-header{
  transition: ease-in-out 100ms;
}

.accordion-text{
  width: 100%;
  display: none;
  padding-top: 5px;
  padding-bottom: 5px;
 }

 .fa{
  transition: ease-in-out 300ms;
 }

 .rotate-fa{
  transform: rotate(180deg);
 }


 .accordion-header .fa{
  float: right;
  line-height: 35px;
 }

 .accordion-gold{
  color: #ddba4d;
 }

 .accordion-no-bar{
  border-bottom: 0;
}




/* お問い合わせ */
#formWrap {
	width:700px;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
#formWrap {
	width:95%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
form input[type="text"], form textarea {
	width:80%;
	padding:5px;
	font-size:110%;
	display:block;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
}
.aside {
  overflow-y: scroll;
  overflow-x: hidden;
  text-align:left;
  margin: 10px auto 10px;
  padding: 8px;
  width: 420px;
  height: 100px;
  border: 1px solid #696969;
}
@media screen and (max-width: 640px){
.aside{
	width:80%;
}
}