@charset "UTF-8";

/*--------------------------------------------------------------
Foundation
--------------------------------------------------------------*/
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, i, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, figure, figcaption,
button, input, textarea, select, i {
border: 0;
font-style: inherit;
font-weight: inherit;
font-size: inherit;
line-height: inherit;
font-family: inherit;
color: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
line-height: 1.5;
}

html {
font-size: 62.5%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

body {
font-size: 20px;
font-size: 2rem;
line-height: 1.7;
background: #fff;
color: #000;
overflow-x: hidden;
overflow-y: scroll;
font-family: "Noto Sans JP", sans-serif;
font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Zen Old Mincho", serif;
}


ul, li {
list-style: none;
}

table {
border-collapse: collapse;
width: 100%;
}

a:hover,
a:active,
a:focus {
outline: 0;
}

a {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: all .2s ease-in;
transition: all .2s ease-in;
-webkit-transition-property: opacity, color, background, box-shadow, -webkit-transform;
transition-property: opacity, color, background, box-shadow, -webkit-transform;
transition-property: opacity, color, background, transform, box-shadow;
transition-property: opacity, color, background, transform, box-shadow, -webkit-transform;
opacity: 1;
line-height: inherit;
}

img {
vertical-align: middle;
}

img,
input[type="image"] {
border: 0;
height: auto;
max-width: 100%;
}

input[type="submit"], input[type="button"], button {
cursor: pointer;
-webkit-appearance: none;
appearance: none;
border-radius: 0;
font-size: inherit;
letter-spacing: inherit;
background: none;
}

strong {
font-weight: bold;
}

a {
text-decoration: none;
}



p {
line-height: inherit;
}

@media screen and (max-width: 767px) {
    p{
        font-size: 1.6rem;
    }
    dd{
        font-size: 1.6rem;
    }
}

.mo{
    font-family: "Montserrat", sans-serif;
}

.yu{
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Zen Old Mincho", serif;
}

.not{
    font-family: "Noto Sans JP", sans-serif;
}

.ma{
    font-family: "Marcellus", serif;
}

.u_switch_img {
  opacity: 1;
}

.u_inner {
  padding: 0 6rem;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .u_visible_sp {
    display: none;
  }

}

@media screen and (max-width: 767px) {
  .u_visible_pc {
    display: none;
  }
  .u_inner {
    padding: 0;
    margin: 0 2rem;
  }
}

/*======================================
  ヘッダー（基本スタイル）
======================================*/
.site-header {
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s; /* アニメーションを滑らかに */
}


/* トップページでは余白をなくす */
.home main, /* bodyに .home クラスが付く場合 */
.front-page main { /* bodyに .front-page クラスが付く場合 */
    padding-top: 0;
}


/*======================================
  トップページのヘッダー初期スタイル
======================================*/
.front-page-header {
    background-color: transparent; /* 背景を透明に */
    box-shadow: none; /* 影を消す */
}


/*======================================
  スクロール後に付与する固定用クラス
======================================*/
.site-header.is-fixed {
    position: fixed;
    background-color: #fff; /* 背景を白に */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* 影を付ける */
}

.header-inner {
    display: flex;
    justify-content: space-between; /* 両端に配置 */
    align-items: center;
    margin: 0 auto;
    padding: 15px 20px;
    height: 80px; /* ヘッダーの高さ */
    box-sizing: border-box;
}

.site-logo img {
    height: 50px; /* ロゴの高さを指定 */
    width: auto;
}



/*======================================
  PC用ナビゲーション
======================================*/
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 700;
    position: relative;
    transition: color 0.3s;
    font-family: "Marcellus", serif;
}

.nav-menu a:hover {
    color: #c96f42;
}

/*======================================
  ハンバーガーボタン
======================================*/
.hamburger-button {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010; /* ナビゲーションメニューより手前に */
}

.hamburger-button-line {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: all 0.3s;
}

.hamburger-button-line::before,
.hamburger-button-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: all 0.3s;
    left: 0;
}

.hamburger-button-line::before {
    top: -10px;
}

.hamburger-button-line::after {
    top: 10px;
}

/* ハンバーガーメニューが開いた時のボタン（×印）のスタイル */
.is-active .hamburger-button-line {
    background-color: transparent; /* 真ん中の線を消す */
}
.is-active .hamburger-button-line::before {
    top: 0;
    transform: rotate(45deg);
}
.is-active .hamburger-button-line::after {
    top: 0;
    transform: rotate(-45deg);
}

/*======================================
  レスポンシブ対応（768px以下）
======================================*/
@media (max-width: 768px) {
    .header-nav {
        /* 普段は画面の外に隠しておく */
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        transition: left 0.3s;
        
        /* メニューを中央に配置 */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* is-activeクラスがついたら表示 */
    .header-nav.is-active {
        left: 0;
        z-index: 3;
    }

    .nav-menu {
        flex-direction: column; /* 縦並びにする */
        text-align: center;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .hamburger-button {
        display: block; /* スマホで表示 */
    }
}

.mv_scroll{
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.mv_scroll.is-visible{
    opacity: 1;
}

.mv_scroll p{
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


@media (max-width: 768px) {
    .mv_scroll-sp{
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.mv_scroll-sp.is-visible{
    opacity: 1;
}

.mv_scroll-sp p{
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


}

.scroll-bar{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    margin: 0 auto;
    background-color: #fff;
    animation:scrollDown 2s ease-in-out infinite;
    top: 20px;
}

@keyframes scrollDown{
    0%{
        transform: translate(-50%, 0);
        opacity: 0.7;
    }
    50%{
        transform: translate(-50%, 10px);
        opacity: 0.2;
    }
    100%{
        transform: translate(-50%, 0);
        opacity: 0.7;
    }
}


/*======================================
  フッター
======================================*/
.site-footer {
    background-color: #262626;
    color: #f7f7f7;
    padding: 60px 20px 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 40px;
    
    /* PCでは横並び */
    display: flex;
    justify-content: space-between;
}

/* --- 会社情報 --- */
.footer-info {
    width: 45%;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.address {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
@media (max-width: 768px) {
.company-name {
    font-size: 1.6rem;
}
.address {
    font-size: 1.2rem;
    line-height: 1.5;
}
}

/* --- フッターナビゲーション --- */
.footer-nav {
    width: 45%;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
}


.footer-menu li {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.footer-menu a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 0.7;
}
@media (max-width: 768px) {
    .footer-menu li {
       font-size: 1.4rem;
    }
}

/* --- 著作権 --- */
.copyright {
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    border-top: .5px solid #aaa;
}

.copyright small {
    font-size: 12px;
    color: #aaa;
}
@media (max-width: 768px) {

.copyright small {
    font-size: 1rem;
}
}
/*======================================
  フッター レスポンシブ対応 (768px以下)
======================================*/
@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }
    
    .footer-inner {
        flex-direction: column; 
        padding: 0 2rem 3rem;
    }

    .footer-info,
    .footer-nav {
        width: 100%; /* 横幅を100%に */
    }

    .footer-info {
        margin-bottom: 40px;
    }
}

/*共通*/
.titt{
    text-align: center;
    padding: 4em 0 2em;
}

.titt h2{
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1.2;
}

.titt p{
    font-size: 1.2rem;
    margin: 0;
}

@media (max-width: 768px) {
    .titt{
    padding-bottom: 3rem;
    padding-top: 0;
}
    .titt h2{
        font-size: 2.8rem;
        padding-top: 2rem;
    }
    .titt p{
    font-size: .9rem;
    }
}

/*======================================
  メインビジュアル
======================================*/
.main-visual {
    position: relative;
    height: 100dvh; /* ビューポートの高さ100% */
    width: 100%;
    overflow: hidden; /* はみ出した部分を隠す */
}


.main-visual-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* 画像をコンテナいっぱいに広げる */
    background-position: center;
    
    /* フェードエフェクト */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* 最初の画像と表示中の画像に適用 */
.slide-item:first-child,
.slide-item.is-active {
    opacity: 1;
}

/* 画像の上に半透明の黒いフィルターをかけて文字を読みやすくする */
.slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

/* ビジュアル上のテキスト */
.main-visual-content {
    position: relative; /* フィルターより手前に表示 */
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-visual-copy {
    font-size: 3.2rem;
    margin: 0 0 5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    font-weight: 700;
}
.main-visual-copy.is-visible{
    opacity: 1;
    transform: translateY(0);
}


.main-visual-title {
    font-size: 20px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
       font-weight: 700;
}

.main-visual-title.is-visible{
    opacity: 1;
    transform: translateY(0);
}


/* レスポンシブ */
@media (max-width: 768px) {
    .main-visual-copy-sp {
        font-size: 24px;
        margin: 0 0 25px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    }
    .main-visual-copy-sp.is-visible{
    opacity: 1;
    transform: translateY(0);
}

    .main-visual-title-sp {
        font-size: 16px;
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    }
    .main-visual-title-sp.is-visible{
    opacity: 1;
    transform: translateY(0);
}
}

.services{
    margin-top: 12rem;
}
@media (max-width: 768px) {
    .services{
    margin-top: 8rem;
}
}

.top{
    text-align: center;
    margin: auto;
    padding: 8em 0 10em 0;
    background-color: #f1f1f1;
}

.top h1{
font-size: 4.2rem;
padding-bottom: 12rem;
} 

@media (max-width: 768px) {
    .top{
         padding: 4em 0 5em 0;
    }
    .top h1{
        font-size: 2.6rem;
        padding-bottom: 2rem;
    }
}

.top_text{
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    align-items: center;
}

.top_text>*{
    width: 50%;
}

@media (max-width: 768px) {
    .top_text>*{
    width: 100%;
}
}

.top_text .img{
    text-align: center;
}

.top_text img{
    width: 50%;
    height: 100%;
}

.top_text p{
    line-height: 1.7;
    text-align: left;
    font-weight: 500;
    font-size: 1.6rem;
}

.se-top{
    text-align: center;
    padding-bottom: 4em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .se-top{
        text-align: left;
        padding-bottom: 2rem;
    }

    .top_text{
        padding: 2rem 0;
        display: block;
    }
    .top_text h1{
        font-size: 2.4rem;
}
.top_text p{
    font-size: 1.6rem;
    padding-bottom: 8rem;
    text-align: center;
}
 .top_text .co_img{
         width: 50%;
         display: block;
         margin: auto;
    }
    .top_text .co_img img{
        width: 100%;
    }
}

.se-body{
    background-color: #f1f1f1;
}

.se-body li{
    display: flex;
    align-items: center;
}

.se-body li>*{
    width: 50%;
}

.se-body li dl {
    padding: 2rem 4rem 2rem 10rem;
    box-sizing: border-box; /* paddingを含めて幅50%にする */
}

@media screen and (max-width: 1280px) {
    .se-body li dl {
    padding: 2rem 2rem 4rem;
    }
}

@media (max-width: 768px) {
    .se-body li{
    display: block;
}
.se-body li>*{
    width: 100%;
}
}

.se-body li dt{
    font-size: 2.8rem;
    padding-bottom:2rem ;
    font-weight: 600;
}

.se-body li dd{
    font-size: 1.6rem;
    font-weight: 500;
}


@media (max-width: 768px) {
    .se-body li dt{
    font-size: 2.2rem;
    padding-bottom:1rem ;
}
.se-body li dd{
    text-align: justify;
	text-justify: inter-ideograph;
    font-size: 1.4rem;
    line-height: 1.4;
}
}

.top_works{
    background-color: #FAFAFA;
    padding: 10rem 0;
}

@media (max-width: 768px) {
.top_works{
    padding: 0 0 2rem 0;
    margin-top: 8rem;
    background-color: #fff;
}
}

.works_li{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .works_li{
    margin-top: 0;
    }
}

.works_li li{
    width: 32%;
    padding-bottom: 8rem;
}

.works_li::after {
  content: "";
  width: 32%; /* li要素の幅と同じ */
  display: block;
}


@media (max-width: 768px) {
    .works_li{
display: block;
}

.works_li li{
    width: 100%;
    padding-bottom: 4rem;
}
}

.works_li .cat{
    color: #fff;
    background-color: #223b53;
    padding: .7rem 1.5rem;
    font-size: 1rem;
    margin-top: 1rem;
    display: inline-block;
    font-weight: 600;
}
.works_li li:hover .cat {
    background-color: #c96f42; 
    transition: .3s;
}


@media (max-width: 768px) {
    .works_li .cat{
    font-size: 1rem;
    padding: .5rem 1rem;
    }
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin:  4rem auto 8rem;
  width: 780px;
}


.post-navigation a {
  text-decoration: none;
  color: #333;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: 0.3s;
}

.post-navigation a:hover {
  background-color: #333;
  color: #fff;
}

@media (max-width: 768px) {
    .post-navigation {
        width: 100%;
        padding: 4rem 2rem;
    }
}

.a_btn{
    text-align: center;
    margin-bottom: 10rem;
}

.a_btn a{
    display: inline-block;
    background-color: #005177;
    color: #fff;
    font-weight: 500;
    width: 34rem;
    padding: 2rem 0;
}

.a_btn a:hover{
    background-color: #c96f42;
    opacity: 1;
}

@media (max-width: 768px) {
    .a_btn a{
        font-size: inherit;
    }
}

.about{
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .about{
    padding: 0;
}
}

/* 会社概要テーブルのスタイル */
.company-profile-table {
  width: 80%;
  border-collapse: collapse; /* ボーダーを重ねる */
  margin: 0 auto; /* 上下の余白 */
  font-size: 1.6rem;
}

.company-profile-table th,
.company-profile-table td {
  border: 1px solid #ddd; /* 罫線 */
  padding: 15px;
  text-align: left;
  vertical-align: middle;
}

.company-profile-table th {
  background-color: #f1f1f1; /* 見出しセルの背景色 */
  font-weight: bold;
  width: 30%; /* 見出しセルの幅 */
}

/* スマホ用の調整 */
@media (max-width: 600px) {
  .company-profile-table {
    width: 90%;
    font-size: 1.4rem;
  }
  .company-profile-table th,
  .company-profile-table td {
    display: block; /* 縦積みにする */
    width: 100%;
    box-sizing: border-box;
  }
  .company-profile-table tr {
    border-bottom: 2px solid #ccc; /* 各項目の区切り線 */
  }
  .company-profile-table th {
    border: none;
    border-bottom: 1px solid #ddd;
  }
  .company-profile-table td {
    border: none;
  }
}
/* ===================================
   共通セクションスタイル
=================================== */
.content-section {
  padding: 15rem 0 0 0
}

@media (max-width: 600px) {
    .content-section {
  padding: 10rem 0 0 0
}
}

.container {
  max-width: 960px; /* コンテンツの最大幅を統一 */
  margin: 0 auto;
  padding: 0 20px; /* スマホ表示時の左右の余白 */
}

.section-title {
  font-size: 28px;
  text-align: center;
  margin: 0 0 40px 0; /* タイトルの下の余白 */
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
    .section-title {
          font-size: 24px;
          margin: 0;
          padding-bottom: 2rem;
    }
}

/* ===================================
   企業理念セクション
=================================== */
.philosophy-content p {
    font-size: 18px; /* 少し小さくして読みやすく */
    line-height: 2;   /* 行間を広げてゆったりと */
    text-align: center;
    /* font-family: 400; は font-weight: 400; の間違いかと思われます */
    font-weight: 400;
}

/* ===================================
   アクセスセクション
=================================== */
.access-info {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 2em;
  font-size: 1.6rem;
}
@media (max-width: 768px) {
.access-info{
   margin-bottom: 0;  
}

.access-info p{
 font-size: 1.2rem;
 line-height: 1.5;
 padding-bottom: 2rem;
}
}
.google-map {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* アスペクト比 16:9 */
  height: 0;
  overflow: hidden;
}

.google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
    .google-map {
     margin: 0 calc(50% - 50vw);
     width: 100vw;
     height: 40rem;
    }
}


/* ===================================
   リクルートページ
=================================== */

/* リクルートセクション全体 */
.recruit-section {
    max-width: 960px; /* 必要に応じて調整 */
    margin: 0 auto 40px; /* 中央寄せと上下の余白 */
    padding: 0 20px 20px 20px;
    background-color: #ffffff;
    border-radius: 8px;
}

/* ページタイトル */
.recruit-title {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    font-size: 2.2em; /* フォントサイズ調整 */
}

/* 導入文 */
.recruit-intro {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555555;
    text-align: left;
    margin-bottom: 30px;
}

/* リクルートテーブル */
.recruit-table {
    width: 100%;
    border-collapse: collapse; /* セルの境界線を結合 */
    margin-top: 20px;
    font-size: 1.6rem;
}

/* テーブルヘッダー（左側の項目名） */
.recruit-table th {
    background-color: #f5f5f5;
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #dddddd;
    font-weight: bold;
    width: 30%; /* 左列の幅を調整 */
    color: #333333;
    font-weight: 700;
}

/* テーブルデータ（右側の内容） */
.recruit-table td {
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #dddddd;
    color: #444444;
    line-height: 1.6;
}

/* レスポンシブ対応の基本的な例 */
@media (max-width: 768px) {
    .recruit-table th,
    .recruit-table td {
        display: block; /* 小画面でブロック要素に */
        width: 100%; /* 幅を100%に */
        box-sizing: border-box; /* パディングを含める */
    }
    .recruit-table th {
        background-color: #e9e9e9; /* ヘッダーの背景色を少し変える */
        border-bottom: none; /* ヘッダーの下線をなくす */
        font-size: 1.4rem;

    }
    .recruit-table td {
        border-top: none; /* データの上線をなくす */
        margin-bottom: 10px; /* 各データの下に余白 */
        font-size: 1.2rem;
    }
}

/* ボタンのコンテナ */
.recruit-button-container {
    text-align: center; /* ボタンを中央寄せにする */
    margin-top: 10rem; /* 上部に余白 */
    margin-bottom: 20px; /* 下部に余白 */
}

/* エントリーボタンのスタイル */
.recruit-button {
    display: inline-block; /* インラインブロック要素にすることで、paddingなどが効くようにする */
    background-color: #223b53;
    color: #ffffff; /* 文字色を白に */
    padding: 15px 30px; /* 上下左右のパディング */
    font-size: 1.6rem; /* フォントサイズを少し大きく */
    font-weight: 600;
    border-radius: 50px;
}

.recruit-button:hover {
    background-color: #c96f42;;/* ホバー時の色を濃くする */
     opacity: 1;
}

/* ===================================
   問い合わせページ
=================================== */

.contact-section{
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 20px 20px 20px;
    background-color: #ffffff;
}

.tel-sec{
    border: 1px solid #ccc;
}

.tel-sec dt{
    background-color: #005177;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 2rem;
    padding: 2rem 0;
}

.tel-sec dd{
    padding-top: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    line-height: 2;
}

.tel-sec .note {
    font-size: 1.2rem; 
    color: #666;
    padding-top: 0;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .tel-sec dt{
        font-size: 1.8rem;
    }
    .tel-sec dd{
         font-size: 1.6rem;
    }
    .tel-sec .note {
    font-size: 1rem; 
    }
}

.form-sec{
    margin-top: 8rem;
}

.form-sec h3{
  background-color: #005177;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 2rem;
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-sec h3{
         font-size: 1.8rem;
    }
}

.form-sec p{
    font-size: 1.2rem;
    text-align: center;
}
@media (max-width: 768px) {
    .form-sec p{
    text-align: left;
    }
}

.form p{
    margin-top: 4rem;
    text-align: left;
    font-weight: 700;
}

.form p span{
    font-size: 1rem;
    color: #ee0515;
}

/* フォームフィールドの基本的なスタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%; /* 親要素の幅いっぱいに */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
}

.form-btn{
    text-align: center !important;
}

/* 送信ボタンのスタイル */
.wpcf7 input[type="submit"] {
    background-color: #005177; /* WordPressのデフォルトカラーに似た青 */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    width: 24rem;
    display: block;
    margin: 20px auto 0;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #333; /* ホバー時の色 */
}

.wpcf7-form-control-wrap{
    color: #000 !important ;
    font-size: 1.4rem;
}

/* .wpcf7 label span.wpcf7-form-control-wrap::after {
    content: "（必須）";
    color: red;
    font-size: 0.9em;
    margin-left: 5px;
} */

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea{
    color: #000;
    font-size: 1.4rem;
}


/* 個人情報取り扱いに関する注意書きのコンテナ */
.wpcf7 .privacy-notice {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
}

/* 個人情報取り扱いセクションのタイトル */
.wpcf7 .privacy-notice h4 {
    font-size: 1.4rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

/* 注意書き（※）のスタイル */
.wpcf7 .privacy-notice .note {
    font-size: 1rem; /* より小さく */
    color: #777;
    display: block; /* 新しい行に表示 */
    margin-top: 10px;
}


/* ===================================
   works投稿ページ
=================================== */

.works_single{
    max-width: 780px;
    margin: auto;
}

.works_inner{
    padding-bottom: 10rem;
}

.works_inner .thumbnail{
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.works_inner h2{
    font-size: 3rem;
    padding: 2rem 0 0;
}

.wp-block-image {
    text-align: center;
    margin: 4rem 0;
}

.ca_li{
    display: flex;
    margin-bottom: 4rem;
    font-size: 1.4rem;
}

.ca_li li{
    padding: 0 2rem;
}

.works_cat ul{
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
    margin-bottom: 15rem;
}

.works_cat li {
    width: 30%;
}

.works_cat li:last-child {
  text-align: left;
}

.works_cat li .cat {
    color: #fff;
    background-color: #223b53;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    margin-top: 2rem;
    display: inline-block;
    font-weight: 600;
}

.works_cat li .thumbnail{
    aspect-ratio: 16 / 9;
     margin: 0 auto;
    overflow: hidden;
}

.works_cat li .thumbnail img{
     transition: 1s all;
}

.works_cat li .thumbnail img:hover{
     transform:scale(1.2,1.2);
     transition: 1s all;
}

.thumb{
    width: 100%;
     aspect-ratio: 1.5 / 1;
    margin: 0 auto;
    overflow: hidden;
}

.thumb img{
    transition: 1s all;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.works_li li:hover .thumb img {
    transform: scale(1.2);
    transition: 1s all;
    opacity: 1;
}

.works_con{
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

.works_con>*{
    width: 49%;
}

@media (max-width: 768px) {
    .works_con{
    display: block;
    }
    .works_con>*{
    width: 100%;
}
.works_single .works_body p{
    font-size: 1.2rem;
}
}

.works_con li{
    padding-bottom: 2rem;
}

.wp-block-image{
    margin: 2rem 0;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 4em;
  font-size: 1.2rem;
}

.pagination a {
  padding: 8px 12px;
  background: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.pagination .current {
      padding: 8px 12px;
  font-weight: bold;
  color: #333;
}

.category-nav {
    width: 780px;
    margin: auto;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .category-nav {
        width: 100%;
    }
}

.category-nav ul{
    display: flex;
    justify-content: space-between;
}
.category-nav li{
    width: 16.66%;
    text-align: center;
}

.category-nav li a{
      padding: 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

.category-nav li a:hover{
    color: #c96f42;
}

.works_li .tit{
    padding-top: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .works_li .tit{
        font-size: 1.6rem;
        padding-top: 1rem;
    }
    .category-nav li{
    width: 33.33%;
}
}

.current-cat {
    color: #fff;
    background-color: #223b53;
    padding: 1rem 2rem;
    display: inline-block; /* 必要に応じて */
    border-radius: 4px; /* 任意 */
}

.category-nav a.current-cat {
  color: #fff !important;
  background-color: #005177;
  padding: 1rem 0;
  width: 100%;
  text-align: center;
}

.category-nav a.current-cat:hover{
     color: #fff !important;
}


@media (max-width: 768px) {
.category-nav ul{
    flex-wrap: wrap;
    justify-content:flex-start;
}



.category-nav li a{
      padding: .5rem 1rem;
    font-size: 1.2rem;
}
.category-nav a.current-cat {
  color: #fff;
  background-color: #223b53;
  padding: .5rem 1rem;
}
}

.works_body{
    margin: 0 ;
}

.works_body .tit{
    padding: 2rem 0 1rem 0;
    font-size: 2rem;
    font-weight: 600;
}

.works_body p{
    font-size: 1.6rem;
}


@media (max-width: 768px) {
    .works_body{
    margin-top: 0;
    margin-bottom: 0;
}
.works_body .tit{
    font-size: 1.6rem;
    padding-top: 1rem;
}
.works_body p{
    font-size: 1.2rem;
}
}


.re_con{
    gap: 2rem;
    margin-top: 4rem;
}


.re_con p{
    font-size: 2rem;
}

.re_con ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.re_con ul li{
    width: 49%;
    margin-bottom: 2rem;
}

.re_con .after{
    margin-top: 4rem;
}

@media (max-width: 768px) {
.re_con ul{
    display: block;
}  

.re_con ul li{
    width: 100%;
}  
}