@charset "UTF-8";

html{
  font-size: 12px;
  font-style: italic;
}

body{
    background-image: url("../img/img/background.png");
    background-size: cover;
    background-repeat: repeat;
    background-size: 120px 120px
}
  
img{
    max-width: 100%;
    height: auto;
}
    
header img{
    position: relative;
    width: 100%;
    vertical-align: top;
}

header p{
    position: absolute;
    top: 0.25rem;
    left: 1rem;
    color: #ffffff;
}
    
.lily-logo{
    position: absolute;
    align-items: center;
    width: 50%;
    top: 3.5rem;
    left: 1rem;
}

nav{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    background-color: rgba(171, 178, 169);
}

nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
}

nav ul li{
    flex: 1;
    list-style: none;
    text-align: center;
    font-size: 1.25rem;
}

nav ul li a{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    text-decoration: none;
    color: #ffffff;
}

nav ul li a:hover{
    background-color: rgb(43, 76, 43);
}

.sub{
    width: 15%;
    height: 10%;
    display: block;
    margin: 0 auto;
    opacity: 0.5;
}

section h2{
    text-align: center;
    font-size: 2rem;
    font-style: italic;
    opacity: 0.5;
    margin-top: 3rem;
}

.text1{
    display: flex;
    align-items: center;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.text1:before,.text1:after{
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: black;
}
.text1:before{
    margin-right: 1rem;
}
.text1:after{
    margin-left: 1rem;
}

.text2 {
    text-align: center;
    font-size: 1.5rem;
    opacity: 0.5;
    margin-top: 0.5rem;
}

section h1{
    text-align: center;
    line-height: 4rem;
    font-size: 4rem;
    opacity: 0.5;
}

.content{
    opacity: 0.4;
    margin: 0 2rem;
}

.menu{
    opacity: 0.4;
    margin: 0 2rem;
    margin-top: 1rem;
}

.slide h2 {
    text-align: center;
    font-size: 2rem;
    font-style: italic;
    opacity: 0.5;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.slider {
    width: 85vw;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides {
    display: flex;
    width: 500%;
    /* 画像5枚分（100% × 5） */
    animation: slide 25s linear infinite;
}

.slides img {
    width: 100%;
    height: auto;
    /* ← 画像の縦横比をそのまま維持 */
    object-fit: contain;
    /* ← 全体を表示（切れない） */
    background: #000;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-400%);
    }
}

.flex {
    position: relative;
    display: flex;
    margin-top: 1rem;
}

.pic {
    display: flex;
    justify-content: center;
    margin: 1rem auto 1.5rem;
    width: 40%;
    gap: 20%;
}

.sec {
    position: absolute;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 100%;
    top: 35%;
    gap: 8%;
}

.gr1 {
    color: #6f9aa2;
}

.gr2 {
    color: #a62fa5;
}

.inner {
  justify-content: center;
  font-size: 1rem;
  white-space: nowrap;
}

.sel {
  font-size: 0.8rem;
}

.alarm {
  margin: 0 2rem;
  opacity: 0.4;
}

.alarm h3 {
  margin-bottom: 0.5rem;
}

.alarm p {
  margin-bottom: 0.5rem;
}

.solid {
  border: 1px solid;
  padding: 1rem;
  border-radius: 10px;
}

#footer {
    text-align: center;
    margin: 3rem 0;
    color: #999;
    font-size: 0.9rem;
}