@charset "UTF-8";
@media screen and (max-width: 1344px) {
    .header{
        display: block;
    }
}
    @media screen and (max-width: 1024px) {
    /*汎用*/
    .col2{
        display: block !important;
    }
    .col2 :is(.left,.right){
        width: 100% !important;
    }
    .col2 .left{
        margin:0 auto 3rem !important;
    }
    .title h3 {
        font-size: 2.3rem !important;
        line-height: 1.5;
    }
    
  .title .sub {
    font-size: 1.6rem;
    display: block;
    margin:0 0 1rem !important;
  }
  [class^="button"]{
    width: 100% !important;
  }
    /*header*/
    .header h1 {
        font-size: 1.2rem;
        width: 80%;
        line-height: 1.5;
    }
    .header .nav>.ul {
        display: block;
    }
    .header .logo {}
    .header .logo a {
        width: 80%;
        display: grid;
        gap: initial;
    }
    .header .logotype{
        display: block;

    }
    .header .logotype img {
        width: 100%;
        height: auto;
    }
    /*.header .logo img:nth-of-type(2) {
        height: auto;
    }*/
    .header .logo .logomark{
        width: fit-content;
        height: initial;
    }
    .header .logo .logomark img{
        width: initial;
    }
    .header .nav>.ul>.li {
        height: initial;
    }
    .header .nav>.ul>.li:first-of-type {
        display: block;
    }

    .header .nav > .ul > .li:last-of-type{
        display: grid;
        width: 100%;
        border-radius: 0;
    }
    /*main*/
    .maintitle{
        height: 11rem;
    }
    .maintitle p {
        font-size: 3.4rem;
    }
    [class*="cnt"] {
        padding: 5rem 0 !important;
    }

    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) {}
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 {
        display: grid !important;
    }
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 .left {
        width: 100%;
        margin: 0 /*0 3rem*/;
    }
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 .left p{
        max-width: initial;
    }
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 .left p br{
        display: none;
    }
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 .left h3 {
        font-size: 2.3rem;
        white-space: initial;
    }
   
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 .right {
        grid-row: 1/2;
        width: 100%;
        position: initial;
        margin: 0 auto 3rem;
    }
    [class$="cnt1"]:not([class^="index"], [class^="property"], [class^="contact"]) .col2 .right .pic2{
        width: 30vw;
    }
    .index .mainimg .col2 .left {
        position: absolute;
    }
    .bottom .inner h3{
        font-size: 2.4rem;
        line-height: 1.5;
    }
    .bottom .inner .ul{
        display: block;
    }
    .bottom .inner .ul .li{
        margin:0 0 1rem;
    }





    /*footer*/
    .footer {
        padding: 5rem 0;
        text-align: center;
    }
    .footer .inner .col2 {
        display: block;
        margin: 0 auto 3rem;
    }
    .footer .inner .col2 :is(.info, .grid) {
        width: 100%;
    }
    .footer .inner .col2 .info .logo {
        width: 30%;
        margin: 0 auto 3rem;
    }
    .footer .inner .col2 .info .logo img {
        width: 100%;
    }
    .footer .inner .col2 .info .dl{
        float: initial;
        margin:0 auto 3rem;
    }
    .footer .inner .col2 .info .dt {
        margin: 0 auto 1rem;
    }
    .footer .inner .col2 .info .sns {
        width:fit-content;
        margin: 0 auto 3rem;
    }
    .footer .inner .col2 .info .sns > div{
    }
    .footer .inner .col2 .ul{
        display: none;
    }
    .footer .inner .copyright{
        text-align: center;
    }
    /*-----以下ハンバーガーメニュー-----*/
    /*common.cssでnavに高さが与えられている場合はheight:initial;を追加*/
    .nav.globalMenuSp {
        position: fixed;
        z-index: 20;
        top: 0;
        left: 0;
        /*background:rgba(0,0,0,0.8);*/
        color: #000;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        width: 100%;
    }

    .nav.globalMenuSp .ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    .nav.globalMenuSp> .ul> .li {
        font-size: 1.8rem;
        list-style-type: none;
        padding: 0;
        width: 100%;
        margin-bottom: initial;
        background: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* 最後はラインを描かない */
    .nav.globalMenuSp>.ul>.i:last-child {
        /*padding-bottom: 0;*/
        border-bottom: 2em solid rgba(34,32,32,1);
        border-radius: 0 0 1em 1em;
    }
    .nav.globalMenuSp .ul .li a {
        display: block;
        color: rgba(0, 0, 0, 0.9);
        padding: 1em 0;
        font-size: 1.8rem;
    }
    .nav.globalMenuSp .ul .li a:hover {}

    /* このクラスを、jQueryで付与・削除する */
    .nav.globalMenuSp.active {
        transform: translateY(0%);
    }


    .navToggle {
        display: block;
        position: fixed;
        /* bodyに対しての絶対位置指定 */
        right: 13px;
        top: 12px;
        width: 42px;
        height: 51px;
        cursor: pointer;
        z-index: 30;
        /*background: #666;*/
        text-align: center;
    }

    .navToggle span {
        display: block;
        position: absolute;
        /* .navToggleに対して */
        width: 30px;
        border-bottom: solid 3px rgba(34,32,32,1);
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        left: 6px;
    }

    .navToggle span:nth-child(1) {
        top: 9px;
    }

    .navToggle span:nth-child(2) {
        top: 18px;
    }

    .navToggle span:nth-child(3) {
        top: 27px;
    }

    .navToggle span:nth-child(4) {
        border: none;
        color: rgba(34,32,32,1);
        font-size: 1.2rem;
        font-weight: bold;
        top: 3.5rem;
    }


    /* 最初のspanをマイナス45度に */
    .navToggle.active span:nth-child(1) {
        top: 18px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* 2番目と3番目のspanを45度に */
    .navToggle.active span:nth-child(2),
    .navToggle.active span:nth-child(3) {
        top: 18px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .pagetop{
        width: 4rem;
        height: 4rem;
        right: 5%;
    }
}

