@charset "UTF-8";

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
    align-self: stretch;
}
.top_box {
    padding-top: 70px;
    display: flex;
    width: auto;
    height: 675px;
    justify-content: center;
    align-items: center;
    align-self: stretch;

    background-image: url(../images/photography/photography_top_background.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;               /* 初期状態では見えない */
    transform: translateY(100px); /* 初期位置を下に100pxずらす */
    transition: opacity 1s ease, transform 1s ease; /* アニメーションの時間を指定 */
}

.top_box.visible {
    opacity: 1;               /* アニメーション後に見えるようにする */
    transform: translateY(0);  /* 元の位置に戻す */
}

.top_box_inside_box {
    display: flex;
    padding: 100px 0%;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    flex-direction: column;
    gap: 30px;
}
.photography_title_txt1 {
    color: #FFF;
    text-align: center;
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke-color: #CAC9D3;
    font-family: Suranna;
    font-size: 3rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 1.5px;
}
.photography_txt_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.photography_title_txt2 {
    color: #333;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    font-family: "Zen Old Mincho";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 6px;
}
.txt_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}
.photography_txt {
    color: #333;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    font-family: "Zen Old Mincho";
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 3.24px;
}

/* SP */
@media screen and (max-width: 768px) {
    .top_box {
        height: 512px;
        padding: 84px 10px;
    }
    .top_box_inside_box {
        padding: 50px 20px;
        gap: 10px;
        flex: 1 0 0;
    }
    .photography_title_txt1 {
        font-size: 2rem;
        letter-spacing: 0px;
    }
    .photography_txt_box {
        gap: 30px;
        align-self: stretch;
    }
    .photography_title_txt2 {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }
    .photography_txt {
        font-size: 1.4rem;
        text-align: left;
        letter-spacing: 0px;
    }

}



/* スライダーの箱 */
.photo_box {
    display: flex;
    padding: 200px 0%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    align-self: stretch;
    background: #D9D9D9;

    opacity: 0;               /* 初期状態では見えない */
    transform: translateY(100px); /* 初期位置を下に100pxずらす */
    transition: opacity 1s ease, transform 1s ease; /* アニメーションの時間を指定 */
}

.photo_box.visible {
    opacity: 1;               /* アニメーション後に見えるようにする */
    transform: translateY(0);  /* 元の位置に戻す */
}

/* SP */
@media screen and (max-width: 768px) {
    .photo_box {
        display: flex;
        padding: 100px 0%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        align-self: stretch;
        background: #D9D9D9;
    }
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:94vw;
    width:94%;
    margin:0 auto;
    /* display: flex; */
    /* flex-direction: row; */
}

.slider img {
    width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    height:auto;
}

.slider .slick-slide {
	transform: scale(0.8);/*左右の画像のサイズを80%に*/
	transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
	opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
	opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:50px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}


/*========= レイアウトのためのCSS ===============*/

body{
	background:#eee;
}

h2,p {
    text-align:center;
    /* padding:20px; */
}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
}

a:hover,
a:active{
	text-decoration: none;
}

