@charset "utf-8";

/* ================= */
/* 要素のリセット    */
/* ================= */
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 {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0; 
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* ================= */
/* 全体設定          */
/* ================= */
html, body {
    font: 13px marugo, HG丸ゴシックM-PRO, verdana, arial, sans-serif;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

#wrapper {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

a:hover {opacity: 0.7;}


/* 文字サイズ  */
.heading {font-size: 1.2rem;}
h1 { font-size: 1.4rem}
h2 {font-size: 1.6rem;}
.recommend-text {font-size: 1.2rem;}


/* ヘッダー  */
header p {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    color: white;
    background: #EB6305;
    padding: 5px;
}

/* バナー  */
.main-banner {
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.main-banner img {
    width: 943px;
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

.heading {
    font-weight: bold;
    text-align: center;
    line-height: 28px;
    padding: 0 5px;
    box-sizing: border-box;
}

/* コンテンツ  */
.image-model {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    text-align: center;
    margin: 20px 0;
}

.image-model li {
    width: calc(100%/3);
	box-sizing: border-box;
}

.image-model li img {
	max-width: 100%;
	height: auto;
}

.item-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}

.item {
    display: flex;
    width: 48%;
    border: solid 3px #EB6305;
    border-radius: 10px;
    padding: 5px 0;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.image {
    width: 50%;
}

.image img {
    width: 100%;
    height: auto;
}

.text {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding: 5px 8px;
    justify-content: center;
    align-content: flex-start;
}

.text p {padding: 3px;}

h1 {
    color: #EB6305;
    text-align: center;
}

h2 {
    color: white;
    text-align: center;
    margin-bottom: 10px;
}

.title-image {
    text-align: center;
}

.recommend-container {
    background: #EB6305;
    border-radius: 10px;
    padding: 15px 25px;
}

.recommend-item {
    display: flex;
    flex-wrap: nowrap;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.recommend-image {
    width: 50%;
    padding: 1em;
    box-sizing: border-box;
}

.recommend-image img {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.recommend-text {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding: 2em 1em;
    box-sizing: border-box;

}

.recommend-btn {
    margin-top: 20px;
    margin-left: auto;
}


/* フッター  */
footer p {
    text-align: center;
    font-size: 11px;
    color: #fff;
    background:#EB6305;
    padding: 10px;
    margin-top: 20px;
}

footer a {color: white;}

.image-sp {display: none;}
.image-pc {display: block;}

/* @media  */
@media screen and (max-width: 720px) {
    .image-sp {display: block;}
    .image-pc {display: none;}
    .br-sp {display: none;}
    .heading {font-size: 0.9rem;}
    h1 { font-size: 1.2rem}
    h2 {font-size: 1.6rem;}
    .recommend-text {font-size: 1.15rem;}
    header p {font-size: 0.9rem;}
    
    .main-banner {margin-bottom: 0;}
    .main-banner img {margin-top: 5px;}
    .heading {line-height: 20px;}
    
    .image-model {margin: 10px 0;}
    
    .item-container {padding: 0 10px;}
    .item {flex-direction: column; margin-bottom: 10px;}
    .image {width: 90%; padding: 0 20px; margin: 0 auto; box-sizing: border-box;}
    .recommend-container {padding: 15px;}
    .recommend-item {flex-direction: column;}
    .recommend-image {width: 100%; padding: 1em;}
    .recommend-text {padding: 0 1em 1em 1em;}
    .recommend-btn {margin: 20px auto 0 auto;}
    }

@media screen and (max-width: 500px) {
.item-container {flex-direction: column; padding: 0 10px;}
.item {flex-direction: column; width: 100%; margin-bottom: 10px;}
.image {width: 90%; padding: 0 20px; margin: 0 auto; box-sizing: border-box;}
}