@charset "UTF-8";

*{
    margin: 0 ;
    padding: 0;
    box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */
}
 :root{
    --size: 220px;

    /* ← ここに好きな色を指定してください */
    --color1: #ab6d6d;   /* 赤系 */
    --color2: #eddfa5;   /* 黄色 */
    --color3: #c9b907;   /* 水色 */
    --color4: #d179b7;   /* 紫 */
  }
body {
    /* font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; */
    /*   上記は  各OSに適したフォントファミリー */
    /* 今回は、google fontのみ使用 */
    font-family: "Parisienne","Noto Serif JP",serif;
    /* font-weight: 400; */
    color: #b39d54;
    /* サイト全体の文字色を定義しておく */
    line-height: 1;
    /* 文字行間のリセット */
}

ul {
    list-style: none;
    /*   liの装飾を削除する  */
}

a {
    text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
}

img{
    max-width: 100%;
    /* 親要素の大きさ以上大きくならず、かつ、自身の原寸大以上に大きくならない */
    vertical-align: bottom;
    /* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}
.square img{width: 150px;height: 150px;}
/*-----------------------------------------
    pc max-setting   
-----------------------------------------*/

.container {
    max-width: 1024px;
    /* 最大値、1024px それ以下可変　max-width使用 */
    margin: 0 auto;
    /* ブロック要素の中央揃い　m0ｰa */
    padding: 80px 15px 100px;
    /* 各sectionに、上80px　左右15px　下100px程度に設定 */
}




/*-----------------------------------------
    html - smooth scroll setting   
-----------------------------------------*/

html {
    scroll-behavior: smooth;
    /* PC表示の際、 cssの、scroll-behavior: smoothを設定 */
}

/*-----------------------------------------
    header - setting   
-----------------------------------------*/

header{
    /* 背景画像のヒーローヘッダーの設定 */
    /* 表示されるwindowの高さを100% → 100vhで設定　いわゆるヒーローヘッダーの設定 */
    height: 100vh;
    position: relative;
    /*  header .logoの位置を、header領域の四隅から自由に配置するため */
    background-color: #fff;
}
header .bxslider li{
    height: 100vh;
}
header .bxslider li img{
    object-fit: cover;
    object-position: center 80%;
    width: 100%;
    height: 100%;
}

header .logo {
    position: absolute;
    /* headerの四隅からの自由な配置*/
    padding: 40px 60px 48px;
    /* paddingの設定 */
    background-color: rgba(255, 255, 255, 0);
    /* 背景色、#fffの透明度、0.8程度 */
    top: 30%;
    left: 40px;
    /* top、leftからの距離は適宜 */
    text-align: center;
    /* .logo内フォントの中央揃い設定 */
    z-index: 10;
    
}
header .logo h1{

    font-size: 50px;
    font-weight: bold;
    color: #8c6441;
    /* フォントサイズ20px以上で適当 */
}

header .logo h1 span{
    display: block;
    /* spanのブロック設定 */
    font-size: 16px;
    margin-bottom: 6px;
    /* フォントサイズと、下側の文字との余白適宜設定 */
}
.square img{
    background-color: #fff;
    animation: changeColor 8s infinite ease-in-out;
   } @keyframes changeColor {
    0%   { background: var(--color1); }
    25%  { background: var(--color2); }
    50%  { background: var(--color3); }
    75%  { background: var(--color4); }
    100% { background: var(--color1); }
  }

/*-----------------------------------------
    nav - setting   
-----------------------------------------*/

nav{
    position: fixed;
    top: 0;
    left: 0;
    /* 画面のtop:0 → y座標0 left:0 ｘ座標0 で設定  */
    width: 100%;
    /* positionを使うと親からの継承ができなくなるので、自身で幅設定。今回はwidth: 100% ; */
    background-color:rgba(255, 255, 255, 0.6);
    /* 背景色設定 → 少し透明に */
    z-index: 20;

}

nav ul{
    display: flex;
    /* liを横並びさせる display:flex */
    justify-content: center;
    /* flexでの横並び・横配置を中央寄せの設定 */
}


nav ul a{
    display: block;
    /* マウスの反応領域を広げるため */
    padding: 0 60px;
    /* 左右の余白適宜 */
    line-height: 60px;
    /* 上下の余白適宜 */
    letter-spacing: .1em;
    /* 文字装飾適宜設定 */    
    transition: 0.3s;
    /* hoverの時のtransition設定 */
    color: #000;
    /* 文字の色適宜 */
} 

nav ul a:hover{
    background-color: #6a7072;
    color: #fff;   
    font-weight: bold;
    /* 適宜設定 */
}



/*-----------------------------------------
    main - setting   
-----------------------------------------*/

main h2{
    font-size: 40px;
    /* フォントサイズ、40px前後で設定 */
    padding: 30px 0 40px;
    /* 上下の内側余白、30px 40px設定 */
    text-align: center;
    font-weight: normal;
    /* 文字装飾適宜 */
}


/*-----------------------------------------
    message - setting   
-----------------------------------------*/
/* CSS */
.photos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;           /* 横並びにしたい場合 */
  gap: 16px;
  flex-wrap: wrap;         /* 小さい画面で折り返す */
}

.photos li {
  margin: 0;
}

.photos figure {
  position: relative;      /* figcaption を絶対配置するため */
  width: 240px;            /* 必要に応じて調整 */
  margin: 0;
  overflow: hidden;        /* はみ出し防止 */
  border-radius: 6px;
}

/* 画像をブロック要素にして幅を埋める */
.photos img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* キャプションを写真の上に重ねて1行表示にする */
.photos figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                     /* 下に重ねたいとき */
  padding: 8px 10px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.45); /* 半透明の背景で文字を読みやすく */
  color: #fff;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;           /* 1行に固定 */
  overflow: hidden;
  text-overflow: ellipsis;       /* 長いときは省略（…） */
}

/* --------- 変更例 ---------
上に表示したいとき: bottom を top に変える
中央に表示したいとき: top:50%; transform:translateY(-50%); bottom を削除
背景のグラデーションにするなら:
background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
--------------------------- */

/* モバイル向けに幅を自動にする例 */
@media (max-width: 640px) {
  .photos figure { width: calc(50% - 8px); } /* 2列にする */
}



//


 .message{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
    /* .message::beforeの背景画像を表示させるための次のブロックへの余白 */
    margin-bottom: 400px;
} 
 .message::before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_img.jpg);
    background-position: center;
    background-size: cover;
    z-index: -1;
    /* 擬似要素に、全画面表示の背景画像の設定と、1つ下の階層に表示させるためのz-index:-1設定 */
 }

.message p{
    padding: 20px 0;
    /* 上下の内側余白、30px設定 */
    font-family: '"Noto Serif JP"',serif;
    /* bodyでfont-familyが設定されているが、文章中の英文字が、影響を受けるのであえて設定 */
    line-height: 2;
    /* 標準的な行間設定 → lh1.5 〜 lh2 の間 */
    text-align: center;
}
.message p:last-of-type{
    padding: 20px 0 80px;
/* .messageのpタグの最後のpタグだけpaddingの設定を変える場合の設定 */
}

.message ul{
    display: flex;
    justify-content: space-between;
    /* 横並び、両端揃い設定 */
}

.message ul li{
    width: 31%;
    /* 幅、31%設定 */
    aspect-ratio: 3/2;
    /* 設定された幅に対して比率を設定 */
}
.message ul li img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    padding: 10px 10px 10px;
    /* タテ・ヨコ型の画像かかわらずカバーしてくれる */
    
}
.voice{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
}


.voice ul{
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.voice li{
    width:28%;
    /* 幅、28%*/
    
} 

.voice .photo{
    aspect-ratio: 1/1;
    margin-bottom: 10px;
}

.voice .photo img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.voice .text{
    line-height: 1.8;
    padding: 0 10px;
}

.voice a{
    display: block;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    padding: 20px 0;
    background-color: #959803;
    color: #fff;
    border-radius: 20px;
    transition: 0.3s;
    
}

.voice a:hover{
    color: #222;   
    background-color: #eee;  
    border: 1px solid #959803;
}  
 
/*-----------------------------------------
    date - setting   
-----------------------------------------*/

.date{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
}


.date .date_item{
    display: flex;
    /* 横並び設定 */
    padding: 30px 0;
    /* 余白上限、30px設定 */
}

.date_item .photo{
    width: 55%;
    /* 幅、55%*/

} 
.date_item .photo p{
    aspect-ratio: 5/4;
    /* 設定された幅に対して比率を設定 */
}

.date_item .photo p img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* タテ・ヨコ型の画像かかわらずカバーしてくれる */
}

.date_item .text{
    width: 45%;
    /* 幅、45%*/
}

.date_item .text p{
    font-size: 32px;
    /* フォントサイズ、32pxほど */

    padding: 50px 40px;
    /* 上下左右の余白、50px、40pxほど */
    background-color: rgba(120, 128, 133, 0.3);
    /* 透明の背景色の設定 */
    margin-top: 150px;
    /* 外上側余白、100pxほど */
    margin-left: -60px;
    /* 左側の外側余白を、−80pxほどに設定し、左側のブロックに重ねる */
}

.date_item .text p span{
    font-size: 26px;
    /* フォントサイズ、26pxほど */
    padding: 0 10px;
    /* 余白左右、10pxほど */
}

/*-----------------------------------------
    access - setting   
-----------------------------------------*/

.access{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
}


.access iframe{
    width: 100%;
    padding: 30px 0;
    height: 400px;
    /* 適宜 */
}

.access p{
    padding: 10px 0;
    text-align: center;
    font-weight: 500;

    /* 適宜 */
}    


/*-----------------------------------------
    F and Q - setting   
-----------------------------------------*/

.faq{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
}

.faq dl dt{
    padding: 20px;
    color: #000;
    font-weight: 400;
    background-color: rgba(120, 128, 133, 0.3);
    margin-bottom: 10px;
    line-height: 1.4;
    /* スマホの時、複数行になった時の対処 */
    cursor: pointer;
    transition: 0.3s;
}

.faq dl dt.changeColor{
    background-color: #333;
    color: #fff;
}
/* changeColorのクラスを追加された際の設定 */

.faq dl dd{
    padding: 5px 20px;
    line-height: 1.6;
    margin-bottom: 50px;
    display: none;
}


/*-----------------------------------------
    footer - setting   
-----------------------------------------*/

footer{
    background-color: #6a7072;
}

footer p{
    font-family: "Noto Serif JP",serif;
    color: #fff;
    /* 文章中の半角英数が英語のgoogle fonts の影響を受けないように */
    padding: 100px 0;
    text-align: center;
    font-size: 14px;
}

  
@media (max-width:768px){

/*-----------------------------------------
    header - responsive - setting   
-----------------------------------------*/

header > img{
    object-position: 80% 0;
    /* ヒーローヘッダーの設定 header内の直imgだけに有効 header > img */
}

header h1{

    top: 50%;
    left: 50%;
    /* top、leftからの距離は適宜 */
    transform: translateX(-50%);

}


/*-----------------------------------------
    nav - responsive - setting   
-----------------------------------------*/

nav ul a{
    padding: 0 20px;
    /* p0-20 aタグの左右の余白 */

} 


/*-----------------------------------------
    message - responsive - setting   
-----------------------------------------*/
 .message p{
    text-align: left;
}

.message ul{
    display: block;

}

.message ul li{
    width: 100%;
    padding: 10px 1dvh 60px
    
} 

/*-----------------------------------------
voice - responsive - setting   
-----------------------------------------*/

.voice ul{
    display: block;
    margin-bottom: 40px;    
}

.voice li{
    width:100%;
    padding: 10px 10px 60px

} 

/*-----------------------------------------
    access - responsive - setting   
-----------------------------------------*/
.access iframe{
    height: 250px;
}

/*-----------------------------------------
    footer - responsive - setting   
-----------------------------------------*/
footer .footer_logo{
    text-align: center;
}

}
@media (width<=768px){


/*-----------------------------------------
    burger - responsive - setting   
-----------------------------------------*/

.burger{
    position: fixed;/* pof */
    top: 20px;/* t20 */
    right: 10px; /* r10 */
    width: 60px;/* w60 */
    height: 50px;/* h50 */
    /* border: 1px solid #000; */
    /* bd */
    background-color: rgba(255, 255, 255, 0);/* bgc */
    z-index: 100;/* z100 */
    /* 後にburgerより下でposition設定する要素がでるので最初から100ほどにしておく */
}

.burger span{
    position: absolute;/* poa */
    width: 80%;/* w80p */
    height: 4px;/* h4 */
    background-color: #69411a;/* bgc#333 */
    /* 3つのspanタテ・ヨコ中央 */
    inset: 0;
    margin: auto;
    transition: 0.2s;
}

.burger span:nth-child(1){
    top: -40%;/* t-40p */
}

.burger span:nth-child(3){
    top: 40%;/* t40p */
}

.burger.active span:nth-child(1){
    top:0;/* t0 */
    transform: rotate(45deg);
}

.burger.active span:nth-child(2){
    transform: rotate(45deg);
}

.burger.active span:nth-child(3){
    top:0;/* t0 */
    transform: rotate(-45deg);
}
.voice .photo img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.voice .text{
    line-height: 1.8;
    padding: 0 10px;
}

.voice a{
    display: block;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    padding: 20px 0;
    background-color: #959803;
    color: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

.voice a:hover{
    color: #222;   
    background-color: #eee;  
    border: 1px solid #959803;
}  
 

/*-----------------------------------------
    html - smooth scroll responsive setting   
-----------------------------------------*/   

 html{
    scroll-behavior: auto;
    /* スマホの場合、スムーズスクロールを無効にする ->  scroll-behavior: auto */
 }
    

/*-----------------------------------------
    header - responsive - setting   
-----------------------------------------*/

    header .bxslider li img {
        object-position: 70% 80%;
    }

    header .logo{
        top: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 30px 0 36px;
        text-align: center;
    /* paddingの設定 */
    }

    header .logo h1{
        font-size: 26px;
    }

    header .logo h1 span{
        font-size: 22px;
    }

/*-----------------------------------------
    nav - responsive - setting   
-----------------------------------------*/
    nav{
  
        width: 100%;/* w100p pc設定ですでに書かれているので省略可 */
        height: 100%;/* h100p */
        top: 0;/* t0  pc設定ですでに書かれているので省略可 */
        left: 100%;/* l100p */
        /* body基準で、x座標・y差表 0、0 w100p h100p で全体を覆う */
        /* ただし、x座標だけ100%にして枠外にだしておく */
        transition-duration: 0.3s;
        /* アニメーションの時間設定 */
        padding-top: 100px;
        /* レイアウトの微調整 -> pt100 */

        background-color:rgba(0, 0, 0, 0.6);
        /* 背景色設定変更 → 少し透明に */
    }

    nav.drawer{
        left: 0;/* l0 */
        /* navにdrawerクラスがついたときにx座標ga
        0に戻る */
    }

    nav ul{
        display: block;
        /* フレックスボックスの無効 */
    }

    nav ul a{
        padding: 0;
        /* aタグのブロックボックス、左右の余白、paddingで0で無効、上下の余白、line-heightで60px設定はそのまま */
        color: #9b7676;
        /* フォントカラー変更 */
        text-align: center;
        /* テキスト中央揃い */
    } 

/*-----------------------------------------
    message - responsive - setting   
-----------------------------------------*/    
    .message p{
        text-align: left;
    }

    .message p br.pc{
        display: none;
    }

    .message ul{
        display: block;
    }

    .message ul li{
        width: 100%;
        margin-bottom: 50px;
    }

    
}
/* media end */
