@Charset "UTF-8";

/* 共通
----------------------------------------------*/
html {
    font-size: 100%;
}
body {
    font-family:"Yu Gothic Medium","游ゴシック Medium",YuGothic."游ゴシック体","ヒラギノ角ゴ Pro W3",sans-serif;
   line-height: 1.7;
    color: #432;
}
a {
   text-decoration: none;
}
img {
   max-width: 100%;
}

h2 {
	text-align: center;
	margin-bottom: 1%;
    border-bottom: 2px #0bd solid;
	width: 600px;
	margin-left: auto; /* 中央寄せにするため */
	margin-right: auto; /* 中央寄せにするため */
}
h5 {
	text-align: center;
	margin-top: 1%;
	width: 600px;
	margin-left: auto; /* 中央寄せにするため */
	margin-right: auto; /* 中央寄せにするため */
}


/*HEADER
-------------------------------------------------*/
.logo {
    width: 250px;
    margin-top: 20px;
}

.top {
	font-size: 2.5rem;
	margin-top: 25px;
}

.top a {
	color: #432;
}

.top a:hover {
	color: #0bd;
}

.main-nav {
    display: flex;
    margin-top: 30px;
    list-style: none;
}

.main-nav img {
	width: 50px;
}

.main-nav li {
    margin-left: 25px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}

.page-header {
    display: flex;
    justify-content: space-between;
	 border-bottom: 5px #0bd solid;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.top-content {
	text-align: center;
	margin-top: 3%;
}
.top-content p {
	font-size: 1.125rem;
	margin: 10px;
}
.page-title {
	font-size: 1.8rem;
	font-display: 'Philosopher',serif;
	text-transform: uppercase;
	font-weight: normal;
}

.big-bg {
	background-size: cover;
	background-position: center top;
}
#home {
	background-image: url("../img/top.jpg");
	min-height: 80vh;
}
#home .page-title {
	text-align: center;
}

@media (max-width: 600px){
	.main-nav{
		font-size: 1rem;
		margin-top: 10px;
	}
	.main-nav li{
		margin: 0 20px;
	}
	.home-content{
		margin-top: 20%;
	}
	.page-header{
		flex-direction: column;
		align-items: center;
	}
}
/*アイコン
----------------------------------*/

.newslist {
  max-width: 500px;
  margin: 0 auto;
}
 
@media screen and (max-width: 600px) {
  .newslist {
    font-size: 12px;
    padding: 0 15px;
  }
}
 
.newslist li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 20px 10px;
  border-top: 2px solid black;
  line-height: 1.5;
}
 
.newslist li:last-child {
  border-bottom: 2px solid black;
}
 
.newslist li time {
  padding-right: 20px;
}
 
.newslist li a {
  color: cornflowerblue;
  text-decoration: none;
}

.home-content {
	text-align: center;
	margin-top:  2%;
	margin-bottom: 5%;
}

.item {
	display: flex;
	list-style: none;
	margin-bottom: 20px;	
}

.item li {
	margin-right: 10px;
}

.container p {
	text-align: left;
	font-size: 2rem;
	margin-bottom: 30px;
	border-bottom: 2px #0bd solid;
}
.container a {
	color: #432;
}
.container a:hover {
	color: #0bd;
}

.bukken {
 width: 280px;
 margin-bottom: 5px;
}

.bukken th,
.bukken td {
font-size: 1.2rem;
border: 1px solid #ccc;
padding: 2px;
}

.bukken th {
font-weight: normal;
background-color: #dedede; 
}

@media screen and (max-width: 600px) {
.bukken,
.bukken tr,
.bukken td,
.bukken th {display:block;}
.bukken th {width:auto;}
}

/*ボタン*/
.button {
    font-size: 1.375rem;
    background: #0bd;
    color: #fff;
    border-radius: 5px;
    padding: 18px 32px;
}
.button:hover {
    background: #0090aa;
}



/* CONTACT
------------------------------*/
form div {
     margin-top: 14px;
}
label {
     font-size: 1.125rem;
     margin-bottom: 10px;
     display: block;
}
input[type="text"],
input[type="email"],
textarea {
   background: rgba(255,255,255,.5);
   border: 1px #fff solid;
   border-radius: 5px;
   padding: 10px;
   font-size: 1rem;
}
input[type="text"],
input[type="email"] {
   width: 100%;
   max-width: 240px;
}
textarea {
   width: 100%;
   max-width: 480px;
   height: 6rem;
}
input[type="submit"]{
   border: none;
   cursor: pointer;
   line-height: 1;
}

/*LOCATION
---------------------------*/


.location-map {
    text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

iframe {
    width: 50%;
}


/*会社概要
------------------------------------------*/
.kaisha {
width: 70%;
}

.kaisha th,
.kaisha td {
border: 1px solid #ccc;
padding: 20px;
}

.kaisha th {
font-weight: bold;
background-color: #dedede; 
}

@media screen and (max-width: 600px) {
.kaisha,
.kaisha tr,
.kaisha td,
.kaisha th {display:block;}
.kaisha th {width:auto;}
}

/*土地・建物・賃貸
--------------------------------*/
#tatemono .page-title {
	text-align: center;
}
.tatemono-content {
	text-align: center;
	margin-top: 3%;
}
.tatemono-content p {
	font-size: 1.125rem;
	margin: 10px;
}
#tochi .page-title {
	text-align: center;
}
.tochi-content {
	text-align: center;
	margin-top: 3%;
}
.tochi-content p {
	font-size: 1.125rem;
	margin: 10px;
}
#chintai .page-title{
	text-align: center
}
.chintai-content {
	text-align: center;
	margin-top: 3%;
}
.chintai-content p {
	font-size: 1.125rem;
	margin: 10px;
}

.menu {
    display: flex;
    margin-top: 10px;
	margin-bottom: 10px;
    list-style: none;
}
.menu li {
    margin-left: 5px;
}

.menu a {
	color: #432;
}
.menu a:hover {
	color: #0bd;
}

.grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-top: 6%;
	margin-bottom: 50px;
}

/*news
--------------------------------*/
#news {
	background-image: linear-gradient(#dbeaef,#66c4b4);
	min-height: 20vh;
}
#new .page-title {
	text-align: center;
}
article {
	width: 74%;
}
article img{
	margin-bottom: 20px;
}
article p{
	margin-bottom: 1rem;
}
aside {
	width: 22%;
	margin-top: 3%;
}
aside p{
	padding: 12px 10px;
}
.sub-dai{
	font-size: 1.375rem;
	padding: 0 8px 8px;
	border-bottom: 2px #0bd solid;
	font-weight: normal;
}
.sub-menu{
	margin-bottom: 60px;
	list-style: none;
}
.sub-menu li {
	border-bottom: 1px #ddd solid;
}
.sub-menu a{
	color: #432;
	padding: 10px;
	display: block;
}
.sub-menu a:hover{
	color: #0bd;
}
.news-contents {
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}
.post-info {
	position: relative;
	padding-top: 20px;
	margin-bottom: 40px;
}
.post-date {
	background:  #0bd;
	border-radius: 50%;
	color: #fff;
	width: 100px;
	height: 100px;
	font-size: 1.625rem;
	text-align: center;
	position: absolute;
	top: 10px;
	padding-top: 10px;
}
.post-date span {
	font-size: 1rem;
	border-top: 1px rgba(255,255,255,.5) solid;
	padding-top: 6px;
	display: block;
	width: 60%;
	margin: 0 auto;
}
.post-title{
	font-size: 2rem;
	font-weight: normal;
	margin-left: 120px;
}

@media screen and (max-width: 600px){
	.news-contents{
		flex-direction: column;
	}
	article,
	aside{
		width: 100%;
	}
	#news .page-title{
		margin-top: 30px;
	}
	aside{
		margin-top: 60px;
	}
	.post-info{
		margin-bottom: 30px;
	}
	.post-date{
		width: 70px;
		height: 70px;
		font-size: 1rem;
	}
	.post-date span{
		font-size: 0.875rem;
		padding-top: 2px;
	}
	.post-title{
		font-size: 1.375rem;
		margin-left: 80px;
	}
}


/*FOOTER
--------------------------------*/
footer {
   background: #432;
   text-align: center;
   padding: 26px 0;
}

footer p {
   color: #fff;
   font-size: 0.875rem;
}
