@charset "utf-8";


* {
   -webkit-appearance: none;
   margin:0;
    padding: 0;
}

html{
  height: 100%;
}

/*基本設定*/
body{
  color: #000;
  font-size: 13px;
  position: relative;
  margin:0;
  padding: 0;
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #fff;
}

input[type="submit"]{
   -webkit-appearance: none;
   border-radius: 0;
}

button:active{
  border: none !important;
}


input[type="text"],textarea {
  border: 1px solid #999;
  border-radius: 0;

}
textarea:focus {
  border: none !important;
}

.clearfix:after {
    content: "."; 
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.clearfix {
    min-height: 1px;
}

* html .clearfix {
    height: 1px;
    /*¥*//*/
    height: auto;
    overflow: hidden;
    /**/
}

a{
  color: #00376b;
  text-decoration: none;
  font-weight: 900;
}

img,i,div,p,ul,li,input,td,th,span,textarea,select,option,ul,form,nav,body,h2,h3,a,table,th,td,tr,section,label,table{
    box-sizing: border-box;
}



/* Material icons */
.material-icons,.material-icons-outlined{
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}


img{
  max-width: 100%;
}

ol, ul{
    list-style:none;
    margin: 0;
    padding: 0;
}



section{
  position: relative;
}

.row{
  max-width: 880px;
  margin: 0 auto;
}


section#top{
  line-height: 100%;
  margin: 0;
  padding: 0;
}

section#top .row{
  position: relative;
}

section#top .row .main_txt{
  position: absolute;
  left: 0;
  z-index: 2;
  transition-delay:3s;
}

section#top .row .main_txt2{
  position: absolute;
  left: 0;
  z-index: 2;
  transition-delay:3s;
}

section#top .row .top_sub{
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: 2;
}


@keyframes anim_s {
    from { transform: scale(1); }
    50% {
        transform: rotate(0deg) scale(0.95);
    }
    65% {
        transform: rotate(2deg);
    }
    75% {
        transform: rotate(0deg);
    }
    85% {
        transform: rotate(0deg));
    }
    95% {
        transform: rotate(-4deg);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}


section#midashi{
  margin-top: -5px;
  position: relative;
  padding: 25px 0px;
}

section#midashi .after{
  position: absolute;
  width: 200px;
  left: 50%;
  margin-left: -100px;
  height: 50px;
  bottom: -50px;
}

section#section_button{
  background: #fff;
  padding-top: 35px;
  padding-bottom: 20px;
}

section#section_button .row{
  padding: 0px 0px 0px 0px;
  text-align: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
}

section#section_button .arw{
  margin-top: 25px;
  margin-bottom: 25px;
}

.btn_1{
  margin-bottom: 25px;
}

@keyframes flash {
  0%,100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

section#section_button img{
}


section#section_button .button_animation_2{
    padding: 0px 15px 15px 15px;
}

@keyframes button_animation_2 {
    0% {
        transform: scale(0.9, 0.9);
    }
    20% {
        transform: scale(0.9, 1.0);
    }
    95% {
        transform: scale(0.8, 1);
    }
    100% {
        transform: scale(0.9, 0.9);
    }
}

section#top{
  background: #fff;
}

section .row{
  position: relative;
  background: #fff;
}


section .top_animation{
  position: absolute;
  letter-spacing: 0;
  top: 0;
  animation: sway 2s ease-in-out infinite;
  transform-origin: center center;
}

.main_txt2 {
  animate-duration: 1.5s
}

@keyframes sway {
  0%, 100% {
    transform: rotate(-3deg); /* 左に傾く */
  }
  50% {
    transform: rotate(3deg);  /* 右に傾く */
    transform: scale(1.1);
  }
}

section#sec_1 {
  background: #fff;
  margin-top: -1.5px;
}

section#sec_1 .row{
  position: relative;
  
}

section#sec_1 .sec1_2{
  position: absolute;
  left: 0;
  top: 0;
}

@keyframes fluffy {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}


section#sec_2{

}

section#sec_2 .sec2_2{
  position: absolute;
  left: 0;
  top: 0;
  animation: flash 3s linear infinite;
}

section#sec_3{

}

section#sec_3 .row{
  position: relative;
}

section#sec_3 .sec3_2{
  position: absolute;
  left: 0;
  top: 0;
}

section#sec_4{ 
}

section#sec_4 img,section#sec_5 img{
}

section#sec_4{
}

section#sec_5 {
  padding-bottom: 35px;
}

section#sec_5 .row{
}


@media only screen and (max-width: 768px) {
  
  img{
    line-height: 100%;
  }

  html{
  }

  section{
    position: relative;
  }

  .row{
    max-width: 100%;
    margin: 0 auto;
    line-height: 100%;
  }



  section#top .row .top_animation{
    top: 0px;
  }


  

}

.page_bottom {
  padding-bottom: 40px;
}

.btn_gr_area {
  /* 固定表示したい場合は fixed を指定 */
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 9999;
  padding: 5px 10px;

  /* アニメーションの設定 */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none; /* クリックイベントも無効化する場合 */
}

/* 要素が表示されたとき */
.btn_gr_area.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


footer{
  background-color: #ffe200;
  position: relative;
}

footer .row{
  padding-top: 150px;
  padding-bottom: 35px;
  text-align: center;
  width: 100%;
}

footer .top_move{
  position: absolute;
  top: -80px;
  width: 980px;
  left: 50%;
  margin-left: -490px;
}


footer .row ul{
  
  list-style-type: none;
  padding-left: 0;
  margin: 0 auto;
  width: auto;
  text-align: center;
  margin-bottom: 10px;
}

footer .row ul li{
  padding: 10px 25px;
  display: inline;
}


footer .row ul li a,footer .copy{
  color: #000;
}

@media only screen and (max-width: 768px) {
  footer{
    padding-bottom: 25px;
  }

  footer .row{
    padding-top: 40px;
    text-align: center;
    width: 100%;
  }

  footer .top_move{
    position: absolute;
    top: -20px;
    width: 100%;
    left: 0%;
    margin-left: 0px;
  }

  footer .row ul{
    
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  footer .row ul li{
    float: none;
    width: 100%;
    display: block;
    padding: 5px 25px;
  }
}

.header{
  width: 100%;
  background-color: #fff;
  border-bottom: solid 3px #e4007f;
}


.header .logo{
  width: 100%;
  margin: 0 auto;
  padding: 10px 0px;
  max-width: 1280px;
  text-align: center;
}


.header .logo img{
  width: auto;
  height: 50px;
}



#section_6 .row.text_items{
  text-align: left;
}

.row.text_items .titles{
  font-size: 18px;
  width: 100%;
  text-align: left;
  padding: 10px 0px 10px 20px;
  font-weight: 900;
  border-left: solid 6px #ffb9b9;
  border-bottom: solid 2px #fedfde;
  margin-top: 20px;
}

.text_item_contents{
  width: 980px;
  margin: 0 auto;
  margin-bottom: 50px;
  border-bottom: dotted 1px #ccc;
  padding: 25px 0px;

}

.text_item_contents .ti_titles{
  font-weight: 900;
  margin-bottom: 20px;

}

.text_item_contents.un_margin{

}

.text_item_contents ul{
  padding-left: 30px !important;
  margin-top: 15px;
  margin-bottom: 15px;
}

.text_item_contents ul li{
  margin-bottom: 10px;
}

.text_item_contents p{
  margin-bottom: 10px;
  padding-left: 20px !important;
}

.text_item_contents table{
  margin-top: 25px;
  margin-bottom: 25px;
  border: solid 3px #fedfde;
  width: 100%;
}

.text_item_contents table tr{
  border-bottom: solid 1px #ccc;
}

.text_item_contents table th{
  width: 40%;
  border-bottom: dotted 1px #ccc;
  padding: 15px;
  background-color: #fedfde;
}

.text_item_contents table td{
  width: 60%;
  border-bottom: solid 1px #ccc;
  padding: 15px;
}

.text_item_contents table td p{

}

.text_item_contents table tr:last-child th,.text_item_contents table tr:last-child td{
  border-bottom: none;
}

@media only screen and (max-width: 768px) {
  .row.text_items{
    padding-left: 10px;
    padding-right: 10px;
  }

  .row.text_items .titles {
      padding-bottom: 0px;
  }

  .text_item_contents{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
    border-bottom: dotted 1px #ccc;
    padding: 25px 0px;

  }

  .text_item_contents .ti_titles{
    text-align: center;

  }

  .text_item_contents table{
    margin-top: 25px;
    margin-bottom: 25px;
    border: solid 3px #eee;
    width: 100%;
  }

  .text_item_contents table th{
    width: 100%;
    display: block;
    border-bottom: dotted 1px #ccc;
    padding: 15px;
    background-color: #eee;
  }

  .text_item_contents table td{
    width: 100%;
    display: block;
    border-bottom: solid 1px #ccc;
    padding: 15px;
  }

  .text_item_contents p,.text_item_contents ul{
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

}


/* 基準となるセクションの設定 */
#top {
  position: relative;  /* 子要素の絶対配置の基準にする */
  overflow: hidden;    /* はみ出た光を隠す */
  width: 100%;
  /* もしセクションの高さが未設定なら、画面いっぱいに設定する場合： height: 100vh; */
}

/* 画像群が光より手前に来るように設定 */
#top .row {
  position: relative;
  z-index: 2; /* 光（z-index: 1）よりも手前に表示 */
}

/* セクション全体に広がるパトランプ背景 */
.patrol-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 背景として最背面に配置 */
  overflow: hidden;
}

/* 回転する光（中心から四方に広がるように調整） */
.patrol-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  mix-blend-mode: screen;
  
  /* 改良版グラデーション：最も明るい部分に「白」を混ぜて眩しさを表現 */
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.3) 0deg,   /* 完全に眩しい光の芯（白に近い赤） */
    rgba(255, 0, 50, 0.4) 15deg,     /* 鮮やかで強い赤 */
    rgba(255, 0, 0, 0.3) 60deg,      /* 徐々に広がる光の余韻 */
    rgba(255, 0, 0, 0) 180deg,       /* 残りは透明 */
    rgba(255, 0, 0, 0) 320deg,
    rgba(255, 255, 255, 0.3) 360deg
  );
  
  /* アニメーションとぼかし */
  animation: rotate-lamp 3s linear infinite;
  filter: blur(4px); /* ぼかしを少し弱めて、光の「筋」をハッキリさせました */

  /* 💡 背景画像と重なったときに発光させる魔法のプロパティ */
  mix-blend-mode: screen; 
}

/* 回転のアニメーション */
@keyframes rotate-lamp {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
