/* 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%;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

/* 画像指定 */
img{ border: none; max-width: 100%; height: auto; }
a img { border: none; }

/* リンク色 */
a { 
	color: #2a75bb; 
	text-decoration: underline; 
    transition: color 0.3s;
}
a:hover { 
	color: #4da3ff; 
	text-decoration: none;
}

/* 全体レイアウト */
body {
	text-align: center;
	font-size: 16px;
	background-color: #f0f2f5; /* 少し明るいグレー */
	color: #333;
    line-height: 1.8;
}

#wrapper{
	width: 820px;
	background-color: #ffffff;
	margin: 20px auto;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* ヘッダー */
#header{
	width: 800px;
	margin: 0 auto;
}
#head_img{
	margin-bottom: 30px;
	border-bottom: 5px solid #1a2a44; /* ダークネイビー */
}
h1{
	font-size: 10px;
	font-weight: normal;
	padding: 5px 10px;
	width: 800px;
	background-color: #333;
	margin: 0 auto;
	text-align: right;
	color: #ccc;
}

/* コンテンツ */
#content{
	width: 760px;
	margin: 0 auto;
	padding: 0 20px 20px 20px;
	text-align: left;
}
.inner{
	margin: 0 0 30px 0;
	border: 1px solid #e0e0e0;
	padding: 20px;
    background: #fdfdfd;
}
.inner p{
	font-size: 16px;
    line-height: 1.9;
	margin-bottom: 1em;
}

/* 見出し */
h2{
	font-size: 24px;
	font-weight: bold;
	color: #ffffff;
    background: #1a2a44; /* ダークネイビー */
	padding: 15px 20px;
    margin: -21px -21px 25px -21px; /* innerのpaddingを考慮 */
	text-align: left;
    border-bottom: 3px solid #5a7b9e;
}
h3{
	font-size: 20px;
	font-weight: bold;
	color: #1a2a44;
	border-bottom: 2px solid #1a2a44;
	padding: 10px 0;
	margin-bottom: 20px;
}
h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background: #f0f2f5;
    padding: 10px 15px;
    margin: 20px 0 15px 0;
    border-left: 5px solid #1a2a44;
}

/* 画像回り込み */
.img_r{
	float: right;
	margin: 0 0 15px 20px;
}
.img_l{
	float: left;
	margin: 0 20px 15px 0;
}
.c_both{ clear:both;}

/* ボタン */
.bt_c{
	text-align:center;
	margin: 30px auto;
}
.bt_c a {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to bottom, #ff9900, #ff6600);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 0 #c65a00;
    transition: all 0.2s ease;
    border: none;
}
.bt_c a:hover {
    background: linear-gradient(to bottom, #ffac33, #ff8533);
    box-shadow: 0 2px 0 #c65a00;
    transform: translateY(2px);
    color: #fff;
}

/* 口コミ */
.review-box {
    background: #f9f9f9;
    border-left: 5px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
}
.review-title {
    font-weight: bold;
    color: #333;
    font-size: 17px;
    margin-bottom: 5px !important; /* importantでpのmarginを上書き */
}
.review-text {
    font-size: 15px !important; /* importantでpのfont-sizeを上書き */
    margin: 0 !important;
}

/* FAQ */
.faq-container { border-top: 1px solid #ddd; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question {
    padding: 15px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: #1a2a44;
    font-size: 17px;
    transition: background-color 0.3s;
}
.faq-question:hover { background-color: #f5f5f5; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    transition: transform 0.3s;
}
.faq-question.active::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 15px;
    background: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.q-icon, .a-icon {
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}
.q-icon { color: #2a75bb; }
.a-icon { color: #c83a3a; }

/* フリースペース */
#space{
	margin: 30px 0;
	padding: 20px;
	font-size: 15px;
	border-top: 2px dotted #ccc;
    border-bottom: 2px dotted #ccc;
	clear: both;
	text-align: left;
    background: #f0f2f5;
}
#space p { font-weight: bold; }

/* フッター */
#footer{
	text-align: center;
	clear: both;
    padding: 20px 0 0 0;
}
#footer p {
	margin: 0 30px;
	text-align: center;
    font-size: 12px;
    line-height: 1.6;
}
address {
	font-style: normal;
	color: #FFFFFF;
	text-align: center;
	display: block;
	background: #333;
	font-size: 12px;
	margin: 20px auto 0 auto;
	padding: 10px 0;
	width: 820px;
}


/* レスポンシブ対応 */
@media screen and (max-width: 840px){
    #wrapper, address { width: 100%; }
    h1, #header { width: 100%; }
}

@media screen and (max-width: 640px){
    body { font-size: 15px; }
    #content{ width: auto; padding: 0 15px 15px 15px; }
    .inner { padding: 15px; }
    h2 { font-size: 20px; padding: 12px 15px; margin: -16px -16px 20px -16px; }
    h3 { font-size: 18px; }
    .img_r, .img_l { float: none; display: block; margin: 15px auto; }
    .bt_c a { font-size: 18px; padding: 12px 25px; }
    #footer p { font-size: 11px; margin: 0 10px; }
}