/*
Theme Name: Yamamoto Create Theme
Author: yamamoto create
Description: YAMAMOTO CREATEポートフォリオサイトのオリジナルテーマ
Version: 1.0
*/

/* --- ここから下はアップロードされた style.css の内容です --- */
/* YAMAMOTO CREATE ポートフォリオサイト 共通スタイル */

/* Custom Styles for minimalist design */
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll, fixing the chat icon position bug */
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300; /* Use the thin font weight */
    background-color: #f9fafb; /* Slightly off-white for a softer look */
    color: #374151; /* Dark gray for text */
}
/* Custom heading styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold for headings */
}
/* Responsive Hero Title */
.hero-title-responsive {
     font-size: clamp(2.25rem, 1.5rem + 4vw, 3.75rem);
}
.section-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    color: #1f2937;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #d1d5db; /* Light gray accent line */
}
.tag {
    display: inline-block;
    background-color: #e5e7eb; /* Light gray tag background */
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Header Styles */
#main-header {
    transition: background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
}
#main-header a {
    transition: color 0.4s ease-in-out;
}
#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom-width: 1px;
    border-color: #e5e7eb;
}
#main-header.scrolled .logo-link { color: #1f2937; }
#main-header.scrolled .nav-link { color: #4b5563; }
#main-header.scrolled .nav-link:hover { color: #111827; }

/* --- New Loading Bar Styles --- */
#loader {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
#loader.hidden {
    opacity: 0;
    visibility: hidden;
}
#loader-bar-container {
    width: 220px;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}
#loader-bar {
    width: 100%;
    height: 100%;
    background-color: #374151;
    border-radius: 2px;
    transform-origin: left;
    animation: loading-anim 1.8s ease-in-out infinite;
}
@keyframes loading-anim {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

/* Typing animation cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: white;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* App Detail Page Styles */
.app-header-bg {
    background-color: #f9fafb; /* gray-50 */
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0.5rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.screenshot-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.screenshot-gallery img {
    max-height: 450px;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    flex-shrink: 0;
}

.info-table-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6; /* gray-100 */
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}
.prose ul li {
    margin-bottom: 0.5rem;
}

/* --- Price Simulation Page Styles (追記部分) --- */
.item-checkbox:checked + label,
.subpage-item.checked {
    background-color: #f0f9ff; /* sky-50 */
    border-color: #0ea5e9; /* sky-500 */
}

#contact-modal.hidden {
    display: none;
}

/* --- Blog Post (single.php) Styles --- */
.prose-custom h2 {
    font-size: 1.875rem; /* text-3xl */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb; /* gray-200 */
}

.prose-custom h3 {
    font-size: 1.5rem; /* text-2xl */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose-custom p {
    font-size: 1rem; /* text-base */
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.prose-custom strong {
    font-weight: 700; /* bold */
    color: #111827; /* gray-900 */
}

.prose-custom a {
    color: #0ea5e9; /* sky-500 */
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.prose-custom a:hover {
    color: #0284c7; /* sky-600 */
}

.prose-custom ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose-custom ul li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.prose-custom img { 
    border-radius: 0.5rem; 
    margin-top: 2em; 
    margin-bottom: 2em; 
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}