/* 360 - 414px */

@media screen and (max-width:599px) {
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* display: flex;
        flex-flow: column;
        min-height: 100vh; */
  }

  main {
    width: 100%;
  }

  img {
    /* max-width: 100%; */
    /* height: auto; */
  }

  ul {
    padding: 0;
    margin: 0;
  }

  li {
    list-style-type: none;
    white-space: nowrap;
  }

  .web-ipad-menu {
    display: none;
  }

  a {
    color: #333;
    text-decoration: none;
  }

  .topPage-img {
    /* transform: translateX(-43px); */
    width: 100%;
    height: auto;
    margin-bottom: 0%;
    margin-top: 25px;
    /* background-image: url(../img/top_image_mobile.png); */
    background-repeat: no-repeat;
    background-position: right center;
    width: 100%;
    display: none;
  }

  .topPage-mobile {
    width: 100%;
  }

  header {
    width: 100vw - 10px;
    max-width: 100%;
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
  }

  .iconImage {
    width: 60%;
    align-items: flex-start;
    padding-left: 6px;
  }

  .lineIcon {
    /* width:400px; */
    display: none;
  }

  /* トップページ画像 */
  div.topPage {
    /* margin-left: 100px; */
    /* max-width: 100%; */
    /* min-height: 100vh; */
    /* center / cover; */
  }

  .menu-nav {
    /* margin: 0 auto; */
  }

  .menu {
    display: flex;
  }

  .menu-list {
    /* padding: 0 5px; */
  }

  button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    border: 0;
    background: transparent;
    outline: 0;
    border-radius: 0;
    text-align: inherit;
  }

  button:hover {
    cursor: pointer;
  }

  /**************** 以下、ハンバーガーボタンのスタイリング ****************/
  .burgerbtn {
    /* ボタンの配置位置  */
    /* position: fixed; */
    top: 15px;
    /* right: 30px; */
    /* margin-left: 100px; */
    justify-content: flex-end;
    /* ボタンの大きさ  */
    width: 10vw;
    max-width: 70px;
    height: 30px;
    /* バーガーの線をボタン範囲の中心に配置 */
    display: flex;
    /* justify-content: center; */
    align-items: center;
    /* 最前面に */
    z-index: 10;
    margin-right: 0;
    margin-left: auto;
  }

  /***** 真ん中のバーガー線 *****/
  .btn-line {
    /* 線の長さと高さ */
    width: 100%;
    height: 2px;
    /* バーガー線の色 */
    background-color: #343434;
    /* バーガー線の位置基準として設定 */
    position: relative;
    transition: .2s;
  }

  /***** 上下のバーガー線 *****/
  .btn-line::before,
  .btn-line::after {
    content: "";
    /* 基準線と同じ大きさと色 */
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: .2s;
  }


  .btn-line::before {
    /* 上の線の位置 */
    transform: translateY(-10px);
  }


  .btn-line::after {
    /* 下の線の位置 */
    transform: translateY(10px);
  }

  /***** メニューオープン時 *****/
  .btn-line.open {
    /* 真ん中の線を透明に */
    background-color: transparent;
  }

  .btn-line.open::before,
  .btn-line.open::after {
    content: "";
    transition: .2s;
  }

  .btn-line.open::before {
    /* 上の線を傾ける */
    transform: rotate(0);
  }

  .btn-line.open::after {
    /* 上の線を傾ける */
    transform: rotate(0);
  }

  /* ボタンフォーカス時の装飾 */
  .burgerbtn:focus .btn-line,
  .burgerbtn:focus .btn-line::before,
  .burgerbtn:focus .btn-line::after {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .7);
  }

  .burgerbtn:focus .btn-line.open {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  .burgerbtn:focus .btn-line.open::before,
  .burgerbtn:focus .btn-line.open::after {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .7);
  }

  /**************** ここまで、ハンバーガーボタンのスタイリング ****************/

  /**************** 以下、メニューのスタイリング ****************/
  .menu {
    position: fixed;
    /* メニューの位置マイナス指定で画面外に */
    transform: translateX(200%);
    width: 80%;
    height: 40vh;
    top: 50px;
    /* メニューを縦に */
    display: flex;
    flex-direction: column;
    color: #ffffff;
    background-color: #3B5340;
    opacity: 0.95;
    transition: transform .3s;
  }

  .menu-list {
    width: 100%;
    height: 100%;
    /* メニューテキスト位置をリスト内中心に */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu-list:hover {
    color: #333;
    background-color: rgba(255, 255, 255, 0.5);
    transition: .3s;
    cursor: pointer;
  }

  /***** メニューオープン時位置0にして画面内に *****/
  .menu.open {
    transform: translateX(-100%);
  }

  /* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
  @media screen and (min-width: 600px) {
    .btn {
      display: none;
    }

    .menu {
      position: fixed;
      transform: translateX(0);
      width: 100%;
      height: 100px;
      /* メニューを横に */
      display: flex;
      flex-direction: row;
    }
  }

  /**************** ここまで、メニューのスタイリング ****************/

  .btn {
    color: #fff;
    background: #333;
    padding: 10px 40px;
    display: inline-block;
    border-radius: 20px;
  }

  /* 下記_こんなお悩みはございませんか？ */

  .content1 {
    margin-top: 50px;
    white-space: nowrap;

    /* margin-left: 13%;
       margin-right: 13%;  */
    /* background: rgb(223, 152, 152); */


  }

  .illust1 {
    /* background-color: #5bb661; */
    /* margin-top: 200px; */
    /* white-space: nowrap; */
    width: 30%;
    height: auto;
    margin-left: 20px;
    /* margin-left: 13%;
        margin-right: 13%;  */
    /* background: rgb(223, 152, 152); */


  }

  .title1 {

    width: 65%;
    color: #343434;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    width: 280px;
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    text-align: center;
  }


  .content1-text {
    /* background: rgb(126, 119, 119); */
    text-align: center;
    margin-top: 50px;
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
  }

  .content1-list {
    color: #343434;
    font-family: sans-serif;

    /* background: rgb(54, 160, 128); */
    margin-left: 20px;
    /* margin-top: 100px; */
    font-size: 8px;
    font-weight: bold;
    text-align: left;
  }

  .downarrow {
    height: auto;
    margin-top: 10px;
    text-align: center;
  }

  .downarrow-img {
    width: 10%;
  }

  .line {
    position: relative;
    padding: 10px;
    text-align: center;
    width: 100%;
    /* margin-top: 80px;
        margin-bottom: 80px; */

    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    font-weight: bold;
  }

  /* .line:before,
      .line:after {
        position: absolute;
        content: '';
      }
      
      .line:after {
        top: 0;
        left: 0;
        width: 45px;
        height: 45px;
        border-top: 4px solid #000000;
        border-left: 4px solid #000000;
      }
      .line:before {
        right: 0;
        bottom: 0;
        width: 45px;
        height: 45px;
        border-right: 4px solid #000000;
        border-bottom: 4px solid #000000;
      } */

  .staff-icon {
    padding: 2.5% 5%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .staff-icon>* {
    min-width: 8%;
    background: rgb(255, 255, 255);
    font-size: 64px;
    text-align: center;
  }

  .staff-icon1 {
    width: 20%;
  }

  .staff-icon2 {
    width: 20%;
  }

  .staff-icon3 {
    width: 20%;
  }

  .staff-icon4 {
    width: 20%;
  }

  .subtext1 {
    margin-left: auto;
    margin-right: auto;
    /* width: 70%; */
    font-size: 14px;
    text-align: center;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    margin-top: 30px;
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 350px;
    text-align: center;

  }

  .contact-button {
    /* padding: 5% 5%; */
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    /* padding-bottom:5% ; */

    display: flex;
    /* flex-direction: row; */
    /* flex-wrap: wrap; */
    justify-content: space-between;
  }

  .contact-call {
    width: 90%;
    padding-right: 5%;
  }

  .contact-line {
    width: 90%;
    height: 80%;
    padding-left: 5%;
  }

  /* 下記_仲介手数料がなぜ無料なのか？ */

  .content2 {
    /* margin-left: 13%;
       margin-right: 13%; */
  }


  .title2 {
    color: #343434;
    text-align: center;
    font-size: 18px;
    white-space: nowrap;
    margin-top: 14%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 250px;
    text-align: center;

  }

  .section2-image {
    text-align: center;
    margin-top: 30px;
  }

  .section2-img {
    width: 100%;
  }

  /* 下記_ミライズ不動産が選ばれる理由 */

  .content3 {
    margin-top: 14%;
    /* margin-left: 13%;
       margin-right: 13%; */
  }

  .title3-content {
    /* background-color: yellow; */
    /* display: flex; */
    margin-top: 0px;


    /* margin-right: 20%;
      margin-left: 20%; */
  }

  #ka {
    font-size: 17px;
    color: #343434;
  }

  p.main-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: #5bb661;
    text-align: center;
    font-size: 27px;
    line-height: 20px;
    font-weight: bold;
  }

  p.sub-title {
    color: #5bb661;
    text-align: center;
    font-size: 25px;
    margin-top: 0%;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    width: 130px;

  }

  #sa {
    color: #343434;
  }



  .image-position {
    position: relative;
  }

  .image {
    margin-top: 25px;
    background-image: url(../img/section3_mobile_image.png);
    background-repeat: no-repeat;
    background-position: right center;
    width: 100%;
  }

  .content3-img1 {
    width: 100%;
  }

  .content3-img2 {
    width: 100%;
  }

  .content3-img3 {
    width: 100%;
  }

  .content3-img4 {
    width: 100%;
  }

  .space-box {
    margin-left: 8%;
    margin-right: 8%;

  }

  .box-image {
    position: relative;
    margin-top: 5%;
  }


  .text-box {
    margin-left: 10%;
    margin-right: 32%;
  }

  p.box-title {
    font-size: 14px;
    position: absolute;
    font-weight: bold;
    left: 40px;
    top: 0px;
  }

  p.box-text {
    font-size: 10px;
    position: absolute;
    left: 30px;
    top: 30px;
    right: 10%;
  }

  /* 下記_まだ当社にしたないサービス */

  .content4 {
    margin-left: 13%;
    margin-right: 13%;
  }


  .title4 {
    color: #343434;
    text-align: center;
    font-size: 20px;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    white-space: nowrap;
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 260px;
    text-align: center;

  }

  .service-box {
    margin-top: 50px;
  }

  .service-top {
    text-align: center;
    /* background-color: burlywood; */
    display: flex;
    justify-content: space-evenly;
  }

  .service-point1 {
    width: 60%;
    margin-right: 10px;
  }

  .service-point2 {
    width: 60%;
  }

  .service-point3 {
    width: 60%;
    margin-right: 10px;
  }

  .service-point4 {
    width: 60%;
  }

  /* 下記_お客様の声 */

  .backgroundimage {
    background-size: cover;
    background-image: url(../img/background-img.png);

  }

  .content5-box {
    margin-top: 25px;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
  }

  .content5-img1 {
    width: 100%;
  }

  .title5 {
    color: #343434;
    text-align: center;
    font-size: 18px;
    margin-top: 14%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    white-space: nowrap;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 100px;
    text-align: center;

  }

  .br-none {
    display: none;
  }

  /* 下記_LINEでのお問い合わせ方法 */

  .title6 {
    color: #343434;
    text-align: center;
    font-size: 20px;
    margin-top: 14%;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 260px;
    text-align: center;
  }

  .content-box {
    margin-top: 25px;
    height: 700px;
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/section6_mobile_image.png);
  }

  .white-box {
    margin: 0%;
    padding-top: 50px;
    height: 700px;
    background-color: rgb(255, 255, 255, 0.5);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  }

  /* 下記_「ミライズ不動産」をLINE友達に追加 */

  .number1-title {
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
    /* background-color: #343434; */
    /* width: 100vw; */
    width: auto;
  }

  .number1-img {
    /* margin: 100px; */
    width: 35px;
    height: 40px;
  }


  h1.title-text {
    font-size: 14px;
    margin-top: 5%;
  }

  p.sub-text {
    font-size: 10px;
    margin: 5px 30px;

    margin-right: 20px;
    color: #343434;
  }

  /* 下記　_お部屋のご提案・ご相談 */

  .number2-box {
    /* background-color: #343434; */
    margin-top: 20px;
    /* display: flex; */
  }

  .number2-img {
    /* margin: 100px; */
    width: 35px;
    height: 40px;
  }

  .number2-title {
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
    /* background-color: #343434; */
    width: auto;
  }

  h1.title1-text {
    font-size: 14px;
    font-weight: normal;
    margin-top: 5%;
    margin-left: 15px;
  }

  .br2-none {
    display: none;
  }

  .sub-boxText {
    /* margin-right: 10px; */
  }

  .sub-box {
    display: flex;
    /* background-color: #5bb661; */
  }


  p.sub-title1 {
    margin: 20px 30px;
    margin-bottom: 0;
    margin-top: 0%;
    font-size: 14px;
    font-weight: bold;
  }

  .mockup1-image {
    margin-right: 15%;
    margin-top: 25px;
  }

  .mockup1-img {
    width: 70px;
    height: 80px;
  }

  .mockup2-img {
    width: 70px;
    height: 80px;
  }

  /* 下記_検討物件のURLを送付する */

  .number2_2-box {
    margin-top: 20px;

  }

  .number2_2-title {
    display: flex;
    margin-left: 80px;
    margin-right: 30px;
    width: auto;
  }

  .number2-img2 {
    width: 35px;
    height: 40px;
  }


  .sub-boxText2 {
    margin-right: 10px;
  }

  .sub-box {
    display: flex;
    /* background-color: #5bb661; */
  }


  p.sub-title2 {
    margin: 25px 80px;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 14px;
    font-weight: bold;
  }


  p.sub-text2 {
    font-size: 10px;
    /* margin-top: 25px; */
    /* margin-bottom: 25px; */
    margin-left: 80px;
    margin-top: 5px;
    /* margin-right: px; */
    color: #343434;
  }

  .mockup2-image {
    margin-right: 5%;
    margin-top: 25px;
    width: 30%;
  }


  /* 下記_よくある質問 */

  .grey-box {
    background-color: #f0f0f0;
    height: 850px;
  }

  .content7 {
    margin-top: 0px;
    margin-left: 8%;
    margin-right: 8%;
  }


  .title7 {
    margin-top: 0;
    color: #343434;
    text-align: center;
    padding-top: 50px;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    background: linear-gradient(transparent 90%, #9FFEC2 0%);
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 120px;
    text-align: center;

  }



  *,
  *::after,
  *::before {
    box-sizing: border-box;
  }

  .accordion {
    width: 900px;
    max-width: 100%;
    margin: 50px auto;

  }

  /*------------------------------
    
    ここからアコーディオンのCSS
    
    ------------------------------*/
  /* チェックボックスは非表示 */
  .accordion-hidden {
    display: none;
  }

  /* Question部分 */
  .accordion-open {

    font-size: 12px;
    display: block;
    padding: 20px;
    background: #ffffff;
    cursor: pointer;
    margin: 5px 0;
    font-weight: 700;
    position: relative;
    /* 変更部分 */
  }

  /* 開閉状態を示すアイコン+の作成 */
  .accordion-open::before,
  .accordion-open::after {
    content: '';
    width: 20px;
    height: 3px;
    background: #000;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
  }

  /* 一本は縦にして+を作る */
  .accordion-open::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .5s;
  }

  /* アコーディオンが開いたら縦棒を横棒にして-にする */
  .accordion-hidden:checked+.accordion-open:after {
    transform: translateY(-50%) rotate(0);
  }

  /* Answer部分 */
  .accordion-close {
    display: block;
    height: 5px;
    overflow: hidden;
    padding: 0px;
    opacity: 0;
    font-size: 12px;
    transition: 0.5s;
    /* 表示速度の設定 */
  }

  /* チェックボックスにチェックが入ったらAnswer部分を表示する */
  .accordion-hidden:checked+.accordion-open+.accordion-close {
    height: auto;
    opacity: 1;
    padding: 30px;
    background: #f7f7f7;
    font-weight: 700;
  }



  /* 下記_会社概要 */


  .content8 {
    margin-top: 14%;
    /* margin-left: 13%;
       margin-right: 13%; */
  }

  .title8 {
    color: #343434;
    text-align: center;
    font-size: 20px;
    white-space: nowrap;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    /* text-decoration:underline;
    text-decoration-color:#9FFEC2; */
    width: 80px;
    text-align: center;
  }

  .company_box {
    margin-top: 50px;
    /* text-align: center; */
    position: relative;
    width: 100%;
    height: 80vw;
  }

  .company_image {
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    position: absolute;

  }

  .company_textbox {
    top: 5%;
    left: 10%;
    /* margin: 5vw 1vh; */
    /* margin-top: 1vh;
    margin-bottom: 1vh ;
    margin-right: 10%;
    margin-left: 10%; */
    width: 80%;
    height: auto;
    position: absolute;

  }

  .company_white {
    position: absolute;
    /* top: 50%;
      left: 70%; */
    transform: translate(-50%, -50%);
  }





  .phone-footer {
    display: flex;
    /* width: 50vw; */
    position: fixed;
    /* height: 9vh; */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    bottom: -1%;
    gap: 0;
    margin: 0;
    flex-basis: 0%;
  }

  .footer_line {
    flex-basis: 0%;
    margin: 0;
    padding: 0;
    width: 50vw;
    /* height: 8vh; */
    bottom: -1%;
    align-items: flex-start;
    flex-grow: 1;

  }

  .footer_call {
    flex-basis: 0%;
    margin: 0;
    padding: 0;
    width: 50vw;
    /* height: 8vh; */
    bottom: -1%;
    align-items: flex-end;
    flex-grow: 1;
  }


  /* 会社概要テキスト修正確認 */

  .company_test_box {
    margin-top: 50px;
    /* text-align: center; */
    position: relative;
    width: 100%;
    height: 60vw;

  }

  .company_test {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    position: absolute;
  }

  .kakomi-box3 {
    margin: auto;
    padding-top: 10px;
    /* padding: 20px 15px; */
    padding-right: 1px;
    padding-left: 25px;
    /* width: 750px; */
    border: 1px solid #ccc;
    /* 枠線 */
    background-color: rgba(255, 255, 255, 0.857);
    /* 背景色 */
    box-shadow: 1px 1px 2px #ccc;
    font-size: 8px;
    top: 5%;
    left: 10%;
    /* margin: 5vw 1vh; */
    width: 80%;
    height: 55vw;
    position: absolute;
    /* font-size: 10px;     */
  }

  .kakomi-box3 p {
    margin-top: 0%;
    margin-bottom: 2px;
    /* font-size: 8px; */
    display: block;
    font-size: 10px;
    transform: scale(0.8);
    transform-origin: left top;
  }

  .motto {
    margin-top: -30px;
    text-align: right;
    font-family: 'Times New Roman', Times, serif;

  }

  .motto p {
    font-size: 14px;
    transform: scale(1.0);
  }

  .spacebox {
    height: 20px;
  }



  /* 会社概要テキスト修正確認 */



  /* グーグルマップ挿入 */

  iframe {
    width: 100%;
    aspect-ratio: 16/9;
    /*アスペクト比（縦横比）を指定*/
    margin-bottom: 15vw;
  }

  /* グーグルマップ挿入 */




  .p-contact {
    margin-top: 80px;
    padding: 50px 0;
    background-color: #f5fff0;
  }

  .p-contact__inner {
    padding: 0 20px;
  }

  .p-contact__inner h2 {
    color: #343434;
    text-align: center;
    font-size: 20px;
    margin-top: 0%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10%;
    background: linear-gradient(transparent 70%, #9FFEC2 0%);
    text-align: center;
    width: fit-content;
    padding: 0;
  }


}