/* ============================================
   内部ページ用スタイル
   ============================================ */

/* ============================================
   内部ページヘッダー
   ============================================ */
.header-internal {
    background-color: rgba(67, 148, 84, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-internal .nav-menu > li > a {
    color: #fff;
}

.header-internal .nav-menu > li > a:hover {
    color: #fff1b0;
    background-color: rgba(255, 255, 255, 0.15);
}

.header-internal.scrolled {
    background-color: #FFFFFF;
}

.header-internal.scrolled .nav-menu > li > a {
    color: #333;
}

.header-internal.scrolled .nav-menu > li > a:hover {
    color: #4CAF50;
    background-color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   パンくずリスト
   ============================================ */
.breadcrumb {
    background-color: #f9f9f9;
    padding: 15px 0;
    margin-top: 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: #4CAF50;
    font-size: 14px;
    transition: color 0.3s;
}

.breadcrumb-list a:hover {
    color: #439454;
    text-decoration: underline;
}

.breadcrumb-list .separator {
    color: #999;
    font-size: 14px;
}

.breadcrumb-list .current {
    color: #666;
    font-size: 14px;
}

/* ============================================
   ページヘッダー
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #439454 0%, #4CAF50 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

/* 背景画像用のimgタグ */
.page-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 背景画像がある場合のオーバーレイ */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(67, 148, 84, 0.7);
    z-index: 1;
}

/* 背景画像がある場合のオーバーレイ調整 */
.page-header:has(.page-header-image)::before {
    background: rgba(0, 0, 0, 0.4);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   メインコンテンツ
   ============================================ */
.main-content {
    /*padding: 60px 0;*/
    padding: 0 0 60px 0;
    background-color: #fff;
    min-height: calc(100vh - 400px);
}

.content-wrapper {
    /*max-width: 900px;*/
    margin: 0 auto;
}

.content-main {
    background-color: #fff;
}

.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-heading {
    font-size: 28px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    letter-spacing: 0.05em;
}

.posts p,
.posts ul,
.posts ol{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.posts p:last-child {
    margin-bottom: 0;
}
.posts .h1{
    font-size: 190%;
	display: flex;
	align-items: center;
    margin: 1em 0;
    font-weight: bold;
}
.posts .h1:before, .posts .h1:after {
	content: "";
	flex-grow: 1;
	height: 1px;
	background: #000;
	display: block;
}
.posts .h1:before {
	margin-right: .4em;
}
.posts .h1:after {
	margin-left: .4em;
}

.posts .h2{
    font-size: 160%;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    position: relative;
    margin: 1em 0;
    padding-left: 60px;
}
.posts .h2:before{
    content: "";
    height: 1px;
    width: 50px;
    background: #000;
    position: absolute;
    top: 1em;
    left: 0;
}

.posts .h3{
    font-size: 140%;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
    margin: 1em 0;
}
.posts .h3:before{
    content: "■ ";
    color: #F79B16;
    font-size: 14px;
    vertical-align: middle;
}

.posts table {
    border-collapse: collapse;
    margin: 1em auto;
    padding: 0;
    width: 100%;
}
.posts table tr {
    background-color: #f8f5e9;
    padding: .35em;
    border-bottom: 2px solid #fff;
}
.posts table thead{
    border: 0 !important;
}
.posts table th,
.posts table td {
    padding: 1em;
    border-right: 2px solid #fff;
    border-left: 0 !important;
}
.posts table th {
}
.posts table thead tr {
    background-color: #61843e;
    color: #fff;
}
.posts table tbody th {
    background: #70bd4f;
    color: #fff;
}
.posts ul{
    list-style: disc;
    margin-left: 1.5em;
}
.posts ol{
    list-style: decimal;
    margin-left: 1.5em;
}
@media (max-width: 768px) {
    .posts table {
        border: 0;
        width: 100%
    }
    .posts table th {
        background-color: #167F92;
        display: block;
        border-right: none;
    }
    .posts table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .posts table tr {
        display: block;
        margin-bottom: .625em;
    }
    .posts table td {
        border-bottom: 1px solid #bbb;
        display: block;
        font-size: .8em;
        position: relative;
        padding: .625em .625em .625em 4em;
        border-right: none;
    }
    .posts table td::before {
        content: attr(headers);
        font-weight: bold;
        position: absolute;
        left: 10px;
        color: #167F92;
    }
    .posts table td:last-child {
        border-bottom: 0;
    }
    .posts table tbody th {
        color: #fff;
    }
}
.content-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.content-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #4CAF50;
    font-size: 20px;
    line-height: 1;
    top: 12px;
}

.content-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   レスポンシブデザイン
   ============================================ */

/* タブレット (1024px以下) */
@media (max-width: 1024px) {
    .page-header {
        margin-top: 70px;
    }

    .page-title {
        font-size: 36px;
    }

    .content-heading {
        font-size: 26px;
    }

    .main-content {
        padding: 50px 0;
    }
}

/* 小型タブレット (768px以下) */
@media (max-width: 768px) {
    .page-header {
        margin-top: 70px;
        padding: 40px 0;
    }

    .breadcrumb {
        margin-top: 0;
        padding: 12px 0;
    }

    .breadcrumb-list {
        font-size: 13px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 32px;
    }

    .main-content {
        padding: 40px 0;
    }

    .content-wrapper {
        padding: 0 15px;
    }

    .content-section {
        margin-bottom: 40px;
    }

    .content-heading {
        font-size: 24px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .content-main p {
        font-size: 15px;
        line-height: 1.9;
    }

    .content-list li {
        font-size: 15px;
        padding: 10px 0 10px 25px;
    }

    .content-image {
        margin: 25px 0;
    }
    
    /* 商品紹介イントロセクション レスポンシブ */
    .items-intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .items-intro-main-image {
        flex: 1;
        max-width: 100% !important;
    }
    .items-intro-main-image img{
        width: 100%;
    }
    
    .items-intro-text-block-with-images {
        flex-direction: column;
        gap: 20px;
    }
    
    .items-intro-side-images {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .items-intro-side-image {
        width: 100px;
        height: 100px;
    }
    
    .items-intro-title-1 {
        font-size: 22px;
    }
    
    .items-intro-title-2 {
        font-size: 18px;
    }
    
    .items-intro-text-1,
    .items-intro-text-2 {
        font-size: 15px;
    }
}

/* スマートフォン (480px以下) */
@media (max-width: 480px) {
    .page-header {
        margin-top: 60px;
        padding: 30px 0;
    }

    .breadcrumb {
        margin-top: 0;
        padding: 10px 0;
    }

    .breadcrumb-list {
        font-size: 12px;
        gap: 8px;
    }

    .page-header {
        padding: 30px 0;
    }

    .page-title {
        font-size: 28px;
    }

    .main-content {
        padding: 30px 0;
    }

    .content-wrapper {
        padding: 0 10px;
    }

    .content-section {
        margin-bottom: 30px;
    }

    .content-heading {
        font-size: 22px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .content-main p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .content-list li {
        font-size: 14px;
        padding: 8px 0 8px 20px;
    }

    .content-list li::before {
        left: 5px;
        font-size: 18px;
        top: 8px;
    }
    
    /* 商品紹介イントロセクション スマートフォン */
    .items-intro-content {
        gap: 20px;
    }
    
    .items-intro-title-1 {
        font-size: 20px;
    }
    
    .items-intro-title-2 {
        font-size: 16px;
    }
    
    .items-intro-text-1,
    .items-intro-text-2 {
        font-size: 14px;
    }
    
    .items-intro-side-image {
        width: 100px;
        height: 100px;
    }

    .content-image {
        margin: 20px 0;
    }
}

/* ============================================
   お知らせページ用スタイル
   ============================================ */
.news-archive-page,
.news-single-page {
    background-color: #FFF;
}
.news-archive-page .content-main,
.news-single-page .content-main{
    padding-top: 80px;
}
.news-archive-wrapper {
    padding: 40px 0;
}

.news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.news-tabs .tab-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.news-tabs .tab-btn:hover {
    color: #4CAF50;
}

.news-tabs .tab-btn.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
    font-weight: bold;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex: 0 0 100px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    background-color: #f5f5f5;
    color: #666;
}

/* お知らせカテゴリ */
.news-category.info,
.news-category[class*="info"],
.news-category[class*="お知らせ"] {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* イベントカテゴリ */
.news-category.event,
.news-category[class*="event"],
.news-category[class*="イベント"] {
    background-color: #fff3e0;
    color: #f57c00;
}

/* 商品情報カテゴリ */
.news-category.product,
.news-category[class*="product"],
.news-category[class*="商品情報"],
.news-category[class*="商品"] {
    background-color: #e8f5e9;
    color: #388e3c;
}

.news-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #4CAF50;
}

.no-posts {
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

/* お知らせ詳細ページ */
.news-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.news-header .news-title {
    font-size: 32px;
    margin-top: 15px;
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin: 40px 0;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #4CAF50;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.nav-next {
    text-align: right;
}

.news-back-link {
    text-align: center;
    margin-top: 40px;
}

.back-to-list-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-to-list-btn:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

/* ============================================
   商品紹介アーカイブページ用スタイル
   ============================================ */
.items-archive-page {
    background-color: #FFF;
}

.items-archive-wrapper {
    padding: 40px 0;
}

/* 商品紹介イントロセクション */
.items-intro-section {
    margin-bottom: 60px;
}

.items-intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.items-intro-main-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.items-intro-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.items-intro-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.items-intro-text-block {
    margin-bottom: 0;
}

.items-intro-title-1 {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.items-intro-text-1 {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.items-intro-text-block-with-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.items-intro-text-content {
    flex: 1;
}

.items-intro-title-2 {
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.items-intro-text-2 {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.items-intro-side-images {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
}

.items-intro-side-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.items-intro-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.items-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.items-tabs .tab-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.items-tabs .tab-btn:hover {
    color: #4CAF50;
}

.items-tabs .tab-btn.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
    font-weight: bold;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.item-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.item-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.item-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.item-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 アスペクト比 */
    overflow: hidden;
    background-color: #f5f5f5;
}

.item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background-color: rgba(76, 175, 80, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    z-index: 1;
}

.item-info {
    padding: 20px;
}

.item-brand {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.item-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .item-info {
        padding: 15px;
    }
    
    .item-title {
        font-size: 16px;
    }
    
    .item-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* items_type タクソノミー一覧ページ */
.items-type-archive-page {
    background-color: #fff;
}

.items-type-hero {
    background-color: #ece9e0;
    padding: 60px 0 0 0;
    margin-bottom: 0;
}

.items-type-hero-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.items-type-hero-left {
    flex: 1.5;
}

.items-type-hero-right {
    flex: 1;
    min-width: 40%;
}

.items-type-hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.items-type-hero-catch {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.items-type-hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.items-type-hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.items-type-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.items-type-details {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 60px 0 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.items-type-details p {
    margin-bottom: 15px;
}

.items-type-details p:last-child {
    margin-bottom: 0;
}

.items-type-list-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 40px 0;
}

.items-type-list-wrapper {
    margin-bottom: 60px;
}

.items-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.items-type-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.items-type-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.items-type-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.items-type-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 アスペクト比 */
    overflow: hidden;
    background-color: #f5f5f5;
}

.items-type-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.items-type-card:hover .items-type-image img {
    transform: scale(1.05);
}


.items-type-info {
    padding: 20px;
}

.items-type-brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 500;
}

.items-type-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.items-type-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.items-type-tags {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .items-type-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .items-type-hero-title {
        font-size: 36px;
    }
    
    .items-type-hero-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .items-type-hero {
        padding: 40px 0 0 0;
    }
    
    .items-type-hero-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .items-type-hero-left {
        flex: 1;
    }
    
    .items-type-hero-right {
        flex: 1;
        width: 100%;
    }
    
    .items-type-hero-title {
        font-size: 28px;
    }
    
    .items-type-hero-image {
        height: 250px;
    }
    
    .items-type-details {
        margin: 40px 0 20px 0;
        padding: 15px;
        font-size: 14px;
    }
    
    .items-type-list-title {
        font-size: 24px;
        margin: 0 0 30px 0;
    }
    
    .items-type-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .items-type-info {
        padding: 15px;
    }
    
    .items-type-title {
        font-size: 14px;
    }
    
    .items-type-price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .items-type-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*************************************************************************************/
.page-features .posts .title,
.page-detail .posts .title{
    font-size: 24px;
    margin: 0 0 .7em;
    font-weight: 700;
    font-family: "Zen Maru Gothic", sans-serif;
}
.page-features .posts .stitle,
.page-detail .posts .stitle{
    font-size: 19px;
    margin: 0 0 .5em;
    font-weight: bold;
}

@media (max-width: 768px) {
    .page-detail .uagb-container-inner-blocks-wrap{
        display: flex;
    }
    .page-detail .photoarea{
        order:1;
    }
    .page-detail .textarea{
        order:2;
    }
    .page-features .posts .title,
    .page-detail .posts .title{
        margin-top: .7em;
        text-align: center;
    }
}


/*04.form
************************************************************************************/
.posts table.contact_table{
	width: 100%;
	border-collapse:collapse;
	border: 0;
	border-top: 1px solid #000;
	margin: 30px auto 50px;
}
.posts table.contact_table th{
	font-weight: bold;
	padding: 1em;
	border: 0;
	background-color: transparent;
	border-bottom: 1px solid #000;
	text-align: left;
	width: 10em;
	background: none;
	color: #000;
    vertical-align: middle;
}
.posts table.contact_table th p{
    padding: 0 !important;
    margin: 0 !important;
}
.posts table.contact_table td{
	padding: 1em;
	border: 0;
	border-bottom: 1px solid #000;
	position: relative;
	padding-left: 70px;
	background: none;
}
.posts table.contact_table td.required:before{
	content: "必須";
	border-radius: 3px;
	padding: 3px 0;
	background: #FF9100;
	font-size: 0.713em;
	color: var(--color-textLight);
	margin-right: 1.5em;
	width: 60px;
	text-align: center;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

@media screen and (max-width: 768px){
	table.smartphone{
		display: block;
		width: 100%;
	}
	table.smartphone thead{
		display: none;
	}
	table.smartphone tbody{
		display: block;
		width: 100%;
	}
	table.smartphone tr{
		display: block;
		margin-bottom: 1.5em;
		width: 100%;
	}
	table.smartphone th,
	table.smartphone td{
		display: list-item;
		width: 100%;
		padding: 5px 10px !important;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
		border: 0;
	}
	table.smartphone th{
		list-style-type: none;
		display: block;
		background: #ededed;
		color: var(--color-textNormal);
	}

	table.smartphone td{
		margin-left: 0;
		list-style-type: none;
		border: 0;
		padding-left: 25px;
	}

	.posts table.contact_table td{
		position: static;
		padding-left: 25px;
	}
	.posts table.contact_table td.required:before{
		position: static;
		display: block;
		transform: none;
		margin-bottom: 3px;
	}

	.form input[type=text],
	.form input[type=tel],
	.form input[type=email],
	.form textarea{
		background: #FFF;
		border: 1px solid #ededed;
	}
}
/*form
************************************************************************************/
.error_msg{
	color:#F00;
}
.privacyBox{
	padding: 2em 0;
	text-align: center;
}
.wpcf7-list-item{
	margin: 0 1em 0 0;
}

/*form
----------------------------------------------------------------------*/
.form td li{
	display: inline-block;
	padding: 0 15px 0 0;
}

.form input{
	margin: 2px;
	padding: .5em;
	background: #FFF;
	border: 0;
	outline: none;
}
.form input:focus,
.form select:focus,
.form textarea:focus{
	outline: none;
	box-shadow: 0px 0px 15px -5px #7a7a7a;
	background: #FFF;
}


.form input[type=text],
.form input[type=tel],
.form input[type=email],
.form input[type=url]{
	width: 450px;
}

.form input.m[type=text],
.form input.m[type=tel]{
	width: 200px;
}

.form input.s[type=text],
.form input.s[type=tel]{
	width: 100px;
}

.form input.zip{
	width: 100px;
}

.form label{
	padding-right: 1em;
}

.form textarea{
	width: 500px;
	height: 150px;
	padding: 15px;
	background: #FFF;
	border: 0;
}

.form select{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: .5em 40px .5em .5em;
	background: url("../img/common/ar_dwn.svg") no-repeat right 15px center #f6f6f6;
	-moz-background-size: 10px auto;
	background-size: 10px auto;
	border: 0;
	margin: 5px 0;
}

.btnSend{
	text-align: center;
	padding: 20px 0;
}

.btnSend input[type=submit]{
	padding: 15px 3em;
	background: #774e1d;
	color: #FFF;
	border: 1px;
	cursor: pointer;
	margin: 0 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	font-size: 16px;
}

.screen-reader-response,
.wpcf7-not-valid-tip,
.wpcf7-response-output{
	color: #F00;
	display: block;
	padding: 0.3em 0;
}


@media screen and (max-width: 979px) {
/*tablet*/
}

@media screen and (max-width: 768px){
.form input{
	padding: 15px 1%;
}

.form input[type=text],
.form input[type=tel],
.form input[type=email],
.form input[type=url]{
	width: 100%;
	font-size: 15px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.form input.m[type=text],
.form input.m[type=tel]{
	width: 50%;
	font-size: 15px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.form input.s[type=text],
.form input.s[type=tel]{
	width: 30%;
	font-size: 15px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}


.form textarea{
	width: 100%;
	padding: 5px 1%;
	height: 150px;
	font-size: 15px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.form select{
	padding: 15px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 20px 40px 20px 15px;
	background: url("../../common/img/common/ar_black_dwn.svg") no-repeat right 15px center #e6f2f7;
	-moz-background-size: 10px auto;
	background-size: 10px auto;
	border: 0;
}
.btnSend input[type=submit]{
	padding: 15px 0;
	width: 95%;
	background: #774e1d;
	color: #FFF;
	border: 1px;
	cursor: pointer;
	margin: 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-appearance: none;
	border-radius: 0;
	font-size: 16px;
}
}



/*06.error-page
************************************************************************************/
#error-page{
	width: 100%;
	max-width: 800px;
	margin: auto;
}
#error-page .cover-img{
	text-align: center;
}
#error-page .cover-img img{
	max-width: 100%;
	height: auto;
}
#error-page .title{
	text-align: center;
	font-size: 19px;
	font-weight: bold;
	margin: 1.5em 0;
	color: #5F5F5F;
}
#error-page .error-message{
	text-align: center;
	color: #5F5F5F;
	margin-bottom: 3em;
}

#error-page .btn{
	text-align: center;
    background-color: transparent;
}
#error-page .btn a{
	display: inline-block;
	border-radius: 3px;
	background: #4D4D4D;
	padding: .8em 2em !important;
	color: #FFF;
	text-decoration: none;
}

/*05.page_nav
************************************************************************************/
ul.page_navi{
	text-align: center;
}
ul.page_navi li{
	margin: 10px 0 15px 0;
	background: none;
	padding: 0;
	list-style-type: none;
	display: inline-block;
	font-size: 18px;
	font-weight: 600;
}

ul.page_navi li span{
	background: #666565;
	border: 2px solid #666565;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 2.5;
	margin: 0 5px;
	display: block;
		-webkit-transition: all 0.9s ease-in-out;
		-moz-transition: all 0.9s ease-in-out;
		-o-transition: all 0.9s ease-in-out;
		transition: all 0.9s ease-in-out;
}
ul.page_navi li a{
	background: #c9c9ca;
	border: 2px solid #c9c9ca;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 2.5;
	margin: 0 5px;
	display: block;
	text-decoration: none;
		-webkit-transition: all 0.9s ease-in-out;
		-moz-transition: all 0.9s ease-in-out;
		-o-transition: all 0.9s ease-in-out;
		transition: all 0.9s ease-in-out;
}

ul.page_navi li:first-child a{
	border: 2px solid #666565;
	background: #FFF url(../images/pagenav_prev.svg) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: block;
	text-indent: -9999px;
}
ul.page_navi li:last-child a{
	border: 2px solid #666565;
	background: #FFF url(../images/pagenav_next.svg) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: block;
	text-indent: -9999px;
}

ul.page_navi li:hover span,
ul.page_navi li:hover a{
	background: #666565;
}
ul.page_navi li:first-child:hover a{
	border: 2px solid #666565;
	background: #FFF url(../images/pagenav_prev.svg) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
}
ul.page_navi li:last-child:hover a{
	border: 2px solid #666565;
	background: #FFF url(../images/pagenav_next.svg) no-repeat center center;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
}
