@charset 'UTF-8';

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}
body {
	color: #555;
	font-family: sans-serif;
}

/*
COMMON
================================================ */
p,
td {
    line-height: 1.7;
}

/* Layout */
.wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
main {
    max-width: 1000px;
    width: 94%;
    margin: 6.25rem auto;
    padding: 3rem 2rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}
.text-center {
    text-align: center;
}

section {
    min-height: 100vh;
}

/* Button */
.btn {
    font-family: 'Sawarabi Mincho', sans-serif;
    display: inline-block;
    padding: 1.25rem 3.25rem;
    font-size: 1.375rem;
    text-align: center;
    width: 100%;
}
.btn-primary {
    color: #fff;
    background: #2d3374;
}
.btn-primary:hover {
    background: #3a7edf;
}
.btn-secondary {
    color: #555;
    background: #d0bea2;
}
.btn-secondary:hover {
    background: #d9cebe;
}

/* Heading */
.title {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
}
.title::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
    background: #d0bea2;
    margin: 2rem auto 2.5rem; /* 左右の余白を自動で調整 */
    text-align: center; /* テキストを中央揃えにする */
}
.title-center {
    text-align: center;
}
.title-center::after {
    margin: 2.5rem auto;
}

/* Table */
table {
    margin: 3.5rem 0;
    width: 100%;
}
th,
td {
    display: block;
}
th {
    font-weight: normal;
    background: #f8f6f2;
    vertical-align: middle;
    padding: 1rem;
}
td {
    padding: .75rem 1rem 1.75rem;
}

/*
HEADER
================================================ */

.page-header {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 4%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99; /* ヘッダーを最前面に表示 */
    background-color: rgba(208, 190, 162, 0.6);
    align-items: center;
    height: 50px;
    transition: top 0.3s ease-in-out;
}
.pc-menu {
    display: none;
}
.main-nav {
    display: flex;
}
.main-nav li {
    text-align: center;
    font-size: .7rem;
    color: #000;
    /* color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}
.company-logo {
    display: flex;
    justify-content: center;
}
.logo {
    height: 36px;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 1);
}
.company-logo h2 {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.main-nav a {
    display: block;
    padding: .5rem;
    width: 4rem;
}
.main-nav a::before {
    display: block;
    margin-bottom: .25rem;
/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    color: #555;
    font-size: 1.25rem;
}

/*　ハンバーガーメニュー */
.mobile-menu-toggle {
    display: block;
    cursor: pointer;
}
.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}
.menu {
    position: fixed;
    top: 50px;
    left: -100%; /* 画面外に隠す */
    width: 80%; /* メニューの幅調整 */
    height: 100vh;
    background-color: rgba(255,255,255,.5);
    padding: 20px;
    transition: left 0.3s ease; /* アニメーション設定 */
    z-index: 100;
}
.menu.visible {
    left: 0;
}
.menu-main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.menu-main-nav li {
    margin-bottom: 40px;
    font-size: 2rem;
    font-family: 'Sawarabi Mincho', sans-serif;
}
.menu-main-nav a:hover, .menu-main-nav .current {
    border-bottom: 2px solid #2d3374;
    padding-bottom: .5rem;
    background: none;
    }

/*
HOME
================================================ */
.home-hero {
    background: 
    linear-gradient(to left, rgba(0,0,0, 0), rgba(0, 0, 0, 0.8)),
    url('../images/about.jpg') no-repeat;
    background-size: cover;
    background-position: bottom;
    padding: 28vh 1rem 3rem;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: serif;
}
.home-hero h2 {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1.8rem;
    margin-top: 15px;
    margin-bottom: 20px;
    display: inline-block;
}
.home-hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.home-company-logo {
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}
.home-logo {
    height: 90px;
    margin-right: 10px;
}

.home-catch {
    background: linear-gradient(to top, rgba(0,0,0, 0), rgba(0, 0, 0, 0.99)),
    url(../images/contact.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-text {
    width: 80vw;
    margin: 0 auto;
    text-align: center;
}
.home-catch h2 {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1.4rem;
    text-align: center;
}
.home-catch p {
    text-align: justify;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.association {
    position: relative;
}
.back-img {
    margin-top: 40px;
    background-image: url(../images/staff.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 240px;
    width: 340px;
    position: relative;
    overflow: visible;
}
.img-filter {
    background-color: rgba(0, 0, 0, 0.4);
    width: 340px;
    height: 240px;
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-filter h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.2rem;
    font-family: 'Sawarabi Mincho', sans-serif;
    padding: 0 2em;
}
.image-grid {
    background-color: #2D3374;
    position: absolute;
    right: 0;
    margin-top: 50px;
    padding: 5px;
    width: 90vw;
    height: 400px;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr; /* 上下の行を1:1で分割 */
    grid-template-columns: repeat(3, 1fr); /* 上の行を4列 */
    gap: 5px; /* グリッドアイテム間の隙間を設定（任意の値） */
    justify-items: center; /* グリッドアイテムを水平方向に中央揃え */
    align-items: center; /* グリッドアイテムを垂直方向に中央揃え */
}
.image {
    width: 25vw;
    height: 25vw;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.image-grid h2 {
    margin-right: -120px;
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Sawarabi Mincho', sans-serif;
}
/* Contents */
.brown-bg {
    background: #f8f6f2;
}
.content {
    padding: 4rem 1rem;
}
.home-text {
    margin-bottom: 2rem;
}
.home-text p {
    margin-bottom: 2rem;
}
/*==================================================
スライダーのためのcss
===================================*/
.testimonial-section {
    height: 85vh; /* 画面の高さに合わせる場合 */
    padding-bottom: 10px;
    text-align: center;
  }
.testimonial-section h2 {
    font-size: 2rem;
}
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:92%;
    margin:10px auto;
}
.testimony {
    height: 66vh;
    
}
.testimony .testimonial-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d0bea2;
}
.slider p {
    width:50vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    margin: 12px;
    font-size: 0.85rem;
}

.slider .slick-slide {
  transform: scale(0.8);/*左右の画像のサイズを80%に*/
  transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
  transform: scale(1);/*中央の画像のサイズだけ等倍に*/
  opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #2d3374;/*矢印の色*/
    border-right: 2px solid #2d3374;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
    margin: 20px 0 20px 0;
}

.slick-dots li {
    display:inline-block;
    margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

/*
recruite.html
================================================ */
.page-recruite {
    background-image: url('../images/bg-job.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: left 0, 0 0;
    background-size: 70vw auto, contain;
    background-repeat: no-repeat;
}
.page-recruite .btn {
    margin-bottom: 4rem;
}

/* Timeline */
.timeline {
    list-style: decimal inside;
    font-family: 'Sawarabi Mincho', sans-serif;
}
.timeline-item {
    margin-bottom: 2rem;
}
.timeline-title {
    font-size: 1.375rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.timeline-content {
    font-family: sans-serif;
}

/*
ABOUT.html
================================================ */
.page-about {
    background-image: url('../images/about.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: left 0, 0 0;
    background-size: 70vw auto, contain;
    background-repeat: no-repeat;
}
.vision h2 {
    font-size: 2rem;
}
.vision p {
    margin-bottom: 3em;
}
.profile {
    margin-bottom: 1rem;
}
.profile h2 {
    background: #f8f6f2;
    font-size: 1.55rem;
    padding: 1rem 1.25rem;
    margin-bottom: .5rem;
}
.profile p {
    padding: 1rem 1.25rem;
}

/*
SERVICE.html
================================================ */
.page-service {
    background-image: url('../images/services.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: right 0, 0 0;
    background-size: 70vw auto, contain;
    background-repeat: no-repeat;
}
.page-service .btn {
    margin-bottom: 4rem;
}
.service-intro {
    margin-bottom: 2rem;
}
.service-table {
    margin-bottom: 2rem;
}
.service-list {
    display: flex;
    flex-wrap: wrap;
}
.service-list li {
    margin: 0 2rem 1rem 0;
    color: #2D3374;
}
.service-list li a:hover {
    color: #3a7edf;
}

.service-content {
    margin-bottom: 3.5rem;
}
.service-content h2 {
    font-size: 1.5rem;
    padding-bottom: 0.6rem;
    margin-bottom: 1.3rem;
    border-bottom: 1px solid #d0bea2;
}

.service-content a {
    color: #2D3374;
    text-decoration: underline;
    font-weight: bold;
}

.service-content a:hover {
    color: #3a7edf;
    text-decoration: underline;
}

/*
FORM.html
================================================ */
.page-form {
    background-image: url('../images/contact.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: right 0, 0 0;
    background-size: 70vw auto, contain;
    background-repeat: no-repeat;
}
.text-small {
    font-size: .875rem;
}
.contact-main {
    max-width: 900px;
}

/* Contact Info Styles */
.contact-info {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: #f8f6f2;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-item h3 {
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2d3374;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.email-link,
.phone-link {
    color: #2d3374;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.125rem;
}

.email-link:hover,
.phone-link:hover {
    color: #3a7edf;
    text-decoration: underline;
}

/* Form */
input[type='text'],
input[type='tel'],
input[type='email'],
input[type='url'],
select,
textarea {
    border: 1px solid #bbb;
    background: #fff;
    padding: .5rem;
    width: 100%;
}
input[type='text']::placeholder,
input[type='email']::placeholder,
input[type='url']::placeholder,
textarea::placeholder {
    color: #bbb;
}
textarea {
    height: 10rem;
}

label {
    display: block;
    margin-bottom: 1rem;
}

.select-box {
    position: relative;
}
.select-box::after {
    display: inline-block;
    position: absolute;
    top: .625rem;
    right: 1rem;
/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: '\f078';
    color: #bbb;
}

/* デフォルトのチェックボックスを非表示 */
input[type='checkbox'] {
    opacity:0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}
/* チェックボックス用の四角形を作る */
input[type='checkbox'] + span::before {
    display: inline-block;
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #bbb;
    background: #fff;
    margin: -.125rem .5rem 0 0;
    vertical-align: middle;

/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    padding: 0 2px;
    line-height: 1.5;
}
/* チェックが入るとチェックアイコンを表示 */
input[type='checkbox']:checked + span::before {
    content: '\f00c';
}
/*
SERVICE.html
================================================ */
.page-staff {
    background-image: url('../images/staff.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: right 0, 0 0;
    background-size: 70vw auto, contain;
    background-repeat: no-repeat;   
}

/*
FOOTER
================================================ */
footer {
    background: #2D3374;
    color: rgba(255,255,255);
    padding: 3.5rem 1rem;
    text-align: center;
}
footer .btn {
    margin-bottom: 3.5rem;
}
.footer-nav {
    margin-bottom: 20px;
}
.footer-nav li {
    margin: 1rem 0;
    font-size: 1.3rem;
    padding-bottom: 0.2rem;
    
}
.footer-nav a {
    color: #d5d7e4;
}
footer p {
    font-size: 0.8rem;
    line-height: 22px;
}
.footer-nav .current {
    border-bottom: 1.5px solid #d0bea2;
    padding-bottom: 0.3rem;
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
    
/* Common */
    main {
        padding: 5rem;
    }
    .btn {
        width: auto;
    }
    .title {
        font-size: 1.875rem;
    }

/* Table */
    tr:nth-child(odd) {
        background: #f8f6f2;
    }
    tr:nth-child(even) th {
        background: #fff;
    }

    th,
    td {
        padding: 1.25rem;
        display: table-cell;
    }
    th {
        width: 24%;
        vertical-align: middle;
    }
    td {
        width: 76%;
    }
    /* ハンバーガーメニューのスタイル */
    .mobile-menu-toggle {
        display: none;
    }

/* Header */
    .page-header {
        height: 10vh;
        padding: 3rem 3rem;
    }
    .page-header .company-logo {
        align-items: center;
    }
    .logo {
        height: 11vh;
    }
    .company-logo h2 {
        font-family: 'Sawarabi Mincho', sans-serif;
        font-size: 1.8rem;
        width: 500px;
        height: 100%;
        vertical-align: center;
    }
    .company-name {
        font-size: 1.6rem;
    }
    .main-nav li {
        margin-left: 2rem;
        font-family: 'Sawarabi Mincho', sans-serif;
        font-size: 1.25rem;
    }
    .main-nav a {
        width: auto;
    }
    .main-nav a:hover,
    .main-nav .current {
        border-bottom: 2px solid #2d3374;
        padding-bottom: .5rem;
        background: none;
    }
    .main-nav a::before {
        content: '';
    }
    .menu {
        display: none;
    }
    .pc-menu {
        display: block;
    }

/* Home */
    .home-hero {
        padding: 17vw 1rem 15vh;
    }
    .home-hero h2 {
        font-size: 3.6rem;
        margin: 0 0 2rem;
        background: none;
        padding: 0;
        margin-left: 10px;
        font-weight: bold;
    }
    .home-hero p {
        width: 38vw;
        margin-left: 12px;
        margin-top: 1rem;
        font-size: 1.8rem;
    }
    .home-company-logo {
        flex-direction: row;
        width: fit-content;
    }
    .home-hero  .company-logo h2 {
        width: 1000px;
    }
    .home-logo {
        height: 140px;
    }
    /* Contents */
    .content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4rem 1rem;
    }
    .flex-reverse {
        flex-direction: row-reverse;
    }
    .home-catch h2 {
        font-size: 2.4rem;
    }
    .home-catch p {
        text-align: center;
    }
    .home-chart {
        width: 34vw;
    }


    .association {
        min-height: 1350px;
        padding-top: 10px;
    }
    .back-img {
        margin-top: 40px;
        height: 480px;
        width: 780px;
    }
    .img-filter {
        height: 480px;
        width: 780px;
        left: 15px;
        top: 15px;
    }
    .img-filter h2 {
        font-size: 1.4rem;
        line-height: 2rem;
        padding: 0 2em;
    }
    .image-grid {
        margin-top: 70px;
        padding: 5px 40px 25px;
        width: 80vw;
        height: 630px;
        gap: 5px; /* グリッドアイテム間の隙間を設定（任意の値） */
    }
    .image {
        width: 170px;
        height: 170px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    .image-grid h2 {
        margin-right: -360px;
        font-size: 3rem;
        width: 400px;
    }

/* Timeline */
    .timeline-item {
        display: flex;
        margin-bottom: 0;
    }
    .timeline-title {
        width: 24%;
        padding: 2rem 2.5rem 2rem 0;
        text-align: right;
    }
    .timeline-content {
        border-left: 5px solid #f8f6f2;
        width: 76%;
        padding: 1.5rem 0 1.5rem 2.5rem;
        position: relative;
    }
    .timeline-content::before {
        display: block;
        width: 2.25rem;
        height: 2.25rem;
        background: #d0bea2;
        text-align: center;
        padding: .1rem;
        position: absolute;
        top: 1.5rem;
        left: -1.5rem;
    /* Font Awesome */
        font-family: 'Font Awesome 5 Pro';
        font-weight: 900;
        color: #fff;
        font-size: 1.25rem;
    }
    .icon-file::before{
        content: '\f56e';
    }
    .icon-code::before{
        content: '\f121';
    }
    .icon-chat::before{
        content: '\f086';
    }
    .icon-hands::before{
        content: '\f2b5';
    }

/* Form */
    label {
        display: inline-block;
        margin: 0 1.5rem 0 0;
    }
    .select-box {
        width: 40%;
    }

/* スライダー */
    .testimonial-section {
        height: 65vh; /* 画面の高さに合わせる場合 */
        padding-bottom: 10px;
        text-align: center;
      }
    .testimonial-section h2 {
        font-size: 2rem;
    }
    .slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
        width:80%;
        margin:10px auto;
    }
    .testimony {
        height: 36vh;
    }
    .slider p {
        width:40vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
        margin: 12px;
        font-size: 1rem;
    }
    

/* Footer */
    .footer-nav {
        display: flex;
        justify-content: center;
    }
    .footer-nav li {
        margin: 0 .75rem;
    }
    .footer-nav a:hover {
        color: #fff;
    }
    footer p {
        font-size: 1.2rem;
        line-height: 36px;
        font-weight: 600;
    }
}
