@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
	font-family: "Roboto", Sans-serif;
}

img,video{
	max-width: 100%;
	height: auto;
}

sup {
        position: relative;
	vertical-align: top;
        top: -0.1em;
}

.p-header{
	padding: 16px;
}

.p-header.fixed{
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	box-shadow: 0 0 12px rgba(0,0,0,0.09);
	background-color: #fff;
	transition: transform .5s, background-color .5s;
	z-index: 2;
}

.p-sectiongray,.p-sectionwhite {
	padding: 50px 16px;
}

.p-sectiongray{
	background-color: #f7f7f7;　　/*背景色　グレー*/
}

.p-header__inner,
.p-section__inner{
	width: 100%;
	max-width: 1220px;
	margin: auto;
}
.p-section__inner80{
	width: 80%;
	max-width: 1220px;
	margin: auto;
}
.main-title {
        font-family:Meiryo UI;
	font-size: 48px;
}
.h-title {
        position: relative;
        padding: 1rem 2rem;
        border-bottom: 6px solid #2864ac;
	font-family: "Roboto", Sans-serif;
	font-weight: 600;
	font-size: 24px;
        white-space: nowrap;
	line-height: 1.2;
	color: #005074;
}

.h-title:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30%;
  height: 6px;
  content: '';
  background: #1c80c4;
}
.p-section__title{
	font-family: "Roboto", Sans-serif;
	font-weight: 600;
	font-size: 32px;
	text-transform: none;
	text-align: left;
	line-height: 1.5;
	color: #005074;
	margin-bottom: 24px;
}
.p-section_text{
	font-size: 18px;
	text-transform: none;
	text-align: left;
	line-height: 1.5;
	margin:0 5%;
}

.p-catch__title{
	font-family: "Roboto", Sans-serif;
	font-weight: 600;
	font-size: 24px;
	text-transform: none;
	text-align: center;
	line-height: 1.5;
	color: #005074;
	margin-bottom: 16px;
}

.p-catch__text{
	font-size: 16px;
	text-align: left;
	line-height: 1.5;
}


.p-image__content{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
}

.p-image__title{
	font-family: "Roboto", Sans-serif;
	font-size: 80%;
	line-height: 1.3em;
        color:#005074;
}


.p-movie__content{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
}

.p-movie__item{
	margin: 24px;
	align-items: center;
}
.p-movie_frame {
        position: relative;
	margin-top: 32px;
	margin-bottom: 32px;
        width: 46%;
	align-items: center;
/*        padding-top: 56.25%;*/
        padding-top: 25.875%;
/*        padding-top: 28%;*/
        border:none; 
}
.p-movie_frame iframe {
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        border:none;
        display:flex;
}
.p-movie__title{
        top:-28px;
	font-family: "Roboto", Sans-serif;
	font-weight: 600;
	font-size: 18px;
        color:#005074;
	line-height: 1.3em;
        text-align: center;
        align-items:center;
	margin-top: 4px;
}
.p-movie_frame h3{
        position:absolute;
        top:-28px;
	font-family: "Roboto", Sans-serif;
	font-weight: 600;
	font-size: 18px;
        color:#005074;
	line-height: 1.3em;
	margin-top: 4px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
}
.p-list {
　　　　display:flex;
	flex-basis: 50%;
        padding-left:5%;
        width:90%;
}

.p-list li{
	position: relative;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	padding-left: 32px;
}

.p-list li:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	background: url("/nish/r_d/img/ico_check02.png") no-repeat;
	width: 29px;
	height: 30px;
}

.p-list li:not(:last-child){
	margin-bottom: 16px;
}

.p-list p{
	position: relative;
        margin-left:32px;
	font-size: 16px;
/*	font-weight: 600;*/
	line-height: 1.5;
/*	padding-right: 32px;*/
}
.p-list2 {
　　　　display:flex;
	flex-basis: 50%;
        padding-left:10%;
        padding-top:5%;
}

.p-list2 li{
	position: relative;
	font-size: 16px;
/*	font-weight: 600;*/
	line-height: 1.5;
	padding-left: 16px;
        padding-right: 16px;
}

.p-list2 li:before{
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	background: url("/nish/r_d/img/ico_maru.png") no-repeat;
	width: 15px;
	height: 15px;
}

.p-list2 li:not(:last-child){
	margin-bottom: 16px;
}

.p-rental__text{
	flex-basis: 40%;
}

.p-img40{
	display: inline;
	flex-basis: 40%;
        margin:auto;
        max-width:100%;
        max-height:100%;
        text-align:center;
}
.p-img30{
	display: inline;
	flex-basis: 30%;
        margin:auto;
        max-width:100%;
        max-height:100%;
        text-align:center;
}
/* 問い合わせボタン */
.btn-toiawase{
  	display:block;
  	width: 200px;
 	 height:50px;
  	padding-left:20px;
  	font-weight: bold;
  	font-size: 18px;
  	line-height: 50px;
  	color: #fff;
  	text-decoration: none;
  	background-color: #005074;
  	border-radius: 5px;
/*  border: 4px solid #005074;*/
  	transition: all 0.5s 0s ease;
}
.btn-toiawase:hover{
  	color: #005074; 
  	background-color:#c6e0ec;
}
/*吹き出し　枠付き角丸*/
  .fukidashi-waku {
  	position: relative;
  	display: inline-block;
  	margin: 5%;
  	padding: 10px;
  	min-width: 120px;
  	max-width: 100%;
  	color: #fff;
  	font-size: 20px;
  	font-weight: bold; 
  	border: solid 3px #005074;
  	background-color:#005074;
  	box-sizing: border-box;
  	border-radius: 15px;
}
.fukidashi-waku:before {
  	content: "";
  	position: absolute;
  	bottom: -34px;
  	left: 70%;
  	margin-left: -15px;
  	border: 18px solid transparent;
  	border-top: 18px solid #005074;
  	z-index: 2;
}
.fukidashi-waku:after {
  	content: "";
  	position: absolute;
  	bottom: -40px;
  	left: 70%;
  	margin-left: -17px;
  	border: 20px solid transparent;
  	border-top: 20px solid #005074;
  	z-index: 1;
}
.fukidashi-waku p {
  	margin: 0;
  	padding: 0;
}
/*吹き出し　枠付き右*/
  .fukidashi-right {
  	position: relative;
  	display: inline-block;
  	margin: 10%;
  	padding: 10px 20px;
  	min-width: 120px;
  	max-width: 100%;
        background-color:#fff;
  	color: #555;
  	font-size: 20px;
  	font-weight: bold;
  	border: solid 3px #005074;
  	box-sizing: border-box;
}
.fukidashi-right:before {
  	content: "";
  	position: absolute;
  	top:50% ;
  	right: -26px;
  	margin-top: -14px;
  	border: 14px solid transparent;
  	border-left: 14px solid #fff;
  	z-index: 2;
}
.fukidashi-right:after {
  	content: "";
  	position: absolute;
  	top: 50%;
  	right: -30px;
  	margin-top: -14px;
  	border: 14px solid transparent;
  	border-left: 14px solid #005074;
  	z-index: 1;
}
.fukidashi-right p {
	  margin: 0;
	padding: 0;
}
/*横並び*/
.p-note{
	display: flex;
        font-size:18px;
	justify-content: space-around;
	align-items: flex-start;
/*	margin-top: 36px;*/
}
.p-note2{
	display: flex;
        font-size:18px;
}
/*コメント・注釈*/
.p-note-s{
        width:45%;
        font-size:80%;
        padding-top:5%;
/*	justify-content: space-around;*/
        text-align:left;
         color:#eff;
}

.p-table{
         border:1px solid #777777; 
         Padding:16px; 
         border-collapse: collapse;
}
.p-table th{
         padding:20px auto;
         border:1px solid #777777; 
         width:30%;
}
.p-table td{
         padding:20px auto;
         border:1px solid #777777; 
         width:30%;
}

/* popupボタン */
.balloonoya {
          position   : relative;                /* 指定した分だけ相対的に移動 */
          color:#26a;
          font-weight:bold;
          text-decoration : underline;;
          white-space: nowrap;
  }
.balloonoya:hover {
          color:#808;
          text-decoration : underline;;
          cursor: pointer;
          cursor: hand;
}
.balloonoya:hover .balloon {
          display: inline;                /* インライン要素として表示 */
          box-shadow: 0px 0px 8px gray;
}
.balloon {
          position   : absolute;                /* 親要素を基準 */
          display: none;                        /* 要素を非表示 */
          padding: 3px;                         /* テキストの前後の余白 */
          margin-top:5px;
          margin-bottom:5px;
          background-color: #fff;       /* 背景色 */
          color:#333;
          width: 200%;
          top:20px;                          /* 吹き出し全体の幅 */
          left : -100%;                          /* 表示位置 */
          font-size: 70%;                       /* 文字サイズ */
          border: 2px solid #005074;
          text-align: left;
          white-space: normal;
 }
.balloon:after{
  content: "";                       /* コンテンツの挿入 */
  position:absolute;                /* 親要素を基準 */
}
.col30 {
         width: 30%;
         text-align: right;
  }
.col40 {
         width: 40%;
  }
.col50 {
         width: 50%;
  }
.col60 {
         width: 60%;
  }
.col70 {
         width: 70%;
  }
.to-top{
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background-color: #C00000;
	outline: none !important;
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 100px;
	right: 40px;
	z-index: 1000;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	transition: background-color 0.3s, color 0.3s, opacity 0.5s, visibility 0s 0.5s;
}
.to-top.show{
	opacity: 1;
	visibility: visible;
	transition: background-color 0.3s, color 0.3s, opacity 0.5s;
}
.to-top::after {
	content: '';
	position: absolute;
	top: -20px;
	left: -20px;
	bottom: -20px;
	right: -20px;
	background: inherit;
	-webkit-border-radius: 40px;
	border-radius: 40px;
	z-index: -1;
	opacity: 0.4;
	-webkit-transform: scale3d(0.5, 0.5, 1);
	transform: scale3d(0.5, 0.5, 1);
}
.to-top:hover {
	transition: background-color 0.1s 0.3s, color 0.1s 0.3s, opacity 0.5s, visibility 0s 0.5s;
	background-color: rgba(57,87,255,1);
	-webkit-animation: anim-moema-1 0.3s forwards;
	animation: anim-moema-1 0.3s forwards;
}
.to-top:hover::after {
	-webkit-animation: anim-moema-2 0.3s 0.3s forwards;
	animation: anim-moema-2 0.3s 0.3s forwards;
}
@-webkit-keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
				transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.1, 1.1, 1);
				transform: scale3d(1.1, 1.1, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
				transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
				transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.1, 1.1, 1);
				transform: scale3d(1.1, 1.1, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
				transform: scale3d(1, 1, 1);
	}
}
@-webkit-keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
				transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
				transform: scale3d(1, 1, 1);
	}
}


@media screen and (max-width: 768px) {
        .mobile-table tr,
        .mobile-table th,
        .mobile-table td {
           display: block; /* セルを縦に */
           border: none; /* 線をリセット */
        }
        .p-section__inner80{
	        width: 100%;
        }
        .p-sectiongray,.p-sectionwhite {
	        padding: 25px 10px;
        }
        .main-title {
	        font-size: 30px;
        }
	.h-title{
		font-size: 22px;
 	        line-height: 1.1;
                padding-bottom:0px;
	}
	.p-section__title{
		font-size: 24px;
        	margin-bottom: 16px;
	}
	.p-catch__title{
		font-size: 20px;
	}
        .p-list li,.fukidashi-waku,
        .fukidashi-right
        {
		font-size: 18px;
	}
	.p-section_text,.p-catch__text,
        .p-list p,.p-list2 li,
        .p-note{
		font-size: 16px;
	}
       .p-section_text{
        	margin:0;
        }
       .p-list2,.p-list,.p-list p {
	    flex-basis: 100%;
            padding:0;
        }
	.p-movie__content{
		flex-wrap: wrap;
                width:100%;
	}
        .p-movie_frame {
                width: 100%;
                padding-top: 56.25%;
        }
        .p-movie_frame iframe {
                display:block;
        }
	.p-img40,.p-img30{
　　　　　　　　display:block;
                position:relative;
		flex-basis: 100%;
		flex-wrap: wrap;
	}
	.p-note,.p-note2{
　　　　　　　　display:block;
                position:relative;
		flex-basis: 100%;
		flex-wrap: wrap;
	}
        .p-note-s{
/*        font-size:70%;*/
        padding:0% 5%;
        width:100%;
       justify-content: center 
       }
	.p-spec__img p{
		text-align: center;
	}
        .p-list {
	       flex-basis: 100%;
               padding-left:0%;
        }
       .balloonoya:hover .balloon {
 	       line-height: 1.2;
               left: -40%;
               right: -40%;
               width: 70vw;
               margin: auto;
               padding: auto;
               }
        .col30,.col40,.col50{
               width: 100%;
               text-align: center;
        }
        .col60,.col70 { 
               width: 100%;
               text-align: center;
        }

}

@media screen and (max-width: 480px) {
        .main-title {
	        font-size: 26px;
        }
	.h-title{
		font-size: 16px;
	}
	.p-section__title{
		font-size: 18px;
        	margin-bottom: 12px;
	}
	.p-catch__title{
		font-size: 16px;
	}
        .p-list li,.fukidashi-waku,
        .fukidashi-right
        {
		font-size: 14px;
	}
	.p-section_text,.p-catch__text,
        .p-movie__title,
        .p-list p,.p-list2 li,
        .p-note{
		font-size: 14px;
	}
	.p-list{
		flex-basis: 100%;
		margin-top: 18px;
	}

	.to-top{
		right: 16px;
		bottom: 16px;
	}
}

