@charset "utf-8";
body{
    font-family: 'Verdana', 'Geneva', 'Tahoma', 'YU Gothic UI', 'ヒラギノ丸ゴシック ProN（Pro）', 'sans-serif';
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

img{
    max-width: 100%;
    height: auto;
    border-radius: 5%;
}

header nav ul{
    display: flex;
    justify-content: center;
    padding: 20px 0 10px;
}

header nav ul li{
    margin: 0 20px;
    list-style: none;
}

header nav ul a{
    font-weight: bold;
    color: #333;
    text-decoration: none;
    position: relative;
}

/* 上部navigatorの処理 */
header nav ul a::after{
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 4px;
    background: rgb(255, 221, 0);
    bottom: -4px;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;   
}

a:hover::after {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
  }



header .title{
background-color: rgb(255, 221, 0) ;
text-align: center;
font-size: 20px;
color: #034ea2;
padding-top: 20px;
padding-bottom: 20px;

}
header h2{
  border: #ffffff 4px solid;
  border-radius: 10px;
  padding: 10px 0;
  margin: 0 100px; 
  text-align: center; 
}





.intro{
    width: 100%;
    margin: 0 50px 0 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-center;
    align-items: center;
}

.ecucopy{
    display: flex;
    flex-basis: 30%;
    font-size: 18px;
}

.ph-ecu{
    display: flex;
    flex-basis: 30%;
    }

.map-ecu{
    display: flex;
    flex-basis: 30%;
    padding-left: 20px;
}
  
.intro h2{
    text-align: center;
}


/* ここから本文処理 */

main h2{
    text-align: center;
}
main{background-color: azure;
    max-width: 1000px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around;
}

.copyonishi{
flex-basis: 600px;
padding: 20px 15px 20px 15px;  
}

/* 写真３枚処理 */
.ph-3{
    width: 600px;
    margin: 0 10px 0 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
.house{
    display: flex;
    width: 33%;
    height: auto;
    }
.room{
    display: flex;
    width: 33%;
    height: auto;
    }
.bath{
    display: flex;
    width: 33%;
    height: auto;
    }




/* 回り込み指定 */
.kitchen{
    float: left;
    margin-right: 16px;
    width: 50%;
    height: auto;
}

.living{
    float: left;
    margin-right: 16px;
    width: 50%;
    height: auto;
}



/* カラム右側のデザイン */
.aside{
    flex-basis: 250px;
    }

.oba-check{background-color: bisque;
    width: 100%;
    padding: 20px 15px 20px 15px; }

.PDF{
    background-color: rgb(255, 221, 00);
    width: 100%;
    padding: 20px 15px 20px 15px;
    text-align: center;
    line-height: 30px;

}

.PDF p a{color: #034ea2;
    font-size: 18px;
    text-decoration: none;
 }

.spain-info{
    width: 100%;
    background-color: rgb(255, 221, 0);
    padding: 20px 15px 20px 15px;
    text-align: center;
    color: #034ea2;
    font-weight: bold;
    line-height: 30px;
    text-underline-offset: 3px;

}
.spain-info a{
    width: 100%;
    color: #034ea2;
    font-weight: bold;
    line-height: 30px;
}


.ph-flag{
    display: flex;
    flex-basis: 30%;
    padding-left: 20px;
}


footer{
    background-color:rgb(255, 221, 0);
    color: #034ea2;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.cafe{
    border-radius: 0;
}
.xmas{
    border-radius: 0;
}
h4{
    text-align: center;
}

.topmenu{    background-color: chartreuse;
    width: 100%;
    padding: 10px 15px 10px 15px;
    text-align: center;
}

.topmenu a{color: #157209;
    font-size: 18px;
    text-decoration: underline;
    border: #157209 1px;
    text-underline-offset: 3px;
    font-weight: bold;
 }



/* トップへ戻るボタン */
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 30px;
    width: 30px;
    position: fixed;
    right: 20px;
    bottom: 10px;
    background: #fff;
    border: solid 2px rgb(255, 221, 0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 5px solid rgb(255, 221, 0);
    border-right: 5px solid rgb(255, 221, 0);
    transform: translateY(20%) rotate(-45deg);
}

.ecu{
    color: #034ea2 ;
}


/* レスポンシブ処理 最後の行でOK*/
@media screen and (max-width: 768px){

header nav{width: 100%;}
header nav ul li a{font-size: 14px;}

.intro{
display: inline-block;
justify-content: center;
margin-left: auto;
margin-right: auto;
}


.ph-uni{
    flex-basis: 100%;
    margin-top: 10px;
    justify-content: center;
}


.ecucopy{
    flex-basis: 100%;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
}

.map-ecu{
    flex-basis: 100%;
    margin-top: 10px;
   justify-content: center;

}

.ph-flag{
    flex-basis: 100%;
    margin-top: 10px;
   justify-content: center;

}



main{width: 90%;
display: inline-block;
justify-content: center;
}

nav{width: 100%;}


header .title{
    font-size: 14px;
}
header h1{
    font-size: 20px;
}
header h2{
    font-size: 18px;
}


.ph-3{
display: block;
justify-content: center;
}

.ecu{
    font-size: 16px;
}


.cafe .xmas{
    width: 100%;
}

header nav ul {
    display: block;
 
}

header nav ul li{
    padding: 3px 0;
}

header nav ul a{
    padding: 2px 0;
}






}