@charset "UTF-8";


/* リセットCSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.hero {
    background-image: url('images/FV.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 250px 0 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(to bottom,
                rgba(255, 255, 255, 0.6) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0.0) 100%),
            rgba(0, 0, 0, 0.2);
}


.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.hero__title {
    font-size: 3.0rem;
    font-weight: 550;
    margin-bottom: 30px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.br-pc {
    display: none;
}

.hero__title--emphasis {
    font-size: 5.5rem;
    font-weight: 550;
    font-style: italic;
    letter-spacing: 0.02em;
}

.hero__title,
.hero__title--emphasis {
    font-family: "Zen Old Mincho", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

.hero__button-container {
    margin-top: 50px;
}

.button {
    display: inline-block;
    padding: 18px 35px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "Libre Baskerville", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.button--primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.button--primary:hover {
    background-color: white;
    color: #26516D;
}

.arrow {
    display: inline-block;
    margin-left: 12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.section-title-en {
    color: #6B7280;
    font-family: 'Libre Baskerville', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    letter-spacing: 0.1em;
}

.section-title-en::before {
    content: '';
    display: inline-block;
    width: 25px;  /* 画像サイズ */
    height: 7px;
    margin-right: 8px;  /* 文字との間隔 */
    vertical-align: middle;
    background-image: url('images/title-en-before.svg'); /* 画像のパス */
    background-size: contain;
    background-repeat: no-repeat;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family:'Zen Old Mincho';
    margin-bottom: 60px;
    color: #2c3e50;
    letter-spacing: 0.1em;
}

.about-us-title-btn {
    display: flex;
    justify-content: space-between;
    margin: 0 100px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-us-titleArea {
    text-align: left;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 160px;
    padding: 12px 24px;
    background-color: #26516D; /* ダークネイビー系 */
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    border: #26516D 1px solid;
  }
  
  .btn:hover {
    background-color: #fff;
    color:#26516D;
    border: #26516D 1px solid;
  }
 
.about-us {

    background-color: #f9f9f9;
}                        

.about-us__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-us__left {
    text-align: left;
    margin-bottom: 60px;
}

.about-us__text {
    font-size: 1.1rem;
    color: #555;
    line-height: 2;
}

.about-us__text > span {
    font-weight: bold;
}

.gradient-underline {
    border-bottom: 4px solid; /* 下線の太さ */
    border-image: linear-gradient(to right, #92D1EB, #ADE1DA, #CCEEB3) 1;
}

.about-us__right {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.keyword-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative; /* z-indexを正の値に設定した場合に必要 */
    z-index: 1;
}


.keyword-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #fff;
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.keyword-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/**********************事業紹介ここから**********************/

.service {
    background-color: #f0f0f0;
}

.service__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.service-titleArea {
    display: flex;
    justify-content: center;


    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.service__text-box {
    writing-mode: vertical-rl; /* 縦書き（右から左へ） */
    text-align: left;
    max-width: 400px;
}

.service__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
    padding: 0 30px;
}

.service-titleArea img {

    max-width: 60%; /* お好みで最大幅を制限 */
    height: auto;
    object-fit: contain;

    margin-right: 50px;
}

.service-titleArea-right {
    margin-left: 50px;
}

.view-all-btn {
    margin: 50px 30px 0 0;
}

.btn-en {
    font-family: "Libre Baskerville", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    align-content: center;
}

.vertical-en::before {
    margin-bottom: 10px;  /* 文字との間隔 */
    transform: rotate(90deg);
}

.service__text {
    font-size: 1.2rem;
    font-family: "Zen Old Mincho", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #333;
    margin:0 10px;
    letter-spacing: 0.05em;
}

.service__item {
    padding: 20px;
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service__item img  {
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service__item img:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service__item-titleArea {
    display: flex;
    align-items: flex-end;
}

.service__item-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 450;
    letter-spacing: 0.02em;
}

.service__item-category {
    font-size: 1rem;
    color: #6B7280;
    margin-left: 10px;
}

.service__item-category-en {
    font-family: "Libre Baskerville", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #19679A;
    text-align: left;
}

/**********************事業紹介ここまで**********************/


/**********************お知らせここから**********************/
.news {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.news__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.news__list {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news__item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.news__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.news__date {
    display: inline-block;
    font-size: 1rem;
    color: #999;
    margin-bottom: 10px;
}

.news__category {
    display: inline-block;
    padding: 5px 10px;
    background-color: #00b0ff;
    color: #fff;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-right: 10px;
}

.news__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.news__all {
    margin-top: 50px;
}

.all-news-btn {
    margin: 50px auto;
}

/**********************お知らせここまで**********************/

/**********************採用＆問い合わせここから**********************/

.recruit-inquiry {
    background-color: #f0f0f0;

}

.recruit-inquiry__inner {
    width: 100%;
    margin: 0 auto;

    display: flex;
    align-items: stretch; /* 高さを揃える */
    flex-wrap: wrap; /* スマホ対応：折り返し */
}

.recruit-area,
.inquiry-area {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recruit-inquiry-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
  }

.recruit-inquiry-img {
    width: 100%;
    height: 100%;
}

.recruit-inquiry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* トリミングして見た目統一 */
    display: block;
    opacity: 0.3;
}

.recruit__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

/* 🔽 テキスト・ボタンを画像の上に重ねる */
.recruit-inquiry-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    z-index: 1;
  }
  

.recruit__text {
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    line-height: 2;
}


.recruit__right {
    width: 100%;
    max-width: 500px;
}

.recruit-inquiry-btn {
    margin: 2em;
}

/**********************採用＆問い合わせここまで**********************/

/* 画像の最大幅を設定 */
.about-us__right img,
.recruit__right img {
    max-width: 100%;
    height: auto;
}

/**********************Youtubeここから**********************/
.youtube-section__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}
 
.section-title-youtube,
.section-title-youtube-en {
    text-align: center;
}

.section-title-youtube {
    margin-bottom: 20px;
}

.rss_title {
    display: none;
}

/* ul を flex コンテナにする */
.youtube-gallery .feedzy-rss ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    padding: 0;
    margin: 0;
  }
  
  /* 各アイテムを縦並びに整える */
  .youtube-gallery .feedzy-rss ul li.rss_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 330px;
    text-align: center;
    list-style: none;
  }
  
 /* 親要素のリストアイテムを block に */
.youtube-gallery .rss_item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 330px;
    margin: 0 auto;
    float: none !important;
    text-align: center;
  }
  
/* サムネイルの float を無効に */
.youtube-gallery .rss_item .rss_image {
    float: none !important;
    margin: 0 0 12px 0 !important;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.youtube-gallery .rss_item .rss_image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* モダンな方法で16:9比率に */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.youtube-gallery .rss_item .rss_image span.fetched {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center !important;
    background-size: cover !important;
    border-radius: 10px;
}
  
.rss_item {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px 10px 40px !important;
    transition: all 0.3s ease;
}

.rss_item:hover {
    opacity: 0.8;
}

/* サムネイル画像エリア */
.youtube-gallery .rss_item .rss_image,
.youtube-gallery .rss_item .rss_image a,
.youtube-gallery .rss_item .rss_image amp-img {
  width: 100% !important;
  height: auto !important;

}
  
/* タイトルを中央に */
.youtube-gallery .rss_item .title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-top: 8px;
    display: block;
    text-align: center;
    line-height: 1.4;
}
.youtube-gallery .rss_item .title a {
    color: inherit;
    text-decoration: none;
}

.youtube-section__button {
    display: flex;
    justify-content: center;
    margin: 2em;
}

/* 768px以上の画面サイズで横並びにする */
@media (min-width: 769px) {
    .about-us__inner {
        flex-direction: row; /* 横並びにする */
        justify-content: space-between; /* 要素間にスペースを均等に入れる */
        align-items: flex-start; /* 上端に揃える */
    }

    .about-us__left {
        width: 48%; /* 左側の幅 */
        margin-bottom: 0; /* スマートフォン表示時の下マージンをリセット */
    }

    .about-us__right {
        width: 48%; /* 右側の幅 */
        justify-content: flex-end; /* 右寄せ */
    }

    .keyword-group {
         justify-content: flex-end; /* 右寄せ */
    }


    
    .service__items {
        display: flex;
        gap: 30px;
        width: 100%;
    }

    .recruit__inner {
        flex-direction: row; /* 横並びにする */
        justify-content: space-between; /* 要素間にスペースを均等に入れる */
        align-items: center; /* 中央に揃える */
    }

    .recruit__left {
        width: 48%; /* 左側の幅 */
        margin-bottom: 0; /* スマートフォン表示時の下マージンをリセット */
        text-align: left; /* 左寄せ */
    }

    .recruit__right {
        width: 48%; /* 右側の幅 */
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 0.8rem;
    }
}

@media (max-width: 1280px) {
    .youtube-gallery .feedzy-rss ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .youtube-gallery .feedzy-rss ul li.rss_item {
        width: 450px;
    }
      
     /* 親要素のリストアイテムを block に */
    .youtube-gallery .rss_item {
        width: 450px;
    }
}

@media (max-width: 1100px) {
    html {
        font-size: 0.75rem;
    }

    .section-title {
        margin-bottom: 0.5em;
    }
}


@media (max-width: 768px) {
    html {
        font-size: 0.65rem;
    }

    .hero {
        padding: 200px 0 100px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .about-us__inner {
        flex-direction: column;
    }

    .about-us__left {
        margin-bottom: 40px;
    }

    .about-us__right img {
        width: 100%;
    }

    .keyword-group {
        justify-content: center;
    }

    .service__content {
        flex-direction: column;
    }

    .service__left {
        max-width: 100%;
    }

    .service__text-box {
        max-width: 100%;
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 4em;
        font-size: 1.2em;
        writing-mode: horizontal-tb;
    }

    .vertical-en::before {
        transform: rotate(0deg);
    }

    .section-title-vertical {
        font-size: 2.2em;
    }

    .service__text-vertical {
        font-size: 1.2em;
    }

    .service-titleArea {
        flex-direction: column;
        align-items: center;
    }

    .service-titleArea img {
        max-width: 100%;
        margin-right: 0px;
    }


    .service-titleArea-right {
        margin-left: 0px;
    }

    .view-all-btn {
        margin: 30px auto;
    }

    .service__right {
        max-width: 100%;
    }

    .service__item img  {
        width: 80%;
    }

    .service__item {
        padding:20px 0px;
        width: 100%;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .service__item-titleArea {
        display: flex;
        justify-content: center;
    }

    .service__item-category-en {
        text-align: center;
    }

    .news__list {
        flex-direction: column;
    }

    .recruit-inquiry__inner {
        width: 100%;
        margin: 0 auto;
    
        display: block;
        align-items: stretch; /* 高さを揃える */
        flex-wrap: wrap; /* スマホ対応：折り返し */
    }

    .recruit__inner {
        flex-direction: column;
        text-align: center;
    }

    .recruit__left {
        margin-bottom: 40px;
        text-align: center;
    }

    .youtube-gallery .feedzy-rss ul li.rss_item {
        width: 300px;
    }
      
     /* 親要素のリストアイテムを block に */
    .youtube-gallery .rss_item {
        width: 300px;
    }

}

@media (max-width: 485px) {
    .hero__title {
        font-size: 2rem;
    }

    .br-pc {
        display: inline;
      }

    .button {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .keyword-item {
        width: 150%;
        max-width: 150px;
        margin: 15px auto;
    }

    .service__item-title{
        font-size: 1.2rem;
    }

    .about-us-title-btn {
        flex-direction: column;
        align-items: center;
        padding: 0 0 30px 0;
    }

    .youtube-gallery .feedzy-rss ul li.rss_item {
        width: 280px;
    }
      
     /* 親要素のリストアイテムを block に */
    .youtube-gallery .rss_item {
        width: 280px;
    }
}