/*シャドウフレーム*/
.shadowframe {
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 50px #add8e6 inset, 5px 5px 0 #ffffff;
    -moz-box-shadow: 0 0 50px #add8e6 inset, 5px 5px 0 #ffffff;
    -webkit-box-shadow: 0 0 50px #add8e6 inset, 5px 5px 0 #ffffff;
}

/* キャプションアニメーション 上から表示*/
figure {
  position: relative;
  overflow: hidden;
  /*width: 300px;*/
}
figcaption {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 96%; /*100%;*/
  background: rgba(0,0,0,.5);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 1;
}

figcaption .ryourimei{
  color: #FFF;
  font-size: 110%;
  font-weight: bold;
  text-align: center;
  padding: 7px;
}

figcaption .kingaku{
  color: #FFCC00;
  font-size: 110%;
  font-weight: bold;
  text-align: center;
  padding: 7px;	
}

figcaption .setumei{
  color: #FFF;
  font-size: 90%;
  font-weight: normal;
  padding: 7px;	
}

figure:hover figcaption {
  top: 0;
  left: 0;
}

figure img{
  width: 100%;
}

/* 画像拡大*/
.figure_larger img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.figure_larger:hover img {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

/*斜め掛けリボンの表示*/
.ribbon_naname-wrapper {
  display: block;
  position: relative;
  margin: 15px auto;
  padding: 10px 0;
  width: 300px;
  height: 150px;
  background: #f1f1f1;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.ribbon_naname-content {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 89px;
  height: 91px;
  overflow: hidden;
  }

.ribbon_naname {
  display: inline-block;
  position: absolute;
  padding: 7px 0;
  left: -23px;
  top: 22px;
  width: 160px;
  text-align: center;
  font-size: 18px;
  line-height: 16px;
  background: #ffa520;
  color: #fff;
  letter-spacing: 0.05em;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ribbon_naname:before, .ribbon_naname:after {
  position: absolute;
  content: "";
  border-top: 4px solid #b2751b;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  bottom: -4px;
}

.ribbon_naname:before {
  left: 14px;
}

.ribbon_naname:after {
  right: 18px;
}



/*点線枠*/
.tensenwaku{
    border: dashed 2px #5b8bd0;
    border-radius: 10px;
	  padding: 10px 20px;
}

/*枠背景色*/
.box_nakanuri{
	background-color:#000;
	color:#FFF;
	font-weight:bold;
	font-size:200%;
	padding:25px;
	min-width:200px;
	text-align:center;
}

/*枠点線角丸*/
.box_tensenkadomaru {
    padding: 1em 1em;
    margin: 2em 0;
    background: #f0f7ff;
    border: dashed 1px #5b8bd0;
    border-radius: 10px;
    font-size: 85%;
}

/*タイトル付き枠*/
.title-box2{
  margin: 1em 0;
  padding: 1.5em 1em 1em;
  position: relative;
  border: 1px solid #81d4fa;
  background-color: #e1f5fe;
}

.title-box2 .box-title{
  position: absolute;
  top: -0.8em;
  left: 0px;/*20px*/
  font-weight: bold;
  font-size: 1.1em !important;
  background-color: #81d4fa;
  color: #fff;
  padding: 0 0.5em;
}

.title-box2 p{
  margin: 0;
  padding: 0;
}


/*タイトル付き枠-見出し中央-*/
.title-box2_m{
  margin: 1em 0;
  padding: 1.5em 1em 1em;
  position: relative;
  border: 1px solid #81d4fa;
  background-color: #e1f5fe;
}

.title-box2_m .box-title {
    position: absolute;
    top: calc(-0.7em - 0.6vw);
    left: 50%;
    font-weight: bold;
    font-size: calc(1.2em + 0.7vw) !important;
    background-color: #81d4fa;
    color: #fff;
    padding: 0.2em 0.5em;
    transform: translateY(0%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
border-radius:25px;
	text-align:center;
}
.title-box2_m p{
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 530px) {
.title-box2_m .box-title {
    font-size: calc(0.9em + 0.7vw) !important;
	width:70%;
}
}
@media screen and (max-width: 480px) {
.title-box2_m .box-title {
    font-size: calc(0.8em + 0.7vw) !important;
	width:80%;
}
}


@media screen and (max-width: 520px){
/*固定ページコンセプトのボックスタイトル*/	
.title-box2-title{
  font-size: 1.0em !important;
}
}



/*ステップ見出し*/
.stepmidasi {
  position: relative;
  overflow: hidden;
  padding: 1.0rem 2rem 1.0rem 120px;
  border-top: 2px solid #435AA0;
  border-bottom: 2px solid #435AA0;
  /*border-right: 2px solid #435AA0;*/
  height:60px;
}

.stepmidasi:before {
  position: absolute;
  top: -100%;
  left: -100px;
  width: 200px;
  height: 200%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #FF7FB2;
}

.stepmidasi .step {
  font-size: 20px !important;
  /*font-size: 4rem;*/
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 14px;
  padding-left: 16px;
  color: #fff;
}


/*見出付き枠*/
.midasiwaku01 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
    width:100%;
    max-width:800px;
}
.midasiwaku01 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.midasiwaku01 p {
    margin: 0; 
    padding: 0;
}

/*見出付き枠タイトル中央*/
.midasiwaku001 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
    width:31.33%;
    max-width:100%;
}
.midasiwaku001 .box-title {
    position: relative;
    display: inline-block;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.midasiwaku001 p {
    margin: 0; 
    padding: 0;
}

/*右下角折れ曲がり*/
.block {
    position: relative;
    padding: 20px;
    color: #333;
    background: #F8F8F8;
    overflow: hidden;
}

.block:before {
    content: " ";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-width: 20px 32px 0 0;/*折れ曲がりの大きさ*/
    border-style: solid;
    border-color: #fff;
    border-top-color: #D4D4D4;
    box-shadow: 0 1px 1px rgb(0 0 0 / 40%);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 40%);
}


/*右下角折れ白色　影あり*/
.kadoore_gray{
  width: 100%;
  max-width:800px;
  position: relative;
  margin: 0 auto;
  padding: 35px 30px;
}
.kadoore_gray01{
  background: #ffffff;
  box-shadow: inset 0 0 30px rgba(230,220,228,0.8);
}
.kadoore_gray:before {
  content: " ";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  border-width: 0 30px 30px 0;/*折れ幅*/
  border-style: solid;
  width: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.kadoore_gray:before {
  background: #e3e3e3;
  border-color: #fff #fff #e3e3e3 #e3e3e3;
}
.kadoore_gray h1{
  font-size: 24px;
  margin: 0 0 15px;
    color: #87b5de;
}
.kadoore_gray p{
  font-family: 'arial narrow', serif;
  line-height: 1.4em;
}


/*右下角折れ茶色　影あり*/
.kadoore_brown{
  width: 100%;
  max-width:800px;
  position: relative;
  margin: 0 auto;
  padding: 35px 30px;
}
.kadoore_brown02{
  background: #fff9e7;
  box-shadow: inset 0 0 30px rgba(230,220,190,1);
}
.kadoore_brown:before {
  content: " ";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  border-width: 0 30px 30px 0;/*折れ幅*/
  border-style: solid;
  width: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.kadoore_brown02:before {
  background: #e8ddbd;
  border-color: #fff #fff #e8ddbd #e8ddbd;
}
.kadoore_brown h1{
  font-size: 24px;
  margin: 0 0 15px;
  color: #603913;
}
.kadoore_brown p{
  font-family: 'arial narrow', serif;
  line-height: 1.4em;
}

/*右下角折れ茶色　影あり２*/
.kadoore_brown01{
  width: 100%;
  max-width:1000px !important;
  position: relative;
  margin: 0 auto;
  padding: 35px 30px;
}
.kadoore_brown02{
  background: #fff9e7;
  box-shadow: inset 0 0 30px rgba(230,220,190,1);
}
.kadoore_brown01:before {
  content: " ";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  border-width: 0 30px 30px 0;/*折れ幅*/
  border-style: solid;
  width: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.kadoore_brown02:before {
  background: #e8ddbd;
  border-color: #fff #fff #e8ddbd #e8ddbd;
}
.kadoore_brown01 h1{
  font-size: calc(1.2rem + 0.5vw) !important;
  margin: 0 0 15px;
  color: #603913;
  font-family: 'arial narrow', serif !important;
}
.kadoore_brown01 p{
  font-family: 'arial narrow', serif;
  line-height: 1.8em !important;
  font-size:calc(0.8rem + 0.5vw) !important;
}

/*上部に見出し*/
.box_midasi01 {
    margin: 2em 0;
    background: #dcefff;
}
.box_midasi01 .box-title {
    font-size: 1.2em;
    background: #5fb3f5;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box_midasi01 p {
    padding: 15px 20px;
    margin: 0;
}

/*交差ボックス*/
.box_kousa{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.box_kousa:before, .box_kousa:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.box_kousa:before {left: 10px;}
.box_kousa:after {right: 10px;}
.box_kousa p {
    margin: 0; 
    padding: 0;
}

.kakomi01 {
    background-image: url(https://oosumi15.com/wp/wp-content/uploads/2021/11/motowaku_red.png);
    background-size: contain;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    line-height: calc(120% + 1vw);
    text-align: center;
    padding: 40px;
    height:500px;/*必要*/
}
.kakomi01 p {
    margin-top:100px;
}


/*イメージ付き枠*/
.image-box{
  margin: 1em 0;
  padding: 1.5em 1em 1em;
  position: relative;
  border: 1px solid #81d4fa;
  background-color: #e1f5fe;
  min-height:130px;
}
.image-box .image-pos{
  position: absolute;
  top: -1.5em;
  right: -0.8em;
}
.image-box .image-pos img{
  width:calc(80px + 8vw);
}
@media screen and (min-width: 1025px) {
.home .image-box .image-pos img{
  width:calc(90px + 10vw);
}
}
.image-box p{
  margin: 0;
  padding: 0;
  position:relative;
  z-index:100;
}
.image-box .title001{
  color:#333;
	padding: 0.1em 0.75em;
  background-color: #f6f6f6;
  font-size: 110%;
  text-align: center;	
}
.image-box .title002{
  font-size:200%;
  color:#718f1e;
	font-weight:900;
	margin-top:0.0em;
	position: relative;
  z-index: 101;
}
.image-box .title003{
  font-size:130%;
  color:#718f1e;
	font-weight:900;
	margin-top:0.0em;
	position: relative;
  z-index: 101;
}
/*左寄せ*/
.f-left{
 float:left; 
}
.hidarihaba01{
  margin-left:calc(1em + 7px);
  position:relative;
  z-index:105;
  text-shadow:1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, 0px 1px 0 #FFFFFF,  0-1px 0 #FFFFFF, -1px 0 0 #FFFFFF, 1px 0 0 #FFFFFF !important;
  font-weight:bold;
}
/*文字縁取り*/
.fuchidori {
  color: #718F1E;
  text-shadow:1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, 0px 1px 0 #FFFFFF,  0-1px 0 #FFFFFF, -1px 0 0 #FFFFFF, 1px 0 0 #FFFFFF !important;
}

/*背景を画像*/
/*説明*/
.setumei{
  width:100%; 
  max-width:640px;
  margin:0 auto;
  font-size:calc(1rem + 0.9vw);
  line-height:calc(110% + 1vw);
  padding-top:calc(65px - 3vw);
}
@media screen and (min-width: 768px) and (max-width: 992px) {
	/* 768px - 991px用（タブレット横用）の記述 */
.setumei{
  width:100%; 
  max-width:540px;
  margin:0 auto;
  font-size:calc(1.1rem + 0.9vw);
  line-height:calc(110% + 1vw);
  padding-top:calc(90px - 2vw);
}
}
@media screen and (min-width: 480px) and (max-width: 767px) {
	/* 480px - 767px用（タブレット縦／スマートフォン横用）の記述 */
.setumei{
  width:100%; 
  max-width:640px;
  margin:0 auto;
  font-size:calc(1rem + 0.9vw);
  line-height:calc(110% + 1vw);
  padding-top:calc(50px - 2vw);
}
}
@media screen and (max-width: 479px) {
	/* 479px以下用（スマートフォン用）の記述 */
.setumei{
  width:100%; 
  max-width:640px;
  margin:0 auto;
  font-size:calc(0.9rem + 0.9vw);
  line-height:calc(110% + 0.5vw);
  padding-top:calc(0px - 0vw);
}
}

/*背景*/
.tex01{
  background-image:url(https://d-shinwa.jp/wp-content/uploads/2025/02/tex04.jpg);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:50% 50%;
  width:100%;
  position:relative;
  aspect-ratio: 900 / 600;
  /*min-height:300px;*/
}

/*セロテープ風*/
.tape {
    position:relative;/*テープの表示位置の基準となる*/
    display:inline-block;/*内容に合わせて幅も伸縮させる*/
}
.tape::before, .tape::after {
    content: "";
    display: block;
    position: absolute;
    background: rgba(255,255,255,0.2);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.tape::before {
    left: -5%;
    top: -10%;
    width: 25%;
    height: 50px;
    transform: rotate(-10deg);
}
.tape::after {
    right: -5%;
    top: -10%;
    width: 24%;
    height: 50px;
    transform: rotate(10deg);
}
.paper{
    padding:50px;/*セロテープにかからないように、適宜Paddingをいれる*/
    box-shadow:1px 1px 2px rgba(0,0,0,.3);
    background: linear-gradient(to bottom,  rgba(252,255,244,1) 0%,rgba(239,239,225,1) 100%); 
}


/*ボックスにイメージ*/
.tokucho_waku{
  background-color:#EDF6FA;
  padding:10px 20px;
}

.image-box2{
  margin: 1em 0;
  padding: 1.5em 1em 1em;
  position: relative;
  border: 1px solid #EDF6FA;
  background-color: #EDF6FA;
  min-height:130px;
}
.image-box2 .image-pos{
  position: absolute;
  top: -2.5em;
  left: 0.8em;
}

.image-box2 .title002{
  color:#325A88;
  font-weight:900;
  margin-top:0.0em;
  position: relative;
  z-index: 101;
}
@media screen and (min-width: 1025px) {
.image-box2 .image-pos img{
  width:calc(90px + 1vw);
}
.image-box2 .title002_pos{
  float:left;
  margin-left:calc(110px + 1vw);
}
.image-box2 .title002{
  font-size:calc(1rem + 1vw);
}
.tokucho_font{
  margin-top:35px;
  font-size:110%;
}
}
@media screen and (max-width: 1024px) {
.image-box2 .image-pos img{
  width:calc(70px + 1vw);
}
.image-box2 .title002_pos{
  float:left;
  margin-left:calc(90px + 1vw);
  margin-top:-30px;
}
.image-box2 .title002{
  font-size:calc(1.3rem + 1vw);
}
.tokucho_font{
  margin-top:35px;
  font-size:100%;
}
}

.image-box2 p{
  margin: 0;
  padding: 0;
  position:relative;
  z-index:100;
}