@charset "utf-8";
/* CSS Document */
/* フルードイメージ */
img, object, embed, video {max-width: 100%;height:auto;}

/* 決まりルール */
a:link{text-decoration: none;color:#ffffff;}
a:visited {text-decoration: none;color:#ffffff;}
a:hover{text-decoration:none;color:#febe98}
a:active {text-decoration:none;color:#febe98}
a img{transition:0.2s}
a img:hover{opacity:0.7;}


.main {
  background: #ffffff;
}
.main p {
  padding: 300px 0; 
  text-align: center;
  color: #333;
   /* <weight>: Use a value from 100 to 900
    <uniquifier>: Use a unique and descriptive class name */
    /* .noto-sans-jp-<uniquifier>  */
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}



html{
    font-size: 0.9375rem;/* 15pt相当 */
    scroll-behavior: smooth; /* ページ内リンクのスクロールをスムーズにする */
    margin: 0 auto;
}

body{
    background-color: #fff;
}

.wrapper{
    padding: 0 2vw;
    max-width: 1280px;
    margin: 0 auto;
}

header{
    display: block;
    margin-bottom: 5%;
}

footer{
    .pagetop {
        height: 50px;
        width: 50px;
        position: fixed;
        right: 30px;
        bottom: 30px;
        background: #fff;
        border: solid 2px #c71212;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
    }

    .pagetop__arrow {
        height: 10px;
        width: 10px;
        border-top: 3px solid #c71212;
        border-right: 3px solid #c71212;
        transform: translateY(20%) rotate(-45deg);
    }
    @media (hover: hover) and (pointer: fine) {
        .pagetop:hover, .pagetop:hover .pagetop__arrow {
            border-color: #febe98;
        }
    }
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc_img{ display: grid !important; }
.sp_img{ display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 999px) {
    img { max-width: 100%;
    }
    .pc_img{ display: none !important; }
    .sp_img{ display: grid !important; }
}


.grid02{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    margin-bottom: 0.5rem;
    gap: 0.3rem;
}
/* .grid03, .accordion-content .grid03 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
    width: 100%;
}
.grid04, .accordion-content .grid04 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
    width: 100%;
} */
.logo {
  text-align: center;
}
.logo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.logo, h2 {
    text-align: center;
}
.logo img, h2 img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
}


nav{
        /* max-width:100%; */
        margin:0 auto;
        max-width: 1000px;
        margin-bottom: 15%;

    ul{
        /* display: flex;
        flex-direction: row; */
        text-align: center;
        /* margin:0 auto  10%; */
        justify-content: space-between;

        a{
            color: #ffffff;
            font-size: 2rem;
            font-family: "M PLUS 1p","游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
            font-weight: 700;
            font-style: normal;
        }
        a:link{text-decoration: none;color:#ffffff;}
        a:visited {text-decoration: none;color:#ffffff;}
        a:hover{text-decoration:none;color:#febe98}
        a:active {text-decoration:none;color:#febe98}

        li{
            text-align: center;
        }
    }
}
 /* @media (max-width: 999px) {
            nav{
                ul{
                flex-direction: column; 
                justify-content: normal;
                
                }
                a{
                font-size: 1.7rem;
                margin: 0 0;
                }

            }
        } */

h2{
    color: #c71212;
    font-size: 40pt;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-weight: 400;
    font-style: normal;
}

h3{
    color: #c71212;
    text-align: center;
    /* font-size: 25pt; */
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-weight: 800;
    font-style: normal;
    /* font-size: calc(0.5vw + 1rem)`と指定すると、画面幅が小さくなるほど1remに近く、大きくなるほどvwに比例して大きくなります。﻿
 */
    /* 画面幅が狭い場合は1rem、広い場合は1.5remで、その間はvwとremを組み合わせたフォントサイズが適用される */
    font-size: calc(1.5vw + 1.3rem);

}
p{
    text-align: center;
    /* font-size: 15pt; */
    margin-top: 10px;
    font-size: calc(0.5vw + 0.8rem);
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

}



section{
    margin-bottom: 15vw;
    scroll-behavior: auto;
}

.hidden {
  display: none;
}

.grid03, .accordion-content .grid03, .grid04, .accordion-content .grid04 {
    display: grid;
    gap: 0.5vw;
    width: 100%;
}
.grid03, .accordion-content .grid03 {
    grid-template-columns: repeat(3, 1fr);
}
.grid04, .accordion-content .grid04 {
    grid-template-columns: repeat(4, 1fr);
}

/* @media (max-width: 1000px) {
    .grid03, .accordion-content .grid03,
    .grid04, .accordion-content .grid04 {
        gap: 0.3vw;
    }
} */

@media (max-width: 999px) {
    .grid03, .accordion-content .grid03,
    .grid04, .accordion-content .grid04 {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* @media (max-width: 600px) {
    .grid03, .accordion-content .grid03,
    .grid04, .accordion-content .grid04 {
        grid-template-columns: 1fr;
    }
} */

.cont_wrap {
    max-width: 100%;
    text-align: center;
    margin: 0 auto 7rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* .cont_wrap img {
    width: 100%;
    max-width: 240px;
    height: auto;
} */


/* 画像を大きめに */
.cont_wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 横:縦=1:1。必要に応じて3/2や16/9に */
  object-fit: cover;
  max-width: 300px;   /* ここはお好みで調整、240～200px程度もアリ */
  min-width: 100px;
  height: auto;
}

/* 文字をなるべく改行させない */
.cont_wrap h3 {
  /* font-size: 2.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.7em 0 0 0;
  line-height: 1.2; */
  font-size: 2.2rem;
  white-space: normal;       /* 折り返しOK */
  word-break: break-word;    /* 長い単語も途中で折り返す */
  overflow: visible;
  text-overflow: initial;
  margin: 0.7em 0 0 0;
  line-height: 1.2;
  min-height: 2.6em;         /* 2行分の高さで揃え。必要に応じて調整 */
  /* 3行以上は自動で伸びる。もし3行までで省略したい場合は-line-clampを使う */
}

/* 画面が狭い場合は折り返しOKにする */
@media (max-width: 750px) {
  .cont_wrap h3 {
    font-size: 1.5rem;
    white-space: normal;
  }
  .grid04, .accordion-content .grid04 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.more-toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto 0 auto;
    width: 100%;
}

.btn-more,
.btn-close {
  width: clamp(140px, 14vw, 180px); /* 最小60px、最大120px、間は12vw */
  height: auto;
  max-width: 100%;
}

.sec_wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 5%;
    text-align: center;
}

footer{
    padding: 2% 10%;
    margin: 0 auto;
    background-image: linear-gradient(90deg, rgba(155, 0, 0, 1), rgba(230, 0, 18, 1) 58%, rgba(231, 35, 19, 1));
    .footer_yoko{
        display: flex;
        margin: 0 auto;
        justify-content: center;
        margin-bottom: 2%;
    }
    .grid02{
        margin-bottom: 0;
        min-width: 20vw;
    }
    li{
        font-size: calc(0.2vw + 0.7rem);
        font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        a{
            color: #ffffff;
            /* font-size: 2rem;
            font-family: "M PLUS 1p", sans-serif;
            font-weight: 700;
            font-style: normal; */
        }
        a:link{text-decoration: none;color:#ffffff;}
        a:visited {text-decoration: none;color:#ffffff;}
        a:hover{text-decoration:none;color:#febe98}
        a:active {text-decoration:none;color:#febe98}
    }
    p{
        font-size: calc(0.3vw + 0.5rem);
        color: #ffffff;
        text-align: center;
        line-height: 1.6;
        font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }
}

.footer_text_c{
    font-size: calc(0.2vw + 0.4rem);
}

.footer_yoko{
    justify-content:center;
}

.footer_logo{
    margin-right: 3rem;
}

.footer_logo img{
    width: clamp(120px, 13vw, 200px); /* 最小60px、最大120px、間は12vw */
    height: auto;
    max-width: 100%;

}

.footer_logo01{
    margin-bottom: 5%;
}
.footer_nav{
    max-width: 70%;
    margin-top: 2%;
    min-width: 50%;

    .footer_nav_home{   
        border-bottom: #ffff solid 1px;
        padding: 0.5rem;

    }
    .footer_nav_syuzai li{   
        border-bottom: #ffff solid 1px;
        padding: 0.5rem;
    }
    .footer_nav_syuzai .grid02{
        margin-top: 0.5rem;
    }
}

@media (max-width: 750px) {
        .footer_yoko{
            justify-content:center;
        }
        .footer_logo{
            justify-content: center;
            text-align: center;
            margin-right: 1rem;
        }
        footer {
            padding: 6vw 2vw;
        }
        .footer_nav{
            max-width: 50%;
            margin-top: 2%;
            min-width: 30%;
        }
        .footer_nav_home{   
            padding: 0.3rem;

        }
        .footer_nav_syuzai li{   
            padding: 0.3rem;
        }

        .footer_nav_syuzai .grid02{
            grid-template-columns: 1fr;
            margin-bottom: 10vw;
        }
        .footer_text{
            margin-top: 10vw;
            max-width: 80%;
            margin: 0 auto;
        }
}


.nav-top-list,
.nav-area-list {
  display: grid;
  gap: 0.3rem;
  max-width: 1000px;
  margin: 0 auto 0.5rem auto;
  padding: 0;
  list-style: none;
}
.nav-top-list li,
.nav-area-list li {
  margin: 0;
  padding: 0;
}
.nav-top-list img,
.nav-area-list img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 999px) {
  .nav-top-list,
  .nav-area-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    max-width: 100%;
    margin-bottom: 0;
    padding: 0;
  }
  .nav-top-list {
    margin-bottom: 0.3rem;
  }
}
@media (min-width: 1000px) {
  .nav-top-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-area-list {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* .footer_yoko {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2em;
}
@media (max-width: 900px) {
  .footer_yoko {
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: 100%;
  }
  footer {
    padding: 6vw 2vw;
  }
  .footer_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
  }
  .footer_nav {
    margin-top: 1em;
    min-width: 0;
    width: 100%;
    text-align: center;
  }
}
.footer_nav {
  word-break: break-all;
}
.footer_text p {
  font-size: 0.9em;
  text-align: center;
  line-height: 1.6;
} */





