@charset "UTF-8";
*{
    margin: 0;
    padding: 0;
}
/* サブページ用CSS */
html{
    font-size: 62.5%;
}
body{
    font-family: '小塚ゴシック Pro','Kozuka Gothic Pro',sans-serif;
    font-size:1.6rem;/* 16px*/
    line-height: 2;
    position: relative;
}
h1 {
    font-size: 24px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
}
h2 {
    font-size: 24px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
}
a{
    text-decoration: none;
    color: #000;
}
/* ヘッダー */
header{
    width: 100%;
    background-color: #fbe2de;
    border-top:  solid 15px #bc085e;
}
header .logo{ 
    margin-top: 2%;
    margin-left: 20vw;
    width: 20vw;
}
.header_contents nav ul{
    text-align: center;
}
header nav ul li{
    padding: 2% 2%;
    display: inline-block;
}
header .header_contents nav ul li a{
    color: #000;
    text-decoration: none;
    position: relative;
}
.nav{
    display: inline-block;
    padding: .4em;
  }
a.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    background-color: #eb6d92;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 2.5px;
}
.nav:hover::after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}
/* ヒーローイメージ */
.hero_h1{
    position: relative;
}
.hero{
    clear: both;
    text-align: center;
}
.hero img{
    width: 100%;
    margin-top: 1vh;
}
/* h1 */
.h1_sub{
    position: absolute;
    left: 45vw;
    top: 20%;
}
/* ニュース・サイドバー */
.article_aside{
    display: flex;
}
/* ニュース */
article{
    width: 60vw;
    padding-left: 25vw;
    padding-top: 3vh;
    position: relative;
    margin-bottom: 10vh;
}
.article_h2{
    border-bottom: solid 0.7rem #00913a;
    padding: 0.8vh 0;
}
article h2{
    color: #000;
}
/* サイドバー */
aside {
    z-index: 1;
    margin-top: -3vh;
    margin-left: 3vw;
    position: sticky;
    align-self: baseline;
    top: 0;
    height: 0px;
}
aside .box01{
    background-color: #c9caca;
    text-align: center;
    font-size: 11pt;
    padding: 10px;
}
aside .box01_inner{
    width: 280px;
    background-color: #fff;
    padding: 20px;
}
address{
    font-style:normal;
}
address p:nth-child(1){
    margin: 10px 0;
    line-height: 2rem;
}
address p:nth-child(2){
    line-height: 2rem;
}
address p:nth-child(3){
    line-height: 2rem;
}
/* メールアドレスの幅 */
address p:nth-child(6){
    margin-top: 10px;
}
.tel{
    font-size: 3rem;
}
.fax{
    font-size: 2rem;
    line-height: 2rem;
}
aside .box02{
    background-color: #c9caca;
    text-align: center;
    
}
aside .box02_inner{
    width: 280px;   
    background-color: #c9caca;
    margin: 10px 0;
    padding: 20px 20px 10px 20px;  
}
.otoiawase_banner img{
    width: 260px;
}
.map_banner img{
    width: 260px;
    padding-top: 8px;
}
aside .box03{
    background-color: #c9caca;
    text-align: center;
    font-size: 10pt;
    padding: 10px;
}
aside .box03_inner{
    width: 280px;   
    background-color: #fff;
    padding: 20px 10px 10px 10px;
}
aside .box03_inner p{
    text-align: start;
    padding-left: 30px;
}
.box03_inner img{
    width: 220px;
}
/* スタッフ紹介・採用情報 */
.staff{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    text-align: center;
    margin: 5vh 0 10vh 0;
    margin-left: 25vw;
}
.staff div img{
    width: 15vmax;
    border: 0.5vw solid #c9caca;
}
.green{
    color: #6bbc6e;
    font-size: 16px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
    font-weight: 700;
}
footer{
    background-color: #fbe2de;
    text-align: center;
    line-height: 200%;
    padding: 30px 0;
}
/* 取扱保険品目ページ */
h3{
    line-height: 5rem;
}
.hanbaihoushin{
    margin-top: 5vh;
}
ul.products li{
    display: flex;
    flex-flow: column;
    margin-bottom:1em;
}
ul.products li a{
    display:flex;
    justify-content: center;
    align-items: center;
    width:15vw;
    height:auto;
    margin-left:1em;
    padding:10px 15px;
    border:solid 1px #C9CACA;
    border-radius: 3px;
    box-shadow:2px 2px 0px gray;
}
ul.products li a:hover {
    opacity: 0.7;
    box-shadow: none;
    transform: translateY(2px);
    transition: .3s;
}
ul.products li a img{
    width:100%;
    height:auto;
}
/* スタッフ紹介ページ */
.staff_list_box{
    padding-top: 1vh;
}
.staff_list{
    margin: 2vh 0;
    display: inline-flex;
}
.staff_list img{
    padding-right: 1vw;
}
.member1{
    width: 10vw;
}
.member2{
    margin-right: 50px;
    width: 8vw;
}
.staff_text{
    display: inline-block;
    vertical-align: top;
}
.position{
    font-size: 12px;
}
.name{
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    font-weight: 500;
    letter-spacing: 1rem;
}
/* 会社概要ページ */
.company_img{
    display: flex;
    justify-content: center;
}
.company_img img{
    width: 15vw;
    height: 17.15vh;
    object-fit: contain;
    margin: 1.5vw 0.5vw 1.5vw 0.5vw;
}
.greeting{
    margin: 0 1.6vw;
}
.greeting img{
    width: 10vw;
    margin: 0 1vw -0.3vw 1vw;
}
.sign{
    text-align: end;
}
.philosophy{
    margin: 0 1.6vw;
}
.info_art{
    margin: 5vh 1.6vw;
}
.info_cont{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.info_title{
    padding-left: 9vw;
    padding-bottom: 1vh;
}
.info_left{
    width: 25%;
    flex-grow: 1;
    text-align: end;  
}
.info_right{
    width: 75%;
    flex-grow: 1;
    padding-left: 1vw;
}
.infomation{
    margin: 2vw 0 2vw 1.6vw; 
}
.infomation tr td:nth-child(odd){
    text-align: right;
    padding-right: 1.5vw ;
}
.history{
    margin: 2vw 0 2vw 1.6vw;
    font-size: 1.4rem;
}
.hikaku_kanyu {
    width: 350px;
    height: 50px;
    border: solid 3px #000;
    text-align: center;
    box-sizing: border-box;
    margin: 1vw;
    display: inline-block;
}
.hikaku_kanyu a {
    color: #000;
    text-decoration: none;
    font-weight: 1000;
    font-size: 2rem;
    line-height: 4.5rem;
    position: relative;
}
.hikaku_kanyu.type02{
    display: flex;
    flex-flow: column;
    justify-content: center;
    height:55px;
    line-height: 1.3em;
}
.hikaku_kanyu.type02 a{
    line-height: 1;
}
.hikaku_kanyu.type02 a span{
    font-size:12px;
    font-weight: 400;
}
/*お問い合わせページ*/

.contact_article{
    line-height: 4rem;
    margin-top: 1.5vh;
}
.button {
    width: 300px;
    height: 50px;
    border: solid 3px #000;
    text-align: center;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 1vw;
    margin-bottom: 1vw;
    margin-left: 5vw;
}
.button a {
    color: #e7317b;
    text-decoration: none;
    font-weight: 1000;
    font-size: 2rem;
    line-height: 4.5rem;
    transition: all .5s ease;
    position: relative;
}
.eff {
    width: 300px;
    height: 50px;
    left: -300px;
    background-color: #e7317b;
    position: absolute;
    transition: all .5s ease;
}
.button:hover .eff {
    left: 0;
}
.button:hover a {
    color: #fff;
}
.contact_tel{
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    margin-left: 5vw ;
}
.map{
    margin-top: 2vh;
    width: 35vw;
}
.place{
    text-indent: 1.5rem;
}
.time{
    margin-left: 3vw;
}
.googlemap{
    text-align: end;
}
/*採用情報ページ*/
.recruit_text{
    text-align: center;
    line-height: 60vh;
    vertical-align: middle;
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    font-weight: 500;
}
/* お問い合わせフォームページ */
.instructions{
    margin: 1vw 0 1vw 2vw;
}
input,textarea{
    background-color: #fff;
}
textarea{
    width: 25vw;
    height: 25vh;
}
.contact_form{
    background-color: #efefef;
    padding: 2vw 5vw 3vw 5vw;
}
.contact_form p{
    margin-bottom: 0.5vw;
}
.form{
    width: 25vw;
}
.submit{
    display: inline-block;
    width: 25vw;
    border-radius: 25vw;
    background: #eb6d92;
    color: #fff;
    font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    font-weight: 700;
    letter-spacing: 1vw;
}
/*プライバシーポリシーページ*/
.privacypolicy_article{
    width: 60vw;
    padding-left: 0;
    margin: 1vh 20vw 5vh 20vw;
}
.privacypolicy_article_box{
    margin: 2vh 0;
}
.privacypolicy_window{
    padding-left: 5vw;
}
.privacypolicy_contact{
    width: 60vw;
    padding: 5vh 10vw;
    border: solid #000 2px;
    margin: 8vh 0 10vh 0; 
}
.privacy_cont{
    display: flex;
    width: 100%;
    flex-wrap: wrap; 
}
.privacypolicy_left{
    width: 20%;
    flex-grow: 1;
    text-align: end;
}
.privacypolicy_right{
    width: 80%;
    flex-grow: 1;
    padding-left: 1vw;
}
.pp_frame{
    text-align: center;
    border: dashed thin #000000;
}
/*事業者向け*/
main.business{
    font-family: 'Noto Serif JP', serif;
}
.hero-box .hero{
    display: block;
    width:80%;
    height:auto;
    margin:auto;
}
section.business.concept{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    width:100%;
    height:800px;
    background-image: url(image/hero-img01.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size:cover;
    font-weight: 600;
    text-shadow: 1px 1px 1px #fff, -1px 1px 1px #fff, 1px -1px 1px #fff, -1px -1px 1px #fff, 0px 0px 1px #fff, 1px 0px 1px #fff, 0px -1px 1px #fff, -1px 0px 1px #fff,
        2px 2px 1px #fff, -2px 2px 1px #fff, 2px -2px 1px #fff, -2px -2px 1px #fff, 0px 2px 1px #fff, 2px 0px 1px #fff, 0px -2px 1px #fff, -2px 0px 1px #fff;
}
section.business.concept .box01{
    margin-left:20vw;
}
section.business.concept h2, section.business.concept span{
    font-weight: 900;
    font-size:30px;
    line-height: 1.5em;
}
section.business.concept p{
    margin:1em 0 3.6em;
}
section.business .type-g{
    color:#00562F;
}
section.business.menu{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin:5em;
}
section.business.menu h2{
    display: flex;
    justify-content: center;
    align-items: center;
    width:10em;
    height:50px;
    margin:5px 0;
    color:#fff;
    background-color:#00562F;
    border-right:solid 1px #00562F;
    border-left:solid 1px #00562F;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}
section.business.menu h2::before, section.business.menu h2::after{
    content:"";
    position: absolute;
    top:0;
    width:0;
    height:0;
    border:solid transparent;
    border-width:25px 15px;
}
section.business.menu h2::before{
    right:100%;
    border-right-color:#00562F;
}
section.business.menu h2::after{
    left:100%;
    border-left-color:#00562F;
}
section.business.menu span.type-g{
    font-size:20px;
    font-weight: 800;
}
section.business.menu .box01{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width:80%;
    max-width:800px;
    margin:2em auto;
    font-family:cursive;
}
section.business.menu .box01 .cont01{
    display: flex;
    justify-content: center;
    align-items: center;
    width:47%;
    height:110px;
    max-width:380px;
    min-width:300px;
    margin:1.2em 0;
    padding:0px 15px;
    border:solid 1px #808080;
    border-radius: 15px;
    position: relative;
}
section.business.menu .box01 .cont01.wide{
    width:100%;
    max-width:inherit;
    padding:0px 10% 0px;
}
section.business.menu .box01 .cont01 h3{
    position: absolute;
    top:-20px;
    left:50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height:40px;
    padding:0 35px;
    font-size:16px;
    font-weight: 400;
    white-space: nowrap;
    color:#fff;
    background-color:#808080;
    border-radius: 10px;
}
section.business.menu .box01 .cont01 ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin-top:10px;
    font-size:14px;
    list-style: none;
}
section.business.menu .box01 .cont01 ul li{
    margin:0 0.6em;
}
section.business.menu .box02{
    
    font-family:cursive;
}
section.business.menu .box02 ul{
    list-style: none;
    font-size:14px;
}
section.business.menu .box02 ul li{
    display: flex;
}
section.business.menu .box03{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width:800px;
    margin:auto;
    padding:50px 0;
    text-align: center;
    background-image: url(image/line-b.png);
    background-repeat: no-repeat;
    background-size:contain;
    background-position: center;
    position: relative;
}
section.business.menu .box03 h2{
    position: absolute;
    top:3px;
    left:50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
section.business.menu .box03 .cont01{
    display: flex;
    justify-content: center;
    align-items: center;
    width:60%;
    height:150px;
    margin:4em 0 0;
    border:dotted 2px #BFBFBF;
    border-radius: 10px;
    position: relative;
}
section.business.menu .box03 h3{
    position: absolute;
    top:-20px;
    left:50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width:15em;
    height:43px;
    margin:auto;
    font-family:cursive;
    font-weight: normal;
    letter-spacing: 1px;
    color: #fff;
    background-color: #00562F;
    border-radius: 10px;
}
section.business.menu .box03 .cont01 p{
    display: block;
    margin-top:1em;
    font-family:cursive;
    font-size:14px;
    line-height: 1.6em;
}