/*
============================================================
archive.css
施工実績：記事一覧・個別記事共通
============================================================
*/

/* ---------------------------------------------------------
基本レイアウト
--------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f3ed;
    color: #302a25;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        "YuGothic",
        "Meiryo",
        sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

#wrapper,
#wrapper_inner {
    width: 100%;
    min-height: 100%;
}

/*
ヘッダーのstickyはcommon.cssに任せる。
archive.cssではpositionを設定しない。
*/

.contents {
    width: 100%;
    padding: 58px 24px 100px;
    box-sizing: border-box;
}

.contents_inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

#main,
#main_inner {
    width: 100%;
    min-width: 0;
}

.article {
    width: 100%;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
パンくず
--------------------------------------------------------- */

.path {
    margin: 0 0 28px;
    color: #81766c;
    font-size: 13px;
}

.path ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.path li:not(:last-child)::after {
    content: "›";
    margin-left: 7px;
    color: #b28b42;
}

.path a {
    color: inherit;
    text-decoration: none;
}

.path a:hover {
    color: var(--brown, #513b2f);
    text-decoration: underline;
}


/* =========================================================
記事一覧
.archive_list
========================================================= */

.archive_list {
    position: relative;
}


.archive_list .box_type3 {
    width: 100%;
}

.archive_list .box_type3 > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive_list .box_type3 > ul > li {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(81, 59, 47, 0.12);
    border-radius: 4px;
    box-shadow: 0 10px 32px rgba(56, 42, 32, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.archive_list .box_type3 > ul > li:hover {
    transform: translateY(-4px);
    border-color: rgba(180, 137, 63, 0.42);
    box-shadow: 0 18px 42px rgba(56, 42, 32, 0.14);
}

.archive_list p {
    margin-top: 0;
}

.archive_list .img {
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #e7e0d6;
}

.archive_list .img a {
    display: block;
    width: 100%;
    height: 100%;
}

.archive_list .img img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.archive_list li:hover .img img {
    transform: scale(1.035);
}

.archive_list .c_fix {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px 25px 24px;
    box-sizing: border-box;
}

.archive_list .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin: 0 0 13px;
    color: #8a7e73;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.archive_list .city,
.archive_list .area {
    display: inline-flex;
    align-items: center;
}

.archive_list .city::before {
    content: "◎";
    margin-right: 4px;
    color: #b4893f;
}

.archive_list .area {
    padding: 2px 8px;
    color: #6e563d;
    background: #f2eadb;
    border-radius: 999px;
}

.archive_list .ttl {
    margin: 0 0 13px;
    color: var(--brown, #513b2f);
    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.025em;
}

.archive_list .txt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 22px;
    color: #655d56;
    font-size: 14px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.archive_list .btn_ReadMore {
    margin: auto 0 0;
}

.archive_list .btn_ReadMore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    min-height: 44px;
    padding: 9px 20px;
    box-sizing: border-box;
    color: #fff;
    background: var(--brown, #513b2f);
    border: 1px solid var(--brown, #513b2f);
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.archive_list .btn a::after {
    content: "›";
    margin-left: 13px;
    font-size: 18px;
    line-height: 1;
}

.archive_list .btn a:hover {
    color: var(--brown, #513b2f);
    background: #fff;
}


/* =========================================================
個別記事
.archive_standard
========================================================= */

.archive_standard {
    width: min(920px, 100%);
    margin: 0 auto;
}

.archive_standard .entry {
    padding: clamp(30px, 5vw, 64px);
    background: #fff;
    border: 1px solid rgba(81, 59, 47, 0.11);
    border-radius: 4px;
    box-shadow: 0 16px 46px rgba(56, 42, 32, 0.09);
}

.archive_standard .date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: #9a7650;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.archive_standard .date::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #b4893f;
}

.archive_standard .entry_header {
    position: relative;
    margin: 0 0 38px;
    padding: 0 0 26px;
    color: var(--brown, #513b2f);
    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        serif;
    font-size: clamp(28px, 4.8vw, 44px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.035em;
}

.archive_standard .entry_header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 76px;
    height: 3px;
    background: #b4893f;
}


/* ---------------------------------------------------------
本文
--------------------------------------------------------- */

.archive_standard .entry_body {
    color: #433d38;
    font-size: 16px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.archive_standard .entry_body > *:first-child {
    margin-top: 0;
}

.archive_standard .entry_body > *:last-child {
    margin-bottom: 0;
}

.archive_standard .entry_body p {
    margin: 0 0 1.65em;
}

.archive_standard .entry_body h1,
.archive_standard .entry_body h2,
.archive_standard .entry_body h3,
.archive_standard .entry_body h4 {
    color: var(--brown, #513b2f);
    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        serif;
    letter-spacing: 0.025em;
}

.archive_standard .entry_body h1 {
    margin: 2.3em 0 0.9em;
    padding: 20px 24px;
    background: #f1ece4;
    border-left: 5px solid #b4893f;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.5;
}

.archive_standard .entry_body h2 {
    position: relative;
    margin: 2.4em 0 1em;
    padding: 0 0 14px 19px;
    border-bottom: 1px solid #d8cfc3;
    font-size: clamp(22px, 3.6vw, 30px);
    line-height: 1.55;
}

.archive_standard .entry_body h2::before {
    content: "";
    position: absolute;
    top: 0.24em;
    bottom: 0.6em;
    left: 0;
    width: 5px;
    background: #b4893f;
}

.archive_standard .entry_body h3 {
    margin: 2em 0 0.8em;
    padding: 12px 16px;
    background: #f7f3ec;
    border-left: 3px solid var(--brown, #513b2f);
    font-size: clamp(19px, 3vw, 23px);
    line-height: 1.55;
}

.archive_standard .entry_body h4 {
    margin: 1.8em 0 0.7em;
    font-size: 18px;
}

.archive_standard .entry_body strong {
    color: #4f3525;
    font-weight: 700;
}

.archive_standard .entry_body a {
    color: #956b2c;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.archive_standard .entry_body a:hover {
    color: var(--brown, #513b2f);
}


/* ---------------------------------------------------------
本文画像
--------------------------------------------------------- */

.archive_standard .entry_img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    margin: 0 0 36px;
    object-fit: cover;
    border-radius: 3px;
}

.archive_standard .entry_body img {
    display: block;
    max-width: 100%;
    height: auto;
}

.archive_standard .entry_body p > img {
    margin: 30px auto;
    border-radius: 3px;
    box-shadow: 0 8px 28px rgba(50, 38, 28, 0.1);
}

.archive_standard .entry_body figure {
    max-width: 100%;
    margin: 32px auto;
}

.archive_standard .entry_body figcaption {
    margin-top: 8px;
    color: #81776f;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}


/* ---------------------------------------------------------
iframe・動画・埋め込み
--------------------------------------------------------- */

.archive_standard .entry_body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
    border: 0;
    background: #eee9e1;
    border-radius: 3px;
}

.archive_standard .entry_body .list-area {
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 3px;
}


/* ---------------------------------------------------------
リスト・引用・表
--------------------------------------------------------- */

.archive_standard .entry_body ul,
.archive_standard .entry_body ol {
    margin: 1.5em 0;
    padding-left: 1.6em;
}

.archive_standard .entry_body li {
    margin-bottom: 0.55em;
}

.archive_standard .entry_body blockquote {
    margin: 30px 0;
    padding: 22px 25px;
    color: #5e554d;
    background: #f7f3ec;
    border-left: 4px solid #b4893f;
}

.archive_standard .entry_body table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.archive_standard .entry_body th,
.archive_standard .entry_body td {
    padding: 13px 15px;
    border: 1px solid #d9d0c4;
    text-align: left;
    vertical-align: top;
}

.archive_standard .entry_body th {
    color: #fff;
    background: var(--brown, #513b2f);
    font-weight: 700;
}


/* ---------------------------------------------------------
記事内会話パーツ
既存記事内のstyleタグより後にarchive.cssが読み込まれる場合に有効。
現在はhead内で読み込むため、詳細度を高くして上書きする。
--------------------------------------------------------- */

.archive_standard .entry_body .blog_template {
    width: 100%;
    margin: 30px 0;
}

.archive_standard .entry_body .blog_template .talk_left,
.archive_standard .entry_body .blog_template .talk_right {
    width: 100%;
    padding: 8px 0;
    box-sizing: border-box;
}

.archive_standard .entry_body .blog_template .balloon-talk {
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin: 0;
    overflow: visible;
}

.archive_standard .entry_body .blog_template .talk_right .balloon-talk {
    justify-content: flex-end;
}

.archive_standard .entry_body .blog_template .icon-owacon,
.archive_standard .entry_body .blog_template .icon-owacoon,
.archive_standard .entry_body .blog_template .icon-miyamoto {
    flex: 0 0 78px;
    width: 78px;
    margin: 0;
}

.archive_standard .entry_body .blog_template .icon-owacon img,
.archive_standard .entry_body .blog_template .icon-owacoon img,
.archive_standard .entry_body .blog_template .icon-miyamoto img {
    width: 72px;
    height: 72px;
    max-width: none;
    margin: 0;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: none;
}

.archive_standard .entry_body .blog_template .dialogue_left,
.archive_standard .entry_body .blog_template .dialogue_right {
    position: relative;
    flex: 0 1 auto;
    max-width: calc(100% - 105px);
    min-width: 0;
    padding: 17px 20px;
    box-sizing: border-box;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.85;
}

.archive_standard .entry_body .blog_template .dialogue_left {
    margin: 0 20px 0 14px;
    background: #f8e5eb;
}

.archive_standard .entry_body .blog_template .dialogue_right {
    margin: 0 14px 0 20px;
    background: #f7e8c7;
}

.archive_standard .entry_body .blog_template .dialogue_left::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: -14px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 15px solid #f8e5eb;
    border-bottom: 8px solid transparent;
}

.archive_standard .entry_body .blog_template .dialogue_right::after {
    content: "";
    position: absolute;
    right: -14px;
    bottom: 18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 15px solid #f7e8c7;
}


/* ---------------------------------------------------------
ページネーションが追加された場合
--------------------------------------------------------- */

.archive_list .pagination,
.archive_standard .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 50px 0 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 11px;
    box-sizing: border-box;
    color: var(--brown, #513b2f);
    background: #fff;
    border: 1px solid #d5cabe;
    text-decoration: none;
}

.pagination a:hover,
.pagination .current {
    color: #fff;
    background: var(--brown, #513b2f);
    border-color: var(--brown, #513b2f);
}


/* =========================================================
タブレット
========================================================= */

@media only screen and (max-width: 1024px) {

    .contents {
        padding-top: 45px;
    }

    .archive_list .box_type3 > ul {
        grid-template-columns: 1fr;
    }

    .archive_list .box_type3 > ul > li {
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    }

    .archive_list .img img {
        min-height: 270px;
    }
}


/* =========================================================
スマートフォン
========================================================= */

@media only screen and (max-width: 736px) {

    .contents {
        padding: 30px 15px 70px;
    }

    .path {
        margin-bottom: 22px;
        font-size: 11px;
    }

    .archive_list::after {
        margin-bottom: 24px;
        font-size: 34px;
    }

    .archive_list .box_type3 > ul {
        gap: 20px;
    }

    .archive_list .box_type3 > ul > li {
        display: block;
    }

    .archive_list .img {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .archive_list .img img {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .archive_list .c_fix {
        padding: 20px;
    }

    .archive_list .ttl {
        font-size: 18px;
    }

    .archive_list .txt {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .archive_list .btn a {
        width: 100%;
    }

    .archive_standard .entry {
        padding: 26px 18px 38px;
    }

    .archive_standard .entry_header {
        margin-bottom: 28px;
        padding-bottom: 20px;
        font-size: 27px;
        line-height: 1.5;
    }

    .archive_standard .entry_body {
        font-size: 18px;
        line-height: 1.9;
    }

    .archive_standard .entry_body h1 {
        padding: 16px 17px;
        font-size: 23px;
    }

    .archive_standard .entry_body h2 {
        padding-left: 15px;
        font-size: 22px;
    }

    .archive_standard .entry_body h3 {
        padding: 10px 13px;
        font-size: 19px;
    }

    .archive_standard .entry_body iframe {
        height: 420px;
    }

    .archive_standard .entry_body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .archive_standard .entry_body .blog_template .icon-owacon,
    .archive_standard .entry_body .blog_template .icon-owacoon,
    .archive_standard .entry_body .blog_template .icon-miyamoto {
        flex-basis: 52px;
        width: 52px;
    }

    .archive_standard .entry_body .blog_template .icon-owacon img,
    .archive_standard .entry_body .blog_template .icon-owacoon img,
    .archive_standard .entry_body .blog_template .icon-miyamoto img {
        width: 48px;
        height: 48px;
    }

    .archive_standard .entry_body .blog_template .dialogue_left,
    .archive_standard .entry_body .blog_template .dialogue_right {
        max-width: calc(100% - 64px);
        padding: 13px 14px;
        font-size: 13px;
        line-height: 1.75;
    }

    .archive_standard .entry_body .blog_template .dialogue_left {
        margin: 0 0 0 12px;
    }

    .archive_standard .entry_body .blog_template .dialogue_right {
        margin: 0 12px 0 0;
    }
}


/* =========================================================
小型スマートフォン
========================================================= */

@media only screen and (max-width: 420px) {

    .contents {
        padding-right: 11px;
        padding-left: 11px;
    }

    .archive_standard .entry {
        padding-right: 15px;
        padding-left: 15px;
    }

    .archive_standard .entry_header {
        font-size: 24px;
    }

    .archive_list .meta {
        display: block;
    }

    .archive_list .city,
    .archive_list .area {
        margin-top: 5px;
        margin-right: 6px;
    }
}

/* =========================================================
   記事一覧：スマホ版
========================================================= */

@media (max-width: 767px) {

  .archive_list .box_type3 > ul {
    display: block;
  }

  .archive_list .box_type3 > ul > li {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin-bottom: 32px;
    padding: 20px 0 28px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(81, 59, 47, 0.35);
    border-radius: 0;
    box-shadow: none;
  }

  /* 画像部分 */
  .archive_list .box_type3 > ul > li .photo,
  .archive_list .box_type3 > ul > li .image,
  .archive_list .box_type3 > ul > li .thumb {
    width: min(46vw, 365px);
    max-width: 100%;
    margin: 0 auto 22px;
    flex: none;
  }

  .archive_list .box_type3 > ul > li .photo a,
  .archive_list .box_type3 > ul > li .image a,
  .archive_list .box_type3 > ul > li .thumb a {
    display: block;
    width: 100%;
  }

  .archive_list .box_type3 > ul > li .photo img,
  .archive_list .box_type3 > ul > li .image img,
  .archive_list .box_type3 > ul > li .thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* テキスト部分 */
  .archive_list .box_type3 > ul > li .text,
  .archive_list .box_type3 > ul > li .detail,
  .archive_list .box_type3 > ul > li .content {
    position: static;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    overflow: visible;
  }

  /* タイトル */
  .archive_list .box_type3 > ul > li h2,
  .archive_list .box_type3 > ul > li h3,
  .archive_list .box_type3 > ul > li .title {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .archive_list .box_type3 > ul > li h2 a,
  .archive_list .box_type3 > ul > li h3 a,
  .archive_list .box_type3 > ul > li .title a {
    color: inherit;
    text-decoration: none;
  }

  /* 概要文 */
  .archive_list .box_type3 > ul > li .excerpt,
  .archive_list .box_type3 > ul > li .description,
  .archive_list .box_type3 > ul > li .lead {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  /* 更新日 */
  .archive_list .box_type3 > ul > li .date,
  .archive_list .box_type3 > ul > li .update,
  .archive_list .box_type3 > ul > li time {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 7px 10px;
    background: #d7d7d7;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
  }

  /* 詳しく見る */
  .archive_list .box_type3 > ul > li .btn,
  .archive_list .box_type3 > ul > li .button,
  .archive_list .box_type3 > ul > li .more {
    display: block;
    width: 100%;
    margin: 0;
  }

  .archive_list .box_type3 > ul > li .btn a,
  .archive_list .box_type3 > ul > li .button a,
  .archive_list .box_type3 > ul > li .more a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 10px 20px;
    border-radius: 8px;
    background: #6b3100;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-decoration: none;
  }
}