@charset "UTF-8";

*{
    font-size: 62.5%;
}
html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height: auto;
    }
a{
    display: inline;
}
a.form:link,
a.form:visited,
a.form:hover,
a.form:active{
        color: #DC5800;
}

/*-----------------------------SP------------------------------*/

body{
    background: #fff;
    color: #333;
    line-height: 1.5;
    font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 1.6rem;
    margin: 0 auto;
}
#allContainer {
    display: inline-block;
}
.bnr_pc{display: none}

/*main
===============================================================================*/

#pageWrapper{
    text-align: center;
    display: block;
	background: #EDEDED;
    max-width: 1024px;
    margin: auto;
}
    .contentsbox{
        margin: 0 auto 20px;
    }

h2.aboutTx{    
    font-size: 1.1rem;
    padding: 10px 5px 10px 15px;
    font-weight: bold;
}

p.day{
    color: #E07137;
    font-weight: bold;
    font-size: 0.9rem;
}

.inquiry{
    background: #EDEDED;
    padding: 10px;
    font-size: 14px;

}
span.small{
    line-height: 0.7;
    font-size: 0.8em;
    color: #616161;
    
}
/*NEWリボン*/
.new span{
  display: inline-block;
    position: absolute;
    top: 4px;
    left: 5px;
    margin: 0;
    padding: 10px 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    text-align: center;
    color: white;
    font-size: 0.8rem;
    background: #FFA36F;
    font-weight: bold;
    border-radius: 2px 0 0 0;
}
.new span::before {
  position: absolute;
  content: '';
  top: 0;
  right: -6px;
  border: none;
  border-bottom: solid 6px #cf4a2d;
  border-right: solid 6px transparent;
}
.new span::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 20px solid #FFA36F;
  border-right: 20px solid #FFA36F;
  border-bottom: 10px solid transparent;
}
.itembox .bnr_sp{
    padding: 10px 5px 10px;
    width:300px;
    height:auto;
}
.itembox .bnr_sp:nth-child(2n){
    padding-right: 0;
}
.itembox{
  max-width: 750px;
  margin: 0px 5px  20px;
}
.item p{
    text-align: left;
    font-size: 10px;
     margin-left: 15px;
}

.itembox li{
    display: -webkit-flex; 
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    align-items: center;

}
.footer_bnr{
        text-align: center;
        margin-bottom: 20px;
    }

/*---------------------PC------------------------------*/
@media (min-width:768px),print{
    /*PCの時非表示*/

    html{
        font-size: 1.2rem;
        line-height: 1.7;
    }
    img{
    max-width: 100%
    }
    #allContainer ,
    .bnr_pc
    {
    display: block;
}
    .bnr_sp{display: none}
    /*main
===============================================================================*/


    .contentsbox{
        margin: 0  auto 40px ;
    }
    
    p.day{
            font-size: 1.1rem;
    }
    h2.aboutTx{
        font-size: 1.4rem;
        padding: 0 0 20px;
    }
    .aboutTx_box{
            margin-bottom: 60px;
    }
    .inquiry {
        display: block;
        padding: 50px 0;
        font-size: 1.3rem;
        line-height: 1.8;
        letter-spacing: 0.1rem;
    }
	
	
    .item p{
    font-size: 18px;
    }
    span.small{
        font-size: 0.8rem;
    }
    /*new リボン　ここから*/
    .new span{
    top: -12px;
    width: 87px;
    height: 62px;
    color: white;
    font-size: 1.6rem;
    background: #FFA36F;
    font-weight: bold;
    border-radius: 6px 0 0 0;
}
.new span::before {
  position: absolute;
  content: '';
  top: 0;
  right: -12px;
  border: none;
  border-bottom: solid 12px #cf4a2d;
  border-right: solid 12px transparent;
}
.new span::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 43px solid #FFA36F;
  border-right: 44px solid #FFA36F;
  border-bottom: 20px solid transparent;
}
    /*new ここまで*/
    /*リンク*/
    a.form {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  color: #0F2F6C;
  text-decoration: none;
}

a.form::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #DC5800;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
  content: "";
}

a.form:hover::after {
  transform: translate(0, 0);
}
    /*リンクここまで*/
    
    
    .bnr_pc{
    margin: 0 auto;
}
    .itembox{
    max-width: 750px;
    padding-top: 40px;
    }
}

.btn img {
    max-width: 50px;
}

/*ここから変更*/
.item {
    width: 60%;
}

.item_textbox {
    width: 40%;
	background: white;
}


img.btn {
    margin-top: 10px;
    margin-right: 10px;
	width: 15%;
	position: absolute;
    bottom: 8%;
    right: 0%;
}





.itembox li {
    display: flex;
    flex-direction: column;
}

.bnr_box {
    display: flex;
	width: 100%;
	margin-bottom: 20px;
}

.itembox {
    margin: 0px 10px 20px;
}
.item-area {
    display: flex;
    justify-content: center;
}

.item-area p{
	margin: 0;
    position: absolute;
    top: 25%;
	font-size: 1.4vw;
}

@media(min-width:1024px){
.item-area p {
    font-size: 14px;
	}}

.bnrbox li:first-child{
	padding-top: 20px;
}

.bnrbox li:last-child{
	padding-bottom: 20px;
}

.aboutTx_box,.inquiry  {
    text-align: center;
}

.item_textbox {
    position: relative;
}


@media(min-width:768px){
ul.bnrbox {
        padding: 3rem 1rem;
}
}
@media(min-width:768px){
.item-area p{
    top: 23%;
	}}

@media(max-width:767px){
.item img {
        max-width: 100%;
	}}

@media(max-width:767px){
img.btn {
    margin-top: 0px;
    width: 14%;
	}}

@media(max-width:767px){
.bnr_box {
    margin-bottom: 10px;
	}}

@media(max-width:767px){
.itembox li:first-child{
	margin-top:10px;
}}

@media(max-width:767px){

.itembox {
    padding: 10px 10px 10px;
	}}

@media(max-width:767px){

.item_textbox p {
	    font-size: 3vw;
	}}


@media(max-width:767px){
.item-area {
    top: 30px;
	margin-bottom: 0;
	}}

@media(max-width:767px){
.btn-box {
    text-align: end;
	}}

@media(min-width:768px){
ul.bnrbox {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
	}}

@media(min-width:768px){
.bnrbox li {
    width: 49.5%;
	}}

@media(min-width:768px){
.bnrbox li:first-child {
    padding-top: 0;
	}}

@media(min-width:768px){
.bnrbox li:last-child {
    padding-bottom: 0;
	}}

.item img {
    width: 100%;
}


#Wrapper {
    background-color: #EDEDED;
}

