/* --- Reset / Normalize --- */
:root {
    --font-base: "Noto Sans JP", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-base);
}

body {
    color: #333333;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

/* --- Layout & Box --- */
.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.main-logo {
    width: 134px;
    height: 49px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1040px;
    }
}

/* Start CSS FOR min width 992px*/
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

/* Start CSS FOR min width 768px*/
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
}

/* Start CSS FOR min width 576px*/
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
}

/* Start CSS FOR min width 575px*/
@media (max-width: 575px) {
    .container {
        max-width: 100%;
    }
}

.border {
    border: 1px solid #ccc;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-blue-300 {
    border-color: #93c5fd;
}

.rounded {
    border-radius: 8px;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-l-lg {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.rounded-r-lg {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.bg-white {
    background-color: #ffffff;
}

.bg-main {
    background-color: #F7FDFF;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-\[\#006DAA\] {
    background-color: #006DAA;
}

/* --- Spacing --- */
.p-5 {
    padding: 20px;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem; 
    padding-right: 1.5rem;
}
.py-1 {
    padding-top: 0.25rem;  
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem; 
    padding-bottom: 0.75rem;
}

.ml-4 {
    margin-left: 16px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-5 {
    margin-top: 50px;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 50px;
}

.gap-5 {
    gap: 55px 20px;
}

/* --- Flexbox & Display --- */
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.inline-flex {
    display: inline-flex;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.content-end {
    align-content: end;
    text-align: right;
}

.block {
    display: block;
}

/* --- Typography --- */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: bold;
}

.leading-tight {
    line-height: 1.25;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-gray {
    color: #666;
}

.text-white {
    color: #fff
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-700 {
    color: #374151;
}

.text-black {
    color: #000;
}

.text-blue {
    color: #0077cc;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-blue-dark {
    color: #004f99;
}

.underline {
    text-decoration: underline;
}

#detail-blog ol, 
#detail-blog ol.wp-block-list {
    list-style-type: decimal;
    list-style-position: inside;
    line-height: 29px;
    margin: 0 0 50px 0;
}

#detail-blog ul, 
#detail-blog ul.wp-block-list {
    list-style-type: disc;
    list-style-position: inside;
    line-height: 29px;
    margin: 0 0 50px 0;
}

/* --- Hover Effects --- */
.hover\:text-blue-dark:hover {
    color: #004f99;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:text-gray-700:hover {
    color: #374151;
}

.hover\:bg-blue-100:hover {
    background-color: #dbeafe;
}

.hover\:text-blue-700:hover {
    color: #1d4ed8;
}

/* --- Utility --- */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.overflow-hidden {
    overflow: hidden;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.clamp-3-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 72px;
}

.md-w-1-3 {
    flex: 0 0 32%;
    box-sizing: border-box;
}

.w-25 {
    width: 25%;
}

/* .w-75 {
width: 70%;
} */

.text-blue-600 {
    color: #2563eb;
}

.text-blue-800 {
    color: #1e40af;
}

.text-gray-400 {
    color: #9ca3af;
}

.font-semibold {
    font-weight: 600;
}


.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


.space-x-2 > * + * {
    margin-left: 0.5rem;
} 

table {
    border-collapse: collapse;
}

/* --- Component Specific --- */
.blog-title {
    margin-bottom: 50px;
    font-weight: 600;
}

#list-blog,
#detail-blog,
#information {
    padding-top: 50px;
    padding-bottom: 100px;
}

.pagination {
    margin: 50px 0 0 0;
}

.border-bottom {
    border-bottom: 2px solid #848590;
    padding-bottom: 1rem;
}

#detail-blog .wp-block-quote, #detail-blog blockquote {
    border: 10px solid #F0F3F5;
    padding: 40px;
    background: #fff;
    margin-bottom: 50px;
}

#list-blog .wp-block-quote p, #list-blog blockquote p{
    margin-bottom: 0 !important;
}

.border-table td{
    border-bottom: 1px solid #006DAA;
    padding: 30px 0;
    line-height: 27px;
}

.border-table:last-child td{
    border-bottom: none;
}

#detail-blog ol li::marker,
#detail-blog ul li::marker,
#detail-blog ul.wp-block-list li::marker,
#detail-blog ol.wp-block-list li::marker {
    color: #006DAA; 
}

.table-custom {
    padding: 40px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;;
}

.button-link {
    display: inline-block;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: 1.5px solid #fff;
    padding: 10px 40px 12px 60px;
}


.section-content {
    padding: 0 15px;
}

.big-title {
    font-size: 38px;
}

.medium-title {
    font-size: 32px;
}

.small-title {
    font-size: 26px;
}

header {
    background-image: url('../images/background/header-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 0 21px 0;
}


.menu-footer {
    list-style-type: none;
    margin-top: 34px;
}

.menu-footer li {
    margin-bottom: 14px;
}

.menu-footer li a {
    color: #fff;
    font-size: 20px;
}

.text-footer {
    text-decoration: underline;
}

.box-button {
    width: fit-content;
    margin: 50px auto 0 auto;
}

#detail-blog figure.wp-block-image {
    text-align: center;
}

#detail-blog img{
    max-width: 700px !important;
    margin: 0 auto 50px auto;
    display: block;
}
#detail-blog .section-content p {
    line-height: 27px;
    font-size: 16px;
}

#detail-blog .has-x-large-font-size,
#detail-blog h1 {
    font-weight: 600;
    font-size: 38px !important;
    margin-bottom: 50px;
}

#detail-blog .has-large-font-size,
#detail-blog h2 {
    font-weight: 600;
    font-size: 32px !important;
    margin-bottom: 50px;
    border-bottom: 2px solid #848590;
    padding-bottom: 1rem;
}

#detail-blog .has-medium-font-size,
#detail-blog h3 {
    font-weight: 600;
    font-size: 26px !important;
    margin-bottom: 50px;
}

#detail-blog .section-content p {
    margin-bottom: 50px;
}

#list-blog .next.page-numbers, #list-blog .prev.page-numbers {
    color: #2563eb;
    font-size: 1.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#list-blog .page-numbers.current {
    color: #2563eb;
    font-weight: 600;
    font-size: 18px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#list-blog .page-numbers {
    color: #9ca3af;
    font-size: 18px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .w-1-2 {
        flex: 0 0 49.1%;
    }

    .gap-5 {
        gap: 20px 6px;
    }

    #detail-blog .wp-block-quote, blockquote {
        padding: 8px;
    }

    #detail-blog {
        padding: 1.15rem;
    }

    #detail-blog .section-content {
        padding: 0;
    }

    header {
        text-align: center;
        padding: 15px 0;
    }

    .pagination {
        padding: 0;
    }

    #list-blog, #detail-blog, #information {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .post-list article{
        padding: 8px;
    }

    .blog-title {
        margin-bottom: 20px;
    }

    #detail-blog figure.wp-block-image img,
    #detail-blog .section-content img{
        margin: 40px auto;
        max-width: 100% !important;
    }

    #detail-blog .has-x-large-font-size
    #detail-blog h1 {
        font-size: 26px !important;
        margin-bottom: 40px;
    }

    #detail-blog .has-large-font-size,
    #detail-blog h2 {
        font-size: 24px !important;
        margin-bottom: 40px;
        border-bottom: 2px solid #848590;
        padding-bottom: 1rem;
    }

    #detail-blog .has-medium-font-size,
    #detail-blog h3 {
        font-size: 20px !important;
        margin-bottom: 40px;
    }

    #detail-blog .section-content p {
        margin-bottom: 30px;
    }
}
