/*
Theme Name: HAKU child
Theme URI:
Description:WordPressテーマ「HAKU」の自作子テーマです。
Template:haku_tcd080
Author: design yamagata
Author URI:https://design-plus1.com/tcd-w/
Version:2.7.1
*/

#header_slider .item1 .catch{
    font-family: 'Zen Kaku Gothic New';
    font-weight: bold;
}

.top-thankyou {
    width: 135px;
    position: absolute;
    bottom: -50px;
    right: 7%;
    z-index: 99;
}
.top-thankyou img {
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
.top-thankyou {
    width: 140px;
    position: absolute;
    bottom: -50px;
    right: 6%;
    z-index: 99;
}
}

#onlineshop {
    width: 100%;
    background-image: url("img/pattern-kome.jpg");
    background-size: 500px auto;
    background-repeat: repeat;
    padding: 100px 0;
}
.onlineshop {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
.onlineshop h2{
    width: 100%;
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
}
.onlineshop .onlineshop-read-txt{
    width: 100%;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}
.onlineshop-container {
    width: 100%;
 	display: flex;
    flex-wrap: wrap;         /*折り返し有り・複数行*/
    justify-content: space-between; /*均等に間隔をあける*/
    margin-top: 50px;
}
a.onlineshop-item{
    width: calc( 48% - 20px);
    background-color: #fff;
    padding: 10px;
}
 .onlineshop-item img:hover { 
	filter: alpha(opacity=70);
	opacity: 0.7; 
	transition : 0.5s;　/*ふわっとさせる指定*/
}	

.onlineshop-item h3, .onlineshop-item .onlineshop-item-price{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    padding: 0 10px;
}
.onlineshop-item h3{
    margin-top: 10px;
}

a.onlineshop-item img{
    width: 100%;
    height: auto;
}
.onlineshop-item-photo {
    position: relative; 
}
.onlineshop-item-photo .icon {
    width: 100px;
    height: 100px;
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 2;
}
.onlineshop-item-photo::before{
    content: '';
    width: 120px;
    height: 120px;
    background-image: url("img/illust-logo.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -5px;
    right: 5px;
    z-index: 2;
}

@media (max-width: 768px) {
#onlineshop {
    background-size: 400px auto;
    padding: 80px 0;
}
.onlineshop {
    max-width: 500px;
}
.onlineshop h2{
    font-size: 32px;
    text-align: left;
    margin-bottom: 20px;
}
.onlineshop .onlineshop-read-txt{
    font-size: 16px;
    text-align: justify;
}
.onlineshop-container {
    margin-top: 10px;
}
a.onlineshop-item{
    width: calc( 100% - 20px);
    margin-top: 20px;
}
.onlineshop-item h3, .onlineshop-item .onlineshop-item-price{
    font-size: 16px;
}
}

@media (max-width: 600px) {
a.onlineshop-item{
    width: calc( 100% - 20px);
    padding: 10px;
}

.onlineshop-item h3, .onlineshop-item .onlineshop-item-price{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    padding: 0 10px;
}
.onlineshop-item h3{
    margin-top: 10px;
}

.onlineshop-item-photo .icon {
    width: 80px;
    height: 80px;
}
.onlineshop-item-photo::before{
    content: '';
    width: 100px;
    height: 100px;
    bottom: -5px;
    right: 5px;
}
}

#footer_button {
    margin: 60px 0 0 0;
}
#onlineshop #footer_button a {
    font-size: 1.4em !important;
    font-weight: 400 !important;
}



.footer_banner {
    width: 90%;
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    position: relative;
    z-index: 2;
 	display: flex;
    flex-wrap: wrap;         /*折り返し有り・複数行*/
    justify-content: space-between; /*均等に間隔をあける*/
}
.footer_banner a{
    width: 30%;
}
.footer_banner a img{
    width: 100%;
    height: auto;
    border: 1px solid #fff;
}

@media (max-width: 768px) {
.footer_banner {
    max-width: 600px;
}

.footer_banner a{
    width: 49%;
    margin-top: 10px;
}
}
@media (max-width: 600px) {
.footer_banner {
    max-width: 300px;
    margin: 30px auto 0;
}
.footer_banner a{
    width: 100%;
}
}

#cb_contents_num3 {
    background-image: url("img/pattern-kome2.jpg");
    background-size: 500px auto;
    background-repeat: repeat;
}
.index_design_content3.num3 .catch{
    font-weight: bold;
}
.index_design_content3 .content_inner {
    padding: 0 100px;
}
@media (max-width: 991px) {
.index_design_content3 .content_inner {
    padding: 0 60px;
}
}

#cb_contents_num4{
    padding: 80px 5% !important;
    background-image: url(img/thankyou-tsunokawa-251016.png);
    background-size: 50% auto;
    background-repeat: no-repeat;
    background-position: right bottom 80px;
}
#cb_contents_num3 p{
    line-height: 1.6 !important;
}
@media (max-width: 991px) {
#cb_contents_num4{
    padding: 60px 5%  !important;
    background-image: url(img/thankyou-tsunokawa-251016-sp.png);
    background-size: 55% auto;
    background-repeat: no-repeat;
    background-position: right -45px top 35px;
}
}
@media (max-width: 600px) {
#cb_contents_num4{
    padding: 45px 5%  !important;
    background-size: 80% auto;
    background-position: right -75px top 40px;
}
#cb_contents_num4 .top_mission{
    display: inline-block;
    width: 70%;
}
}



/*--------------- flex参考 ---------------*/

 .flex_dummy{
 	display: flex;
	   
    flex-wrap: no-wrap;      /*折り返しなし・単一行（デフォルト）*/
    flex-wrap: wrap;         /*折り返し有り・複数行*/
    flex-wrap: wrap-reverse; /*折り返し有り・複数行・折り返し地点が逆*/

	   
    justify-content: flex-start;    /*左（上）揃え*/
    justify-content: flex-end;      /*右（下）揃え*/
    justify-content: center;        /*中央揃え*/
    justify-content: space-between; /*均等に間隔をあける*/
    justify-content: space-around;  /*均等に間隔をあける・両端にも間隔をあける*/
	   
    align-items: flex-start; /*上（左）揃え*/
    align-items: flex-end;   /*下（右）揃え*/
    align-items: center;     /*中央揃え*/
    align-items: baseline;   /*ベースラインを揃える*/
    align-items: stretch;    /*全ての要素の高さを揃える*/   

    align-content: flex-start;    /*上（左）揃え*/
    align-content: flex-end;      /*下（右）揃え*/
    align-content: center;        /*中央揃え*/
    align-content: space-between; /*均等に間隔をあける*/
    align-content: space-around;  /*均等に間隔をあける・両端にも間隔をあける*/
    
	background-image: url(../img/aaaa.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-color: #FFFFFF;
　background-size: auto 100%;

}
.aaaaaaaaaaa >:first-child {
	margin-top: 0px;	
}
