.noto-sans-jp-medium {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* color : #B82539, (184,37,57) (enji)
           #364E46, (54,78,70) (green) */

body {
    position: relative;
    text-align: center;
    font-family: "Noto Sans JP";
    max-width: 100%;
    overflow-x: hidden;
    /* background-image: url(image/background_logo.png);
    background-size: 100%; */
}

header {
    z-index: 1000;
    position: absolute;
    height: 80px;
    width: 100%;
    background-color: white;
    /* border-top: 5px solid black; */
    border-bottom: 5px solid black;
}

.circle {
    z-index: 6000;
    margin-top: -170px;
    margin-left : auto;
    margin-right: auto;
    border-radius: 100%;
    height: 180px;
    width: 180px;
    background-color: rgb(255, 255, 255);
    border: 6px solid black;
    outline: 10px solid white;
}

.emblem {
    z-index: 10000;
    height: 120px;
    transition: transform 0.5s;
}

.emblem:hover {
    transform: scale(1.1);
}

.rectangle p{
    position: absolute;
    margin-top: 0;
    top: 0;
    left: 25%;
    transform: translateX(-60%);
}

.title{
    z-index: 10000;
    position: absolute;
    width: 40%;
    top: 20px;
    left: 25%;
    transform: translateX(-60%);
    font-size: 50px;
    color: black;
    font-family: Work Sans;
}

@media (min-width: 768px) {
    .menu {
        display: none;
    }
    .menu_text {
        display: none;
    }
    .photo {
        height: 500px;
        overflow: hidden;
    }
    .title_photo {
        width: 100%;
        margin: -200px auto auto auto;
    }
    .tp_logo {
        width: 700px;
        margin: auto;
    }
    .page_title {
        font-size: 90px;
    }
    .s_article {
        position: relative;
        display: flex;
    }
    .s {
        height: 200px;
        width: 50%;
        border: 2px solid white;
    }
    .s2 {
        display: flex;
        position: relative;
        width: 600px;
        margin-left: 12%;
        margin-top: 30px;
    }
    .s_text {
        margin-left: 50px;
    }
    #w75 {
        width: 75%;
        margin: auto auto auto auto;
    }
    .n_article ul{
        display: flex;
        overflow-x: scroll;
        margin-bottom: 50px;
    }
    #p {
        border: 5px solid black;
        border-radius: 50px; 
        box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
    }
    #p a div{
        display: flex;
        flex-direction: column;
    }
    .n_date {
        order: 1;
    }
    .n_img {
        order: 2;
        height: 150px;
        width: 250px;
        margin: 30px 15px 0px 15px;
    }
    .n_title {
        order: 3;
    }
    .n_img img {
        height: 100%;
        object-fit: contain;
    }
    .d_img_pc {
        width: 800px;
    }
    .d_img_sp {
        display: none;
    }
    .diary_letter div {
        position: absolute;
        margin-top: -615px;
        left: 50%;
        transform: translateX(-50%);
        width: 550px;
    }
    .diary_letter div p {
        font-size: 20px;
        line-height: 45px;
        text-align: left;
    }
    .slogan {
        display: flex;
    }
    .what {
        margin: -80px 5% 0 5%;
        padding: 50px 30px 0 30px;
    }
    .ftc_video {
        display: flex;
    }
    .ftc_video div {
        margin: 30px 50px 0 0;
    }
    .ftc_yt {
        height: 225px;
        width: 400px;
    }
    .mvv {
        display: flex;
        justify-content: center;
    }
    .value {
        margin: 240px 100px 0px 70px;
    }
    .vision {
        margin: 180px 0px 0px 0px;
    }
    .mission {
        margin: 20px 0px 100px 100px;
    }
    .mvv_smoke {
        margin-top: -100px;
    }
    .mvv_br {
        display: none;
    }
    .sitemap {
        right: 10%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .menu_text {
      display: none;
      background: #fff;
      padding: 20px;
      position: absolute;
      top: 60px;
      right: 0px;
      border: 1px solid #ccc;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    #menu_toggle:checked + .menu_btn + .menu_text {
      display: block;
    }
    .top {
        position: absolute;
        top: 0px;
        left: -30px;
    }
    .circle {
        margin-top: -150px;
        height: 150px;
        width: 150px;
    }
    .emblem {
        height: 100px;
    }
    .rectangle {
        display: none;
    }
    .photo {
        height: 300px;
    }
    .stripe {
        display: none;
    }
    .title_photo {
        width: 100%;
        margin: -80px auto auto auto;
    }
    .title_photo_support {
        margin-bottom: 70px;
    }
    .page_title {
        font-size: 50px;
    }
    .d_img_pc {
        display: none;
    }
    .d_img_sp {
        width: 400px;
        margin-top: -100px;
    }
    .diary_letter div {
        margin-top: -500px;
        width: 300px;
    }
    .diary_letter div h1 {
        font-size: x-large;
    }
    .diary_letter div p {
        font-size: 20px;
        line-height: 39px;
        text-align: left;
    }
    .s {
        height: 300px;
        width: 100%;
        border-top: 5px solid white;
    }
    .s2 {
        margin-top: 20px;
    }
    .s_circle {
        margin: auto;
    }
    .n_article ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    #p {
        height: 150px;
        width: 90%;
        border-bottom: 5px solid black;
    }
    #p a div div{
        height: 150px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .n_img {
        position: relative;
        grid-column: 1/2;
        grid-row: 1/3;
        height: 150px;
        width: 100%;
        float: left;
    }
    .n_img img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        max-height: 100px;
        object-fit: contain;
    }
    .n_date {
        grid-column: 2/4;
        grid-row: 1/2;
    }
    .n_title {
        grid-column: 2/4;
        grid-row: 2/3;
        margin-top: -20px;
        font-size: 100%;
    }
    .break {
        flex-basis: 100%;
        height: 0;
    }
    #pr {
        height: 300px;
        width: 275px;
        border: 5px solid white;
        border-radius: 20px;
    }
    .what {
        margin: -80px 0 0 0;
        padding: 50px 30px 0 30px;
    }
    .ftc_yt {
        width: 60%;
    }
    .mvv {
        display: flex;
        flex-direction: column-reverse;
    }
    .mvv div {
        margin: 10px auto;
    }
    #f_emblem {
        display: none;
    }
    .f_logo {
        display: none;
    }
    .sitemap {
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav {
    z-index: 6000;
    position: absolute;
    width: 40%;
    top: 0px;
    left: 100%;
    transform: translateX(-100%);
    padding-right: 5%;
}

.h_ul {
    display: flex;
    list-style: none;
    float: right;
}

.h_li {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 150%;
    font-weight: 500;
}

.h_li a {
    text-decoration: none;
    color: black;
}

.menu {
    position: absolute;
    height: 40px;
    float: right;
    top: 10px;
    right: 8%;
}

.menu_text {
    position: absolute;
    top: 85px;
    width: 100%;
    background-color: white;
}
.menu_text h2 a {
    color: black;
    text-decoration: none;
}

.decoration0:hover {
    color: #909090;
    transition: 0.7s;
}
.decoration1:hover {
    color: #688078;
    transition: 0.7s;
}
.decoration2:hover{
    color: #EA576B;
    transition: 0.7s;
}

.photo {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: 90px;
    width: 100%;
    background-color: #EEEEEE;
}
.stripe {
    position: absolute;
    right: 0%;
    width: 30%;
}
.page_title {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    line-height: 80%;
}

.a1 {
    position: relative;
    width: 100%;
    margin: 50px 0;
}

.e_title {
    position: relative;
    z-index: 10;
    padding: 10px;
    display: flex;
    justify-content: center;
}

.e_title img {
    height: 100px;
}

.flont_logo {
    z-index: 0;
}

.back_emblem {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.5;
}

.n_article {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.news h3 {
    color: rgb(179, 179, 179);
}

.n_img {
    text-align: center;
    display: flex;
}

.n_date {
    color: gray;
}

.diary_letter {
    position: relative;
}

#p {
    padding: 5px 15px;
    margin: 25px;
    list-style: none;
}

#pr {
    padding: 5px 15px;
    margin: 25px;
    list-style: none;
}

#p a {
    text-decoration: none;
    color: black;
}

.p_div {
    position: relative;
}

.p_div img {
    width: 200px;
}

.p_div p {
    position: absolute;
    width: 200px;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
}

.n1 {
    background-color: white;
}
.n2 {
    background-color: white;
}
.n1:hover {
    background-color: rgba(184,37,57,0.1);
    transition: 0.7s;
}
.n1:active {
    background-color: rgba(184,37,57,0.1);
    transition: 0.7s;
}
.n2:hover {
    background-color: rgba(54,78,70,0.2);
    transition: 0.7s;
}
.n2:active {
    background-color: rgba(54,78,70,0.2);
    transition: 0.7s;
}

.everynews:hover {
    background-color: rgb(236, 236, 236);
    transition: 0.7s;
}

.diary_letter {
    display: flex;
    justify-content: center;
    margin-top: 150px;
}
.diary_content {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}
.diary_content h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
  border-left: 6px solid #B82539;
  padding-left: 12px;
}
.diary_content p {
  font-size: 1rem;
  color: #444444;
}
.diary_date {
  text-align: right;
  margin-top: 10px;
  color: #777777;
  font-size: 0.9rem;
}

.n_workshop img {
    width: 300px;
    margin: 0 40px;
}

.s_circle {
    height: 140px;
    width: 140px;
    background-color: rgb(216, 216, 216);
    border-radius: 50%;
}

.sns_image {
    height: 75px;
    margin: 10px;
    padding: 20px;
}

.s_text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.c {
    border-radius: 50%;
    transform: translateY(-17.5%);
}
.c_img {
    width: 250px;
}

.ftc_yt {
    height: 225px;
    width: 400px;
}

.slogan {
    z-index: 0;
    justify-content: center;
    align-items: center;
    border-top: 5px solid #364E46;
    border-bottom: 5px solid #B82539;
    background-color: rgb(216, 216, 216);
}
#slogans {
    margin: 15px;
}

.mvv div {
    position: relative;
}

.mvv_title {
    position: absolute;
    font-size: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    z-index: 100;
    padding: 10px;
    color: white;
}

.material-symbols-outlined {
    margin-left: 10px;
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

footer {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    margin-top: 100px;
}

.fe {
  position: relative;
  display: flex;
  margin-top: 100px;
  margin-left: 10%;
  width: 150px;
  height: 200px;
}

#f_emblem {
  position: absolute;
  height: 100%;
  top: 0px;
  left: 0px;
  transition: opacity 2s;
}

.f_before {
  opacity: 1;
}

.f_after {
  opacity: 0;
}

.f_logo {
    position: absolute;
    height: 80%;
    left: 200px;
    top: 50%;
    transform: translateY(-50%);
}

.fe:hover .f_before {
  opacity: 0;
}

.fe:hover .f_after {
  opacity: 1;
}

.sitemap {
    position: absolute;
    top: 55px;
    text-align: center;
}

.sitemap h2 a{
    color: white;
    text-decoration: none;
}

.copyright {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}