
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

header {
    height:100px;
    display:flex;
    justify-content:space-between;
    align-items: center;
}
header .logo {
    height: 70%;
    margin-left: 3vw;
}

header .contact, .sp-contact .contact {
    padding: 10px 40px;
    margin-right: 3vw;
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    color: rgb(255, 123, 0);
    border: solid 1px;
}


main {
    margin-bottom: 200px;
}

.copy {
    color: #FFFFFF;
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
    display: inline-block;
    text-align: left;
    z-index: 1;
    margin-left: 5vw;
}
.copy span {
    line-height: 200%;
}
.copy span::after {
    content: "";
    display: inline-block;
    width: 170px;
    height: 1px;
    background-color: #FFFFFF;
    margin-bottom: 13px;
}
.copy h1 {
    font-size: 2.3em;
    font-family: "Noto Sans JP", sans-serif;
}

.sp{
    display: none;
}

h1 {
    height: 80px;
    color: #FFF;
    background-color: rgb(255, 123, 0);
    font-size: 32px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 80px;
    margin-bottom: 30px;
    text-align: center;
}

h2 {
    color: rgb(255, 123, 0);
    font-size: 32px;
    font-family: "Noto Sans JP", sans-serif;
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 30px;
    text-align: center;
}
h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 1px;
    display: inline-block;
    width: 60px;
    height: 1px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #231815;
}

section {
    padding-left:20px;
    padding-right: 20px;
}

.news .list{
    text-align: center;
}
.news .list > span:first-child {
    padding-right: 20px;
}

section>div {
    max-width: 1100px;
    margin: 30px auto;
    text-align: left;
}

section span {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 180%;
}
section.service {
    background-color: #F3E3E6;
    padding-top: 130px;
    padding-bottom: 130px;
}

.service .category{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 70px auto 0 auto;
    column-gap: 6%;
}

.affiliated {
    max-width: 1100px;
    background-color: #FFFFFF;
    padding: 35px;
    margin-top: 70px;
    margin-bottom: 0;
}
.affiliated h4 {
    color: #9D1E36;
    font-size: 23px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 200%;
}
.affiliated>div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2%;
}
.affiliated>div>p {
    text-align: center;
    background-color: rgb(35, 24, 21);
    color: white;
    font-size: 20px;
    font-family: "Noto Sans JP", sans-serif;
    border-radius: 100px;
    line-height: 45px;
    margin: 9px 0;
    white-space: nowrap;
}

.information {
    margin: 200px auto;
}
.information img {
    max-width: 800px;
    height: 500px;
    object-fit: cover;
}

.information table {
    max-width: 800px;
    margin: 70px auto 0 auto;
    border-collapse: collapse;
}

.information table th,td {
    vertical-align: middle;
    border: 1px solid;
}

.information table th {
    width: 120px;
    height: 60px;
    background-color: #F3E3E6;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
}

.information table td {
    text-align: left;
    padding: 0 10px;
}

.contact>div {
    max-width: 1100px;
    margin: 0 auto;
    background-color:rgb(230,230,230);
}


.contact form {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px 20px;
}

.contact form label {
    display: block;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 200%;
}

.contact form input, textarea, select {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    background-color: #FFFFFF;
    font-size: 20px;
    font-family: "Noto Sans JP", sans-serif;
    padding: 10px;
    resize: none;
}

select {
    appearance: auto;
}

select:hover {
    cursor: pointer;
}

.contact form textarea {
    height: 200px;
}

.contact .submit {
    text-align: center;
}

.contact .submit button {
    border: 1px solid #000;
    padding : 15px 80px;
}

/* チェックボックスグループのスタイル */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-right: 10px;
    margin-bottom: 0;
}

.checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
}

.checkbox-item input[type="text"] {
    width: 300px;
    height: 40px;
    margin-left: 10px;
    margin-bottom: 0;
    font-size: 14px;
}

footer {
    position: relative;
    background-color: rgb(255, 123, 0);
    height: 250px;
    display: flex;
    justify-content:space-between ;
}

footer span{
    color: #fff;
    position: absolute;
    right: 206px;
    bottom: 35px;
    font-size: 12px;
    font-family: "Noto Sans JP", sans-serif;
}

footer img {
    position: absolute;
}

footer .left {
    width: 250px;
    bottom: 20px;
    left: 40px;
}
footer .right {
    right: 0;
    height: 100%;
}

.botan {
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    color: rgb(255, 123, 0);
    border: solid 1px ;
    padding:0px 15px;
}

body{
    color: rgb(35, 24, 21);
    text-align: center;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    width:100%;
    
    
}

.top {
    display: flex;
    position: relative;
    height: 715px;
    align-items: center;
}

video {
    width:100% ;
    height: 715px;
    object-fit: cover;
    position: absolute;
}


.mark {
    position: absolute;
    bottom: -18px;
    right: -56px;
    height: 600px;
}
.bg-mark {
    width: 100%;
    height: 715px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    position: absolute;
    top: 0;
    right: 0;
    background-size: auto 715px;
}

.side > div {
    background-color:rgb(255, 123, 0) ;
    color: white;
    font-size: 25px;
    font-family: "Noto Sans JP", sans-serif;
    width: 100%;
    line-height:75px;
    padding: 0 20px;
    white-space: nowrap;
}
.side {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}

.service>div img {
    width:75px;
    height: 75px;
}

.sp-contact {
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: #FFF;
    bottom: 0;
    z-index: 3;
    display: none;
}

.sp-contact .contact {
    margin: 20px 10vw;
}

/*---------------------------------
  YouTube 埋め込み レスポンシブ
---------------------------------*/
iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
}

/*---------------------------------
  関連動画リスト
---------------------------------*/
.movie-list {
    display: flex;
}
.movie {
    width: 30%;
    text-align: center;
}
.movie-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.movie-link {
    width: 100%;
    height: fit-content;
}
.movie-link:hover {
    opacity: 0.8;
}
.movie-thumbnail {
    width: 100%;
}
.movie-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 30px;
    padding: 20px 0;
    margin: 20px auto 0 auto;
    font-size: 20px;
    line-height: 20px;
    background-color: rgb(230, 230, 230);
}
.movie-btn:hover {
    opacity: 0.8;
}

/*---------------------------------
  関連動画ページ
---------------------------------*/
.to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    width: 20%;
    height: 60px;
    margin: 20px auto 100px auto;
    background-color: rgb(230, 230, 230);
}
.to-top:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1024px) {
    .sp{
        display: block;
    }
    .side>div {
        font-size: 21px;
    }
    .right {
        display: none;
    }
    footer .left {
        width: 30vw;
    }
    footer span {
        right: 20px;
        font-size: 1.5vw;
        font-family: "Noto Sans JP", sans-serif;
    }

    /*---------------------------------
      関連動画
    ---------------------------------*/
    .movie-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 30px;
        padding: 20px 0;
        margin: 20px auto 0 auto;
        font-size: 20px;
        line-height: 20px;
        background-color: rgb(230, 230, 230);
    }

    /*---------------------------------
      関連動画ページ
    ---------------------------------*/
    .to-top {
        font-size: 20px;
        width: 60%;
        margin: 20px auto 50vh auto;
    }
}

@media screen and (max-width: 768px) {
    .copy h1{
        font-size: 9vw;
        font-family: "Noto Sans JP", sans-serif;
    }
    .service .category {
        grid-template-columns: 1fr;
    }
    .affiliated>div {
        grid-template-columns: 1fr 1fr;
    }
    .bg-mark {
        background-size: auto 450px;
    }
    header .contact {
        display: none;
    }
    
    .sp-contact {
        display: block;
    }
    .jimusyo{
        width: 100%;
        height: auto!important;
    }
    .information table{
        margin-top:20px
    }

    /*---------------------------------
      関連動画
    ---------------------------------*/
    .movie-list {
        display: flex;
        justify-content: center;
    }
    .movie {
        width: 42%;
        text-align: center;
    }
    .movie-title {
        font-size: 16px;
        font-weight: 400;
    }
    .movie-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        height: 30px;
        padding: 10px 0;
        margin: 10px auto 0 auto;
        font-size: 16px;
        line-height: 16px;
        background-color: rgb(230, 230, 230);
    }

    /*---------------------------------
      関連動画ページ
    ---------------------------------*/
    .to-top {
        font-size: 20px;
        width: 80%;
        margin: 0 auto 50vh auto;
    }
}

@media screen and (max-width: 626px) {
    .side>div {
        font-size: 4vw;
        font-family: "Noto Sans JP", sans-serif;
    }
    .affiliated>div {
        grid-template-columns: 1fr;
    }
    .copy span::after {
        display: none;
    }

    /*---------------------------------
      関連動画
    ---------------------------------*/
    .movie-list {
        display: flex;
        margin-top: 0;
    }
    .movie {
        width: 50%;
        text-align: center;
    }
    .movie-title {
        font-size: 16px;
        font-weight: 400;
    }
}