@charset "UTF-8";
/* CSS Document */
@font-face {
    font-family: 'SHOJIfont';
    src: url('font/SHOJIfontL.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SHOJIfont';
    src: url('font/SHOJIfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'SHOJIfont', 'Zen Kaku Gothic New', sans-serif;
    font-size: 1em;
	color: #808080;
}

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

a:hover {
	opacity: 0.5 ;
}

a:visited {
	color: #000000;
}

.japanese-text {
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-top: 100px;
    width: 50%;
    max-width: 300px;
}

.topimg {
    margin-top: 60px;
    width: 50%;
    height: auto;
    max-width: 400px;
}

.icon-grid {
    margin-top: 60px;
	margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 54px;
}

.icon {
    text-align: center;
}

.icon img{
	width: 76px;
}

.icon a {
    display: inline-block;
    text-decoration: none;
    color: #000;
}

.icon:hover {
    opacity: 0.5;
}

h1 {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    text-align-last: center;
}

h2 {
    width: 100%;
    text-align: center;
    font-size: 1em;
    text-align-last: center;
}

hr {
	margin-top: 10px;
	margin-bottom: 30px;
}

.textbox {
    margin-top: 30px;
    width: 76%;
    text-align: justify;
    text-align-last: left;
    line-height: 2em;
    position: relative;
    margin-bottom: 0px;
}

.textbox2 {
    margin-top: 30px;
    width: 76%;
    text-align: justify;
    text-align-last: left;
    line-height: 2em;
    position: relative;
    margin-bottom: 0px;
}


.text {
    height: 60px;
    overflow: hidden;
    font-size: 1em; /* デフォルトのフォントサイズに戻す */
}


.show_more,
.show_more2 {
	font-size: 1em;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
    padding-top: 60px;
    text-align: center;
    text-align-last: center;
    line-height: 30px;
    background: linear-gradient(
        180deg,
        rgb(255, 255, 255, 0) 0%,
        rgb(255, 255, 255, 1) 70%
    );
    cursor: pointer;
    transition: bottom 0.2s;
}

.active {
    background: none;
    bottom: -30px;
}

@media (max-width: 1025px) {
    .text {
        height: auto;
        overflow: hidden;
    }

    .show_more,
    .show_more2 {
        padding-top: 30px;
        line-height: 30px;
    }
}

.active {
  background: none;
  bottom: -30px;
}

.contact {
	text-align: center;
	margin-left: 40px;
}


.contact summary {
  list-style: none;
}


.contact summary::-webkit-details-marker {
  display: none;
}

#mailform {
	font-size: 0.9em;
	text-align: left;
	padding: 20px;
}

.mailicon {
	width: 50px;
}

.footer {
    margin-top: 60px;
    max-width: 800px;
    text-align: left;
    line-height: 1.7em;
}

.footer p{
	margin-top: 20px;}

.mapbox {text-align: center;}


.googlemap {
	text-align: right;
	margin-top: 10px;
	margin-bottom: 30px;
	color: #808080 ;
}

.copy {
	margin-top: 60px;
	font-size: 0.9em;
	line-height: 1.5em;
	margin-bottom: 40px;
}


/* モーダルのスタイル */
    .modal {
      display: none; /* 最初は非表示にする */
      position: fixed; /* 画面上の固定位置に配置 */
      z-index: 1; /* 他の要素よりも上に表示 */
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto; /* スクロールバーの表示 */
      background-color: rgba(0, 0, 0, 0.5); /* 背景を半透明にする */
    }

    /* モーダルのコンテンツのスタイル */
    .modal-content {
      background-color: #fefefe;
      margin: 15% auto; /* 画面上の中央に配置 */
      padding: 20px;
      border: 1px solid #888;
      width: 80%;
      max-width: 600px;
    }

    /* モーダルの閉じるボタンのスタイル */
    .close {
      color: #aaa;
      float: right;
      font-size: 29px;
      font-weight: bold;
    }

    /* モーダルの閉じるボタンのホバースタイル */
    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

	#mailform input {
    width: 300px;
}




@media (min-width: 1025px) {
	/* PC用のスタイルの指定 */
	.textbox { max-width: 600px;}
	
	.textbox2 { max-width: 600px;}
	
	hr {
	margin-top: 40px;
	margin-bottom: 50px;}
	
	.footer {
		width: 70%;
		max-width: 600px;
	}
	
	.maisonmap {
	margin-top: 40px;
	width: 100%;}
	
}

input, select, textarea {
font-size: 100%;
}

textarea {
	width: 500px;
}



@media (max-width: 1025px) {
    /* スマートフォン用のスタイルの指定 */
	
	.logo {
    margin-top: 100px;
    width: 60%;
    max-width: 500px;
}

.topimg {
    margin-top: 80px;
    width: 70%;
    height: auto;
    max-width: 600px;
}

.icon-grid {
    margin-top: 80px;
	margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 80px;
}
	
	.icon img{
	width: 140px;
}

    hr {
        margin-top:  40px;
        margin-bottom: 60px;
    }

	.textbox2 {
    font-size: 1.4em;
    margin-bottom: 100px;
	}
	
    .maisonmap {
        margin-top: 30px;
        width: 100%;
    }

    .textbox {
        overflow: visible;
    }

    .text {
        height: 90px;
        overflow: hidden;
    }
	
	.text.hidden {
  font-size: 1.8em;
    text-align: justify;
    text-align-last: left;
    line-height: 1.5em;
}
	
	
	h1 {
    width: 100%;
    text-align: center;
    font-size: 1.8em;
    text-align-last: center;
	line-height: 1.8em;
}
	
	h2 {
    width: 100%;
    text-align: center;
    font-size: 1.6em;
    text-align-last: center;
	line-height: 1.8em;
}
	
	.mailicon {
		width: 100px;
	}
	
	.tsuduki {
		font-size: 1.4em;
		margin-top: 20px;
	}
	
	    /* モーダルの閉じるボタンのスタイル */
    .close {
      color: #aaa;
      float: right;
      font-size: 32px;
      font-weight: bold;
    }
	
	#mailform {
	font-size: 1.6em;
	text-align: left;
	padding: 20px;
}
	
	#mailform select {
	height: 50px;
	width: 80px;
	margin-right: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
}
	
		
	#mailform input {
    height: 50px;
    width: 480px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    margin-top: 10px;
}
	
	input[type="text"] {
    font-size: 100%;
	}
	
textarea {
	width: 700px;
}


				
}

