/*
Theme Name: OKQQ-template
*/

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
    width: 100%;
}

body {
    font-family: "M PLUS Rounded 1c", sans-serif, "Helvetica Neue",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans";
    font-weight: 700;
    font-style: normal;
    background: #fff7e6;
    color: #7b401d;
    line-height: 1.8em;
    font-size: 16px;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #7b401d;
}

a:hover {
    color: #ef8827;
}

header,
nav,
article,
aside,
section,
footer {
    display: block;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.smp500px {
    display: none;
}

.smp600px {
    display: none;
}
.smp950px {
    display: none;
}


@media screen and (max-width: 950px) {

    .pc950px {
        display: none;
    }

    .smp950px {
        display: block;
    }

}
@media screen and (max-width: 600px) {

    body {
        font-size: 14px;
    }

    .pc600px {
        display: none;
    }

    .smp600px {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    body {
        font-size: 13px;
    }
    .smp500px {
        display: block;
    }
}

/*header
---------------------------------------------------------------------------*/

header {
    height: 90px;
    margin: 0;
    padding: 0;
    z-index: 130;
}
header#contents{
border-bottom:5px solid #fcc634 ;
}
#top header#contents{
border-bottom:none;
}
.site-header {
    background: #fff7e6;
    padding: 0;
    position: fixed;
    top: 0;
    transition: .5s;
    width: 100%;
    z-index: 999;
}

.site-header .wrap {
    max-width: 1100px;
    height: 100%;
    padding: 1em 0;
    margin: 0 auto;
    align-items: flex-end;
    justify-content: space-between
}

.site-header.hide {
    transform: translateY(-200%);
}

#header-logo {
    width: 200px;
}


@media screen and (max-width: 1280px) {
    header {
        display: block;
    }
}

@media screen and (max-width: 1024px) {

    #header-logo {
        margin-left: 1em;
    }

}

@media screen and (max-width: 800px) {
    #header-logo {
        padding: 0;
    }
}

@media screen and (max-width: 600px) {
    #header-logo {
        position: absolute;
        top: 5px;
        width: 160px;
        margin-left: 0.5em;
    }

    #header-logo img {
        padding: 0;
        width: auto;
        height:45px;
    }
}

@media screen and (max-width: 400px) {}




/*メインメニュー
---------------------------------------------------------------------------*/
#menu {
    display: flex;
    justify-content: flex-end;

}

#menubar ul {
    padding: 0;
    margin: 0;
    line-height: 0.5em;
    margin-bottom: 3px;
    margin-right: 10px;
}

#menubar ul li {
    display: inline-block;
    position: relative;
    margin: 0 0 0 20px;
    padding: 0;
}

#menubar ul li a {
    text-decoration: none;
    padding: 0;
    margin: 0;
}

#menubar ul li a:hover {
    opacity: 0.8;
}

#menubar ul li a:hover:after {
    transform: scale(1);
}


/*スマホ用メニューを表示させない*/
#menubar-s {
    display: none;
}

/*３本バーアイコンを表示させない*/
#menubar_hdr {
    display: none;
}

@media screen and (max-width:1280px) {
    #menubar-s {
        display: block;
    }

    #menu {
        display: none;
    }

    #nav_toggle {
        position: absolute;
        top: 40px;
        right: 25px;
        height: 32px;
        cursor: pointer;
    }

    #nav_toggle div {
        position: relative;
        width: 36px;
    }

    #nav_toggle span {
        width: 100%;
        height: 7px;
        left: 0;
        display: block;
        border-radius: 9999px;
        position: absolute;
        transition: transform .6s ease-in-out, top .5s ease;
    }

    #nav_toggle span:nth-child(1) {
        top: 0;
        transition: transform .6s ease-in-out, top .5s ease;
        background: #ef8827;
    }

    #nav_toggle span:nth-child(2) {
        top: 12px;
        transition: transform .6s ease-in-out, top .5s ease;
        background: #fcc634;
    }

    #nav_toggle span:nth-child(3) {
        top: 24px;
        transition: transform .6s ease-in-out, top .5s ease;
        background: #7b401d;
    }

    #nav_toggle span:hover span:nth-child(1) {
        top: 4px;
    }

    #nav_toggle span:hover span:nth-child(3) {
        top: 23px;
    }

    .open #nav_toggle span:nth-child(1) {
        top: 12px;
        transform: rotate(45deg);
    }

    .open #nav_toggle span:nth-child(2) {
        top: 12px;
        width: 0;
        left: 50%;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        transform: rotate(-45deg);
    }

    /* z-index */
    #nav_toggle {
        z-index: 1000;
    }

    .smenu-logo {
        text-align: center;
        padding: 10px
    }

    .smenu-logo img {
        height: 150px;
    }

    #gloval-nav {
       color: #fff;
    background: #fcc634;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 990;
    text-align: center;
    display: flex;
    visibility: hidden;
    justify-content: center;
    align-items: flex-start;
    font-size: 23px;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
    overflow: auto;
    flex-wrap: wrap;
    }
.smp-menu-logo {
    width: 100%;
}
    #gloval-nav img{
        margin-bottom: 1em;
		width:250px;
    }
    #gloval-nav a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 10px 0;
        transition: color .6s ease;
    }

    #gloval-nav a:hover {
        color: #fcfc1d;
    }
    #gloval-nav nav{
        display: block;
        width: 600px;
        padding: 0 2em;
    }

    #gloval-nav ul {
        list-style: none;
        width:100%;
    }

    #gloval-nav li {
        padding: 15px;
        opacity: 0;
        border-top:1px solid #fff;
    }
    #gloval-nav li:last-child {
        border-bottom:1px solid #fff;
    }

    /* open */
    .open {
        overflow: hidden;
    }

    .open #gloval-nav {
        visibility: visible;
        opacity: 1;
    }

    .open #gloval-nav li {
        opacity: 1;
        transform: translateX(0);
        transition: transform 1s ease, opacity .9s ease;
    }
}

@media screen and (max-width:1024px) {
    header#h-top {
        background-color: none;
    }

    #logo {
        position: relative;
        z-index: 40;
        left: 0;
        top: 0;
    }
	.smp-menu-logo {
    width: 100%;
    margin-top: 3em;
}
}

@media screen and (max-width:600px) {
    #logo {
        position: relative;
        z-index: 40;
        left: 0;
        top: 0;
    }


    .logo1-1024,
    header#h-sub .logo1-1024 {
        display: block;
        position: absolute;
        z-index: 40;
        height: 50px;
        left: 5px;
        top: 5px;
        fill: #fff;
        color: #fff;
    }

    header {
        height: 60px;
    }

    header#h-top {
        background: none;
    }

    #nav_toggle {
        position: absolute;
        top: 15px;
        right: 10px;
        height: 32px;
        cursor: pointer;
    }

    .open #nav_toggle span:nth-child(1) {
        top: 12px;
        transform: rotate(45deg);
    }

    .open #nav_toggle span:nth-child(2) {
        top: 12px;
        width: 0;
        left: 50%;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        transform: rotate(-45deg);
    }
    #gloval-nav nav{
    width: 100%;
    }
}

@media screen and (max-width:500px) {
    #logo {
        position: relative;
        z-index: 40;
    }
}

@media screen and (max-width:480px) {
    #gloval-nav li {
        padding: 10px 0;
        font-size: 14px;
    }

    #gloval-nav img{
		width:200px;
    }
    #gloval-nav a {
        padding: 0;
    }
}

@media screen and (max-width: 400px) {}








/*main
---------------------------------------------------------------------------*/
main{
    background: url(images/footer-bg.png);
    background-position: bottom -30px center;
    background-repeat: no-repeat;
    background-size: 90%;
    padding-bottom: 4em;
}
.contents {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4em 0;
}

.contents.max {
    width: 100%;
    margin: 0;
    padding: 0;
}


.contents.width800px {
    max-width: 800px;
    margin: 0 auto;
}

@media screen and (max-width: 1024px) {

    .contents {
        width: 100%;
    }

    .contents.width1024px {
        padding: 4em 1em;
    }
}

@media screen and (max-width: 800px) {
    .contents.width800px {
        padding: 4em 1em;
    }
}

h1,
h2 {
    font-weight: 900;
    font-style: normal;
    text-align: center;
    font-size: 1.5em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
h2:before {
    content: url('images/logo-news-h2.png');
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 5px;
}

h1 {
    color: #fff;
}

h1 span {
    display: block;
    font-size: 0.5em;
    font-family: "kozuka-gothic-pro", sans-serif, "Helvetica Neue",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans";
    font-weight: 500;
    font-style: normal;
    letter-spacing: 2px;
    margin-top: 10px;
}

h3 {
    line-height: 2.2em;
    font-weight: 500;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.arrow:before {
    content: url(images/arrow-green.svg);
    vertical-align: middle;
    display: inline-block;
    width: 50px;
    margin-right: 0.5em;
    margin-top: 6px;
}


@media screen and (max-width: 600px) {
    main{
        background-position: bottom -15px center;
        padding-bottom: 6em;
    }
}


/*TOP-メインビュー
---------------------------------------------------------------------------*/

#mainview {
    margin-top: 30px;
}

#mainview .contents.width1100px {
    padding-bottom: 1.5em;
}

.mainview-wrap.flex{
    border:10px solid #fcc634;
    border-radius: 30px;
    width:100%;
    height:480px;
    background-image: url(images/mainview-bg.png);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 70%;
    
}

.mainview-wrap.flex .left{
    width:70%;
}

.mainview-wrap.flex .right{
    width: 30%;
    background-color: #fcc634;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.mainview-wrap.flex .right img.img-txt {
    max-width: 200px;
    height: auto;
    position: absolute;
	top:2em;
    bottom: auto;
}

.mainview-wrap.flex .right img.pc950px,
.mainview-wrap.flex .right img.smp950px{
    width:200px;
    height:200px;
    position: absolute;
    bottom:-100px;
}

.main-comment {
    width: 75%;
    margin-top: 2em;
    padding: 0 1em;
}

@media screen and (max-width:950px) {
    .mainview-wrap.flex{
        position: relative;
        background-size: cover;        
    }
    
    .mainview-wrap.flex .left{
        width:100%;
    }
    
    .mainview-wrap.flex .right{
        width: 100%;
        height:400px;
        background-color: transparent;
        text-align: center;
        display: block;
        position: absolute;
        top:0;
    }
	.mainview-wrap.flex .right img.img-txt {
		right:1em;
	}
    .mainview-wrap.flex img.smp950px{
        width:150px;
        height:150px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        bottom:-70px;
    }
    .main-comment{
        width:100%;
        margin:0 auto;
        padding: 80px 2em 0;
    }
}

@media screen and (max-width:600px) {
    #mainview {
        margin-top: 5px;
    }
}
@media screen and (max-width:500px) {
    #mainview {
        margin-top: 10px;
    }
	.mainview-wrap.flex .right img.img-txt {
        max-width:150px;		
	}
}

@media screen and (max-width:450px) {
.mainview-wrap.flex{
    border:none;
    border-bottom:5px solid #fcc634;
    border-radius: 0;
    width:100%;
    height:95vh;    
}
	    .mainview-wrap.flex .right p span{
     background-color: #fcc634;
    padding: 10px 5px;
    text-align: center;
			line-height:1em;
    display: inline-block;
			
    }
}

/*TOP-お知らせ
---------------------------------------------------------------------------*/
#topics{
padding:0 2em;
}
#topics .contents{
    width:950px;
    margin: 0 auto;
    background: rgba(255,255,255,0.7);
    padding: 1em 3em 2em;
    border-radius: 20px;
}
#topics .contents h2{
    
}
.topics-list-wrap.flex{

}
.topics-list-wrap.flex .date{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #ef8827;
    width:150px;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topics-list-wrap.flex .ttl{
    width:calc(100% - 150px);
    border-bottom: 2px solid #ef8827;
    padding: 0 1em;
    line-height: 1.5em;
}

.topics-list-wrap.flex p {
    margin: 0 0 1em;
}

#topics .contents a.link-button{
    display: block;
    background-color: #ef8827;
    color:#fff;
    border-radius: 9999px ;
    width:150px;
    margin-left:auto;
}
#topics .contents a.link-button span{
    display: block;
    text-align: center;
}
#topics .contents a.link-button span:before{
    content: "";
    margin: auto;
    width: 10px;
    height: 10px;
    display:inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    padding-right: 5px;
}

@media screen and (max-width:950px) {
    #topics{
    padding:0;
    }

    #topics .contents{
        width:100%;
    }
    
.topics-list-wrap.flex .date{
    width:100px;
}
.topics-list-wrap.flex .ttl{
    width:calc(100% - 100px);
    padding: 0.5em 0.5em;
}
}

@media screen and (max-width:450px) {

    #topics .contents{
        width:100%;
        border-radius: 0;
        padding: 1em 2em 2em;
    }    
.topics-list-wrap.flex .date{
    border-radius: 0;
    background-color: transparent;
    width:100%;
    text-align: left;
    color: #ef8827;
    font-size: 0.8em;
    line-height: 0;
    margin: 7px 0;
    display: inline;
}
.topics-list-wrap.flex .ttl{
    width: 100%;
    border-bottom: 1px solid #ef8827;
    padding: 0.3em 0 0.5em;
}

#topics .contents a.link-button{
    width: 180px;
    margin: 0.5em auto 0;
}
#topics .contents a.link-button span{
    display: block;
    text-align: center;
    padding: 3px;
}
}

/*footer
---------------------------------------------------------------------------*/

footer {
    background: #7b401d;
    padding: 4em 0 2em;
    color:#fff;
    font-weight: 400;
}
footer a{
    color:#fff;
}

footer a:hover{
    color:#fcc634;
}

.footer-wrap.flex{
    max-width:1100px;
    margin:0 auto;
    flex-wrap: wrap;
    align-items: center;
}
footer img {
    width: 100px;
    height:auto;
}

footer .address {
    margin: 0 2em;
    font-size: 14px;
    line-height: 1.5em;
}

footer .address span{
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.footer-wrap2.flex{
    max-width:1100px;
    margin:0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
footer ul {
    padding: 0;
}

footer li {
    display: inline-block;
    margin: 0 5px;
}
footer li a{
    color:#fff;
}

footer .copyright {
}


@media screen and (max-width: 1100px) {
    footer {
        padding: 4em 2em 2em;
    }

}

@media screen and (max-width: 900px) {
    footer img {
        width: 80px;
        height:auto;
    }
    
    footer .address {
        margin: 0 1em;
        font-size: 12px;
    }
    
    footer ul {
        padding: 0;
        font-size: 0.8em;
    }    
    footer .copyright {
        font-size: 0.9em;
        font-weight: 600;
    }
}

@media screen and (max-width: 600px) {
    footer {
    }
    footer a{
        color:#fff;
    }
    
    footer a:hover{
        color:#fcc634;
    }
    
    .footer-wrap.flex{
        justify-content: center;
    }
    footer img {
        width: 80px;
    }
    
    footer .address {
        width: 100%;
        margin: 2em 0;
        text-align: center;   
    }
    
    .footer-wrap2.flex{
        justify-content: center;
    }    
    footer .copyright {
        width: 100%;
        text-align: center;
    }
}


/*コンテンツヘッダー
---------------------------------------------------------------------------*/

#contents-header{
    margin-top: 90px;
}
#contents-header .contents.width1100px{
    padding: 0;
}

.contents-header-wrap{
background:#fcc634;
width: 700px;
height:350px;
border-bottom-left-radius: 350px;
border-bottom-right-radius: 350px;
margin: -150px auto 0;
padding: 175px 0 0;
text-align: center;
}

#contents-header h1{
    display: flex;
    justify-content: center;
    margin: 0.67em 0 0;
    letter-spacing: 2px;
}

ul.dot {
    margin: 10px auto 0;
    padding: 0;
  }
  
ul.dot li {
    display: inline-block;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    background: #fff;
    margin: 0 7px;
}

@media screen and (max-width:750px) {
    .contents-header-wrap{
        width: 500px;
        height:300px;
        border-bottom-left-radius: 250px;
        border-bottom-right-radius: 250px;
        margin: -130px auto 0;
        padding: 150px 0 0;
        }
        #contents-header h1{
            margin: 15px 0 0;
        }
        #contents-header img{
            width: 60px;
        }
        ul.dot {
            margin: 5px auto 0;
          }
}
@media screen and (max-width:600px) {
    .contents-header-wrap{
    width: 400px;
    height: 225px;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 200px;
    margin: -140px auto 0;
    padding: 121px 0 0;
    }
    #contents-header h1{
        margin: 10px 0 0;
    font-size: 1.7em;
    }
    
    #contents-header img{
        width: 30px;
    }
	ul.dot {
    margin: 0 auto 0;
}
    ul.dot li {
        width: 5px;
        height: 5px;
        margin: 0 5px;
    }
}
@media screen and (max-width:430px) {
    .contents-header-wrap {
    width: 100%;
    height: 230px;
    border-bottom-left-radius: 9999px;
    border-bottom-right-radius: 9999px;
    margin: -150px auto 0;
    padding: 132px 0 0;
}
    
    #contents-header img{
        width: 30px;
    }
    ul.dot {
        margin: 0 auto 0;
        padding: 0;
      }
    ul.dot li {
        width: 5px;
        height: 5px;
        margin: 0 5px;
    }
}

/*コンテンツページ-OKQQについて
---------------------------------------------------------------------------*/


/*共通*/


/*ごあいさつ*/
#greeting {
    padding: 0 2em 0;
    position: relative;
    z-index: -1;
}
#greeting .greeting-wrap.flex {
    width:100%;
    margin: 0 auto;
}
#greeting .greeting-wrap.flex .left{
    width:35%;
    display: flex;
    align-items: center;
}
#greeting .greeting-wrap.flex .left img{
    width:100%;
}
#greeting .greeting-wrap.flex .right{
    width: 65%;
    padding: 0 0 0 2em;
}
#greeting .ttl {
    font-size: 1.5em;
}
#greeting .p-right {
    text-align: right;
}



@media screen and (max-width: 1024px) {
	#greeting .greeting-wrap.flex {
}
#greeting .greeting-wrap.flex .left{
    width:300px;
	margin:0 auto;
}
#greeting .greeting-wrap.flex .left img{
    width:100%;
}
#greeting .greeting-wrap.flex .right{
    width: 100%;
    padding: 0;
}	
}

@media screen and (max-width: 600px) {

#greeting .greeting-wrap.flex .left{
    width:200px;
	margin:0 auto;
}
}

@media screen and (max-width: 450px) {
}

/*会社概要*/
#group-profile .contents{
    padding: 2em 0;
}
#group-profile h2{
    display: block;
    background: #fcc634;
    padding:  0.5em ;
    text-align: center;
    border-radius: 7px;
}
#group-profile h2:before {
    content: "";
}

#group-profile dl {
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    padding: 2em 0;
}

#group-profile dl dt,
#group-profile dl dd {
    display: flex;
    align-items: center;
    line-height: 1.8em;
    margin: 0 0 10px;
    align-self: stretch
}

#group-profile dl dt {
    width: 200px;
    background: #7b401d;
    color: #fff;
    padding: 10px 0.5em 7px;
    display: flex;
    justify-content: center;
    border-radius:7px 0 0 7px;

}

#group-profile dl dd {
    width: calc(100% - 200px);
    background-color: #fff;
    border: 3px solid #7b401d;
    padding: 10px 1em 8px;
    text-align: left;
    border-radius:0 7px 7px 0;
}

a.link{
    display: block;
    width:300px;
    text-align: center;
    background: #7b401d;
    border-radius: 9999px;
    padding:0.5em 1em;
    margin: 0 auto 0.5em;
    color: #fff;
    font-size: 1.5em;
}
a.link:hover{
    background-color: #fcc634;
    color: #7b401d;
    transition: 0.3s;
}

@media screen and (max-width: 1100px) {
#group-profile .contents{
    padding: 2em 2em;
}
}

@media screen and (max-width: 700px) {

    #group-profile dl dt,
    #group-profile dl dd {
        width: 100%;
    margin: 0;
    border-radius: 7px 7px 0 0;
    }

    #group-profile dl dd {
        margin: 0 0 1em;
    border-radius: 0 0 7px 7px;
    }

}

/*Report
---------------------------------------------------------------------------*/

#report {
    margin-bottom: 3em;
}

#report .contents {
    max-width: 500px;
    background: #fff;
    border-radius: 15px;
    margin:5em auto -2em;
    padding: 1.5em 2em;
    border: 3px solid #7b401d;
}
#report .contents h2{
    display: block;
    font-size: 1.4em;
}
#report .contents h2:before{
    content:"";
}
#report ul{
    list-style: none;
    padding: 0;
}
#report ul li a{
    display: block;
    border-radius: 9999px;
    background: #7b401d;
    margin: 0 auto 5px;
    color: #fff;
    text-align: center;
    padding: 0.5em;
}
#report ul li a:hover{
    background-color: #fcc634;
    color: #7b401d;
    transition: 0.3s;
}

#report p{text-align:center}

@media screen and (max-width: 1024px) {
    #service .contents {
        padding: 3em 1em 0;
    }

    #results .contents {
        padding: 2em 1em;
    }
}


@media screen and (max-width: 600px) {
	#report {
    padding:0 2em;
}
	#report .contents {
	margin: 3em auto 0;
}
	#report {
    margin-bottom: 0;
}
}


@media screen and (max-width: 450px) {
	
	
}

/*アーカイブ
---------------------------------------------------------------------------*/
#topics-archive{
    margin:5em;
}
#topics-archive .contents{
    background:#fff;
    border-radius: 30px;
    border: 3px solid #7b401d;
    padding:2em 3em;
    margin: 0 auto 3em;
}

#topics-archive .contents h2{
    border-bottom: 2px solid #7b401d;
    padding-bottom: 0.5em;
}

#topics-archive .contents p.txt{
    padding:0.5em 0;
}

.topics-nav.flex {
    justify-content: center;
}
.topics-nav.flex div{
	margin:0 1em;
}
.topics-nav.flex div a {
    background: #7b401d;
    padding: 0.5em 1.5em;
	display:block;
    border-radius: 9999px;
	color:#fff;
}

.topics-nav.flex div a:hover {
	background: #fcc634;
	color:#7b401d;;
	transition:0.3s;
}

#topics-archive .contents p.date{
    text-align: right;
    margin-left: auto;
    width: 100%;
    color:#ef8827;
}

@media screen and (max-width:750px) {
    #topics-archive{
        margin: 3em 1.5em;
    }
    #topics-archive .contents{
        border: 3px solid #7b401d;
        padding:1em 2em;
        margin: 0 auto 3em;
    }
}
@media screen and (max-width:550px) {
    #topics-archive{
        margin: 3em 1em;
    }
    #topics-archive .contents{
        padding:1em 1.5em;
    }
}

@media screen and (max-width:450px) {
	#topics-archive {
    margin: 3em 1em 0;
}
	.topics-nav.flex div {
    margin: 0 0.5em;
}
.topics-nav.flex div a {
	font-size:0.8em;
}
}

/*お問い合わせフォーム
------------------------------------------------ */
#contact {
    width: 100%;
	padding:0 2em;
}

.wpcf7-form-control-wrap,
.wpcf7-form-control-wrap.product-select {
    flex: 1 0 auto;
}

.wpcf7-form-control-wrap {
    position: relative;
}

.element_wrap {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 0px;
    padding: 20px 5px 20px 0;
    text-align: left;
    flex-wrap: wrap;
}

.element_wrap.textarea {
    flex-wrap: wrap;
}
.wpcf7-form-control-wrap {
   width: calc(100% - 200px);
}
label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: calc(200px - 1rem);
    vertical-align: top;
    margin: 0 1rem 0.5rem 0;
    padding: 0;
	color:#fff;
}
p.change-address{margin-top:1em;}
label.change-address{width:100%;}
label span {
    color: red;
}

.element_wrap.textarea label {
    align-items: flex-start;
}

form {
    padding: 6rem 8rem 4rem;
    background: #fcc634;
    border-radius: 50px;
    margin: 4rem 0 2rem;
}

.form-txt {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 14px 10px;
    background-color: #fff;
	border-radius:5px;
    border: none;	
}
input[type="date"]::-webkit-date-and-time-value {
    padding: 14px 5px !important;
}
.form-type {
    display: inline-block;
    width: calc(100% - 205px);
    padding: 14px 10px;
    margin: 0 0 0 5px;
}

.form-comment {
    display: inline-block;
    width: 100%;
    padding: 14px 10px;
	border-radius:5px;
    margin: 0;
    background-color: #fff;
    border: none;
}

div.button-wrap {
    margin: 4rem auto;
    text-align: center;
}

#formbtn {
    display: block;
    padding: 10px;
    width: 200px;
	border-radius:5px;
    background: #fff;
    color: #7b401d;
    font-size: 18px;
    margin: 35px auto 0;
    font-weight: 700;
    transition: 0.3s;
    border: none;
}

#formbtn:hover {
    background-color: #7b401d;
	color:#fff;
	transition:0.3s;
}

.element_wrap.br .flex {
    justify-content: flex-start;
}

.element_wrap.report-txt,
.element_wrap.br {
    display: block;
}

.element_wrap.br {
    display: block;
    max-width: 700px;
}

.element_wrap.report-txt label {}

.element_wrap.report-txt P {
    width: 100%;
    margin-top: 1rem;
    font-size: 0.9em;
    font-weight: 400;
}

.element_wrap.report-txt P span {
    color: red;
}

.element_wrap.br .form-txt {
    margin-left: 0;
    background-color: #fff;
}
.wpcf7-form-control-wrap.area form select::-ms-expand {
    display: none;
    /* デフォルトのスタイルを無効(IE用) */
}


@media screen and (max-width: 900px) {
	
  form {
	  padding: 3rem 4rem 3rem;}

    .element_wrap {
        width: 100%;
        display: block;
        margin-bottom: 0;
        padding: 20px 0;
    }

    label {
        width: 100%;
    }

    .wpcf7-form-control-wrap {
        width: auto;
    }

    .form-txt {
        margin-left: 0;
    }
}

@media screen and (max-width: 650px) {

}


@media screen and (max-width: 600px) {
    #contact .contents {
        padding: 2em 0 60px;
    }
	form{
		margin: 2rem 0 2rem;
	}
}

@media screen and (max-width: 500px) {
form {
    padding: 2rem 2rem 2rem;
	border-radius: 30px;
}
}

@media screen and (max-width: 450px) {
	#contact .contents {
        padding: 2rem 0 0;
}
    input.wpcf7-form-control.wpcf7-text.form-txt.p-postal-code {
        width: 100%;
    }

    .element_wrap.br input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-txt {
        width: 100%;
    }

    .element_wrap {
        padding: 20px 0 0;
    }
	#formbtn {
    margin: 35px auto 1em;
}
}

/*PP
------------------------------------------------ */

#pp .contents{
	margin: 100px auto 0;
    padding: 2em 2em 0;
}
.pp h3 {
    line-height: 2.2em;
    font-weight: 600;
}

@media screen and (max-width: 600px) {
	
#pp .contents{
	margin: 60px auto 0;
    padding: 2em 2em 0;
}
}