@charset "utf-8";
/* responsive PC/SP */

/* all wrap */
.add-control {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1011;
}
.add-control2 {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1011;
}

/* close *AREA* */
.action-closeArea {
	position: fixed;
	bottom:  370px;/*355px;*/
	right: 0;
	height: auto;
	width: clamp(75px, 10vw, 90px);
}
@media (max-width:767px) {
	.action-closeArea {
		position: fixed;
		bottom: 300px;
		right: 0;
		height: auto;
		width: clamp(75px, 10vw, 90px);
	}
} 

/* close *AREA* */
.action-closeArea2 {
	position: fixed;
	bottom: 110px;/*115px;*/
	right: 0;
	height: auto;
	width: clamp(75px, 10vw, 90px);
}

/* close-X*/
label.cam_btn-x {
	color: #111;
	position: absolute;
	top: -1.25em;
	font-size: clamp(24px, 10vw, 30px);
	right: 15px;
	cursor: pointer;
    animation:fadeX 2s ease-in;
    user-select: none;
}
label.cam_btn-x:hover {
	cursor: pointer;
}

/* close-X2*/
label.cam_btn-x2 {
	color: #111;
	position: absolute;
	top: -1.25em;
	font-size: clamp(24px, 10vw, 30px);
	right: 15px;
	cursor: pointer;
    animation:fadeX 2s ease-in;
    user-select: none;
}
label.cam_btn-x2:hover {
	cursor: pointer;
} 
  @keyframes fadeX {
      0% { opacity: 0; }
      95% { opacity: 0; }
      100% { opacity: 1; }
}
    
/* checkbox */
input[type="checkbox"].checkbox__close {
	display: none;
}
.action-closeArea #close__1:checked ~ .cam_btn-x {
	display: none;
}
.action-closeArea #close__1:checked ~ #fixed_right_sideBanner {
	display: none;
	opacity: 0;
	transition: opacity 2s linear 0s;
}
    
/* checkbox 2*/
input[type="checkbox"].checkbox__close2 {
	display: none;
} 
.action-closeArea2 #close__2:checked ~ .cam_btn-x2 {
	display: none;
}
.action-closeArea2 #close__2:checked ~ #fixed_right_sideBanner2 {
	display: none;
	opacity: 0;
	transition: opacity 2s linear 0s;
}
.action-closeArea img {
   animation:fadeX 1s ease-in;
}
.action-closeArea2 img {
   animation:fadeX 1s ease-in;
}

/* contents */
#fixed_right_sideBanner {
	position: relative;
	bottom: 0;
	right: 0;
	transform: translateY(-7%);
	width: clamp(75px, 10vw, 100px);
}
#fixed_right_sideBanner img {
	width: clamp(75px, 10vw, 100px);
	position: relative;
	right: -8px;
	transition: all .2s ease-in-out;
}
#fixed_right_sideBanner img:hover {
	transition: all .2s ease-in-out;
	position: relative;
	right: -6px;
}

/* contents */
#fixed_right_sideBanner2 {
	position: relative;
	bottom: 0;
	right: 0;
	transform: translateY(-7%);
	width: clamp(75px, 10vw, 100px);
}
#fixed_right_sideBanner2 img {
	width: clamp(75px, 10vw, 100px);
	position: relative;
	right: -8px;
	transition: all .2s ease-in-out;
}
#fixed_right_sideBanner2 img:hover {
	transition: all .2s ease-in-out;
	position: relative;
	right: -6px;
}
/* scroll-before
------------------------------------- */
  @media screen and (min-width:767px){
    #osusume_kisyu::before {
        content: " ";
        display: inline-block;
        height: 30px;
    }
}

 /* ------------------------------------------
    右サイド固定バナー　テキスト化 
----------------------------------------------*/
/* 右サイド固定バナー　1つ目 */
#fixed_right_sideBanner:hover {
    transition: all .2s ease-in-out;
    position: relative;
    right: -6px;
}

#fixed_right_sideBanner {
    width: clamp(75px, 10vw, 80px);
    position: relative;
    right: 0px;/*-8px;*/
    transition: all .2s ease-in-out;
}
.side-banner {
  width: 100px;
  height: 193px;
  background: #fff;
  border-radius: 15px 0 0 15px; /* 左側だけ角丸 */
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* リンク全体 */
.side-banner a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #000;
}

/* 内側レイアウト */
.banner-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 5px 0;
  box-sizing: border-box;
}

/* A部分：縦書きタイトル */
.banner-title {
  writing-mode: vertical-rl;
    text-orientation: upright;
    background: #c30d23;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    margin: 0 0px 0 3px;
    padding: 15px 10px 15px 4px;
    border-radius: 8px;
    line-height: 1.5;
}
.banner-title_sub {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 2px;
}
/* B部分：下の「詳しく見る」 */
.banner-link {
  font-size: 12px;
  color: #000;
  width: 100%;
}
.banner-link i {
    font-size: 10px;
  padding-left: 1px;
} 
/* 右サイド固定バナー　2つ目 
-----------------------------------------*/

/* 固定位置・ホバー */
#fixed_right_sideBanner2 {
    width: 80px;
    height: 230px;
    position: relative;
    right: 0px;/*-8px;*/
    transition: all .2s ease-in-out;
}
#fixed_right_sideBanner2:hover {
  right: -6px;
}

/* 全体ボックス */
.side-banner2 {
  width: 80px;
  height: 211px;
  background: #fff;
  border-radius: 15px 0 0 15px; /* 左角丸 */
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* リンク全体 */
.side-banner2 a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #000;
}

/* 内側レイアウト */
.banner-inner2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 5px 0;
  box-sizing: border-box;
}

/* 縦書き＋アイコン親 */
.banner-text-vertical {
    background: #0071bc;
    color: #fff;
    /* writing-mode: vertical-rl; */
    text-orientation: upright;
    display: inline-block;
    padding: 6px 5px;
    border-radius: 8px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0px 0 4px;
}

/* アイコンを span で疑似挿入 */
.banner-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(/blog/wp-content/themes/totalservice/img/icon_darts.svg) no-repeat center / contain;
    margin-bottom: 6px;
}

/* タイトルテキスト */
.banner-title2 {
    font-size: 14px;
    font-weight: 800;
    display: inline-block;
    line-height: 1.3;
    margin: 0;
    writing-mode: vertical-rl;
  text-align: left;
}
.banner-title2_sub {
    font-size: 18px;
    letter-spacing: 1px;
}
