@charset "UTF-8";


/* =================================================================
# セクション見出し
# ================================================================= */

.home-title{
    font-size:1rem;
}

.home-title span{
    font-size:3rem;
    font-family:"Roboto", sans-serif;
    display: block;
    margin-bottom:-10px;
}

.home-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: black;
    margin-top: 10px;
}

.home-title-c{
    font-size:1rem;
    text-align: center;
}

.home-title-c span{
    font-size:3rem;
    font-family:"Roboto", sans-serif;
    display: block;
    margin-bottom:-10px;
}

.home-title-c::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: black;
    margin: 10px auto 0 auto;
}

/* =================================================================
# アバウト
# ================================================================= */

.about{
    background-color:#eee;
}

.about-wrap{
    display: flex;
    justify-content: space-between;
}

.about-left {
    flex: 0 0 calc(60% - 20px); 
    margin-right: 40px;
}

.about-right {
    flex: 0 0 40%;
    max-width: calc(40% - 20px);
}

.about-left h3{
    margin:1.5rem 0;
    font-size:1.5rem;
}

.about-right img{
    max-width: 100%;
}

/* =================================================================
# サービス
# ================================================================= */

.service-list{
    margin-top:3rem;
}

.service-list span{
    font-size:14px;
    font-weight: bold;
    color:var(--accent-color);
    margin-top:12px;
    display: block;
}

.service-list p{
    margin-top:8px;
}

.service .service-list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 0;
    list-style: none;
}

.service .service-list a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service .service-list figure {
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    position: relative;
    overflow: hidden;
    margin: 0;
}

.service .service-list figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service .service-list a:hover figure img {
    transform: scale(1.1);
}

.service .service-list span{
    margin-top: 8px; 
}
.service .service-list h3,
.service .service-list p {
    margin: 4px 0;
}

/* =================================================================
# ニュース
# ================================================================= */

.news{
    background:#eee;
}

.news-wrap{
    display: flex;
    justify-content: space-between;
}

.news-left {
    flex: 0 0 30%; 
}

.news-right {
    flex: 0 0 70%;
}

.news-list{
    list-style-type: none;
}

.news-list li{
    border-bottom:1px solid #ccc;
}

.news-item {
    display: flex;
    align-items: center;
}

.news-item time,
.news-item .tag,
.news-item p {
    margin-right: 10px;
}

.news-item p {
    flex: 1;
}

.news-list a,a.news-list-link{
    text-decoration: none;
    color:var(--main-color);
    transition: 0.5s ease-out;
}

.news-list a:hover,a:hover.news-list-link{
    opacity: 0.5;
}

.news-list-link{
    display: block;
    text-align:right;
    margin:16px 0;
}

.news-list-link .fa-solid {
    margin-left: 4px;
}

/* =================================================================
# コラム
# ================================================================= */

.column-list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.column-list li {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    display: flex;
}

.column-list li a {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: var(--main-color);
    transition: 0.5s ease-out;
    padding: 20px;
}

.column-list figure {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.column-list figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.column-list a:hover figure img {
    transform: scale(1.1);
}

.column-title {
    margin-top: 12px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 28px;
}

.column-meta {
    display: flex;
    justify-content: start;
    align-items: center;
}

.column-meta time{
    margin-right:8px;
}


/* =================================================================
# カンパニー
# ================================================================= */

.company{
    background:#eee;
}

.company-wrap{
    display: flex;
    justify-content: space-between;
}

.company-left {
    flex: 0 0 30%; 
}

.company-right {
    flex: 0 0 70%;
}

.company .company-right table {
    width: 100%;
    border-collapse: collapse;
}

.company .company-right table th,
.company .company-right table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.company .company-right table th {
    font-weight: 500;
    width:15%;
}

/* メンバー */

.company-member-title{
    margin: 30px 0 20px 0;
}

.company-member-position{
    color:var(--accent-color);
    display: block;
    margin:12px 0 4px 0;
    font-size:14px;
}

.company-member-list p{
    margin:8px 0;
}

.company-member-list h4{
    font-size:1.25rem;
} 

.company-member-list h4 span{
    color:var(--sub-color);
    font-size:12px;
    margin-left:8px;
}

.company-member-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-member-list li {
    box-sizing: border-box;
}

.company-member-list figure {
    width: 100%;
    padding-top: 120%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.company-member-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* =================================================================
# フッター
# ================================================================= */

/* フッターCTA */

.footer-cta {
    width: 100%;
    background-color: var(--accent-color);
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
    flex-direction: column;
}

.footer-cta a span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.footer-cta a:hover {
    background-color:var(--main-color);
}

/* フッターナビ */

.footer-content{
    background: #eee;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding:5rem 0 2rem 0;
}

.footer-left{
    width: 40%;
}
  
.footer-right {
    width: 60%;
    padding-left:16px;
}
  
.footer-right ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
  
.footer-right ul li {
    margin-right: 16px;
    margin-bottom: 12px; 
}
  
.footer-right ul li:last-child {
    margin-right: 0;
}
  
.footer-right ul li a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    font-weight: bold;
}

.footer-right ul li a:hover {
    opacity: 0.7;
}

.footer-name{
    color:var(--main-color);
    font-size:1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.copyright{
    text-align: center;
    font-size:12px;
    padding-bottom:12px;
    background: #eee;
}

/* =================================================================
# 下層ページ
# ================================================================= */

.post{
    background:#eee;
    padding-bottom:80px;
}

.post-content{
    background:#fff;
    padding:40px 72px 72px 72px;
    border-radius: 12px;
}

/* ポストMETA */

.post-meta{
    margin-bottom:12px;
}


/* =================================================================
# 下層ページ　装飾タグ
# ================================================================= */

/* hタグ */
.page-title {
    position: relative;
    display: inline-block;
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.page-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color:var(--main-color);
}

.content-wrap h2{
    background:var(--sub-color);
    padding:16px;
    border-radius: 4px;
    color:#fff;
    margin:48px 0 28px 0;
}

.content-wrap h3 {
    border-left:4px solid var(--sub-color);
    background:#f9f9f9;
    padding:12px;
    margin:28px 0;
}

.content-wrap h4 {
    margin:20px 0;
}

 /* リスト */

 .content-wrap ul{
    padding-left:24px;
    margin:20px 0;
    line-height: 2;
}

.content-wrap ol{
    padding-left:24px;
    margin:20px 0;
    line-height: 28px;
}

 /* テーブル */

.content-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-wrap table th,.content-wrap table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

.content-wrap table th {
    background-color: #f4f4f4;
    text-align: center;
}

/* 引用 */

blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #ccc;
    margin: 20px 0;
    padding: 24px 20px;
    font-style: italic;
    color: #555;
    position: relative;
}

blockquote::before {
    content: "“";
    font-size: 4em;
    color: #ccc;
    position: absolute;
    left: 10px;
    top: -10px;
}

blockquote::after {
    content: "”";
    font-size: 4em;
    color: #ccc;
    position: absolute;
    right: 10px;
    bottom: -30px;
}

/* =================================================================
# 関連コラム
# ================================================================= */

.relation{
    background:#fff;
    padding:40px;
    border-radius: 12px;
    margin-top:40px;
}

.relation-title{
    font-size: 1.5rem;
    border-bottom:3px solid var(--main-color);
    padding-bottom:0.75rem;
    margin-bottom:-12px;
}

/* =================================================================
# お知らせ一覧と詳細
# ================================================================= */

/* お知らせ一覧のカテゴリリスト */

.news-back-link{
    margin-top:40px;
}

.news-categories {
    margin: 30px 0 20px 0;
}

.news-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.news-categories li {
    margin: 0 10px 10px 0;
}

.news-categories a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 0.875rem;
    background-color: #f2f2f2;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.news-categories a:hover {
    background-color: #333;
    color: #fff;
}


/* =================================================================
# ウィジェット
# ================================================================= */

aside{
    margin-top: -40px;
}

.widget{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
}

.widget ul{
    list-style-type: none;
    line-height:1.8;
}

.widget ul a{
    text-decoration: none;
    color:var(--main-color);
    transition: 0.3s ease-out;
    border-bottom:1px solid #eee;
    padding:12px;
    display: block;
}

.widget ul a:hover{
    background: #eee;
}

aside .wp-block-heading{
    font-size: 1.5rem;
    border-bottom:3px solid var(--main-color);
    padding-bottom:0.75rem;
    margin-bottom:20px;
}

.footer-widget .wp-block-heading{
    font-size:1.25rem;
}

.footer-widget ul{
    padding-left:24px;
    line-height: 1.8;
}

.footer-widget{
    margin-top:20px;
}

.widget pre,.footer-widget pre{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* =================================================================
# タブレット（1024px）
# ================================================================= */

@media (max-width: 1024px) {

    .tab-noflex{
        display:block;
    }

    .service .service-list ul{
        grid-template-columns: repeat(2, 1fr);
    }

    .column-list{
        grid-template-columns: repeat(2, 1fr);
    }

    .news-right{
        margin-top:3rem;
    }

    .company-right{
        margin-top:3rem;
    }

    .company-member-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }

    .footer-left{
        width: 100%;
    }

    .footer-right{
        width: 100%;
        padding-left: 0;
        margin-top:20px;
    }

    .footer-nav{
        text-align: center;
    }

    .post-content{
        padding: 40px;
    }

    .page-title{
        font-size:1.75rem;
    }

    .page-title::after {
        width: 60px;
    }
}

/* =================================================================
# スマホ（768px）
# ================================================================= */

@media (max-width: 768px) {

    .sp-noflex{
        display:block;
    }

    .content-wrap h2{
        font-size:1.25rem;
    }

    .home-title span,.home-title-c span{
        font-size: 2.5rem;
        margin-bottom:0;
    }

    .about-left{
        margin-right: 0;
    }

    .about-right{
        max-width:100%;
    }

    .service .service-list ul{
        grid-template-columns: repeat(1, 1fr);
    }

    .news-list li {
        padding: 16px 0;
    }

    .news-list li:first-child {
        padding: 0 0 16px 0; 
    }

    .news-item {
        display: block;
    }

    .news-meta {
        display: flex;
        flex-wrap: nowrap;
    }

    time{
        color:var(--sub-color);
    }

    .news-item p {
        margin-top: 12px;
        margin-bottom: 0;
    }

    .tag-btn-newslist{
        padding: 4px 8px;
    }

    .column-list{
        grid-template-columns: repeat(1, 1fr);
    }

    .company .company-right table th{
        width: 30%;
    }

    .company-member-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .company-member-list h4 span{
        margin-left: 0;
        margin-top:4px;
        display: block;
    }

    .post{
        background: #fff;
        margin-top: 4px;
    }

    .post-content {
        padding: 0;
    }

    .page-title{
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .section-pa {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .company .company-right table{
        margin-top: -10px;
    }

    .relation{
        padding:0;
    }

    .widget{
        padding:0;
    }

    aside .wp-block-heading{
        font-size:1.25rem;
    }
}

