/* CSS Document */

/*基本指定*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    font-size: 100%;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}
	
/*画像指定*/
img{
    border: none;
    max-width: 100%;
    height: auto;
}
a img {
    border: none;
}

/* リンク色（ページ全体） */
a { 
	color: #007bff; 
	text-decoration: underline; 
    transition: color 0.3s;
}
a:hover { 
	color: #ff4500; 
	text-decoration: none;
}

hr{
	border: 0;
    border-top: 1px solid #e0e0e0;
	margin: 20px 0;
}

/*文字装飾*/
.red { color: #e74c3c; }
.b { font-weight: bold; }
.yline { background: linear-gradient(transparent 60%, #fffd82 60%); }


/*コンテンツ指定*/
body {
	text-align: center;
	font-size:16px;
	line-height: 1.8;
	color: #333;
	background-color: #f4f7f9;
	margin: 0;
}

#wrapper{
	width: 100%;
	max-width: 820px;
	background-color: #ffffff;
	margin: 0 auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

/**▼ヘッダー*****/
#header{
	width: 100%;
	margin:0 auto;
}

#head_img{
	height: 292px;
	background: url(img/top.jpg) no-repeat center center; /* ローカル画像に変更 */
    background-size: cover;
	margin-bottom:30px;
	border-bottom:5px solid #007bff;
}

h1{
	font-size:12px;
	font-weight:bold;
	padding: 8px 15px;
	background-color: #007bff;
	color: #FFFFFF;
    text-align: left;
}

h1 a{
	text-decoration:none;
	color:#FFFFFF;
}

/*メイン記事指定*/
h2{
	font-size: 26px;
	font-weight:bold;
	color: #fff;
	background: #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3);
	padding: 15px 20px;
    margin: -1px -1px 25px -1px; /* innerのborderに重なるように */
    border-radius: 8px 8px 0 0;
    text-align: left;
    line-height: 1.4;
}

h3{
	font-size: 22px;
	font-weight:bold;
	border-bottom: 3px solid #007bff;
    border-image: linear-gradient(to right, #007bff, #91caff) 1;
	margin: 30px 0 20px 0;
    padding-bottom: 8px;
    text-align: left;
}

#content{
	width:100%;
    padding: 0 20px;
	text-align: left;
}

.inner{
	margin: 0 auto 30px auto;
	border: 1px solid #e0e0e0;
    border-radius: 8px;
	padding: 1px 1px 20px 1px ;
    background: #fff;
    overflow: hidden; /* h2のradiusを効かせるため */
}

.inner p{
	margin: 0 20px 20px;
	text-align:justify;
}

.inner .point-list {
    margin: 0 20px 20px;
    padding-left: 25px;
}
.inner .point-list li {
    margin-bottom: 15px;
}

/*ボタン指定*/
.bt_c{
	text-align:center;
	margin: 20px auto 30px auto;
    padding: 0 20px;
}
.bt_c a {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    transition: all 0.3s;
}
.bt_c a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.6);
    color: #fff;
}

/* おすすめ商品 */
.product-box {
    display: flex;
    justify-content: space-around; /* ★変更点：要素の配置を調整 */
    gap: 20px;
    padding: 0 20px;
}
.product-item {
    width: 48%; /* ★変更点：2つの要素に最適な幅に調整 */
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #fcfcfc;
}
.product-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #007bff;
}
.product-item p {
    font-size: 14px;
    text-align: left;
    margin: 10px 0 0 0;
}
.product-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

/* 口コミ */
.review-box {
    padding: 0 20px;
}
.review-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.review-item.good { border-left: 5px solid #28a745; }
.review-item.bad { border-left: 5px solid #dc3545; }
.review-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-name { font-weight: bold; }
.review-star { color: #f39c12; }

/* FAQアコーディオン */
.faq-container {
    padding: 0 20px;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}
.faq-question {
    font-size: 18px;
    font-weight: bold;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
}
.faq-question span { color: #007bff; margin-right: 10px; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 24px;
    color: #007bff;
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    display: none;
    padding: 0 15px 15px 30px;
    background: #f9f9f9;
}
.faq-answer span { color: #e74c3c; margin-right: 10px; font-weight: bold;}
.faq-item.open .faq-answer {
    display: block;
}


/*フッター*/
#footer{
	text-align: center;
	clear: both;
	padding: 20px 0;
}
#footer p {
	margin: 0 30px 15px 30px;
	text-align: center;
    font-size: 14px;
}
#footer p a {
    margin: 0 10px;
}

address {
	font-style: normal;
	color: #FFFFFF;
	text-align: center;
	display: block;
	background: #343a40;
	font-size: 12px;
	padding: 15px 0px;
    width: 100%;
}

#space{
	margin: 0 20px 30px 20px;
	padding: 20px;
	font-size: 14px;
	border-top: 1px #ccc solid;
    border-bottom: 1px #ccc solid;
	clear:both;
	text-align: left;
    background: #f9f9f9;
}


/* レスポンシブ対応 */
@media screen and (max-width: 640px){

    body { font-size: 15px; }
    #content{ padding: 0 10px; }

    #head_img{ height: 200px; margin-bottom: 20px; }
    h1 { font-size: 11px; padding: 8px; }
    h2 { font-size: 20px; padding: 12px 15px; margin-bottom: 20px; }
    h3 { font-size: 18px; }

    .inner p{ margin: 0 15px 15px; }

    .product-box {
        flex-direction: column;
    }
    .product-item {
        width: 100%; /* スマホ表示では幅100%に */
    }

    .review-box, .faq-container {
        padding: 0 10px;
    }

    .bt_c a {
        font-size: 18px;
        padding: 12px 30px;
    }
}