@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  font-family: Arial, Helvetica, sans-serif;
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --ring: 0 0% 3.9%;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
    --radius: 0.5rem;
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
  .dark {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 0 0% 9%;
    --secondary: 0 0% 14.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --accent: 0 0% 14.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 0 0% 83.1%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}




/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	
}

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

img{
	vertical-align: bottom;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	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;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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












/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.container-big{
	max-width:1400px;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  color: inherit; /* または任意の固定色（例：#000） */
  text-decoration: none; /* 必要に応じて */
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url("/images/herobacke3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

.bg_black{
	position:absolute;
	left:0;
	top:0;
	left:0;
	bottom:0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color:rgba(0,0,0,0.4);
  opacity:0.4;
  z-index:2;
}

#hero_con{
	position:relative;
	z-index:10;
	margin-top:8rem;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, white, transparent);
}

.spbr{
	display:none;
}

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


#hero .max-w-4xl{
	max-width:100%;
}

#hero_h1{
	font-size:3.75em;
}

#hero_h2{
	font-size:1.5rem;
	font-weight:bold;
}

.spbr{
	display:inline;
}

}



/* Navigation */

#masthead{
  position: fixed;
  width:100%;
  left:0;
  top:0;
  z-index: 1000;
  padding: 24px 0;
  background-color:rgba(0,0,0,0);
  transition: all 0.5s ease-out;
}

#masthead.on{
	background-color:rgba(0,0,0,0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  height: 48px;
  width: auto;
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 32px;
}

.grgyaku{
	direction: rtl;
}

.grgyaku *{
	direction: ltr;
}

.nav-link {
  color: #FFF!important;
  text-decoration: none;
  transition: color 0.3s;

}

.nav-link:hover {
  color: #fdd000;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  padding: 8px;
  cursor: pointer;
}

.menu-icon {
  width: 24px;
  height: 24px;
}

.close-line {
  display: none;
}

.mobile-menu-btn.active .menu-line {
  display: none;
}

.mobile-menu-btn.active .close-line {
  display: block;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 20;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}


.mobile-nav-link {
  color: white;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: #fdd000;
}

.mobile-cta {
  margin-top: 16px;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 0 128px;
  margin-top:calc(50vh - 200px - 8rem);
}

.hero-text {
  max-width: 1024px;
}

.hero-title {
  font-size: 6rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 32px;
  color: white;
}

.hero-subtitle {
  font-size: 2rem;
  color: #fdd000;
  line-height: 1.2;
  margin-bottom: 32px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 32px;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 24px;
  border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #fdd000;
  color: #151516;
}

.btn-primary:hover {
  background: #e6c000;
}

.btn-hero {
  background: #fdd000;
  color: #151516;
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: bold;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
  background: #e6c000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn-contact {
  background: #fdd000;
  color: #151516;
  width: 100%;
  padding: 16px;
  font-size: 1.125rem;
  font-weight: 600;
}

.btn-contact:hover {
  background: #e6c000;
}

/* Sections */
.section {
  padding: 64px 0;
}

.bg-gray {
  background: #f9fafb;
}

.bg-white {
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 24px;
}

.section-title.white {
  color: white;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
}

.section-subtitle.white {
  color: #d1d5db;
}

.bg-gray-50{

}

@media screen and (max-width: 770px) {
.grid-rows-\[289\.75px_289\.75px\]{
	grid-template-rows:auto!important;
}

.mobile-menu-content a{
	color:#FFF!important;
}

}


/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 5px;
  border-left: 4px solid #151516;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
  padding: 24px 24px 16px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111111;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(128, 128, 128, 0.3);
}

.card-badge {
  background: #555555;
  color: white;
  font-weight: 500;
  padding: 6px 3px;
  border-radius: 0px;
  text-align: center;
  font-size: 0.875rem;
}

.card-content {
  padding: 0 24px 24px;
}

.card-content p {
  color: #6b7280;
  line-height: 1.75;
}

.solution-badge {
  display: inline-flex;
  align-items: center;
  background: #dcfce7;
  color: #166534;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  margin-top: 48px;
}

#kadai_badge{
	display:block;
	margin:20px auto;
	width:510px;
	max-width:95%;
	text-align:center;
}

#kadai_badge .check-icon{
	display:inline;
}

.picov{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background-color:#000000;
	opacity:0.6;
	transition: all 0.5s ease-out;
}

.picov:hover{
	opacity:0;
}

.check-icon {
  margin-right: 8px;
  font-weight: bold;
}

/* Benefits Section */
.benefits-section {
  position: relative;
  padding: 64px 0;
  background-image: url("/images/modular-village-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.benefits-overlay {
  position: absolute;
  inset: 0;
  z-index:2;
  background: rgba(21, 21, 22, 0.9);
}

.benefits-section .container{
	position:relative;
	z-index:10;
}

.benefits-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.benefit-item.reverse{
	flex-direction: row-reverse;
}

.benefit-image{
	width:50%;
}
.benefit-text{
	width:50%;
}


.benefit-text {
  max-width: none;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.badge-yellow {
  background: #fdd000;
  color: #151516;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

.badge-orange {
  background: #fed7aa;
  color: #9a3412;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}

.benefit-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 24px;
}

.benefit-subtitle {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 16px;
}

.benefit-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 24px;
}

.highlight {
  color: #fdd000;
}

.benefit-image {
  background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
  padding: 4px;
}

.benefit-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Comparison Table */
.comparison-table-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-bottom: 48px;
}

.scroll-indicator {
  display: block;
  background: #f3f4f6;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
}

.comparison-table thead tr {
  background: linear-gradient(to right, #151516, #374151, #151516);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
  padding: 24px;
  font-weight: bold;
  font-size: 1.25rem;
  border-right: 1px solid #6b7280;
}

.comparison-table th:last-child {
  border-right: none;
}

.comparison-table tbody tr {
  transition: background-color 0.3s;
}

.comparison-table tbody tr:hover {
  background: #f9fafb;
}

.comparison-table td {
  padding: 24px;
  font-size: 1.125rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.feature-cell {
  font-weight: 600;
  color: #111111;
  background: #f9fafb;
  min-width: 200px;
}

.feature-icon {
  height: 32px;
  width: 32px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Values Section */
.values-section {
  margin-top: 64px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #374151;
  transition: all 0.3s;
}

.value-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 16px;
}

.value-icon {
  background: #f3f4f6;
  padding: 12px;
  border-radius: 50%;
  font-size: 2rem;
}

.value-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111111;
}

.value-content {
  padding: 0 24px 24px;
}

.value-number {
  color: #374151;
  line-height: 1;
  margin-bottom: 12px;
}

.count-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: #111111;
  margin-right: 8px;
}

#tsuyomi{
	background-image:url(/images/modular-village-bg.jpg);
	background-size:cover;
	background-position:center center;
	position:relative;
	background-attachment:fixed;
}

#tsuyomi_gray{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:1;
}

#div-3{
	position:relative;
	z-index:10;
}


.count-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.value-content p {
  color: #374151;
  line-height: 1.75;
  font-size: 1.125rem;
}

.values-summary {
  text-align: center;
  margin-top: 48px;
  background: linear-gradient(to right, #151516, #374151);
  color: white;
  border-radius: 16px;
  padding: 32px;
  display: inline-block;
}

.values-summary h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.values-summary p {
  color: #d1d5db;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-item {
  text-align: center;
}

.process-image {
  position: relative;
  margin-bottom: 24px;
}

.process-image img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-number {
  position: absolute;
  top: -16px;
  left: -16px;
  background: #151516;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.process-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 8px;
}

.process-description {
  color: #6b7280;
  font-size: 0.875rem;
}

.construction-comparison {
  text-align: center;
  margin-top: 48px;
}

.comparison-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: inline-block;
  max-width: 768px;
  width: 100%;
}

.comparison-title {
  font-size: 2rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 24px;
}

.comparison-highlight {
  background: #f3f4f6;
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.comparison-highlight p {
  color: #374151;
  font-size: 1.5rem;
  font-weight: 500;
}

.comparison-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.comparison-item {
  text-align: center;
}

.comparison-label {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.comparison-value {
  color: black;
  font-size: 2.5rem;
  font-weight: bold;
}

.comparison-arrow {
  font-size: 2.5rem;
  color: #9ca3af;
  transform: rotate(90deg);
}

/* Use Cases */
.use-case-category {
  margin-bottom: 64px;
}

.category-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111111;
  text-align: center;
  margin-bottom: 32px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.use-case-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.use-case-item:hover {
  transform: scale(1.05);
}

.use-case-item img {
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.use-case-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
  transition: background-color 0.3s;
}

.use-case-item:hover .use-case-overlay {
  background: rgba(0, 0, 0, 0);
}

.use-case-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.use-case-description {
  font-size: 0.875rem;
}

.use-case-cta {
  text-align: center;
  margin-top: 64px;
}

.cta-content {
  background: linear-gradient(to right, #f9fafb, #f3f4f6);
  border-radius: 16px;
  padding: 32px;
  display: inline-block;
}

.cta-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 16px;
}

.cta-content p {
  color: #6b7280;
  margin-bottom: 24px;
}

/* Solution Grid */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.solution-item img {
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.solution-content {
  padding: 24px;
}

.solution-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111111;
  margin-bottom: 12px;
}

.solution-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.solution-content p {
  color: #6b7280;
  margin-bottom: 12px;
}

/* FAQ Section */
.faq-container {
  max-width: 1024px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 24px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.active {
  max-height: 200px;
  padding-top: 16px;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.75;
}

/* Contact Section */
.contact-section {

  padding: 120px 0;
  background: linear-gradient(to right, #151516, #374151);
  color: white;
}

.contact-form-container {
  max-width: 512px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
  background: #151516;
  color: white;
  padding: 32px 0;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-text {
  color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-title {
    font-size: 6rem;
  }

  .hero-subtitle {
    font-size: 2.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-item {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-arrow {
    transform: rotate(0deg);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-value {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }

  .hero-subtitle {
        font-size: 2.25rem;
        line-height: 2.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 96px 0;
  }

  .count-number {
    font-size: 4.5rem;
  }

  .count-text {
    font-size: 1.7rem;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .comparison-value {
    font-size: 4rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Model Lineup Section */
.model-lineup-section {
    padding: 64px 0 96px;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 24px;
}

/* Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Model Card */
.model-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.model-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

/* Model Header */
.model-header {
    background: linear-gradient(to right, #151516, #374151);
    color: white;
    padding: 24px;
    text-align: center;
}

.model-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.model-type {
    color: #d1d5db;
    font-size: 1rem;
    margin: 0;
}

/* Model Content */
.model-content {
    padding: 24px;
}

.model-specs {
    margin-bottom: 24px;
}

.spec-size {
    font-size: 2rem;
    font-weight: bold;
    color: #111111;
    margin-bottom: 12px;
}

.spec-item {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.spec-usage {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
}

.usage-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 4px;
}

.usage-text {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Model Image */
.model-image {
    margin-top: 16px;
}

.model-image img {
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.5rem;
    }
    
    .model-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .model-lineup-section {
        padding: 96px 0;
    }
}

@media (min-width: 1200px) {
    .model-card {
        max-width: none;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.model-card {
    animation: fadeInUp 0.6s ease-out;
}

.model-card:nth-child(1) {
    animation-delay: 0.1s;
}

.model-card:nth-child(2) {
    animation-delay: 0.2s;
}

.model-card:nth-child(3) {
    animation-delay: 0.3s;
}

.model-card:nth-child(4) {
    animation-delay: 0.4s;
}


/* Business Advantages Section */
.business-advantages-section {
    padding: 64px 0 96px;
    background: #151516;
    color: white;
}

.business-advantages-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.business-advantages-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Advantage Item */
.advantage-item {
    text-align: center;
    padding: 0 16px;
}

.icon-container {
    background-color: #374151;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.icon-container:hover {
    background-color: #4b5563;
    transform: scale(1.1);
}

.icon {
    width: 32px;
    height: 32px;
    color: #fdd000;
    stroke-width: 2;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

.advantage-description {
    color: #d1d5db;
    line-height: 1.6;
    text-align: left;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .advantage-item {
        padding: 0 20px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
    
    .business-advantages-section {
        padding: 96px 0;
    }
    
    .advantage-item {
        padding: 0 12px;
    }
    
    .advantage-description {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-item {
    animation: fadeInUp 0.6s ease-out;
}

.advantage-item:nth-child(1) {
    animation-delay: 0.1s;
}

.advantage-item:nth-child(2) {
    animation-delay: 0.2s;
}

.advantage-item:nth-child(3) {
    animation-delay: 0.3s;
}

.advantage-item:nth-child(4) {
    animation-delay: 0.4s;
}

#hikakutbl img{
	display:inline;
}
#ctf{
	background-color:#FFF;
}

#ctf input,
#ctf textarea{
	padding:10px;
	max-width:100%;
}

#ctf p{
	margin-bottom:5px;
}

#ctf button{
	padding:10px;
	display:inline-block;
	font-weight:bold;
	color:#333;
	background-color:#fdd000;
	min-width:200px;
}

/*会社概要*/

#pagetitle{
	position: relative;
    background-image: url(/images/herobacke3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
	padding-top:12rem;
	padding-bottom:3rem;
	text-align:center;
}

#pagetitle:after{
	content:"";
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.65);
	z-index:2;
}

#pagetitle h1{
	position:relative;
	text-align:center;
	font-size:2.5rem;
	z-index:5;
}

#gaiyo{
	width:1080px;
	max-width:95%;
	margin:5rem auto;
	border-top:1px solid #CCC;
}

#gaiyo dl{
	display:flex;
	border-bottom:1px solid #CCC;
	margin-bottom:0;
}


#gaiyo dt{
	padding:1.5rem 0.5rem;
	width:200px;
}

#gaiyo dd{
	padding:1.5rem 0.5rem;
	width:calc(100% - 200px);
}

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

#hikaku_h2{
	font-size:1.8rem;
}


.benefit-item {
	display:block;
}

.benefit-text{
	width:100%;
}
.benefit-image{
	width:100%;
	margin-bottom:50px;
}

#hero_con{
	margin-top:5rem;
}



#gaiyo dl{
	display:block;
}


#gaiyo dt{
	padding:0.5rem 0.5rem;
	width:100%;
}

#gaiyo dd{
	padding:0.5rem 0.5rem 0.5rem 1.5rem;
	width:100%;
}

#otoiawase{
	padding-top:calc(4rem + 50px);
}


}




/* Model Lineup Section Styles */
#model-lineup-section {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#model-lineup-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

#model-lineup-section h2 {
    color: #111827;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

#model-lineup-section .bg-white {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-bottom: 3rem;
}

#model-lineup-section .md\\:hidden {
    background-color: #f3f4f6;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #4b5563;
    display: block;
}

@media (min-width: 768px) {
    #model-lineup-section .md\\:hidden {
        display: none;
    }
}

#model-lineup-section .overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

#model-lineup-section table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    table-layout: fixed;
	margin-bottom:0;
}

#model-lineup-section thead tr {
    background: linear-gradient(to right, #111827, #374151, #111827);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#model-lineup-section thead th {
    padding: 1.5rem 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-right: 1px solid #4b5563;
    text-align: center;
    vertical-align: middle;
}

#model-lineup-section thead th:first-child {
    text-align: left;
    width: 200px;
}

#model-lineup-section thead th:not(:first-child) {
    width: calc((100% - 200px) / 4);
}

#model-lineup-section thead th:last-child {
    border-right: none;
}

#model-lineup-section tbody {
    background: white;
}

#model-lineup-section tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

#model-lineup-section tbody tr:hover {
    background-color: #f9fafb;
}

#model-lineup-section tbody td {
    padding: 1rem;
    vertical-align: middle;
    text-align: center;
    font-size: 0.875rem;
    color: #374151;
}

/* Label column styling */
#model-lineup-section tbody td:first-child {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
    text-align: left;
    font-size: 1rem;
    width: 200px;
}

/* Data columns styling */
#model-lineup-section tbody td:not(:first-child) {
    width: calc((100% - 200px) / 4);
}

/* Image styling */
#model-lineup-section tbody img {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.375rem;
    margin: 0 auto;
}

/* Area row emphasis - 占地面積の行を強調 */
#model-lineup-section tbody tr:nth-child(3) td:not(:first-child) {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
}

/* Construction period emphasis - 施工期間の行を強調 */
#model-lineup-section tbody tr:nth-child(9) td:not(:first-child) {
    font-weight: 600;
    color: #111827;
}

/* Multi-line content styling */
#model-lineup-section tbody td br {
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #model-lineup-section table {
        min-width: 1000px;
    }
    
    #model-lineup-section thead th:first-child,
    #model-lineup-section tbody td:first-child {
        width: 180px;
    }
    
    #model-lineup-section thead th:not(:first-child),
    #model-lineup-section tbody td:not(:first-child) {
        width: calc((100% - 180px) / 4);
    }
    
    #model-lineup-section th,
    #model-lineup-section td {
        padding: 0.75rem 0.5rem;
    }
    
    #model-lineup-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #model-lineup-section {
        padding: 4rem 0;
    }
    
    #model-lineup-section .mb-16 {
        margin-bottom: 2rem;
    }
    
    #model-lineup-section h2 {
        font-size: 1.875rem;
    }
    
    #model-lineup-section thead th:first-child,
    #model-lineup-section tbody td:first-child {
        width: 150px;
    }
    
    #model-lineup-section thead th:not(:first-child),
    #model-lineup-section tbody td:not(:first-child) {
        width: calc((100% - 150px) / 4);
    }
    
    #model-lineup-section th,
    #model-lineup-section td {
        padding: 0.5rem 0.25rem;
    }
    
    #model-lineup-section th {
        font-size: 1rem;
    }
    
    #model-lineup-section tbody td {
        font-size: 0.75rem;
    }
    
    #model-lineup-section tbody td:first-child {
        font-size: 0.875rem;
    }
}

/* Accessibility improvements */
#model-lineup-section table:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #model-lineup-section .md\\:hidden {
        display: none;
    }
    
    #model-lineup-section table {
        min-width: auto;
        width: 100%;
    }
    
    #model-lineup-section .overflow-x-auto {
        overflow: visible;
    }
}

/* Custom scrollbar for webkit browsers */
#model-lineup-section .overflow-x-auto::-webkit-scrollbar {
    height: 8px;
}

#model-lineup-section .overflow-x-auto::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#model-lineup-section .overflow-x-auto::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#model-lineup-section .overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/*４つのラインナップここまで*/

