@charset "utf-8";
*,
*::before,
*::after { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { 
  text-decoration: none;
}

/* ul,
li{
  list-style: none;
} */

img {
  max-width:100%; 
  height:auto;
  vertical-align: bottom;
}


body{
    font-family: 'Times New Roman', Times, serif, 'Hiragino Mincho ProN', 'MS PMincho';
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    color: #5A3E2B;
    font-weight: 800;
}

header{
  background-color: #C62828;
    /* background-color: #6B4A2B ; */
    color: #fff2cc;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}



h1{
    font-size: clamp(1.625rem, 1.2852rem + 1.5184vw, 2.5rem);
    margin-bottom: 0;
    margin-left: 20px;
}

iframe{
    width: 100%;
    height: auto;
}

html {
  scroll-behavior: smooth;
}



/* トップへ戻るボタン */
.topbutton{
    width: 80px;
    height: auto;
    position: fixed;
    right: 20px;
    bottom: 10px;
}


/* 下へ戻るボタン */
.downbutton{
  width: 80px;
  height: auto;
  position: fixed;
  right: 20px;
  top: 50px;

}


/* フッター */
footer{
    background-color: #C62828 ; 
    /* セピア background-color: #6B4A2B ; */
    color: #fff2cc;
    /* 同一色相、同一彩度の配色の彩度を上げた色 */
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.lead-copy{
  padding: 10px;
  margin: 15px 5px;
  line-height: 1.8;
  text-align: center;
}

.marker{
  background: linear-gradient(transparent 50%, #ffff00 50%);
    padding-bottom: 0.3em;
}

/* カラム指定ここから */
.all-column{
  display: flex;
  justify-content: space-between;
  margin: 20px 5px 20px 5px;
  padding: 5px;

}

nav{
  flex-basis: 25%;
}

main{
  flex-basis: 70%;
  line-height: 2.5;
}



/* カラム指定ここまで */





/* 左カラムの指定ここから */

nav{
  padding: 3em 1em;
  margin: 2em 0;
  background: whitesmoke;/*背景色*/
  border-left: double 7px #C62828;/*左線*/
  border-right: double 7px #C62828;/*右線*/
  line-height: 2;
}

ul{
  padding-left: 15px;
}


/* 左カラム指定ここまで */


/* メインの指定ここから */

details{
  padding-top: 15px;
  margin: 0 50px 0 0;
}

h2{
  padding-top: 20px;
}

figure {
  display: table;
  width: 80%;
}

figcaption {
  caption-side: bottom;
  display: table-caption;
  font-size: small;
  line-height: 1.5;
}

.pepe{
  float: right;
}


/* .amahouse{
  width: 50%;
  height: auto;
} */




/* メインの指定ここまで */

/* メール案内部分ここから */

.mailadress{
  display: flex;
  justify-content: space-evenly;
  border: #C62828 double 5px;
  padding: 5px;
}

.advice{
  font-weight: 700;
  padding-top: 10px;
}

/* メール案内ここまで */


/* アコーディオン指定ここから */
.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}




/* アコーディオン指定ここまで */








/* 左カラムの指定ここまで */


/* リンク集指定ここから */

.banner-corner{
  display: flex;
  margin: 20px 0 20px 0;
}

.banner-corner p{
  text-align: center;
  padding: 10px 0 3px 0;
  margin: 5px;
}

.banner-info{
  text-align: center;
  margin: 20px 0 0 0;
  padding: 20px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #C62828;
  font-size: 30px;
  text-shadow: 2px 2px 0px rgba(255, 255, 255, 1), 2.5px 2.5px 0px rgba(160, 79, 0, 1);
  font-weight: bold;
}

/* リンク集指定ここまで */





/* ここからレスポンシブ */

@media screen and (max-width: 768px){
.all-column{
  display: block;
}

/* .amahouse{
  width: 100%;
  height: auto;
} */


.banner-corner{
  display: block;
  margin-left: 30px;
}

.banner-corner p{
  width: 50%;
  height: auto;
}

.banner-info{
  font-size: 20px;
  text-align: left;
  padding-left: 20px;
}




/* .banner-css{
  margin-bottom: 20px;
} */






}

