﻿/*iframe{
    margin-top:50px;
}*/
#sns_links li a {
  opacity:1;
  max-width:50px !important;
}

/* YouTube */
.video_cms{
	padding-bottom: 57.25%;
	height: 0;
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
/* YouTube */
.video_cms {padding-bottom: 56.25%;}
}

#banner:hover{
    opacity:0.6;
}
#loader.bg_color1{
    background:white !important;
}
header h1 {
    background:white !important;
    padding:0;
}
header h1 span{
    border:0 !important;
    padding:0 !important;
}
#page4 .cate_list a{
    white-space:nowrap;
}
#page9 img{
    display:none;
}
#page7 .txt_vertical{
    writing-mode:horizontal-tb !important;
}
#page7 .grid_2{
    width:100% !important;
    text-align:center;
}
@media all and (-ms-high-contrast: none){
    span.content2::before{
        transform:translateX(70%) !important; 
    }
    h3.txt_vertical.txt_left{
        padding-right:10px !important;
    }
    .main_txt2{
        padding-top:15px !important;
        padding-bottom:0 !important;
    }
    #footer{
        background:white;
    }
    span.content1{
        padding-right:10px;
    }
    #contents3{
        background:#FEFCF9;
    }
    figure.grid_6 img {
    box-shadow: none !important;
}
     span.content2::before {
    width: 750px;
    height: 800px;
    background: #F6FAFA;
    content: "";
    position: absolute;
    transform:translateX(60%) translateY(-350px);
    opacity: 0.4;
    z-index: -1;
}
}
#cms_6-c .circle,#cms_6-c .arrow{
    display:none;
}
@media screen and (max-width:667px){
          .grid_5.sc_anime.right_anime.grid_12_sp.pd_t-50px_sp.active::before{
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point3.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-25px) translateX(-0px);
    z-index: 1;
}
    .grid_5.sc_anime.left_anime.grid_12_sp.pd_b-50px_sp.active::before {
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point2.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-25px) translateX(-0px);
    z-index: 1;
}
   figure.grid_6.flex_order1.mg_t-100px.normal_img.txt_center.sc_anime.top_anime.grid_10_sp.flex_order2_sp.mg_t-50px_sp.active::before {
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-25px) translateX(0px);
}
    figure.grid_6.flex_order1.mg_t-100px.normal_img.txt_center.sc_anime.top_anime.grid_10_sp.flex_order2_sp.mg_t-50px_sp.active{
        z-index:1;
    }
h2.font_32.grid_6.flex_order2.txt_color3.txt_center.sc_anime.top_anime.font_26_tb.font_20_sp.grid_12_sp.flex_order1_sp.active::after {
    height: 500px;
    width: 100%;
    background: #8ac2c338;
    content: "";
    position: absolute;
    left: 30%;
    z-index: 0;
    transform: translateY(100px);
}
    #contents3{
        background:#f8f4e640;
    }
h2.intro_t::after {
    width: 220px !important;
    right: 1% !important;
    transform: translateY(-10px) !important;
}
#intro {
    margin-top: 50px !important;
    margin-bottom: 0px !important;
}
section#intro::before {
    height: 300px !important;
    transform: translateY(-180px) !important;
}    

    #main_img #slide_wrap {
    height: 90% !important;
}
    #main_txt2 {
    position: absolute;
    left: 10%;
        top: 55% !important;
    font-size: 24px !important;
    font-weight: bold;
    z-index: 2;
    max-width: 500px;
}
.main_txt2 {
    background: white;
    margin: 0;
    text-align: center;
    display: inline-block;
    padding: 10px 10px;
    line-height: 10px !important;
    
}
    
    
}
@media screen and (min-width:668px) and (max-width:768px){
    #contents3{
        background:#f8f4e640 !important;
    }
      .grid_5.sc_anime.right_anime.grid_12_sp.pd_t-50px_sp.active::before{
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point3.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-25px) translateX(-0px);
    z-index: 1;
}
    .grid_5.sc_anime.left_anime.grid_12_sp.pd_b-50px_sp.active::before {
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point2.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-25px) translateX(-0px);
    z-index: 1;
}
   figure.grid_6.flex_order1.mg_t-100px.normal_img.txt_center.sc_anime.top_anime.grid_10_sp.flex_order2_sp.mg_t-50px_sp.active::before {
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-25px) translateX(0px);
}
    h2.intro_t::after {
    width: 350px !important;
    right: 50px !important;
    transform: translateY(-25px) !important;
}
    #main_img #slide_wrap {
    width: 90%;
    height: 90%;
    right: 20px;
}
.main_txt2 {
    line-height: 18px !important;
 
}
#main_txt2 {
    font-size: 28px !important;
    max-width: 300px !important;    
     top: 60% !important;
     left:5% !important;

}
section#intro::before {
    height: 400px !important;
    transform: translateY(-280px) !important;
}
.grid_5.sc_anime.right_anime.grid_12_sp.pd_t-50px_sp.active{
    position: relative;
    top: 80px;
}
}





#footer{
    background-color: white;
}



h2.font_32.grid_6.flex_order2.txt_color3.txt_center.sc_anime.top_anime.font_26_tb.font_20_sp.grid_12_sp.flex_order1_sp.active{
    position: relative;
    z-index: 1;
}
span.content1{
    background: white;
    z-index: 1;
    position: relative;
}


h2.intro_t::after{
     width: 550px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/Intro.png);
    display: block;
    position: absolute;
    content: "";
    position: absolute;
    right: 150px;
    opacity: 0.1;
    transform: translateY(-50px);
}

section#intro::before {
    background-image: url(Dup/img/optimal.png);
    width: 100px;
    height: 700px;
    content: "";
    position: absolute;
    left: 3px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    transform: translateY(-500px);
}
#intro{
    background:transparent !important;
    background-image:none;
    color:black !important;
    text-align:center;
    margin-top:100px;
    margin-bottom:50px;
}
#main_txt2 {
    position: absolute;
    left:10%;
    top: 40%;
    font-size: 42px;
    font-weight: bold;
    z-index: 2;
    max-width: 500px;
}
.main_txt2 {
    background: white;
    margin: 0;
    text-align: center;
    display: inline-block;
    padding: 10px 10px;
    line-height: 38px;
}
p.main_txt2:nth-child(2){
    position:relative;
    bottom:10px;
}

section#main_img::before {
    background: #f1f1f1;
    width: 500px;
    height: 700px;
    content: "";
    position: absolute;
    top: 30%;
}

/*---------------------------------------スマホ-------------------------------------------------*/
@media screen and (max-width:667px){
    #copyright {
    padding: 10px;
    padding-bottom: 73px;
}
iframe{
    width:100%;
}
    #banner {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 190px;
    padding: 10px;
    transition: all 0.3s;
}
  /*     figure.grid_6.flex_order1.mg_t-100px.normal_img.txt_center.sc_anime.top_anime.grid_10_sp.flex_order2_sp.mg_t-50px_sp.active::after {
      width: 110px;
    height: 110px;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    background-image: url(Dup/img/reaf1.png);
    position: absolute;
    content: "";
    transform: translateX(57vw) translateY(-80px);
}
   h3.txt_vertical.txt_left.d_inline_b.font_26.letter_5.sc_anime.top_anime.font_16_sp.active::before {
    width: 60px !important;
    height: 60px !important;
  
}
*/


   main.index{
    margin-top: 80px;
    }

    #page_title {
    background-position: -105vw top !important;
}
    #intro {
    color: white;
    text-align: center;
}
  
    #main_img #slide_wrap .down {
    bottom: 20px;
    left: 90%;
    transform: translateX(-50%);
    z-index: 3;
    width: 20px;
    height: 60px;
    animation: scdown 3s linear 0s infinite normal forwards;
}
   #main_txt {
    position: absolute;
    z-index: 2;
    top: 10vw;
    left: 46vw;
}
     #main_txt img{
         width:18vw;
     }
 
    #main_img {
    height: 40vh;
}
 /*  h2.intro_t::before {
    width: 60px;
    height: 60px;
    content: "";
    background-image: url(Dup/img/intro_icon.png);
    display: block;
    background-size: contain;
    position: absolute;
    opacity: 0.7;
    background-repeat: no-repeat;
    transform: translateY(-60px) translateX(30vw) !important;
}
*/
}

/*---------------------------------------タブレット-------------------------------------------------*/
@media screen and (min-width:668px) and (max-width:768px){
    #copyright {
    padding: 10px;
    padding-bottom: 100px;
}
    #banner {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 272px;
    padding: 10px;
    transition: all 0.3s;
}
    span.content2::before {
    width: 750px;
    height: 800px;
    background: #8ac2c338;
    content: "";
    position: absolute;
    transform:translateX(60%) translateY(-350px);
    opacity: 0.4;
    z-index: -1;
}
#page_title {
    background-position: -500px top !important;
}
/*
h2.intro_t::before {
    transform: translateY(-60px) translateX(260px) !important;
}*/

#contents1 {
    background-position: 50vw 40vw !important;
    background-size: 70%;
}
    #main_img {
    height: 50vh;
}
  #main_txt{
    position: absolute;
    z-index: 2;
    top: 90px;
    left: 46vw;
    }
     #main_txt img{
         width:60%;
     }
/*     figure.grid_6.flex_order1.mg_t-100px.normal_img.txt_center.sc_anime.top_anime.grid_10_sp.flex_order2_sp.mg_t-50px_sp.active::after {
      width: 110px;
    height: 110px;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    background-image: url(Dup/img/reaf1.png);
    position: absolute;
    content: "";
    transform: translateX(270px) translateY(-80px);
}*/
}
/*---------------------------------------PC--------------------------------------------------*/
@media screen and (min-width:769px){
    #banner {
    position: fixed;
    top: 10px;
    right: 105px;
    z-index: 3;
    width: 272px;
    padding: 10px;
    transition: all 0.3s;
}
    span.content2::before {
    width: 750px;
    height: 800px;
    background: #8ac2c338;
    content: "";
    position: absolute;
    transform:translateX(60%) translateY(-350px);
    opacity: 0.4;
    z-index: -1;
}
    .grid_5.sc_anime.right_anime.grid_12_sp.pd_t-50px_sp.active{
    position: relative;
    top: 80px;
}
    #contents3{
    background: linear-gradient(to right,white 10%,#f8f4e640 10%,#f8f4e642 100%);
}
    .grid_5.sc_anime.right_anime.grid_12_sp.pd_t-50px_sp.active::before{
    width: 350px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point3.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-50px) translateX(-0px);
    z-index: 1;
}
.grid_5.sc_anime.left_anime.grid_12_sp.pd_b-50px_sp.active::before {
    width: 350px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point2.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-50px) translateX(-0px);
    z-index: 1;
}
    figure.grid_6.flex_order1.mg_t-100px.normal_img.txt_center.sc_anime.top_anime.grid_10_sp.flex_order2_sp.mg_t-50px_sp.active::before {
    width: 350px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(Dup/img/point.png);
    display: block;
    position: absolute;
    content: "";
    opacity: 0.1;
    transform: translateY(-50px) translateX(0px);
}
#main_img #slide_wrap {
    position: absolute;
    width: 75%;
    height: 95%;
    top: 0;
    right:6% !important;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

    .opacity07:hover{
    opacity: 0.5 !important;
    transition:0.5s !important;
}
    #page_title{
        padding-top:60px;
    }
   #intro .width_1280-max {
    width: 100%;
    max-width: 1300px;
}
/*  #contents3{
    background-image: url(Dup/img/contents_back.png);
    background-size: cover;
    background-position: center;
}*/

    #main_txt{
        position: absolute;
    z-index: 2;
    top: 120px;
    left: 46vw;
    }
.policy #page_title {
    padding-top:90px !important;
}

}
/*---------------------------------------ここまで-------------------------------------------------*/

#contents2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.10);
    z-index: 1;
}
#page10 span.d_block{
    white-space:nowrap;
}
#page9 a.bg_color1:hover{
      background-color:#3d919eb3;
    transition:all 0.5s;
}
.line {
    max-width: 240px;
    margin: auto;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}
#line_txt{
    font-size: 18px;
    color: white;
    background: #16b504;
    border-radius: 10px;
    padding: 0 10px;
}
#line_qr img{
    width: 60%;
}
#page8 .txt_color2{
    color:black !important;
}
#page8 .border_color2 {
    border-color: #aae90c;
}
ul.cate_list a:hover{
   background-color:#3d919eb3;
    transition:all 0.5s;
}

/*
h2.font_36 span.txt_vertical::before {
    width: 70px;
    height: 70px;
    content: "";
    position: absolute;
    background-image: url(Dup/img/reaf2.png);
    background-repeat: no-repeat;
    background-size: containj;
    background-size: contain;
    background-position: center;
    transform: translateY(-80px);
    opacity: 0.7;
}
*/
.opacity07{
    opacity:1 !important;
}

#page_title {
width: 100%;
    color: black !important;
    background-position: center top;
    background-size: 10% auto;
    background-image: url(Dup/img/contents_back.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#page_title .txt_white {
    color: black;
}

#top_cms{
    margin-top:100px;
}

figure.grid_6 img{
   box-shadow: rgb(134,134,134,0.1) 10px 10px 10px !important;
}



h2.intro_t{
    display:inline-block;
}
/*h2.intro_t::before{
     width: 60px;
    height: 60px;
    content: "";
    background-image: url(Dup/img/intro_icon.png);
    display: block;
    background-size: contain;
    position: absolute;
    opacity: 0.7;
    background-repeat: no-repeat;
    transform: translateY(-60px) translateX(325px);
}
*/
.top_cms_title {
    background:transparent;
    color:black;
}

/*
h3.txt_vertical.txt_left.d_inline_b.font_26.letter_5.sc_anime.top_anime.font_16_sp.active::before {
  width: 70px;
    height: 70px;
    content: "";
    background-image: url(Dup/img/reaf2.png);
    display: block;
    background-size: 90%;
    background-position: top center;
    position: absolute;
    opacity: 0.9;
    background-repeat: no-repeat;
    transform: translateY(-50px) translateX(22px);
}
*/
.linkStyle{
    color: #3d919eb3;
}
figure.rectangle_img.mg_b-30px,figure.rectangle_img.mg_b-30px{
    box-shadow: rgb(134 134 134 / 10%) 10px 10px 10px !important;
}





/*2025-06-13*/
.youtube_box.clicked {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtube_box {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.youtube_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.youtube_thumbnail {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  cursor: pointer;
}

.youtube_badge {
  position: absolute;
  top: 22px;
  right: 22px;
/*  background: rgba(0, 0, 0, 0.7);*/
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  max-width: 40%;
  height: auto;
}

.youtube_badge img {
  width: 100%;
  height: auto;
  max-width: 100px;
  display: block;
}
@media (max-width: 480px) {
  .youtube_badge {
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    max-width: 60%;
  }

  .youtube_badge img {
    max-width: 80px;
  }
}

.play_button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/e/e4/YouTube_play_button_icon.svg') no-repeat center;
  background-size: contain;
}

.youtube_overlay_text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
}

.youtube_box.clicked iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}










