@charset "utf-8";
@media (max-width:768px){
/*------
  全体
-------*/ 
  body{
    min-width: 52rem;
  }
  .container{
    max-width: 768px;
  }
  .l-section {
    margin-top: 50px;
  }
  /*ヘッダー固定時のターゲット位置確保*/
  .container::before{
    content: "";
    display: block;
    height: 70px; /* 調整したい高さ（固定ヘッダーの高さ） */
    margin-top: -70px; /* heightと同じ分のネガティブマージン */
    visibility: hidden;
  }
  .sp{
    display: block;
  }
  .contentWrap{
    display: block;
  }
  .contentWrap img {
    width: 100%;
    margin-right: 0;
  }
  .contentBlock{
    padding-bottom: 30px;
  }
  .txtWrap, .imageWrap{
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
  }
  .largeTxt{
    margin-bottom: 10px;
  }
  .txtArea {
    margin-top: 10px;
  }
  .ttl{
    padding-top: 40px;
  }
/*---------
  header
----------*/
  .header{
    position: fixed;
    z-index: 99;
  }
  .headerWrap{
    padding: 20px 0;
    justify-content: space-around;
  }
  .header h1{
    width: 60%;
  }
  .contactLink{
    display: none;
  }
  .headerInner {
    display: none;
    background-image: linear-gradient(to bottom,#05aff2,#a7e4f2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 9999;
    height: 100vh;
    transition: all 0.3s;
  }
  .phoneBtn {
    font-size: 25px;
  }
  .headerPhone .phoneBtn::before{
    width: 30px;
    height: 30px;
  }
  .headerNav,
  .headerPhone{
    display: block;
    text-align: center;
    padding-top: 50px;
  }
  .headerNav li::before,
  .headerNav li::after{
    display: none;
  }
  .hamburger{
    width: 4rem;
    height: 4rem;
    position: relative;
    position: absolute;
    top: 2.8rem;
    right: 2.4rem;
  }
  .headerInner.active{
    display: block;
    opacity: 1;
    z-index: 99;
  }
  .hamburger.active{
    z-index: 999;
  }
  .hamburger span{
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 3px;/*hambergerのバーの端を丸くする*/
    background-color: #fff;
  }
  .headerNav li {
    padding: 15px 2px;
}
  .hamburger span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 0;
  }
  .hamburger span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    top: 30%;
  }
  .hamburger span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 60%;
  }
  .hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 50%;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    opacity: 0;/* 透明にする */
  }
  .hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 50%;
    transform: rotate(-45deg);
  }
  /*---------
  メインビュー
  ----------*/
  .mainView{
    width: 100%;
    height: 600px;
    top: 100px;
  }
  .mainView .txt{
    font-size: 14px;
    top: 35%;
  }
  .mainView h2{
    font-size: 33px;
    top: 38%;
  }
  .viewImg{
    top: 55%;
  }
  #scheme .imageWrap img {
    margin-left: 0;
    width: 80%;
    margin: 0 auto;
    display: block;
  }
  #scheme .txt{
    margin-bottom: 15px;
  }
/*---
  ad
 ---*/
  #ad .container::before{
    content: "";
    display: block;
    height: 70px; /* 調整したい高さ（固定ヘッダーの高さ） */
    margin-top: -70px; /* heightと同じ分のネガティブマージン */
    visibility: hidden;
  }
  #ad .contentWrap{
    margin-top: 30px;
    width: calc(96%/2);
  }
  #ad .contentWrap img:nth-child(1),
  #ad .contentWrap img:nth-child(2) {
    margin: 0;
  }
/*--------
  feature
 --------*/
  #features .txtWrap {
    width: 100%;
  }
  #features .contentWrap{
    margin-top: 30px;
    width: calc(90%/3);
    margin-left: 0;
  }
/*--------
  fee
 --------*/
  #fee .container::before{
    content: "";
    display: block;
    height: 70px; /* 調整したい高さ（固定ヘッダーの高さ） */
    margin-top: -70px; /* heightと同じ分のネガティブマージン */
    visibility: hidden;
  }
 .priceWrap{
    display: flex;
    flex-direction: column;
  }
  .arealeft, .arearight,
  .plan2 .txtFlexArea {
    width: 100%;
  }

/*--------
  flow
--------*/
  #flow .ttlWrapper {
    margin-bottom: 25px;
  }
  #flow .contentWrap{
    display: flex;
    justify-content: center;
  }
  #flow .flowContent {
    width: 100%;
  }
  .iconWrap {
    width: 20%;
  }
  .iconWrap img {
    width:100%;
  }
  .iconTriangle{
    display: none;
  }

/*--------
 backBtn
--------*/  
  .backToTop{
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 70px;
    right: 1%;
    z-index: 9;
    transition: none;
  }
  .backToTop i{
    line-height: 50px;
  }
  .backToTop.fixed {
    position: fixed;
    margin-bottom: 15px;
    margin-right: 0;
    z-index: 999;
  }
/*--------
  footer
--------*/  
  .footer .container{
    flex-direction: column-reverse;
  }
  .footer .container::before{
    content: none;
  }
  .footerRight {
    justify-content: space-around;
    align-items: flex-end;
  }
/*--------
  contact
--------*/  
  .contactForm{
    padding-top: 20px;
  }
  .contact dl {
    display: block;
    width: 100%;
    max-width: 767px;
  }
  .contact dl dt,
  .contact dl dd {
    width: 100%;
    font-size: 1.4rem;
  }
  .contact dl dd input.postNumber{
    width: 80px;
  }
  .topContact_inner{
    margin-bottom: 40px;
  }
}
@media (max-width:420px){
  body{
    min-width: 32rem;
    padding: 0;
  }
  .container{
    max-width: 420px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .header h1 {
    max-width: 180px;
  }
  .ttl {
    font-size: 24px;
  }
  .subTtl{
    font-size: 12px;
    margin-bottom: 10px;
  }
  .largeTxt{
    font-size: 18px;
  }
  .ss{
    display: block;
  }
  .contentBlock{
    display: block;
    padding-bottom: 50px;
  }
 /*---------
    header
  ----------*/
  .header{
    top: 0;
  }
  .contactInner{
    flex-direction: column;
  }
  .contactBtn{
    width: 24rem;
    height: 4.8rem;
    border-radius: 3rem;
    justify-content: center;
  }
  .contactInner .phoneBtn::before{
    width: 2.4rem;
    height: 2.4rem;
  }
  /*---------
   mainview
  ----------*/
  .mainView{
    width: 100%;
    height: 500px;
    top:0;
  }
  .mainView .txt{
    top:33%;
  }
  .mainView h2 {
    font-size: 24px;
  }
  .viewImg {
    top: 49%;
  }
  
/*---------
   ad
----------*/
  #ad{
    padding: 50px 0 0;
  }
  #ad .contentWrap {
    margin-top: 30px;
    width: 100%;
    padding: 0;
  }
/*---------
   feat
----------*/
  #features .contentWrap{
    margin-left: 0;
    width: 100%;
  }
  #features .container {
    padding: 0 20px;
  }
/*---------
   fee
----------*/
  #fee{
    padding: 50px 0 0;
  }
  #fee .txtArea {
    display: block;
    margin: 20px auto 0;
    max-width: none;
  }
  .detail {
    margin-top: 10px;
    width: 100%;
  }
  .note{
    font-size: 12px;
  }
  .inWrap {
    padding: 20px 10px;
  }
  #fee .contentBlock {
    margin-top: 30px;
  }
  #fee .contentWrap {
    padding-bottom: 50px;
  }
  .arealeft .txtBox {
    background-color: #E5E5E6;
    padding: 15px;
    font-size: 14px;
    letter-spacing: 2px;
  }
  .txtBox .largeTxt{
    font-size: 14px;
  }
  .arearight {
    padding-left: 0;
  }
  .plan1 {
    padding-bottom: 30px;
  }
  .plan2 .subTtl {
    padding-bottom: 0;
  }
  .table {
    width: 100%;
  }
  .annotation {
    font-size: 12px;
  }
  
/*---------
   flow
----------*/
  #flow .ttlWrapper {
    margin-bottom: 2em;
  }
  #flow .contentWrap{
    display: flex;
    flex-direction: column;
  }
  #flow .flowContent {
    width: 100%;
    margin-right: 0;
  }
  .flowTxtArea {
    width: 100%;
  }
  .iconWrap {
    margin-bottom: 10px;
    width: 30%;
  }
  .flowTxtArea .ttl {
    text-align: center;
    padding-top: 10px;
  }
  .note2 {
    margin-top: -50px;
  }
/*---------
   owner
----------*/
  #owner {
    margin-bottom: 80px;
  }

  .backToTop.fixed{
    margin-bottom: -40px;
  }
  .footer .container {
    padding: 2.4rem 2rem;
  }
  .footerLeft {
    width: 100%;
  }
  .footerLeft_head {
    margin-bottom: 20px;
  }
  .footerRight {
    display: block;
    width: 100%;
    margin-left: 0;
  }
  .footerRight li{
    padding-bottom: 1.6rem;
  }
  .footerLogo{
    margin: 1.6rem auto;
    width: 50%;
  }
  .footerTxtArea{
    margin-top: 0;
  }
  .footerTxtArea .txt{
    padding-left: 0;
  }
  .footerTxtArea .largeTxt{
    text-align: left;
    padding-top: 1.6rem;
  }

}
