/*
Theme Name:agent_child
Theme URI:https://tcd-theme.com/tcd033
Description:The WordPress theme "AGENT" was developed with the concept of an advanced company. Apply your business and corporate information to the prepared pages, and put the contents on the top page, and you will have an innovative corporate website.
Author:TCD
Author URI:https://tcd-theme.com/
Version:3.2
Template: agent_tcd033
*/


/* 全体 */
body {font-size: 28px!important;font-family: "Sawarabi Gothic"!important;    letter-spacing: 0.1em;}

p {font-size: 28px!important;font-family: "Sawarabi Gothic"!important;letter-spacing: 0.1em;font-weight: normal!important;text-align: left;}

.container2 {position: relative;}

.container_top15{margin-top: 15%;}

.section {padding-bottom: 50px!important; }



/* AGENT */

.container-fluid {padding-left:0px!important;padding-right: 0px!important;}

.page-splash {height: 400px!important;}


/* リンク設定 */

.btn_orange a {
    background: #FBB03B;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    padding: 25px 35px;
    color: #000!important;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    line-height: 1.5em;}
.btn_orange a:hover {
    background: #F78F06;
    color: #000!important;}
.btn_orange a:after {
    content: '';
    width: 13px;
    height: 13px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 30px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;}

  
.btn_green a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 60%;
    padding:3% 5%;
    color: #fff;
    transition: 0.3s ease-in-out;
    background: #6ebf43;
    border-radius: 80px;
    border-bottom: solid 10px #45ad07;
    font-size:140%;}
.btn_green a:hover {color: #fff;
    border-bottom: solid 2px #45ad07;
    transform: translateY(3px);}


.textlink a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color:#F27F0C!important;}
  
.textlink a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #F27F0C;
  color:#F27F0C!important;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;}

.textlink a:hover::after {
  transform: scale(1, 1);}
  
  


/* フレックスボックス */
.narabi_centner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 3%;}
   
.narabi_0_around {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0;}
    
.narabi_top5_around {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 5%;}
    
.narabi_top15_around {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 15%;}
    
.narabi2_box1{width: 35%;padding-right: 3%;text-align: center;}

.narabi2_box2{width: 62%;margin:auto;}

.narabi2_box3{width: 44%;padding:0 3%;text-align: center;display: flex;flex-flow: column;}

.narabi2_box4{width: 44%;padding:0 3%;text-align: center;display: flex;flex-flow: column;}

.narabi2_box5 {width: 44%;padding: 3%;}

.narabi3_box1{width: 31%;padding:0 1%;text-align: center;display: flex;flex-flow: column;}

.narabi4_box1 {width: 22%;padding: 0 1%;text-align: center;}

.narabi4_box2 {width: 4%;padding: 0 1%;text-align: center;vertical-align:middle;margin: auto;}


/* コンテンツ幅 */

.con1200{width: 1200px;margin:0 auto;}

.con_s20{padding:0 20%;text-align:center;}

.con_s13{padding:0 13%;text-align:center;}

.con_in10{padding:5% 10% 10% 10%;text-align:center;}

.con_in5{padding:0 5%;}

.con_in5_10{padding:5% 5% 10% 5%;}

.con_left50{padding:10% 50% 10% 5%;text-align:center;}

.col-sm-offset-3 {display: none;}

.col-sm-60 {width: 100%!important;}

.con_center{text-align:center;}


/* 余白 */
.space_bottom2{margin-bottom:2%;}

.space_bottom5{margin-bottom:5%;}

.space_topbottom5{margin:5% 0;}

.space_bottom10{margin-bottom:10%;}

.space_bottom15{margin-bottom:15%;}

.con_center{text-align: center;}

/* 背景 */

.back_orange{background:#fbb03b;}

.back_stripetop{background: url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/footer_linkback05.png);background-position: top!important;background-size: cover;background-repeat: no-repeat;padding-top:100px;padding-bottom:50px;}

.back_stripegreen{background: url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/before_after_back-scaled.jpg);background-position: top!important;background-size: cover;background-repeat: no-repeat;}

.back_risa{background: url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/risa_back04-scaled.jpg);background-position: top!important;background-size: cover;background-repeat: no-repeat;}

.back_yellow_circle2 {
    width: 800px;
    height: 700px;
    background-color: #f9d346;
    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    position: absolute;
    top: 0px;
    left: -10px;
    animation: fluidrotate 20s ease 0s infinite;}
    
.back_green_circle3 {
    width: 500px;
    height: 400px;
    background-color: #ade589;
    border-radius: 30% 70% 60% 40% / 30% 40% 60% 70%;
    position: absolute;
    top: 0px;
    right: 0px;
    animation: fluidrotate 15s ease 0s infinite;}
    
@keyframes fluidrotate {  
0%, 100% {border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;}
14% {border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;}
28% {border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;}
42% {border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;}
56% {border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;}
70% {border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;}
84% {border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;}}

.back_green1{background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/haikei_shape6.png); background-repeat:no-repeat; background-position:right top;
background-size:40%;}

.back_yellow1{background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/haikei_shape3.png); background-repeat:no-repeat; background-position:left top;
background-size:50%;}

.back_yellow36{background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/haikei_shape7.png); background-repeat:no-repeat; background-position:left top;
background-size:36%;}

/* スクロールスライド */
.fade-in {opacity: 0;
  transition-duration: 1500ms;
  transition-property: opacity, transform;}
.fade-in-up {transform: translate(0, 100px);}
.fade-in-down {transform: translate(0, -100px);}
.fade-in-left {transform: translate(-100px, 0);}
.fade-in-right {transform: translate(100px, 0);}
.scroll-in {opacity: 1;transform: translate(0, 0);}
  
/* 見出し */

.entry-content h3 {border-bottom: none!important;}

h2 {font-size: 50px!important;
    font-family: "M PLUS Rounded 1c"!important;
    letter-spacing: 0.3em;
    position: absolute;
    z-index: 333;
    text-align: center;
    margin: 0 auto;
    right: 0;
    left: 0;}

h4 {font-size: 80px!important;
    font-family: "M PLUS Rounded 1c"!important;
    letter-spacing: 0.3em;
    line-height: 1.5!important;
    text-align: left;}
    
.h5_risa {font-size: 270%!important;
    letter-spacing: 0.1em;
    font-family: 'Shippori Mincho', serif;
    line-height: 1.5em;}
    
.h5_point {font-size: 170%!important;
    letter-spacing: 0.1em;}
    
.h5_point::after {content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
background:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/point02.gif) no-repeat left top;
    background-size: contain;
    margin-left: 5px;}
    

.section3-h5 {margin: 0!important;line-height: 0!important;}

.midashi_title{text-align: center;
letter-spacing: 0.5em;
color:#ee8a1e;
font-weight: 500!important;
font-size: 180%!important;
margin-bottom:5%!important;}

.midashi_high{position: absolute;
    top: 1%;
    z-index: 5;
    text-align: center;
    padding: 0 30%;}
    
.midashi_midlle{text-align: center;
    padding: 0 30%!important;}
    
.midashi_leftnaname {
    position: absolute;
    top: -30px;
    left: 5%;
    width: 50%;
    transform: rotate( -5deg );}
    
.midasi_note {
    width: 100%;
    padding: 15px 0!important;
    font-size: 100%!important;
    border-top: solid 2px #000;
    border-bottom: solid 2px #000!important;
    display: block;
    text-align: center;
    background-color: #efd748;
    font-weight: 600;}
    
    
.midasi_comment {
    width: 100%;
    padding: 15px 0!important;
    font-size: 100%!important;
    border-top: solid 2px #000;
    border-bottom: solid 2px #000;
    display: block;
    text-align: center;
    background-color: #b1dda6;
    font-weight: 600;}
    
.midasi_nomal {
    border-bottom: none!important;
    letter-spacing: 0.5em;
    text-align: center;}
    
.star1 img {position: absolute;right: 12%;top: 25%;
  animation: anime1 0.5s ease 0s infinite alternate;
  transform-origin:center;}
  
.star2 img {position: absolute;right: 18%;top: 35%;width: 3%;
  animation: anime1 0.5s ease 0s infinite alternate;
  transform-origin:center;}
  
@keyframes anime1 {
  from {transform: scale(0.5,0.5);}
  to {transform: scale(1,1);}}
  
  .page-title {display: none;}
  

/* 画像サイズ */

img.size80{width: 80%;}

/* テキスト */
p.right{text-align: right;}

p.center{text-align: center;}

p.thick{font-weight: 600!important;}

p.indent-1 {padding-left: 1em;
    text-indent: -1em;}
    
span.big1 {font-size:120%;
font-weight: 600;
color: #000;
letter-spacing: 0.2em;
line-height: 0.2;}
    
.entry-content p {line-height: 2!important;}

/* ヘッダー */

.container {padding: 0 5%!important;}

#logo_image h1#logo img {width: 200%;}

.agent-header-menu {float: right!important; font-size: 23px!important;}

#agent-header-outer {background:#fff!important;height: 120px;}

.col-xs-20 {width: 30%!important;}

.navbar-default .navbar-nav>li>a {color: #000000!important;font-family: "M PLUS Rounded 1c";}

.navbar-default .navbar-nav>li>a:hover {color: #d37826!important;}

.nav>li>a {padding: 10px 30px!important;}

.navbar-nav > .menu-item > a {font-weight: 600;}

.navbar-toggle .icon-bar {background-color: #000000!important;}

.navbar-toggle {margin-top: 20px !important;}

#logo_image {height: 70px!important;}

.row {width: 100%;margin-left: 0!important;margin-right: 0!important;}

/* フッター */

.footer_link {
    text-decoration: none;
    margin: 0 20px 10px 0;}
    
.footer_link a {
    font-size: 25px;
    color: #000;
    font-weight: bold;
    font-family: "M PLUS Rounded 1c";
    text-decoration: none;}
    
    .footer_link a:hover,active {color: #f27f0c;}

.footer_link a::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/yajirushi.png) no-repeat left top;
    background-size: contain;
    margin-left: 5px;}

.reserve a {
    display: block;
    width: 180px;
    height: 180px;
    padding: 45px 0 20px;
    background: #6ebf43;
    position: fixed;
    right: 20px;
    bottom: 60px;
    border-radius: 100px;
    transition: 1s;
    z-index:9999;}
    
    .reserve a:hover {
    transform: scale(1.3);}
    
.reserve a span {
    display: inline;
    color: #000000;
    font-size:30px;
    font-family: "M PLUS Rounded 1c";
    font-weight: bold;
    width: 0 !important;
    height: 0 !important;
    position: static ;
    border-right: none;
    border-top: none;
    -webkit-transform: none;
    transform: none;}
    
.copyright2 {
    height: 50px;
    line-height: 1.5;
    margin: auto!important;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#000;
    font-size:18px;
   font-weight: bold;
    font-family: "M PLUS Rounded 1c"!important;}
    
.col-lg-offset-30 {background-color: #fbb03b;}

/* top */

#top{margin-top: 120px; height: 850px!important;}

.next-button {font-weight: bold;font-family: "M PLUS Rounded 1c"!important;letter-spacing:0.1em!important;background-color: #FBB03B!important;color: #000!important;}

.next-button:after {
    border-left: 3px solid #000!important;
    border-bottom: 3px solid #000!important;}

.splash-image {background-position: bottom!important;
width:100% !important; height: 850px!important;}

.section-two-h3 {display: none;}

.section-two_circle_img {display: none;}

.separator {display: none;}

.desc2 {margin: 0!important;
    line-height: 0!important;}
    
.top_elected {padding: 13% 10% 0 10%;}

.section3-h5 {display: none;}
    
#section-4{display:none;}

#section-5{display:none;}

.section6{display:none;}

.section-two-h3 {display: none;}
.separator {display:none;}

.risa_logo {width: 40%;}


/* プラン・料金 */
.ryoukin_list {padding: 5% 5% 0 5%;}

.ryoukin_list table, td, th {
    padding: 1%!important;
    border: 2px solid!important;
    line-height: 2em;}

.ryoukin_list table {width: 100%;}
    
.ryoukin_list th {background-color:#f0ca46!important;
text-align: center;font-weight: 600!important;}

/* ご予約 */

/* 見出し */
.yoyaku-box h2 {
    font-size: 120% !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    position: relative !important;}

.yoyaku-box h2::before {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(135deg, #e9ba57, #e9ba57 5px, #fff 5px, #fff 10px);}

.yoyaku-box h2::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(135deg, #e9ba57, #e9ba57 5px, #fff 5px, #fff 10px);}


/* チェックマーク関連部分 */
.yoyaku-contents {padding: 20px 40px;}

.yoyaku-contents p {margin-bottom: 20px !important;}

.yoyaku-contents p img {max-width: 26px;
    margin-right: 10px;}

.yoyaku-indent {padding-left: 35px;
    text-indent: -35px;}

@media screen and (max-width: 800px) {
    .yoyaku-contents {padding: 10px;}}

@media screen and (max-width: 479px) {
    .yoyaku-contents {padding: 10px 0px;}    
    
    .yoyaku-contents p img {max-width: 16px;}
    
    .yoyaku-indent {padding-left: 26px;
        text-indent: -26px;}}
        
 
/* アクセス */
        
        /* フロート解除用 */
.clearfix:after {content: "";
    display: block;
    clear: both;}

/* 地図 */
#map-out {float: left;
    width: 40%;}

/* Google Mapを囲う要素 */
#map {position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */}
/* Google Mapのiframe */
#map iframe {position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;}

#map-detail {float: right;
    width: 55%;
    margin-left: 5%;}

/* アクセス詳細 */
#map-detail ul {list-style-position:inside;
    list-style-type: none;}

#map-detail ul li {border-bottom: 5px dotted #f9d346; /*太さ・線種・色*/
    background-color: #fff; /* 背景色 */
    border-radius: 1px; /*角の丸み*/ 
    line-height: 1.5em;
    padding-top: 10px;
    padding-bottom: 10px;}

#map-detail ul li .keiro-icon img {max-width: 42px;
    margin-right: 10px;}
#map-detail ul .keiro {padding-left:2.6em;
	text-indent:-2.6em;}
.sp-access-arrow {display: none;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;}
#access-icon-out {display: table-cell;
    width: 15%;}
#access-icon {display: inline-block;
    background: #6ebf43;
    color: white;
    padding: 2px 20px;
    margin-right: 10px;
    /* 角丸 */
    border-radius:30px;
    -webkit-border-radius:30px;
    -moz-border-radius:30px;}
#access-address {display: table-cell;}
#map-detail ul > *:first-child {display: table;
    width: 100%;
    padding-bottom: 30px;}
.access-bold-text {display: inline-block;
    margin-right: 2em;}
    
.contact-icon img {width: 42px;margin-right: 1%;vertical-align: middle;}

/* サムネイル非表示 */
.entry-content-thumbnail {display: none;}

/* ボタン */
.medium-btn a {height: 70px !important;}
    

@media screen and (max-width: 1300px) {
    #map-out {width: 50%;}    
 #map-detail {width: 48%;
        margin-left: 2%;}}

@media screen and (max-width: 1199px) {
     #map-out {float: none;
        width: 100%; }    
    
    #map-detail {float: none;
        width: 100%;
        margin-left: 0px;}
    
    #map-detail ul {margin-left: 0px;}}

@media screen and (max-width: 479px) {
    .medium-btn a {height: 40px !important;}    
  #map-detail ul .keiro {padding-left: 0px;
        text-indent: 0px;
        text-align: center;}
  #access-icon-out {display: block;
        width: 100%;}
#access-address {display: block;margin-top: 10px;}
 #map-detail ul li img {margin-right: 0px;}
.keiro-dot {display: none;}
.keiro-okoshi {display: block; }
    .keiro-icon {display: block;
        text-align: center;
        margin-bottom: 5px;}
   .sp-access-arrow {display: block;}
.sp-access-arrow img {max-width: 20px !important;}}


/* Q&A */
#wpsm_accordion_598 .wpsm_panel-title a {letter-spacing: 0.2em;}

.accordion-check:checked~.accordion-box {height: auto;
    opacity: 1;
    padding: 1rem;}

.accordion-check:checked+.accordion-label:after {
    transform: translateY(-50%) rotate(45deg);}

.accordion-box p {line-height: 1.5!important;}


/* 画面幅 */

@media (min-width: 1200px){
.container {width: 100%!important;}
.col-lg-pull-30 {right: 0!important;}
.col-lg-60 {width: 100%!important;}
.col-lg-offset-30 {background-color: #fbb03b;}}

@media (min-width: 992px){
.container {width: 100%!important;}}

@media (min-width: 768px){
.container {width: 100%!important;}.col-sm-40 {width: 100%!important;}
.col-sm-offset-3 {display: none;}.col-sm-80 {width: 100%;}
.col-sm-80 {width: 100%!important;}}

@media (max-width: 2800px){.star1 img {right: 5%;width: 7%;}.star2 img {right: 12%;top: 40%;}}

@media (max-width: 2500px){h4 {font-size: 60px!important;}}

@media (max-width: 2000px){body {font-size: 20px!important;}
p {font-size: 20px!important;}
#logo_image h1#logo img {width: 150%;}
.agent-header-menu{font-size: 16px!important;}
#agent-header-outer {height: 100px;}
.nav>li>a {padding: 10px 20px!important;}
.reserve a {padding: 45px 0 20px;}
#top{margin-top: 100px;}
.slider1 {background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_zenshin2000_03-scaled.jpg)!important;}
.slider2{background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_mens2000_09-scaled.jpg)!important;}
.h5_risa {font-size: 190%!important;}}

@media (max-width: 1800px){h4 {font-size: 50px!important;}.back_yellow_circle2 {width: 600px;height: 500px;}}

@media (max-width: 1600px){h4 {font-size: 40px!important;}.back_yellow_circle2 {width: 500px;height: 400px;}.footer_link a {font-size: 18px;}.copyright2 {font-size:16px;}.reserve a {width: 140px;height: 140px;padding: 40px 0 20px;}
.reserve a span {font-size: 23px;}.h5_point {font-size: 140%!important;}
.h5_point::after {width: 30px;height: 30px;}}

@media (max-width: 1400px){.nav>li>a {padding: 10px 10px!important;}}

@media (max-width: 1300px){#logo_image h1#logo img {width: 100%;}.slider1 {background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_zenshin1300_05-scaled.jpg)!important;}
.slider2{background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_mens1300_04-scaled.jpg
)!important;}
.con1200{width: 100%;padding:0 10%;}
.midashi_high{padding: 0 20%;}
.midashi_midlle{padding: 0 25%!important;}
.top_elected {padding: 20% 10% 0 10%;}
.con_in10s20 {padding: 10% 15%;}
.narabi_top15_around {padding-top: 25%;}}


@media (max-width: 1200px){#agent-header-outer {height: 70px;}
#top{margin-top: 70px;}.star1 img {top: 20%;}.star2 img {top: 35%;}.con_s20{padding:0 15%;}.con_s13{padding:0 10%;}.btn_green a {padding:5%;}
.back_green_circle3 {width: 400px;height: 300px;}}


@media (max-width: 960px){
.splash-image {height: 600px!important;}
#top{height: 600px!important;}
.next-button {bottom:5px!important;}
.con_s20{padding:0 5%;}.con_s13{padding:0 5%;}
.con_in10{padding:10% 20%;text-align:center;}
.con_in10s20 {padding: 5% 10%;}
.narabi_centner {margin: 0 15%;}
.back_yellow_circle2 {width: 400px;height: 300px;}
.midashi_high{padding: 0 15%;}
.midashi_midlle{padding: 0 5%!important;}
.midashi_leftnaname {width: 90%;}
.top_elected {padding: 30% 10% 0 10%;}
.con_in10s20 {padding: 10% 20%;}
.narabi_top15_around {padding-top: 45%;}
.narabi2_box1{width: 45%;padding-right: 2%;}
.narabi2_box2{width: 53%;margin:auto;}
h4 {text-align: center;}
.narabi2_box1{width: 100%;padding-right: 0;margin-bottom:3%;}
.narabi2_box1 img{width: 70%;}
.narabi2_box2{width: 100%;}
.star1 img {top: 68%;width: 11%;right: 7%;}.star2 img {top: 75%;width: 7%;right: 17%;}
.narabi2_box3{width: 100%;}.narabi2_box3 img{width: 70%;}.narabi2_box3 p{text-align: center;}img.right{margin-left:auto;}
.narabi2_box4 {width: 100%;padding: 5% 0;}
.narabi3_box1{width: 100%;}.narabi3_box1 img{width: 70%;}.narabi3_box1 p{text-align: center;}
.narabi_top5_around {margin: 5%;}
.con_left50 {padding: 10% 55% 10% 5%;}
.narabi2_box5 {width: 100%;}
.narabi4_box1 {width: 43%;}
.narabi4_box2 {width: 7%;}
.risa_logo {width: 80%;}
img.size80{width: 100%;}
.back_risa{background: url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/risa_backsp01.jpg);background-size: cover;background-repeat: no-repeat;}
.narabi3_box2{width: 100%;padding:3% 0;}}


@media (max-width: 768px){.page-splash {height: 200px!important;}
.h5_risa {font-size: 160%!important;}
.ryoukin_list table {font-size: 16px!important;}}

@media (max-width: 660px){.nav>li>a {padding: 10px 15px!important;}
.slider1 {background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_zenshi660_04.jpg)!important;}
.slider2{background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_mens660_01.jpg)!important;}
.midashi_title{letter-spacing: 0.2em;font-size: 140%!important;}
.back_green1{background-size:60%;}
.back_yellow1{background-size:70%;}
.next-button {bottom:-25px!important;}
.reserve a {width: 80px!important;height: 80px;padding: 17px 0 30px;line-height: 1;}
.reserve a span {font-size:14px;}
.desc1 {padding-top: 15px;}
.top_elected {padding: 40% 10% 0 10%;}.star1 img {top: 53%;width: 11%;right: 7%;}.star2 img {top: 60%;width: 7%;right: 17%;}
.ryoukin_list table {font-size: 13px!important;}
#wpsm_accordion_598 .wpsm_panel-title a {font-size: 16px !important;}}

@media (max-width: 550px){#top{margin-top: 60px;}
#logo_image h1#logo img {max-height: 100px !important; width: 70%!important;}
.copyright2 {font-size:12px;}
.midashi_high{padding: 0 10%;}
.midashi_midlle{padding: 0!important;}
.con_left50 {padding: 10% 55% 10% 10%;}
.back_yellow_circle2 {width: 300px;height: 250px;left: -20px;}
.back_yellow36{background-size:80%;}
.btn_green a {max-width: 80%;font-size:120%;border-bottom: solid 5px #45ad07;}
.h5_risa {font-size: 150%!important;}
.ryoukin_list {padding: 5% 2% 0 2%;}}

@media screen and (max-width: 479px){body {font-size: 16px!important;}
p {font-size: 16px!important;}
#agent-header-outer {height: 60px;}
.splash-image {height: 500px!important;}
#top{height: 500px!important;}
.next-button {height: 100px !important;width: 100px !important;font-size: 14px!important;}
.next-button:after {top: 80%!important;width: 10px!important;height: 10px!important;}
.reserve a {line-height: 1.5;}
.footer_link {margin: 0 0 10px 0;width: 100%;text-align: center;}
.desc1 {line-height: 1.5!important;}
h4 {font-size: 20px!important;}
.back_green_circle3 {width: 300px;height: 250px;}
.narabi4_box1 {width: 100%;}
.narabi4_box2 {width: 100%;}
.con_in5_10{padding:5% 15% 15% 15%;}}

@media screen and (max-width: 400px){.h5_risa {font-size: 130%!important;}}

@media screen and (max-width: 280px){
.splash-image {height: 400px!important;}
#top{height: 400px!important;}
.slider2 {background-image:url(http://yamazakiganka.com/datumou/wp-content/uploads/2022/06/slider_mens280_01.jpg)!important;}
.next-button {height: 85px !important;width: 80px !important;font-size: 12px!important;padding-top: 20px!important;}
.footer_link a {font-size: 12px;}
.btn_orange a {max-width: 350px;font-size:80%;padding: 20px 5px;}
.btn_orange a:after {width: 7px;height: 7px;border-top: 2px solid #000;border-right: 2px solid #000;}
.top_elected {padding: 35% 10% 0 10%;}
.back_yellow_circle2 {width: 150px;height: 120px;left: -20px;}
.star1 img {top: 50%;width: 13%;}.star2 img {top: 45%;}
.back_green_circle3 {width: 150px;height: 100px;}
.h5_risa {font-size: 110%!important;}}


/* PCとスマホ切り替え */


.pc { display: block !important; }
.sp { display: none !important; }
.pc-479 {display: block !important;}
.sp-479 {display: none!important;}
.br-sp {display: none;}
.br-1200 {display: none!important;}
.br-960 {display: none!important;}
.br-660 {display: none!important;}
.br-300 {display: none!important;}
.pc-960{display: block!important;}

@media only screen and (max-width: 1200px) {
   .br-1200 {display: block!important;}}
  
@media only screen and (max-width: 960px) {
.br-960 {display: block!important;}
   .pc-960 {display: none!important;}}
   
   @media only screen and (max-width: 660px) {
    .br-660 {display: block!important;}}

@media only screen and (max-width: 640px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
    .br-sp {display: block;}}
    
@media only screen and (max-width: 479px) {
.pc-479 {display: none !important;}
.sp-479 {display: block!important;}}

@media only screen and (max-width: 300px) {
.br-300 {display: block!important;}}
    
