@charset "utf-8";
/*
Theme Name: RiseHome
Theme URI: 
Description: ライズホーム株式会社様用ワードプレステーマ
Version: 1.0
Author: メディアライズ株式会社
Author URI: http://media-rise.jp
*/

/*----------------------------------
リセットCSS
----------------------------------*/
/*要素のフォントサイズやマージン・パディングをリセットしています*/
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;
}
 
/*新規追加要素のデフォルトはすべてインライン要素になっているので、section要素などをブロック要素へ変更しています*/
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}
 
/*nav要素内ulのマーカー（行頭記号）を表示しないようにしています*/
ol, ul {
  list-style:none;
}
 
/*引用符の表示が出ないようにしています*/
blockquote, q {
  quotes:none;
}
 
/*blockquote要素、q要素の前後にコンテンツを追加しないように指定しています*/
blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}
 
/*a要素のフォントサイズなどをリセットしフォントの縦方向の揃え位置を親要素のベースラインに揃えるようにしています*/
a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
 
/* ins要素のデフォルトをセットし、色を変える場合はここで変更できるようにしています */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}
 
/* mark要素のデフォルトをセットし、色やフォントスタイルを変える場合はここで変更できるようにしています
また、mark要素とは、文書内の検索結果で該当するフレーズをハイライトして、目立たせる際に使用するようです。*/
mark {
  background-color:#ff9;
  color:#000;
  font-style:italic;
  font-weight:bold;
}
 
/*テキストに打ち消し線が付くようにしています*/
del {
  text-decoration: line-through;
}
 
/*IEではデフォルトで点線を下線表示する設定ではないので、下線がつくようにしています
また、マウスオーバー時にヘルプカーソルの表示が出るようにしています*/
abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}
 
/*隣接するセルのボーダーを重ねて表示し、間隔を0に指定しています*/
table {
  border-collapse:collapse;
  border-spacing:0;
}
 
/*水平罫線のデフォルトである立体的な罫線を見えなくしています*/
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}
 
/*縦方向の揃え位置を中央揃えに指定しています*/
input, select {
  vertical-align:middle;
}

img {
  vertical-align: top;
  font-size:0;
  line-height: 0;
}

/*----------------------------------
基本設定CSS
----------------------------------*/
/* 余白設定・クリアフィックス */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* サイズなど */
.mt0{ margin-top:0 !important;}
.mt10{ margin-top:0.1rem !important;}
.mt20{ margin-top:0.2rem !important;}
.mt30{ margin-top:0.3rem !important;}
.mt40{ margin-top:0.4rem !important;}
.mt50{ margin-top:0.5rem !important;}
.mt60{ margin-top:0.6rem !important;}
.mt70{ margin-top:0.7rem !important;}
.mt80{ margin-top:0.8rem !important;}
.mt90{ margin-top:0.9rem !important;}
.mt100{ margin-top:1.0rem !important;}

.mr0{ margin-right:0 !important;}
.mr10{ margin-right:0.1rem !important;}
.mr20{ margin-right:0.2rem !important;}
.mr30{ margin-right:0.3rem !important;}
.mr40{ margin-right:0.4rem !important;}
.mr50{ margin-right:0.5rem !important;}
.mr60{ margin-right:0.6rem !important;}
.mr70{ margin-right:0.7rem !important;}
.mr80{ margin-right:0.8rem !important;}
.mr90{ margin-right:0.9rem !important;}
.mr100{ margin-right:1.0rem !important;}

.mb0{ margin-bottom:0 !important;}
.mb10{ margin-bottom:0.1rem !important;}
.mb20{ margin-bottom:0.2rem !important;}
.mb30{ margin-bottom:0.3rem !important;}
.mb40{ margin-bottom:0.4rem !important;}
.mb50{ margin-bottom:0.5rem !important;}
.mb60{ margin-bottom:0.6rem !important;}
.mb70{ margin-bottom:0.7rem !important;}
.mb80{ margin-bottom:0.8rem !important;}
.mb90{ margin-bottom:0.9rem !important;}
.mb100{ margin-bottom:1.0rem !important;}

.ml0{ margin-left:0 !important;}
.ml10{ margin-left:0.1rem !important;}
.ml20{ margin-left:0.2rem !important;}
.ml30{ margin-left:0.3rem !important;}
.ml40{ margin-left:0.4rem !important;}
.ml50{ margin-left:0.5rem !important;}
.ml60{ margin-left:0.6rem !important;}
.ml70{ margin-left:0.7rem !important;}
.ml80{ margin-left:0.8rem !important;}
.ml90{ margin-left:0.9rem !important;}
.ml100{ margin-left:1.0rem !important;}

.w5{ width:5%;}
.w10{ width:10%;}
.w15{ width:15%;}
.w20{ width:20%;}
.w25{ width:25%;}
.w30{ width:30%;}
.w35{ width:35%;}
.w40{ width:40%;}
.w45{ width:45%;}
.w50{ width:50%;}
.w55{ width:55%;}
.w60{ width:60%;}
.w65{ width:65%;}
.w70{ width:70%;}
.w75{ width:75%;}
.w80{ width:80%;}
.w85{ width:85%;}
.w90{ width:90%;}
.w95{ width:95%;}
.w97{ width:97%;}
.w98{ width:98%;}
.w100{ width:100%;}
.al_r,.alignright{ text-align:right; float:none !important;}
.al_l{ text-align:left !important;}
.al_c{ text-align:center;}
img.al_c { margin-left: auto; margin-right: auto; display: block; }

.sp-only,.sptab-only {
    display: none;
}
.pc-only,.pctab-only {
    display: block;
}

/* フォント関連 */
.bold{ font-weight:700;}
.normal{ font-weight:500;}
.red { color: #ff1d25; }

/* フロート */
.fl_r{ float:right;}
.fl_l{ float:left;}
.fl_cl{ overflow:hidden;}

/* フレックスボックス */
.fl_box {
  display: flex;
}
.fl_bet {
  justify-content: space-between;
  align-items: center;
}

/* フォント読み込み */
@font-face {
  font-family: 'webfont';
  src: url('font/webfont.eot');
  src: url('font/webfont.eot?iefix') format('eot'),
       url('font/webfont.woff') format('woff'),
	   url('font/webfont.ttf') format('truetype'),
	   url('font/webfont.svg#webfontjSpbZQRv') format('svg');
}

/* 選択部分色設定 */
::selection {
background: #37414f;
color: #fff;
}
::-moz-selection {
background: #37414f;
color: #fff;
}

/* レイアウト */
html {
    font-size: 100px; /* 1rem = 100pxと定義 */
    overflow: auto;
}
body {
    min-width: 1100px;
    line-height: 1.75em;
    color: #010101;
    font-family: arial,'メイリオ',Meiryo,"ＭＳ Ｐゴシック",helvetica,clean,sans-serif;
    font-size: 0.14rem;
    text-align: justify;
    overflow: hidden;
}
body.under {
}
img {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    color: #000;
}
.wrapper {
    width: 11.4rem;
    margin-left: auto;
    margin-right: auto;
}

/*ヘッダー*/
header {
    width: 100%;
    padding-top: 0.2rem;
}
header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}
header .sitelogo {
    width: 2.75rem;
    z-index: 99999;
}
header .sitelogo>a {
    width: 2.75rem;
    height: 0.5rem;
    text-indent: -9999px;
    display: block;
}

/* ページナビ */
nav.navigation {
    width: 100%;
    margin: 1rem 0;
    border: none;
    background: none;
}
nav.navigation .nav-links {
    display: flex;
    justify-content: space-between;    
}
nav.navigation h2 {
    display: none;
}
nav.navigation a {
    padding: 0.04rem 0.08rem;
    background: #d10312;
    color: #fff;
    text-decoration: none;
    display: block;
}

/*ぱんくず*/
#breadcrumb {
  width: 100%;
  padding: 15px 0;
}
#breadcrumb ul {
  width: 1300px;
  margin: 0 auto;
  display: block;
}
#breadcrumb li {
 float: left;
}
#breadcrumb li:nth-child(1)::before {
	content: 'h ';
	font-family: 'webfont';
}
#breadcrumb li::after {
	content: '>';
	margin: 0 10px;
}
#breadcrumb li:last-child::after {
	display: none;
}
#breadcrumb li a{
  color: #bca178;
  font-size: 108%;
  text-decoration: none;
}
#breadcrumb li span {
  display: none;
}
#breadcrumb li span.wf {
  display: inline-block;
}

/*本文*/
.under .wrapper {
    width: 11rem;
    margin-left: auto;
    margin-right: auto;
}
h1,h1,h3 {
    line-height: 1.2em;
}
#under h1 {
    width: 100%;
    height: 3rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}
#under h1>span {
    margin-top: 0.6rem;
    font-size: 0.36rem;
    position: relative;
    z-index: 3
}
#under h1>span::before {
    content: 'h';
    width: 100%;
    text-align: center;
    font-size: 0.8rem;;
    color: #d10312;
    font-family: 'webfont';
    position: absolute;
    top: -0.6rem;
}
#under h1::after {
    content: '';
    background: rgba(255,255,255,.4);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}
#under h2 {
    height: auto;
    padding: 0.14rem 0.25rem;
    min-height: 0.5rem;
    margin-bottom: 0.6rem;
    background: #efefef;
    border-left: #d10312 0.5rem solid;
    font-size: 0.2rem;
    line-height: 1.2;
}
section p>a {
    text-decoration: underline;
}
.link_mail {
    height: 0.5rem;
    padding: 0 0.3rem 0 0.2rem;
    background: #d10312;
    font-size: 0.26rem;
    font-weight: bold;
    color: #fff;
    line-height: 0.5rem;
    display: inline-block;
}
.link_mail::before {
    content: 'M';
    margin-right: 0.15rem;
    font-family: 'webfont';
    vertical-align: middle;
    font-weight: normal;
    display: inline-block;
}

.read_more {
    width: 1.9rem;
    height: 0.6rem;
    padding-top: 0.15rem;
    margin: 0 auto;
    background: #313131;
    text-align: center;
    color: #fff;
    line-height: 1.2;
    font-size: 0.12rem;
    display: block;
}
.read_more>strong {
    font-size: 0.16rem;
    display: block;
}
.wp-pagenavi {
    margin: 1rem auto;
    text-align: center;
}
.wp-pagenavi span,
.wp-pagenavi a {
    background: #d10312;
    border: none;
    color: #fff;
}
.wp-pagenavi a.current {
    background: #e60012;
}

/*フッター*/
footer {
  width: 100%;
  padding-top: 0.7rem;
}
footer .wrapper {
    display: flex;
    justify-content: space-between;
}
footer .siteinfo p {
    color: #505050;
}
footer a.ftr_logo {
    width: 2.75rem;
    height: 0.5rem;
    margin-bottom: 0.2rem;
    text-indent: -9999px;
    display: block;
}
footer p.copy {
    width: 100%;
    height: 0.54rem;
    margin-top: 0.2rem;
    background: #e60012;
    font-size: 0.13rem;
    color: #fff;
    text-align: center;
    line-height: 0.54rem;
}

@media screen and (min-width:1156px) { /* PCの場合 */
    header {
        height: 1.08rem;
        border-bottom: #e60012 0.08rem solid;
    }
    header ul.nav_hdr1 {
        margin-bottom: 0.12rem;
        display: flex;
        justify-content: flex-end;
    }
    header ul.nav_hdr1>li {
        margin-left: 0.2rem;
    }
    header ul.nav_hdr1>li a {
        font-size: 0.13rem;
        text-decoration: underline;
        color: #434343;
    }
    header ul.nav_hdr1>li:last-child a {
        padding: 0.02rem 0.2rem 0.02rem 0.1rem;
        background: #e60012;
        border-radius: 0.02rem;
        font-size: 0.15rem;
        color: #fff;
        text-decoration: none;
        display: block;
    }
    header ul.nav_hdr1>li:last-child a::before {
        content: 'M';
        margin-right: 0.15rem;
        font-size: 0.2rem;
        vertical-align: middle;
        font-family: 'webfont';
        display: inline-block;
    }
    header ul.nav_hdr2 {
        height: 0.4rem;
        padding: 0 0.5rem;
        background: #d10212;
        display: flex;
        justify-content: flex-end;
        position: relative;
    }
    header ul.nav_hdr2::before,
    header ul.nav_hdr2::after {
        content: '';
        width: 0.36rem;
        height: 0.4rem;
        display: block;
        position: absolute;
        bottom: 0;
    }
    header ul.nav_hdr2::before {
        border-bottom: 0.4rem solid transparent;
        border-left: 0.36rem solid #fff;
        left: 0;
    }
    header ul.nav_hdr2::after {
        border-right: 0.36rem solid #fff;
        border-bottom: 0.4rem solid transparent;
        right: 0;
    }
    header ul.nav_hdr2>li {
        margin: 0 0.27rem;
        position: relative;
    }
    header ul.nav_hdr2>li:hover {
        cursor: pointer;
    }
    header ul.nav_hdr2>li:hover::after,
    header ul.nav_hdr2>li a[aria-current="page"]::after {
        content: '';
        width: 0.3rem;
        height: 0.18rem;
        margin-left: -0.15rem;
        border-right: 0.15rem solid transparent;
        border-bottom: 0.18rem solid #fff;
        border-left: 0.15rem solid transparent;
        display: block;
        position: absolute;
        bottom: -0.08rem;
        left: 50%;
    }
    header ul.nav_hdr2>li a[aria-current="page"]::after {
        bottom: -0.2rem;
    }
    header ul.nav_hdr2>li a {
        color: #fff;
        line-height: 0.4rem;
        position: relative;
    }
    footer .ftr_r {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }
    footer .ftr_r .nav_ftr {
        margin-left: 0.4rem;
    }
    footer .ftr_r .nav_ftr>li {
        padding-left: 1.5em;
        margin-bottom: 0.1rem;
    }
    footer .ftr_r .nav_ftr>li,
    footer .ftr_r .nav_ftr>li a {
        color: #535353;
    }
    footer .ftr_r .nav_ftr>li::before {
        content: '▶';
        margin-left: -1.5em;
        margin-right: 0.5em;
    }
    footer .ftr_r .nav_ftr>li li {
        margin-top: 0.1rem;
    }
    footer .ftr_r .nav_ftr>li li::before {
        content: '・';
        margin-right: 0;
    }
}

@media screen and (max-width:1118px) and (min-width:768px) { /* タブレットのみ */
    footer .siteinfo {
        display: flex;
        justify-content: space-between;
    }
    footer a.ftr_logo {
        margin: 0;
    }
}

@media screen and (max-width:1156px) { /* タブレット以下の場合 */
    .sptab-only {
        display: block;
    }
    .pc-only {
        display: none;
    }
    body {
        margin-top: 1.35rem;
        min-width: 100%;
    }
    .wrapper {
        width: calc( 100% - 0.7rem );
        margin-left: auto;
        margin-right: auto;
    }
    header {
        height: 1.35rem;
        background: #fff;
        border-top: #c30d23 0.35rem solid;
        border-bottom: #c30d23 0.05rem solid;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
    }
    header .sitelogo {
        margin-left: 0.26rem;
    }
    header .hdr_r {
        display: block;
    }
    header .hdr_menu {
        width: 0.64rem;
        height: 0.64rem;
        display: block;
        position: relative;
        z-index: 99999;
    }
    header .hdr_menu::before {
        content: 'e';
        width: 100%;
        font-family: 'webfont';
        font-size: 0.64rem;
        color: #000;
        line-height: 1em;
        text-align: center;
    }
    header .hdr_menu.close::before {
        content: 'B';
    }
    .hdr_r {
        text-align: right;
    }
    .hdr_r>a {
        width: 0.58rem;
        height: 0.58rem;
        margin-left: 0.2rem;
        background: #fbb03b;
        font-size: 0.48rem;
        text-align: center;
        color: #fff;
        line-height: 0.58rem;
        display: inline-block;
    }
    .hdr_r>a::before {
        font-family: 'webfont';
    }
    .hdr_r>a.hdr-tel::before {
        content: 't';
    }
    .hdr_r>a.hdr-mail::before {
        content: 'M';
    }
    nav#global {
        width: 100%;
        padding: 0 0.35rem;
        background: #fff;
        border-bottom: #c30d23 0.05rem solid;
        position: absolute;
        left: 0;
        top: 0.95rem;
        display: none;
    }
    nav#global ul.nav_hdr3>li {
        padding: 0.2rem 0.35rem;
        border-top: #ccc 1px solid;
    }
    nav#global ul.nav_hdr3>li a {
        padding-left: 1em;
        font-size: 0.2rem;
        display: block;
    }
    nav#global ul.nav_hdr3>li a::before {
        content: '■';
        margin-left: -1em;
        margin-right: 1em;
        color: #c30d23;
        vertical-align: middle;
        display: inline-block;
    }
    footer .siteinfo {
        width: 100%;
        margin-bottom: 0.4rem;
    }
}

@media screen and (max-width:768px) { /* スマホの場合 */
    /* レイアウト */
    html {
        font-size: 50px; /* 1remを半分サイズに */
    }
    body {
        font-size: 0.28rem;
    }
    .sp-only {
        display: block;
    }
    .pctab-only {
        display: none;
    }
    header .sitelogo {
        width: 3.52rem;
    }
    header .sitelogo>a {
        width: 3.52rem;
        height: 0.64rem;
    }
    nav#global ul.nav_hdr3>li a {
        padding-left: 1em;
        font-size: 0.34rem;
        display: block;
    }
    #under h1>span {
        font-size: 0.6rem;
    }
    #under h1>span::before {
        font-size: 1.2rem;
        top: -0.8rem;
    }
    #under h2 {
        font-size: 0.4rem;
    }
    .read_more {
        width: 4.2rem;
        height: 1.2rem;
        padding-top: 0.3rem;
        font-size: 0.24rem;
    }
    .read_more>strong {
        font-size: 0.32rem;
    }
    footer a.ftr_logo {
        margin: 0 auto 0.2rem;
    }
    footer p {
        text-align: center;
    }
    footer p.copy {
        font-size: 0.22rem;
    }
}

/* CSSアニメーション */
@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
