@charset "UTF-8";

html,
body
 {
    margin: 0;
    height: 100%;
}
main{
    position: relative;
    height: calc(100vh - 130px); 
}


footer {
    text-align: center;      /* コピーライトやマークを真ん中寄せにする */
    padding: 30px 0;         /* 上下に程よい余白を作る */
    margin-top: 40px;        /* 写真エリアとの間に隙間を作る */
    background: #f8f8f8;
}

#wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


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


.swiper-slide {
    transition: transform 0.6s;
    text-align: center;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


.swiper-slide-prev,
.swiper-slide-next,
.swiper-slide-duplicate-prev,
.swiper-slide-duplicate-next {
    transform: scale(1);
}

.swiper-slide img {
    width: 100%;
    object-fit: contain;
    max-height: 72vh;
}

.swiper {
    height: calc(100vh-150px);
    overflow: visible;
}

.swiper-wrapper,
.swiper-slide {
    height: 90%;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px;
}


.swiper-pagination-bullet-active {
    background: #f39c50;

}

.swiper-slide-duplicate {
    display: flex;
    visibility: visible;
    opacity: 1;
}
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -60px; }

header {
    background: #f39c50;
    margin-bottom: 30px;
}

header h1 {
    text-align: center;
    padding: 10px 0;
    font-size: 40px;
    margin: 0;
    color: #ffffff;
}

nav ul {
    padding-bottom: 1rem;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
}

nav ul li a {
    font-weight: bold;
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f1ed1e;
}

.sec01 {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}



.container {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    flex-direction: row-reverse;
    width: 99%;           
    max-width: 1200px;   
    margin: 0 auto;       
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(215, 213, 213, 0.8);

    justify-content: center;
    align-items: center;
}

.modal-content {
    display: block;
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
}

.container img {
    cursor: pointer;
    transition: .3s;
}

.container img:hover {
    opacity: .8;
}
.about{
    display: flex;
    align-items: center;   
    justify-content: center;
    gap: 80px;             
    padding: 80px;
}

.about-img img{
    width: 400px;
    height: auto;
}

.about-text{
    max-width: 500px;
}

.about-text h2{
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text p{
    font-size: 18px;
    line-height: 1.8;
}