
@charset "UTF-8";
@import url("grid.css");



:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #333;
    --link-color: #333;
    --linkhover-color: #333;
    --back-color: #f9f9f9;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
      vertical-align: bottom;
}

a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}

a:hover { 
    color: var(--linkhover-color);
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important;}
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important;}
}

body {
overflow: hidden;
}

/*ナビ
---------------------------------*/
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
      padding: 0 35px;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}

nav a {
    padding: 0.5rem;
}

nav a:hover {
    border-bottom: 2px solid #ff6600;   
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
nav ul {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
       position: relative;
       left: 50%;
       -webkit-transform: translate(-50%, 0%);
 }

.header li {
	padding-top: 0;
}
}

/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}



/*section　id=1 rakuda1　
---------------------------------*/

/*fb背景オレンジ部分
ーーーーーーーーーーーーーーーーーーー*/
.rakuda2 {
    background: linear-gradient(#fff, #fff6d5);
    background-size: cover;
    padding-bottom: 2rem;
}

/*section背景オレンジ部分
ーーーーーーーーーーーーーーーーーーー*/
.rakuda1 {
   background: #fff6d5;
   background-size: cover;
   position: relative;
   top: -45px;
}

.rakuda p {
  text-align: center;
  padding: 2rem 0 3rem;
} 

/*白いはみでた部分
ーーーーーーーーーーーーーーーーーーー*/
.rakuda {
    background: #fff;
    padding: 0 60px 0 80px;
    position: relative;
    top: 70px;
    border-radius: 60px;
    text-align: center;
    display: inline-block;
}

@media only screen and (max-width: 750px) {
.rakuda {
    top: 0;
    padding: 0 22px 0 28px;
 }
}

/*ガーンの線部分
ーーーーーーーーーーーーーーーーーーー*/
.rakuda::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 70%;
    width: 50px;
    height: 50px;
    background-image: url(../img/sen.png);
    background-size: contain;
}

@media screen and (max-width: 768px){
.rakuda::after {
    content: '';
    position: absolute;
    top: -15%;
    left: 70%;
    width: 33px;
    height: 33px;
    background-image: url(../img/sen.png);
    background-size: contain;
 }
}

/*「とれない」の部分
ーーーーーーーーーーーーーーーーーーー*/
.moji {
 width: 240px;
 padding: 0 0 0 0.5rem;
}

@media screen and (max-width: 768px){
.moji{
 width: 132px;
  }
}

/*とれないの後に続く「〇〇」の部分
ーーーーーーーーーーーーーーーーーーー*/
.moji::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 30px;
    height: 28px;
    margin: 0.5em 0.2em;
    background-image: url(../img/maru.png);
    background-size: contain;
}

@media screen and (max-width: 768px){
.moji::after {
    content: '';
    display: inline-block;
    position: absolute;
    width: 30px;
    height: 8px;
    margin: 0.5em 0.2em;
    background-image: url(../img/maru.png);
    background-size: contain;
 }
}

/*「不慣れだと～」の部分
ーーーーーーーーーーーーーーーーーーー*/
.rakuda1 h2 {
   display: inline-block;
   padding: 3rem 0;
   color: #333;
}

@media screen and (max-width: 768px){
.rakuda1 h2 {
 font-size: 2rem;
 padding-left: px;
 padding-top: 2rem;
 }
}

.back {
   background:linear-gradient(transparent 60%, #d9f2ec 60%);
}

/*section　id=2　back1
---------------------------------*/

@media only screen and (max-width: 750px) {
.back1 {
    position: relative;
    top: -98px;
    background: #fff;
 }
}

/*?印リスト部分
ーーーーーーーーーーーーーーーーーーー*/
ul {
    list-style: url(../img/batsu.png) inside;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    text-align: left;
}

.li {
    line-height: 1.5;
    padding: 1em 0 ;
    font-size: 2.5rem;
}

@media screen and (max-width: 768px){
.li {
    font-size: 2rem;
    padding: 1rem 0;
 }
}

/*?印リスト部分の文字装飾
ーーーーーーーーーーーーーーーーーーー*/
li span {
  border-bottom: 2px dashed;
}

/*線の吹き出し部分
ーーーーーーーーーーーーーーーーーーー*/
.hukidashi {
   position: relative;
   padding: 4.5rem 2rem 0;
   border-bottom: 3px solid #d8d8d8;
   margin-top: 2rem;
}

.hukidashi:before {
   position: absolute;
   bottom: -14px;
   left: 50%;
   width: 0;
   height: 0;
   content: '';
   border-width: 14px 12px 0 12px;
   border-style: solid;
   border-color: #d8d8d8 transparent transparent transparent;
}

.hukidashi:after {
   position: absolute;
   bottom: -10px;
   left: 50%;
   width: 0;
   height: 0;
   content: '';
   border-width: 14px 12px 0 12px;
   border-style: solid;
   border-color: #fff transparent transparent transparent;
}

.moji2 {
   font-size: 3rem;
}

@media only screen and (max-width: 768px) {
.moji2 {
   font-size: 1.9rem;
 }
}

/*section　id=3　問い合わせ部分
---------------------------------*/
/*画像背景
ーーーーーーーーーーーーーーーーーーー*/
.toiawase {
    text-align: center;
    background: linear-gradient(45deg, #fff6d5,#fffdf7);
    background-size: 200% 200%;/*サイズを大きくひきのばす*/
    animation: bggradient 20s ease infinite;
}

@media only screen and (max-width: 751px) {
.toiawase {
    position: relative;
    top: -80px;
 }
}

.toiawase1 {
    text-align: center;
    background: linear-gradient(45deg, #fff6d5,#fffdf7);
    background-size: 200% 200%;
    animation: bggradient 20s ease infinite;
    position: relative;
}

@media only screen and (max-width: 751px) {
.toiawase1 {
    top: -80px;
 }
}

@keyframes bggradient{
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/*文字部分
ーーーーーーーーーーーーーーーーーーー*/
.a {
   position: relative;
   left: -10px;
}

.a-text {
   background: rgba(255,255,255,0.65);
   display: inline-block;
   font-size: 2rem;
   position: absolute;
   top: -350px;
   left: 50%;
   padding: 2rem 0.5rem 0;
   text-align: left;
 }

@media screen and (max-width: 751px){
.a-text {
    font-size: 10px;
    position: absolute;
    top: -200px;
    /* font-size: 1.5rem; */
    height: 120px;
    left: 50%;
    padding: 1.5rem 0.5rem 0;
 }
}

.a-text span {
 color: red;
 font-size: 3rem;
}

@media screen and (max-width: 751px){
.a-text span {
 color: red;
 font-size: 1.5rem;
 }
}

/*問い合わせボタン（画像)
ーーーーーーーーーーーーーーーーーーー*/
.a-img {
   position: absolute;
   top: 160px;
   left: 40%;
   width: 338px;
   height: auto;
}

@media screen and (max-width: 751px) {
.a-img {
    position: absolute;
    top: 110px;
    left: 9%;
    width: 180px;
    height: auto;
 }
}

/*section　id=4　特徴部分
---------------------------------*/
 
/*背景
ーーーーーーーーーーーーーーーーーーー*/ 
.haikei {
    background-image: url(../img/pc/haikei.png);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem 0 4rem;
    transform: scale(1.2);
    margin-top: 17rem;
}

@media screen and (max-width: 751px) {
.haikei {
   background-image: url(../img/haikei.png);
   top: -87px;
   background-size: cover;
   background-position: center;
   position: relative;
   padding: 2rem 0 4rem;
   transform: scale(1);
   margin-top: 0;
 }
}

.haikei::before {
  content: '';
  background-color: rgba(213,229,255,0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/*見出し
ーーーーーーーーーーーーーーーーーーー*/
.moji5 {
      text-align: center;
      color:#ff6600;
      font-weight: 600;
      position: relative;
      width: 400px;
      top: -65px;
      border-radius: 30px;
      background: #fff;
      font-size: 28px;
      padding: 1.5rem 3rem ;
      margin: 2rem auto;
}

@media screen and (max-width: 751px){
.moji5 {
 color:#ff6600;
 font-weight: 600;
 position: relative;
 width: 300px;
 border-radius: 23px;
 background: #fff;
 padding: 1rem 2rem 0;
 font-size: 23px;
 }
}

/*リスト設定（01～05)
ーーーーーーーーーーーーーーーーーーー*/
.haikei ul {
    list-style: none inside;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    text-align: left;
    background: #f9f9f9;
    border-radius: 30px;
    border-color: #e6e6e6;
    margin: 0 auto 2rem;
}

li {
  line-height: 1.5;
  padding:  0;
  font-size: 2.0rem;
  margin: 2rem auto;
}

.back {
  background:linear-gradient(transparent 60%, #d9f2ec 60%);
  border-bottom: none;
}

.under {
  border-bottom: 4px dotted #fff100;
}

.font {
 font-weight:bold;
 color: red;
 border-bottom: none;
}

/*リストの見出し
ーーーーーーーーーーーーーーーーーーー*/
.haikei-text {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    padding-left: 10px;
}

.haikei-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se1.png);
    background-size: contain;
}

.haikei-text2 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    padding-left: 10px;
}

.haikei-text2::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se2.png);
    background-size: contain;
}

.haikei-text3 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    
}

.haikei-text3::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se3.png);
    background-size: contain;
}

.haikei-text4 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
}

.haikei-text4::before {
    content: '';
    position: absolute;
    top: 2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se4.png);
    background-size: contain;
}

.haikei-text5 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    padding-left: 10px;
}

.haikei-text5::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se5.png);
    background-size: contain;
}

/*section id=5　料金
-------------------------------------*/

/*背景
ーーーーーーーーーーーーーーーーーーー*/
.price-back {
    text-align: center;
    background: linear-gradient(to bottom right, rgba(55,200,55,0.5) 40%,#37c837 40%);
    position: relative;
    padding: 0 0 5rem 0;
    margin-top: 115px;
}  

@media only screen and (max-width: 751px) {
.price-back {
  top: -107px;
  margin-top: 0;
 }
}

/*背景　画像部分
ーーーーーーーーーーーーーーーーーーー*/
.price-back::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 400px;
    height: 90px;
    background-image: url(../img/line.png);
    background-size: contain;
}

@media screen and (max-width: 768px) {
.price-back::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 300px;
    height: 90px;
    background-image: url(../img/line.png);
    background-size: contain;
    transform: scale(0.8);
 }
}

/*見出し
ーーーーーーーーーーーーーーーーーーー*/

.moji1 {
 color:#ff6600;
 font-weight: 600;
 position: relative;
 width: 400px;
 top: -25px;
 border-radius: 30px;
 background: #fff;
 font-size: 28px;
 padding: 1.5rem 3rem 0;
 margin: 2rem auto;
}

@media screen and (max-width: 768px){
.moji1 {
 color:#ff6600;
  font-size: 23px;
 font-weight: 600;
 position: relative;
 width: 300px;
 border-radius: 30px;
 background: #fff;
 padding: 1rem 2rem 0;
 top: -25px;
 }
}

/*白い枠部分
ーーーーーーーーーーーーーーーーーーー*/
.price {
 background: #fff;
 padding: 3rem 3.5rem;
 margin: 4rem auto;
  font-size: 2.5rem;
}

@media screen and (max-width: 768px){
.price {
 background: #fff;
 padding: 2rem 1rem;
 font-size: 16px;
 }
}

/*新規申請部分
ーーーーーーーーーーーーーーーーーーー*/
.price-a {
 border:  2px dashed #30ae62;
 border-radius: 30px;
 margin: 0 auto 2rem;
 padding: 20px;
}

.price-a::after {
 content: ""; /*疑似要素の中身を指定*/
 position: absolute; /*絶対位置指定*/
 left: 50%; /*横位置の指定*/
 top: 25%; /*縦位置の指定*/
 background:#afe9c6; /*線の色指定*/
 width: 3px; /*線の幅指定*/
 height: 42%; /*線の高さ指定*/
}

@media screen and (max-width: 768px){
.price-a::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 25%;
    background: #afe9c6;
    width: 2px;
    height: 42%;
    padding-left: 0.5rem;
 }
}

@media screen and (max-width: 768px){
.price-a {
 border:  2px dashed #30ae62;
 border-radius: 30px;
 margin: 0 0.5rem 2rem 0;
 padding: 20px;
 }
}

/*更新申請
ーーーーーーーーーーーーーーーーーーー*/
.price-b {
 border: 2px dashed #30ae62;
 border-radius: 30px;
 margin: 0 auto 2rem;
 padding: 20px;
}

@media screen and (max-width: 768px){
.price-b {
 border: 2px dashed #30ae62;
 border-radius: 30px;
 margin: 0 0 2rem 1rem;
 padding: 20px;
 }
}

/*黄色マーカー部分
ーーーーーーーーーーーーーーーーーーー*/
.price span {
   background:linear-gradient(transparent 60%, #fff100 60%);
}

/*対応地域　フォントサイズ
ーーーーーーーーーーーーーーーーーーー*/
.moji3 {
 font-size: 3rem;
}

/*section id=6 shitsugi
-------------------------------------*/
.shitsugi {
 background: #87aade;
 position: relative;
 padding: 5rem 0 3rem 0;
}

@media screen and (max-width: 751px){
.shitsugi {
  top: -107px;
 }
}



/* 吹き出し
--------------------------- */

/* ----- 共通 ----- */
.talk {
margin-bottom: 40px;
text-align: left;
}

.talk figure img {
width: 100%;
height: 100%;
border: 2px solid #fff;
border-radius: 50%;
margin: 0;
transform: scale(1.5);
}

@media screen and (max-width: 751px){
.talk figure img {
width: 100%;
height: 100%;
border: 2px solid #fff;
border-radius: 50%;
margin: 0;
 }
}

/* 画像の下のテキスト */
.talk-imgname {
padding: 20px 0 0;
font-size: 15px;
text-align: center;
color: #333;
}

@media screen and (max-width: 751px){
.talk-imgname {
padding: 19px 0 0;
font-size: 15px;
text-align: center;
color: #333;
 } 
}

p.talk-text {
margin: 0 0 8px;
font-size: 24px;
}

@media screen and (max-width: 751px){
p.talk-text {
font-size: 15px;
 }
}

p.talk-text:last-child {
margin-bottom: 0px;
}

/* 回り込み解除 */
.talk:after,.talk:before {
clear: both;
content: "";
display: block;
}

/* ----- 左の場合 ----- */

/* 左画像 */
.talk-Limg {
margin-left: 4px;
margin-top: -1px;
float: left;
width: 60px;
height: 60px;
}

/* 左からの吹き出しテキスト */
.talk-Ltxt {
color: #333;
position: relative;
margin-left: 100px;
padding: 1.2em;
border: 3px solid #fff;
background-color: #fff;
border-radius: 5px;
}

/* 左の三角形を作る */
.talk-Ltxt:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #fff;
top: 15px;
left: -20px;
}

.talk-Ltxt:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #fff;
top: 15px;
left: -16px;
}

/* 右画像 */
.talk-Rimg {
margin-right: 4px;
margin-top: -1px;
float: right;
width: 60px;
height: 60px;
}

/* 右からの吹き出しテキスト */
.talk-Rtxt {
color: #333;
position: relative;
margin-right: 100px;
padding: 1.2em;
border: 3px solid #aaffaa;
background-color: #aaffaa;
border-radius: 5px;
}

/* 右の三角形を作る */
.talk-Rtxt:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-left: 10px solid #aaffaa;
top: 15px;
right: -23px;
}

.talk-Rtxt:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-left: 10px solid #aaffaa;
top: 15px;
right: -19px;
}

/* 黄色マーカー部分 */
.talk span {
 color: #ff6600;
}

/*section id=7 挨拶部分
-------------------------------------*/

/*背景*/
.aisatsu {
 position: relative;
 padding-bottom: 2rem;
 background: linear-gradient(#fff, #fffdf7); 
}

@media screen and (max-width: 751px){
.aisatsu {
 top: -70px;
 }
}


/* 画像下部の色つき部分*/
aisatsu::after {
    content: "";
    background: rgba(255,247,224,0.5);
    width: auto;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

/* 写真の上下余白 */
.aisatsu-img {
 padding-bottom: 1rem;
 margin-top: 3rem;
}

/* 下部の画像（街) */
.aisatsu-img::after {
    content: "";
    background-image: url(../img/city.png);
    width: 996px;
    height: 446px;
    position: absolute;
    bottom: 85px;
    left: 0;
    right: 0;
    z-index: 1;
}

@media screen and (max-width: 751px){
.aisatsu-img::after {
    content: "";
    background-image: url(../img/city.png);
    background-size: cover;
    width: 996px;
    height: 1700px;
    position: absolute;
    bottom: 85px;
    left: 0;
    right: 0;
    z-index: 1;
 }
}

/* 文字周りの余白 */
.aisatsu-text {
  position: relative;
  padding-top: 5rem;
}

/* 文字部分 */
.aisatsu-text p {
   position: relative;
   z-index: 2;
　 text-align: left;
   font-size: 2rem;
   line-height: 1.5;
}

/*section id=8 form
-------------------------------------*/

.form {
 background: rgba(55,200,55,0.5);
 position: relative;
 padding: 5rem 0;
 }

@media screen and (max-width: 751px){
.form {
    top: -80px;
 }
}

/*メールフォーム
-------------------------------------*/


.formWrap {
	width:700px;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
      background: #fff;
      padding: 0.5rem;
}
table.formTable{
	width:100%;
	margin: auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
.formWrap {
	width:95%;
	margin:auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
form input[type="text"], form textarea {
	width:80%;
	padding:5px;
	font-size:110%;
	display:block;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
      margin: 1.5rem 0 0;
}
}


















/*ヘッダー
-------------------------------------*/
.header {
    display: flex;
    flex-direction: row;
    padding-top: 2em;
    margin-bottom: 10px;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #ff6600;
}
@media screen and (max-width: 751px){
.contact-button {
	font-size: 12px;
 }
}

.contact-button i {
 color: #ff6600;
 padding: 0.5rem;
}

@media screen and (max-width: 751px){
.header {
    margin-bottom: 10px;
    align-items: baseline;
 }
}

/*メイン画像
-------------------------------------*/
.mainimg  {
  width: 1687px;
  height: 1064px;
  margin: 2rem auto;
  text-align: center;
  background: url(../img/pc/main.png);
  background-repeat: no-repeat;
} 

@media screen and (max-width: 750px){
.mainimg {
 display: none !important; }
}

/*メイン画像：追加
-------------------------------------*/
.mainga {
    position: relative;/*相対配置*/
    margin-top: 2rem;
    height: 450px;
 }

.mainga img {
  width: 100vw;
}

mainga::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 0;
    background: url(../img/moji.png);
    width: 300px;
    height: 431px;
    padding-left: 0;
    background-size: contain;
    animation-fill-mode: backwards;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
    animation-delay: 0.5s;
    animation-direction: normal;
    background-repeat: no-repeat;
    z-index: 1;
}

/*1で解説*/
@keyframes fadeInAnime{
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

mainga::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    background-color: #f1f5f8;
    width: 134px;
    height: 550px;
    background-position: bottom;
}

@media screen and (min-width: 768px){
.mainga {
 display: none;
 }
}

.mainga1 {
    background: url(../img/pc/main.png);
    background-repeat: no-repeat;
    width: 1200px;
    height: 1048px;
    background-size: contain;
    background-position: bottom right;
    margin: 2rem auto 0;
}


.mainga1::before {
  content: "";
    position: absolute;
    top: 10%;
    left: 5%;
    width: 712px;
    height: 185px;
    background: url(../img/pc/moji.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.mainga1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -2%;
    width: 617px;
    height: 549px;
    background: rgba(241,245,248,0.65);
    z-index: 0;
 }

@media screen and (max-width: 750px){
.mainga1 {
 display: none;
 }
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
　　padding: 0;
}

section {
	margin: 0;
	padding: 0;
}

.center {
	text-align: center;
	margin-bottom: 2rem;
}

/*フッター
-------------------------------------*/
footer {
    padding: 4rem 0 0;
    position: relative;
}

footer h4 {
    border-bottom: 3px solid var(--border-color);
}

footer span {
    border-bottom: 2px solid #fff100;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
h2 {
 font-size: 90%;
}
h1 {
 font-size: 120%;
 }
footer {
 padding: 0 0 4rem;
 }
}

/*当事務所の特徴ページ*/
.tokucyo {
    background-image: url(../img/pc/haikei.png);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem 0 2rem;
    transform: scale(1);
    margin: 6rem 0 2rem;

}

@media screen and (max-width: 751px) {
.tokucyo {
   background-image: url(../img/haikei.png);
   background-size: cover;
   background-position: center;
   position: relative;
   padding: 2rem 0 4rem;
   transform: scale(1);
   margin-top: 4rem;
 }
}

.tokucyo::before {
  content: '';
  background-color: rgba(213,229,255,0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/*見出し
ーーーーーーーーーーーーーーーーーーー*/
.tokucyo .moji5 {
      text-align: center;
      color:#ff6600;
      -webkit-text-stroke: 1px #ff6600;
      position: relative;
      width: 400px;
      top: -65px;
      border-radius: 30px;
      background: #fff;
      font-size: 37px;
      padding: 1.5rem 3rem ;
      margin: 2rem auto;
}

@media screen and (max-width: 751px){
.tokucyo .moji5 {
 color:#ff6600;
  -webkit-text-stroke: 1px #ff6600;
 position: relative;
 width: 300px;
 border-radius: 30px;
 background: #fff;
 padding: 1rem 2rem 0;
 }
}

/*リスト設定（01～05)
ーーーーーーーーーーーーーーーーーーー*/
.tokucyo ul {
    list-style: none inside;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    text-align: left;
    background: #f9f9f9;
    border-radius: 30px;
    border-color: #e6e6e6;
    margin: 2rem auto;
}

li {
  line-height: 1.5;
  padding:  0;
  font-size: 2.0rem;
}

.back {
  background:linear-gradient(transparent 60%, #d9f2ec 60%);
  border-bottom: none;
}

.under {
  border-bottom: 4px dotted #fff100;
}

.font {
 font-weight:bold;
 color: red;
 border-bottom: none;
}

/*リストの見出し
ーーーーーーーーーーーーーーーーーーー*/
.tokucyo-text {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    padding-left: 10px;
}

.tokucyo-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se1.png);
    background-size: contain;
}

.tokucyo-text2 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    padding-left: 10px;
}

.tokucyo-text2::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se2.png);
    background-size: contain;
}

.tokucyo-text3 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    
}

.tokucyo-text3::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se3.png);
    background-size: contain;
}

.tokucyo-text4 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
}

.tokucyo-text4::before {
    content: '';
    position: absolute;
    top: 2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se4.png);
    background-size: contain;
}

.tokucyo-text5 {
    padding: 0.5rem 0;
    font-size: 2.5rem;
    position: relative;
    text-align: center;
    margin-left: 20px;
    padding-left: 10px;
}

.tokucyo-text5::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -20px;
    width: 240px;
    height: 95px;
    background-image: url(../img/se5.png);
    background-size: contain;
}

.toiawase3 {
    text-align: center;
    background: linear-gradient(45deg, #fff6d5,#fffdf7);
    background-size: 200% 200%;/*サイズを大きくひきのばす*/
    animation: bggradient 20s ease infinite;
}

@media only screen and (max-width: 751px) {
.toiawase3 {
    position: relative;
 }
}

.footer1 {
    padding: 50px 0 4em;
    position: relative;
}

@media only screen and (max-width: 751px) {
.footer1 {
    padding: 79px 0 0;
    position: relative;
 }
}
