@charset "UTF-8";
/**
 * Theme Name: ジエン社
 * Theme URI: https://elegirl.net/jiensha/
 * Description: The end of company ジエン社のWordPressテーマ
 * Version: 2.0.0
 * Author: elegirl
 * Author URI: https://elegirl.net
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: jiensha
 */

/* ==========================================================================
   Table of Contents
   ========================================================================== */

/*
 * 1. CSS Variables
 * 2. Reset & Base
 * 3. Typography
 * 4. Layout
 * 5. Header & Navigation
 * 6. Hero Section
 * 7. Activity Section
 * 8. About Section
 * 9. CEO Section
 * 10. Blog Section
 * 11. Footer
 * 12. Components
 * 13. Utilities
 * 14. Media Queries
 */

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #3e4268;
    /*--color-primary-dark: #00949b;*/
    --color-primary-light: #deeaf5;
    --color-text: #000000;
    --color-text-light: #404040;
    --color-text-muted: #999999;
    --color-border: #eeeeee;
    --color-bg: #fffffe;
    --color-bg-paper: url('https://elegirl.net/jiensha/wp-content/uploads/paper.jpg');
    
    /* Fonts */
    --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-serif: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    
    /* Spacing */
    --space-xs: 10px;
    --space-sm: 20px;
    --space-md: 30px;
    --space-lg: 60px;
    --space-xl: 80px;
    
    /* Container */
    --container-max: 1300px;
    --container-padding: 20px;
    
    /* Transitions */
    --transition-base: all 0.2s ease-in-out;
    --transition-slow: all 0.3s ease-in-out;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-y: scroll;
}

body {
	background:var(--color-primary-light);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.018em;
    -webkit-font-feature-settings: "palt" 1;
    font-feature-settings: "palt" 1;
}

/* HTML5 Elements */
article, aside, details, figcaption, figure, 
footer, header, main, nav, section {
    display: block;
}

/* Lists */
ol, ul {
    list-style: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover,
a:focus {
    color: var(--color-primary-dark);
}

a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Tables */
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
}

caption, th, td {
    font-weight: normal;
    text-align: left;
}

/* Forms */
button, input, select, textarea {
    margin: 0;
    vertical-align: baseline;
    font-family: inherit;
}

textarea {
    overflow: auto;
    width: 98%;
    padding-left: 3px;
    vertical-align: top;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--color-border);
}

textarea:active,
textarea:focus {
    border-color: #d4d4d4;
    outline: none;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    font-weight: normal;
    line-height: 1.4;
    clear: both;
}

h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.mincho {
    font-family: var(--font-serif);
}

p {
    margin: 0 0 var(--space-xs);
}

/* Text Elements */
b, strong {
    font-weight: 600;
}

dfn, cite, em, i {
    font-style: italic;
}

code, kbd, tt, var {
    font-size: 16px;
    line-height: 1.7;
}

abbr, acronym {
    cursor: help;
    border-bottom: 1px dotted #666;
}

mark, ins {
    text-decoration: none;
    background: #fff9c0;
}

sup, sub {
    font-size: 15px;
    line-height: 0;
    position: relative;
    height: 0;
    vertical-align: baseline;
}

sup { bottom: 1ex; }
sub { top: 0.5ex; }

small { font-size: 14px; }
big { font-size: 17px; }

blockquote {
    margin: 0;
    padding-left: 0;
    position: relative;
}

blockquote::before {
    font-size: 32px;
    color: var(--color-border);
    display: block;
    position: absolute;
    top: -45px;
    left: 0;
    transform: scaleX(-1);
}

blockquote cite {
    display: block;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    margin-top: 7px;
    width: 100%;
    text-align: right;
}

hr {
    height: 0;
    margin-top: -1px;
    margin-bottom: 24px;
    padding-top: 24px;
    border: 1px solid var(--color-border);
    border-width: 0 0 1px 0;
    clear: both;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.site {
    margin: 0 auto;
    padding: 27px;
    background: white;
}

.site-content {
    margin: 0 auto;
    padding: 80px;
	background:#fff;
	width:var(--container-max);
}

/* Container */
.hero-content,
.about-container,
.ceo-container,
.blog-container{
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0;
}

/* Flexbox Utility */
.flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Screen Reader Text */
.screen-reader-text,
.sr-only {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    font-weight: 600;
    line-height: 24px;
    position: absolute !important;
    z-index: 100000;
    top: 24px;
    left: 24px;
    display: inline-block;
    clip: auto !important;
    padding: 24px;
    border: 1px solid var(--color-text);
    background-color: var(--color-bg);
    box-shadow: rgba(0, 0, 0, 0.6) 2px 2px 10px;
}

/* Clearfix */
.clear::before,
.clear::after {
    display: table;
    content: '';
}

.clear::after {
    clear: both;
}

/* Responsive Display */
.pc-only {
    display: block;
}
.sp-only {
    display: none;
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin: 14px 27px 14px 0;
}

.alignright {
    display: inline;
    float: right;
    margin: 14px 0 14px 27px;
}

.aligncenter {
    display: block;
    clear: both;
    margin: 14px auto;
}

.alignnone {
    margin-top: 14px;
    margin-bottom: 14px;
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */

.site-header{
	width:1300px;
	margin:40px auto 0;
	padding:60px 60px 0;
	background:#fff;
}

header .site-title{
    font-size: 20px;
    letter-spacing: 0;
}

header .site-title a{
	color:#333;
}

.site-header .wrap{
	display:flex;
	justify-content:space-between;
}

.primary-menu{
	 width: 500px;
    display: flex;
    justify-content: space-between;
}

.home-header {
    margin: var(--space-sm) 0 0;
    position: fixed;
    z-index: 100;
    width: 100%;
}

.home-header .hero-content {
    width: var(--container-max);
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area p img {
    width: 100px;
}

/* Main Navigation */
.main-navigation {
    clear: both;
}

.main-navigation ul {
    clear: both;
    margin: 0;
    padding-left: 0;
    list-style: none;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.main-navigation li {
    position: relative;
    display: block;
    writing-mode: vertical-rl;
    margin-left: var(--space-md);
}

.main-navigation li:hover > a {
    color: var(--color-primary);
}

.main-navigation a,
.main-navigation a:visited {
    display: block;
    padding: 0;
    text-decoration: none;
    text-align: left;
    font-family: var(--font-serif);
    color: var(--color-bg);
}

/* Drawer Navigation (Mobile) */
.drawer-nav {
    z-index: 300;
    background: transparent !important;
}

#menu-main-menu li {
    margin: var(--space-sm) 0;
}

#menu-main-menu li a {
    color: var(--color-bg) !important;
}

/* Menu Toggle */
.menu-toggle {
    margin: 0 auto;
    position: relative;
    padding: 5px 7px;
    border: 1px solid var(--color-border);
}

.menu-toggle::before {
    font-size: 16px;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.toggled .menu-toggle {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.hero-section {
    background: url('https://elegirl.net/jiensha/wp-content/uploads/vis.jpg') no-repeat top;
    background-size: cover;
    text-align: center;
	margin: 0 -80px;
}

.hero-section .hero-content {
    padding: 80px 0;
    display: flex;
    width: var(--container-max);
    justify-content: space-between;
    margin: 0 auto;
    align-items: flex-start;
}

.hero-logo {
    text-align: center;
    margin: 0;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-subtitle {
    display: block;
    font-size: 16px;
    margin: var(--space-md) 0;
}

.catch{
text-align: right;
    display: flex;
    flex-direction: column;
}

.hero-tagline {
	line-height:1;
    margin:0;
    font-size: 50px;
    letter-spacing: 5px;
}

.hero-tagline-span{
    line-height: 1;
    margin: 0;
    font-size: 50px;
    letter-spacing: 5px;
    writing-mode: vertical-rl;
    margin:0;
}

/* ==========================================================================
   7. Activity Section
   ========================================================================== */

.activity-section {
    padding: 0;
    text-align: left;
    width: 100%;
}

.activity-container {
    margin: 0;
    background: #fFF;
    padding: var(--space-lg);
    position: relative;
    z-index: 200;
}

.section-header {
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 30px;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.section-title .section-subtitle {
    font-size: 16px;
    margin-left: var(--space-sm);
}

.activity-grid {
    display: block;
}

.activity-item {
    margin-bottom: var(--space-md);
}

.activity-item-title {
    font-size: 120x;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    text-align: left;
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    border-bottom: 1px solid var(--color-bg);
}

.activity-item-title span {
    font-size: 10px;
    display: inline-block;
    margin-left: var(--space-sm);
}

.activity-item-link a{
	padding:10px 20px;
	background:var(--color-primary);
	color:#fff;
}

/* Next Event */
.next-event-box {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    color: var(--color-bg);
}

.next-event-image {
    flex: 0 0 34%;
}

.next-event-image img {
    width: 100%;
    height: auto;
}

.next-event-content {
    flex: 1;
}

.next-event-project a {
    color: var(--color-bg);
    font-size: 16px;
}

.next-event-span,
.next-event-place {
    font-size: 16px;
    margin-top: var(--space-xs);
    color: var(--color-bg);
}

/* News List */
.news-items {
    list-style: none;
    margin-bottom: 24px;
}

.news-item {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.news-item a {
    display: flex;
    align-items: center;
}

.news-item time {
    font-size: 13px;
    margin-right: var(--space-sm);
	
}

.news-item h4 {
    font-size: 16px;
    display: inline;
}

/* No Content Message */
.no-content {
    font-size: 16px;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   8. About Section
   ========================================================================== */

.about-section {
    padding: var(--space-lg) 0;
}

.about-grid {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.about-visual {
    flex: 0 0 30%;
}

.about-visual-title {
	font-size:26px;
    margin-bottom: 30px;
}

.about-visual-title img {
    height: 290px;
    width: auto;
}

.about-content {
    flex: 1;
}

.about-content .section-title {
    font-family: var(--font-serif);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.about-content .section-title span {
    font-size: 13px;
    margin-left: 16px;
}

.about-text {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-gallery {
    display: flex;
    gap: 2%;
    margin-top: var(--space-lg);
}

.about-gallery li {
    flex: 1;
}

.about-gallery li img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   9. CEO Section
   ========================================================================== */

.ceo-section {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-lg);
	margin:0 -80px;
}

.ceo-grid {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.ceo-content {
    flex: 1;
}

.ceo-section .section-title {
    font-family: var(--font-serif);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    margin-bottom:30px;
}

.ceo-section .section-title span {
    font-size: 13px;
    margin-left: 16px;
}

.ceo-bio {
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.ceo-bio p {
    margin-bottom: var(--space-sm);
}

.ceo-image {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ceo-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   10. Blog Section
   ========================================================================== */

.blog-section {
    padding: var(--space-lg) 0;
}

.blog-grid {
    display: flex;
    gap: 4%;
}

.blog-news {
    flex: 0 0 48%;
}

.blog-section-title {
    font-family: var(--font-serif);
    text-align: left;
    display: flex;
    align-items: center;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.blog-section-title span {
    font-size: 13px;
    margin-left: 16px;
}

.blog-news-list {
    list-style: none;
    margin-bottom: 24px;
}

.blog-news-item {
    margin: 15px 0;
}

.blog-news-item a {
    display: flex;
    align-items: center;
}

.blog-news-item time {
    font-size: 13px;
    margin-right: var(--space-sm);
}

.blog-news-item h4 {
    font-size: 16px;
}

.blog-links {
    flex: 0 0 48%;
    background: var(--color-border);
    padding: var(--space-sm);
}

/* Related Links */
.related-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.related-link-item {
    display: flex;
}

.related-link-card {
    display: flex;
    width: 100%;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-bg);
    transition: var(--transition-base);
}

.related-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-link-image {
    flex: 0 0 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
}

.related-link-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.related-link-content {
    flex: 1;
}

.related-link-content h3 {
    margin: var(--space-xs) 0;
    font-size: 18px;
    letter-spacing: 0;
    color: var(--color-text);
}

.related-link-content p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
    text-align: center;
    clear: both;
}

.footer-container {
    margin: 0 auto var(--space-lg);
    padding: var(--space-lg);
	width:1300px;
	background:#fff;
    border-top: 0;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.social-links li {
    padding: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: 50%;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.copyright {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

/* ==========================================================================
   12. Components
   ========================================================================== */

/* Buttons */
.btn {
    text-align: center;
    margin-bottom: var(--space-xs);
}

.btn a {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 5px var(--space-sm);
    text-align: center;
    font-size: 16px;
    transition: var(--transition-base);
    border: 0;
    cursor: pointer;
}

.btn a:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary a {
    background: var(--color-bg);
    color: var(--color-primary);
}

.btn-secondary a:hover {
    background: var(--color-primary-dark);
    color: var(--color-bg);
}

/* Headlines */
.headline02 {
    font-weight: 400;
    font-size: 25px;
    margin: var(--space-sm) 0 var(--space-xs);
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.headline03 {
    padding: var(--space-xs) var(--space-sm);
    background: repeating-linear-gradient(
        -45deg,
        var(--color-primary-light),
        var(--color-primary) 5px,
        var(--color-primary) 5px,
        var(--color-primary-light) 10px
    );
    color: var(--color-bg);
    margin-bottom: var(--space-md);
    display: block;
    width: 100%;
}

a.headline03 {
    margin-bottom: 0;
}

/* WordPress Captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: 27px;
}

.wp-caption img[class*='wp-image-'] {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.wp-caption-text {
    font-size: 15ox;
    line-height: 1.5;
    margin: 14px 0;
    padding: 0 1%;
}

/* Gallery */
.gallery {
    margin-bottom: 27px;
}

.gallery figure {
    margin: 0;
}

/* ==========================================================================
   13. Archive & Single Post Styles
   ========================================================================== */

.hentry {
    position: relative;
    margin: 0 0 var(--space-sm);
    padding: 0 0 var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.page .hentry,
.single .hentry {
    display: block;
}

.entry-header {
    width: 100%;
    margin: 0 auto var(--space-lg);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: var(--space-lg);
}

.entry-title {
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1;
    margin: 0;
    text-align: left;
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.archive .page-title {
    font-family: var(--font-serif);
    text-align: left;
    display: flex;
    align-items: center;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.archive .page-title::after {
    content: "posts";
    font-size: 13px;
    margin-left: 16px;
}

.entry-thumbnail img {
    width: 150px;
    margin: 0;
    border-radius: 4px;
}

.entry-content h2 {
    margin: var(--space-md) 0 var(--space-sm);
}

.entry-content h3 {
    margin: var(--space-md) 0 var(--space-sm);
}

.entry-content .box h3 {
    margin-top: 0;
}

.entry-content p {
    margin: 0 0 var(--space-xs);
}

/* Archive Layout */
.archive .site-content,
.single .site-content {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

.archive .site-content .content-area,
.single .site-content .content-area {
    width: 66%;
}

.archive .site-content .widget-area,
.single .site-content .widget-area {
    width: 28%;
    margin: 0 0 0 6%;
}

/* ==========================================================================
   14. Works Page
   ========================================================================== */

.workslist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
}

.workslist li {
    width: calc(33.333% - var(--space-sm));
    margin-bottom: var(--space-md);
    text-align: center;
}

.workslist li:first-child {
    width: 100%;
}

.workslist li .thumbnail {
    margin-bottom: var(--space-sm);
}

.workslist li .thumbnail a {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workslist li .thumbnail a img {
    object-fit: contain;
    max-height: 100%;
    width: auto;
}

.workslist li .project {
    font-size: 16px;
    color: var(--color-primary);
}

.workslist li a {
    font-size: 16px;
    color: var(--color-primary);
}

.workslist li .title {
    font-weight: 600;
}

/* Works Detail */
.works-box {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.works-img {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.works-info {
    flex: 1;
}

.span,
.place {
    font-size: 13px;
    margin-bottom: var(--space-xs);
}

.span::before {
    content: "期間";
    font-size: 16px;
    margin-right: 15px;
}

.place::before {
    content: "会場";
    font-size: 16px;
    margin-right: 15px;
}

.director {
    margin: var(--space-sm) 0;
}

.director::before {
    content: "脚本・演出";
    font-size: 16px;
    margin-right: 15px;
}

.cast::before {
    content: "出演";
    font-size: 16px;
    margin-right: 15px;
    display: block;
}

.cast span {
    font-size: 16px;
}

.cast .staff {
    font-size: 16px;
    margin-top: var(--space-md);
}

.intro-box .intro {
    columns: 3;
    font-size: 16px;
    gap: var(--space-md);
}

.intro-box .catch {
    writing-mode: vertical-rl;
    margin: 60px auto;
    font-size: 16px;
    font-family: var(--font-serif);
}

.other-box {
    padding: var(--space-md);
    background: #efefef;
    margin: var(--space-md) auto;
}

.other-box p {
    font-size: 16px;
}

/* Gallery */
.gallery-box .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: var(--space-md) 0;
    gap: 1%;
}

.gallery-box .gallery figure {
    width: 19%;
    padding: var(--space-xs) 0.5%;
}

.gallery-box .gallery figure img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   15. Widgets
   ========================================================================== */

.widget {
    line-height: 2;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 var(--space-sm);
    padding: 0;
}

.widget select {
    max-width: calc(100% - 48px);
    margin-left: 1px;
}

.widget a {
    text-decoration: none;
    color: var(--color-primary);
}

.widget a:hover,
.widget a:active,
.widget a:focus {
    color: #666;
}

.widget ul,
.widget ol {
    margin: 0;
    list-style: none;
}

.widget li {
    margin: 0;
    padding-top: 6px;
    padding-bottom: 7px;
    list-style: none;
    border-top: 1px solid var(--color-border);
}

.widget-title {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.36em;
    margin: 14px 0;
}

.widget-title a {
    color: #666;
}

#secondary .widget-title {
    font-weight: 400;
    font-size: 17px;
    margin: var(--space-sm) 0 var(--space-xs);
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

#secondary .widget-title::before {
    content: "\f0da";
    font-size: 12px;
    font-family: FontAwesome;
    margin-right: 15px;
}

.widget_recent_entries ul li {
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   16. Navigation
   ========================================================================== */

.post-navigation,
.paging-navigation {
    font-size: 12px;
    line-height: 1.5;
    overflow: hidden;
    width: 100%;
    margin: var(--space-sm) 0 0;
    padding: 12px;
    background: var(--color-border);
}

.post-navigation .meta-nav,
.paging-navigation .meta-nav {
    clear: both;
    color: var(--color-primary);
    display: block;
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-navigation a,
.paging-navigation a {
    color: #aaa;
    text-decoration: none;
}

.post-navigation a:hover,
.paging-navigation a:hover {
    color: #666;
}

.nav-next {
    text-align: right;
}

/* ==========================================================================
   17. Media Queries - Mobile & Tablet Responsive Design
   ========================================================================== */

@media screen and (max-width: 1024px) {
    :root {
        --container-max: 100%;
        --container-padding: var(--space-sm);
    }
    
    .hero-section .hero-content {
        width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-navigation li {
        writing-mode: horizontal-tb;
        margin-left: 0;
        margin-bottom: var(--space-xs);
    }
}

@media screen and (max-width: 768px) {
    /* Display Control */
    .sp-only {
        display: block;
    }
    
    .pc-only {
        display: none;
    }

    /* Typography */
    h1 { font-size: 24px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }

    /* Layout */
    .flexbox {
        display: block;
    }

	.sp-header {
        margin: 0;
        padding: 30px;		
	}
	
    .site-content {
        width: auto;
        margin: 0;
        padding: 30px;
    }

    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: var(--space-lg) 0;
		margin:0;
    }

    .hero-section .hero-content {
        padding: var(--space-sm);
        width: auto;
    }

    .hero-logo img {
        width: 100px;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 12px;
    }

    .hero-tagline {
        font-size: 14px;
        margin: var(--space-md) auto 0;
    }

    .logo-area .site-title a img {
        width: 40px !important;
    }

    /* Navigation */
    .home-header .hero-content {
        width: auto;
    }

    .main-navigation {
        width: 100%;
        display: none;
    }

    /* Activity Section */
    .activity-section {
        padding: 0;
    }

    .activity-container {
        width: auto;
        padding: var(--space-sm);
    }

    .activity-grid {
        flex-direction: column;
    }

    .activity-item {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    .section-header {
        margin-bottom: var(--space-sm);
    }

    .section-title {
        margin-bottom: var(--space-sm);
        font-size: 16px;
    }

    .activity-item-title {
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    /* Next Event */
    .next-event-box {
        flex-direction: column;
    }

    .next-event-image,
    .next-event-content {
        width: 100%;
    }

    .next-event-image {
        margin-bottom: var(--space-sm);
    }

    /* About Section */
    .about-section {
        padding: 30px;
    }

    .about-grid {
        flex-direction: column;
    }

    .about-visual {
        display: none;
    }

    .about-content {
        width: 100%;
    }

    .about-content .section-title {
        margin-bottom: var(--space-sm);
    }

    .about-gallery {
        flex-direction: column;
        margin: var(--space-sm) 0;
    }

    .about-gallery li {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    /* CEO Section */
    .ceo-section {
        padding:0;
		margin:0;
    }

    .ceo-grid {
        flex-direction: column;
		padding:30px;
    }

    .ceo-content,
    .ceo-image {
        width: 100%;
    }

    .ceo-section .section-header {
        margin-bottom: var(--space-sm);
    }

    /* Blog Section */
    .blog-section {
        padding: var(--space-sm) 0;
    }

    .blog-container {
        padding: 30px;
    }

    .blog-grid {
        flex-direction: column;
    }

    .blog-news,
    .blog-links {
        width: 100%;
    }

    .blog-links {
        margin: var(--space-lg) calc(var(--space-sm) * -1) 0;
        width: calc(100% + var(--space-lg));
    }

    .related-links {
        flex-direction: column;
    }

    .related-link-card {
        flex-direction: row;
    }

    .related-link-image {
        flex: 0 0 100px;
    }

    .related-link-content {
        flex: 1;
    }

    /* Footer */
    .site-footer {
        padding: 0;
    }

    .footer-container {
        width: auto;
    }

    /* Archive & Single */
    .archive .entry-header,
    .single .entry-header {
        margin-bottom: var(--space-sm);
    }

    .archive .site-content,
    .single .site-content {
        display: block;
        width: auto;
    }

    .archive .site-content .content-area,
    .single .site-content .content-area,
    .archive .site-content .widget-area,
    .single .site-content .widget-area {
        width: auto;
        padding: 0;
        margin: 0 ;
    }

    .single .entry-content img {
        width: 100%;
        height: auto;
        margin: var(--space-xs) 0;
    }

    .entry-thumbnail img {
        width: 100%;
    }

    .archive .page-title,
    .entry-title {
        font-size: 20px;
        padding-bottom: 0;
    }

    .single .entry-title {
        padding-top: var(--space-sm);
    }

    /* Works Page */
    .workslist {
        flex-direction: column;
    }

    .workslist li {
        width: 100%;
        height: auto;
    }

    .workslist li .thumbnail a {
        height: auto;
    }

    .works-box {
        flex-direction: column;
    }

    .works-img,
    .works-info {
        width: 100%;
    }

    .intro-box .intro {
        columns: 1;
    }

    .gallery-box .gallery {
        gap: 2%;
    }

    .gallery-box .gallery figure {
        width: 48%;
    }

    /* Embedded Content */
    embed, iframe, object {
        max-width: 100%;
    }

    /* Company Info */
    .company {
        display: block;
    }

    .company dt {
        width: 100%;
        font-size: 11px;
        margin: 0;
    }

    .company dd {
        width: 100%;
        margin: 0 0 var(--space-xs);
    }

    /* Buttons */
    .btn {
        text-align: left;
    }

    /* Post Items */
    .news-item time,
    .blog-news-item time {
        display: block;
        font-size: 10px;
    }

    /* Service List */
    .service-list-items ul li {
        text-align: left;
    }

    .service-list-items h3 {
        text-align: left;
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .service-list-items ul {
        padding-left: 0;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    :root {
        --space-xs: 8px;
        --space-sm: 12px;
        --space-md: 20px;
        --space-lg: 30px;
        --space-xl: 50px;
    }

    body {
        font-size: 13px;
    }

    .hero-logo img {
        width: 80px;
    }

    .activity-container {
        padding: 30px;
    }

    .related-link-card {
        flex-direction: column;
        text-align: center;
    }

    .related-link-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .gallery-box .gallery figure {
        width: 100%;
    }
}

/* ==========================================================================
   18. Print Styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    .home-header,
    .menu-toggle,
    .drawer-nav,
    .social-links,
    .btn {
        display: none;
    }

    .site {
        padding: 0;
    }

    .site-content {
        margin: 0;
        padding: 0 30px;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   19. Accessibility Improvements
   ========================================================================== */

/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    * {
        border-color: currentColor !important;
    }

    a {
        text-decoration: underline;
    }
}

/* ==========================================================================
   20. Utility Classes
   ========================================================================== */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }

/* Colors */
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }

.bg-primary { background-color: var(--color-primary); }
.bg-light { background-color: var(--color-border); }

/* ==========================================================================
   21. Animation & Transitions
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   22. WordPress Core Styles
   ========================================================================== */

/* Alignments */
.alignleft {
    float: left;
    margin: 0 var(--space-sm) var(--space-sm) 0;
}

.alignright {
    float: right;
    margin: 0 0 var(--space-sm) var(--space-sm);
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Text meant only for screen readers */
.says,
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--color-border);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--color-primary);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   End of Stylesheet
   ========================================================================== */