@charset "UTF-8";

/* 会社概要 */
.page.company{
  background: url("/assets/img/bg01.png") no-repeat center 100px;
  background-color: #f8f4f1;
}
.page.company .overview-section {
  position: relative;
}
.page.company .section-title:not(.content-area .section-title) {
  margin-left: 0;
}
.page.company .overview-section .overview-img {
  position: absolute;
  top: -250px;
  left: 50%;
  margin-left: -16%;
}
.page.company .overview-section .box {
  max-width: 1000px;
  width: 100%;
}
.page.company .overview-section table {
  border-top:1px solid #fff;
  border-left:1px solid #fff;
  margin-top:70px;
}
.page.company .overview-section table th {
  padding:10px;
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
  color: #00516c;
  text-align: left;
  width: 20%;
}
.page.company .overview-section table td {
  padding:10px;
  vertical-align:middle;
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
}
.page.company .company-list-section {
  background: url("/company/img/network_bg01.png") 90% 5% no-repeat, url("/company/img/network_bg02.png") 25% 100% no-repeat rgb(255, 255, 255);
}
.page.company .section-2col .content-area .box-area {
    background: none;
    padding: 0 50px 50px 0;
}
.page.company .company-list-section .company-list li:first-child{
    padding-bottom: 30px;
}
.page.company .company-list-section .company-list li + li{
    border-top: 1px solid #00516c;
}
.page.company .company-list-section .company-office{
}
.page.company .company-list-section .company-office span{
  padding: 5px 10px;
  background: #00516c;
  color: #fff;
  display: inline-block;
  font-size: 2.0rem;
  line-height: 1.5;
}

.page.company .company-list-section .company-list li:first-child .company-box{
  margin-top: 30px;
}
.page.company .company-list-section .company-box + .company-box{
  margin-top: 30px;
}
.page.company .company-list-section .company-box .deliverycenter-list{
  font-size: 1.8rem;
}
.page.company .map-link{
  background: url("/company/img/network_arrow.png") no-repeat center left;
  padding-left: 25px;
  margin-left: 20px;
  font-size: 1.6rem;
}

/* 拠点一覧 開閉式UI（アコーディオン） */
.page.company .company-list-section .company-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.page.company .company-list-section .company-toggle .company-office{
  margin-bottom: 0;
}
.page.company .company-list-section .company-toggle-icon{
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid #00516c;
  border-radius: 50%;
  transition: background-color .3s ease;
}
.page.company .company-list-section .company-toggle-icon::before,
.page.company .company-list-section .company-toggle-icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #00516c;
  transition: opacity .3s ease, transform .3s ease;
}
.page.company .company-list-section .company-toggle-icon::before{
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.page.company .company-list-section .company-toggle-icon::after{
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.page.company .company-list-section .company-toggle[aria-expanded="true"] .company-toggle-icon::after{
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.page.company .company-list-section .company-toggle:hover .company-toggle-icon,
.page.company .company-list-section .company-toggle.hover .company-toggle-icon{
  background-color: rgba(0, 81, 108, .06);
}

.page.company .company-list-section .company-toggle[aria-expanded="true"] .company-toggle-icon{
    background-color: rgba(247, 223, 0, .4);
}
.page.company .company-list-section .company-panel{
    display: none;
    overflow: hidden;
    padding: 0 0 30px 0;
}
.page.company .history-section,
.page.company .philosophy-section{
  background-color: #f8f4f1;
  position: relative;
  padding: 0;
  margin: 0 0 80px 0;
}
.page.company .history-section::before{
  content: "";
  background: #fff;
  border-radius: 200px 0 0 0;
  position: absolute;
  width: 95%;
  right: 0;
  height: 100%;
  z-index: 0;
  top: 160px;
}
.page.company .history-section .inner,
.page.company .philosophy-section .inner{
  z-index: 1;
  position: relative;
}
.page.company .history-section .section-title{
  padding: 50px 0 110px 0;
  background: url(/company/img/history_bg.png) no-repeat left 30% top 35%;
}
.page.company .history-section table {
  border-top:1px solid #000;
  border-left:1px solid #000;
}
.page.company .history-section table th {
  padding:10px;
  border-right:1px solid #000;
  border-bottom:1px solid #000;
  color: #00516c;
  text-align: left;
  width: 15%;
  background: #f8f4f1;
}
.page.company .history-section table td {
  padding:10px;
  vertical-align:middle;
  border-right:1px solid #000;
  border-bottom:1px solid #000;
}
.page.company .philosophy-section::before{
  content: "";
  background: #fff;
  border-radius: 0 200px 0 0;
  position: absolute;
  width: 95%;
  left: 0;
  height: 100%;
  z-index: 0;
  top: 200px;
}
.page.company .philosophy-section .section-title{
  background: url(/company/img/philosophy_bg.png) no-repeat left 50% top 35%;
  padding: 50px 0 110px;
}
.page.company .philosophy-section figure img{
  max-width: 1000px;
  width: 100%;
  height: auto;
}


/* ----------------------------------------
ごあいさつ
---------------------------------------- */

.page.company-message{
    background: url("/assets/img/bg01.png") no-repeat center 100px;
    background-color: #f8f4f1;
}
.page.company-message .message-section {
    position: relative;
}
.page.company-message .message-section .inner {
    max-width: 600px;
}
.page.company-message .message-section .message-img {
    position: absolute;
    top: -250px;
    left: 50%;
    margin-left: -16%;
}
.page.company-message .message-section .box {
    max-width: inherit;
    width: 100%;
    margin-top: 30px;
}
.page.company-message .message-section .section-title {
    font-size: 2.8rem;
    color: #00516c;
    line-height: 1.5;
    letter-spacing: 0.1em;
}
.page.company-message .message-section .name-box {
    text-align: right;
    margin-top: 30px;
}
.page.company-message .message-section .name-box .company-name {
    display: block;
}
.page.company-message .message-section .name-box .name {
    font-size: 2.5rem;
}

.page.company-message .philosophy-section {
    background: url("/assets/img/bg02.png") no-repeat center 100px;
    background-color: #fff;
    padding: 50px 0;
}

.page.company-message .philosophy-title-section{
    padding: 50px 0 50px;
}
.page.company-message .philosophy-title-section .philosophy-title {
    width: 100%;
    padding: 0 10% 10px;
    font-size: 3.0rem;
    color: #000;
    line-height: 1.3;
    border-bottom: 1px solid #000;
}
.page.company-message .philosophy-section .philosophy-list{
    width: 100%;
}
.page.company-message .philosophy-section .philosophy-list li{
    background-color: #00516c;
    padding: 0 10%;
}
.page.company-message .philosophy-section .philosophy-list li + li{
  margin-top: 30px;
}
.page.company-message .philosophy-section .philosophy-list li .philosophy-list-box{
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 300px 1fr;
    gap: 50px;
    align-items: center;
}

.page.company-message .philosophy-section .philosophy-list .philosophy-img{
}
.page.company-message .philosophy-section .philosophy-list .philosophy-img img{
    width: 100%;
    height: auto;
}

.page.company-message .philosophy-section .philosophy-list .philosophy-list-title{
    padding: 30px 20px;
    background: #fff;
    color: #00516c;
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
}
.page.company-message .philosophy-section .philosophy-list .philosophy-list-title span.sub{
    display: block;
    font-family: "Helvetica Bold", 'Noto Sans JP', Hiragino Sans, "ヒラギノ角ゴシック", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 2.4rem;
}
.page.company-message .philosophy-section .philosophy-list .philosophy-txt p{
    color: #fff;
}

.page.company-message .philosophy-section .philosophy-list .philosophy-txt .btn-more{
    display: block;
    margin-top: 20px;
}


@media screen and (min-width: 0px) and (max-width: 768px) {
.page.company .wrap {
    padding:50px 0;
  }
    /* 装飾画像のはみ出しによる横スクロール防止 */
    .page.company .main{
        overflow-x: hidden;
    }
.page.company .overview-section {
  padding: 0 0 50px 0;
}
.page.company .overview-section .inner {
    flex-direction: column;
    display: flex;
  }
  .page.company .overview-section .section-title{
  order: 2;
}
    /* ===== 会社概要：見出し→写真→表 の縦並び ===== */
    .page.company .overview-section .overview-img{
        position: static;
        width: 100%;
        margin: 20px 0 0;
      order: 1;
    }
    .page.company .overview-section .overview-img img{
        width: 100%;
        height: auto;
    }
  .page.company .overview-section .box {
  order: 3;
}
    .page.company .overview-section table{
        margin-top: 25px;
    }
    .page.company .overview-section table th{
        width: 28%;
        padding: 8px;
        font-size: 1.4rem;
    }
    .page.company .overview-section table td{
        padding: 8px;
        font-size: 1.4rem;
    }

    /* ===== 拠点一覧（#network）：2カラム→1カラム ===== */
    /* 本文の左右余白を他セクション（.inner=幅90%）と揃える */
    .page.company .company-list-section .section-2col{
        width: 90%;
        margin: 0 auto;
    }
    .page.company .section-2col .content-area .box-area{
        padding: 0;          /* PCの 0 50px 50px 0 を解除 */
        margin-top: 20px;
    }
    /* スライド非表示・1枚画像（.business-collage=pc_view / .collage-sp=sp_view） */
    .page.company .company-list-section .collage-sp{
        margin: 0;
    }
    .page.company .company-list-section .collage-sp img{
        width: 100%;
        height: auto;
        border-radius: 4px;
    }
    /* 背景装飾を縮小してはみ出し回避 */
    .page.company .company-list-section{
        background-size: 38%, 38%;
    }

  /* ===== 沿革：見出し余白・テーブル ===== */
    .page.company .history-section,
    .page.company .philosophy-section{
        margin-bottom: 40px;
      padding: 0;
    }
    .page.company .history-section::before{
    content: "";
    background: #fff;
    border-radius: 20px;
    position: absolute;
    width: 90%;
    right: 5%;
    height: 100%;
    z-index: 0;
    top: 30px;
  }
    .page.company .history-section .section-title{
        padding: 50px 0 20px 0;
        background-size: 36px auto;
    }
    .page.company .history-section table th{
        width: 24%;
        padding: 8px;
        font-size: 1.4rem;
    }
    .page.company .history-section table td{
        padding: 8px;
        font-size: 1.4rem;
    }
.page.company .history-section .inner,
  .page.company .philosophy-section .inner{
    width: 80%;
  }
    /* ===== 理念体系 ===== */
  .page.company .philosophy-section::before {
  content: "";
  background: #fff;
  border-radius: 20px;
  position: absolute;
  width: 90%;
  left: 5%;
  height: 100%;
  z-index: 0;
    top: 20px;
}

    .page.company .philosophy-section .section-title{
    padding: 40px 0 30px;
    background-size: 36px auto;
  }

    /* ===== ごあいさつ（company-message） ===== */
    /* メッセージ：社長写真（PC絶対配置）を通常配置に → 見出し→写真→本文 */
    .page.company-message .message-section{
        padding: 30px 0 50px;
    }
    .page.company-message .message-section .inner{
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }
    /* 写真を見出しの上に（写真→見出し→本文） */
    .page.company-message .message-section .message-img{
        order: 1;
        position: static;
        transform: none;
        width: 80%;
        max-width: 400px;
        margin: 0 auto;
    }
    .page.company-message .message-section .message-img img{
        width: 100%;
        height: auto;
    }
    .page.company-message .message-section .section-title{
        order: 2;
        margin-top: 25px;
    }
    .page.company-message .message-section .box{
        order: 3;
        margin-top: 25px;
    }

    /* 理念リスト：3カラム → 1カラム（写真→タイトル→本文） */
    .page.company-message .philosophy-title-section{
        padding: 30px 0;
    }
    .page.company-message .philosophy-section .philosophy-list li{
        padding: 25px 5%;
    }
    /* 写真とタイトルを横並び、本文はその下に全幅 */
    .page.company-message .philosophy-section .philosophy-list li .philosophy-list-box{
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        align-items: stretch;   /* 写真とタイトルの高さを揃える */
    }
    /* 写真は枠の高さいっぱいに（余白が出ないよう cover で表示） */
    .page.company-message .philosophy-section .philosophy-list .philosophy-img{
        height: 100%;
    }
    .page.company-message .philosophy-section .philosophy-list .philosophy-img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .page.company-message .philosophy-section .philosophy-list .philosophy-txt{
        grid-column: 1 / -1;
    }
    .page.company-message .philosophy-section .philosophy-list .philosophy-list-title{
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}