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

body {
    font-family: 'IBM Plex Sans JP', sans-serif;
    color: #222;
    background-color: #f9f4ef;
    line-height: 1.6;
    overflow-x: hidden;
	scroll-behavior: smooth;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: #0066b3;
}

a:hover {
    color: #34beed;
    text-decoration: underline; 
    transition: all 0.2s;
}

a img {
	transition: all 0.3s;
}

a img:hover {
	opacity: 0.8;
}

.mx-auto {
	margin: auto;
}

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

.text-left{
	text-align: left;
}

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

.image-mgb {
	margin-bottom: 60px!important;
}

img.img-responsive {
	image-rendering: -webkit-optimize-contrast;
}

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

.image-item {
	width: 100%;
	display: flex;
    flex-direction: column;
}

.image-item img {
	width: 100%;
    /*height: 375px;*/
	height: 300px;
	object-fit: scale-down;
    /*object-fit: contain;*/
}

.image-height {
	height: 375px!important;
}

.image-flex {
	display: flex;
	gap: 45px;
	
}

.margin-note {
	margin: 8px 0;
}

.mgb-40 {
	margin-bottom: 40px!important;
}

.w-70 {
	width: 70%;
}

@media screen and (max-width: 1070px) {
	.w-70 {
	width: 100%;
}
}

/* ==================== Typography ==================== */
h1 {
    font-size: 46px;
    font-weight: 700;
    color: white;
    text-align: center;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

h3 {
    /*font-size: 20px;*/
	font-size: 16px;
    font-weight: 700;
    color: #222;
}

.h3-outside {
	font-size: 20px;
}

h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

p {
    font-size: 18px;
    line-height: 32px;
}

p:last-child {
    margin-bottom: 0;
}

.notes {
	font-size: 13px;
    line-height: 1.8;
}

.img-notes {
	font-size: 13px;
    line-height: 1.8;
	color: #555555;
}

/* ==================== Header ==================== */
.header {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px;
    position: fixed;
	top: 0;
	right: 0;
	left: 0;
    z-index: 100;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list a {
    font-size: 15px;
    font-weight: 600;
    color: #0066b3;
    transition: 0.3s;
}

.nav-list a:hover {
    opacity: 0.7;
	text-decoration: underline;
}


/*-- 付与するcurrentクラスのスタイル --*/
a.current {
	color: #fff;
    background-color: #F55014;
    padding: 8px;
    border-radius: 15px;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    position: relative;
    height: 16px;
}

.menu-icon span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #F55014;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
    left: 0;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 7px;
}

.menu-icon span:nth-child(3) {
    top: 14px;
}

/* × アニメーション（menu-btn.open 時） */
.menu-btn.open .menu-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.menu-btn.open .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn.open .menu-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

.menu-text {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #F55014;
}

/* ==================== Mobile Menu ==================== */

.menu-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 140;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.menu-overlay.active {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 68px; /* header height */
    left: 0;
    width: 100%;
    background: white;
    z-index: 150;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.mobile-menu.active {
    /*max-height: 600px;*/
	 /*max-height: 352px;*/
	max-height: 331px;
}

.mobile-nav {
    background: #f5f5f5;
    padding-top: 1px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    border-bottom: 0.5px solid #cacaca;
}

.mobile-nav-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #0066b3;
}

.mobile-nav-list .arrow {
    width: 21px;
    height: 21px;
    background: #F55014;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}




/* ==================== Main Content ==================== */
.main-content {
    width: 100%;
}

/* H1 Header Section */
.h1-header {
    position: relative;
    width: 100%;
	background-image: url(img/h1_bg.svg);
	background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	padding: 8rem 0 1.5rem;
}

/*.decorative-bg {
    position: absolute;
    top: -477px;
    left: -2px;
    width: 1922px;
    height: 1081px;
    opacity: 0.2;
    background-image: url('data:image/svg+xml,...'); 
    pointer-events: none;
}*/

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
	 background: #fff;
    border-radius: 20px;
    margin-top: 40px;
}

/* Content Sections */
.content-section {
    margin-bottom: 48px;
}

/* Headings */
.heading-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 10px;
    border-bottom: 1px solid #f55014;
    margin-bottom: 32px;
}

.gap-0 {
	gap: 0!important;
}

.h2-icon {
   /* width: 28px;*/
    /*height: 30px;*/
	width: 32px;
    height: 32px;
    background-image: url('img/h2_icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
	margin-bottom: 8px;
}

.h3-icon {
    width: 10px;
    height: 10px;
    background: #F55014;
    border-radius: 50%;
}

.h3-icon-grid {
    width: 10px;
    height: 7px;
    background: #F55014;
    border-radius: 50%;
}

.h3-heading {
	padding:0 16px 10px 0;
	margin-bottom: 15px!important;
}

.h4-heading {
    border-bottom: 1px solid #f55014;
	padding: 10px 0;
	display: block;
}

/* Text Styles */
.text-orange {
    font-size: 20px;
    font-weight: 600;
    color: #f55014;
    margin-bottom: 32px;
}

.text-blue {
	color: #0066B3;
	font-weight: bold;
}

.text-content {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 32px;
}

/* Images */
.rounded-image {
    border-radius: 20px;
    border: 1px solid #ddd;
}

.image-single {
    margin-bottom: 32px;
}

.padding-image {
	padding: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    margin-bottom: 32px;
}

.image-large {
    margin-bottom: 32px;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #c4c4c4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 32px;
}

.data-table tr {
    /* border-bottom は th/td 側で管理 */
}

.data-table tr:last-child th,
.data-table tr:last-child td {
    border-bottom: none;
}

.data-table th {
    background: #f5f5f5;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 20px;
    border-right: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    width: 200px;
}

.data-table td {
    font-size: 16px;
    padding: 15px 20px;
    line-height: 32px;
    border-right: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
}

.data-table th:last-child,
.data-table td:last-child {
    border-right: none;
}

/* ul li */
ul.list-mark {
    list-style: disc;
    margin-top: 4px;
    margin-left: 25px;
	/*font-size: 15px;*/
	font-size: 18px;
}

ul.list-mark li {
    line-height: 1.7;
}

ul > li, ol > li {
    font-size: inherit;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: .5rem;
}

/* Accordion */
.accordion {
    margin-bottom: 32px;
}

.accordion-item {
    background: #D9E7F2;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 2px 1px 8px 0px rgba(0, 54, 97, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-align: left;
    cursor: pointer;
    background: transparent;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    background: #015DB2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.accordion-icon i {
    transition: none;
}

.accordion-item.active .accordion-icon {
    transform: none;
}

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

.accordion-item.active .accordion-content {
   /* max-height: 1000px;*/
	 max-height: 1400px;
}

.accordion-body {
    background: white;
    padding: 24px;
    border-radius: 0 0 20px 20px;
    font-size: 18px;
    line-height: 32px;
}


/* Text Box */
.text-box {
    background: #ffedd9;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
}

.text-box p {
    font-size: 18px;
    line-height: 32px;
}

/* ==================== types.css ====================
   ロボットの種類ページ専用スタイル
   ※ styles.css の共通スタイル（header/footer/h1-header 等）を継承
   ====================================================*/

/* ---- コンテナ上書き ---- */
.types-container {
    padding-top: 0;
    padding-bottom: 64px;
}

/* ==================== ボタンエリア ==================== */
.btn-area {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 40px 40px;
}

.btn-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /*background-color: #F6711E;*/
	background-color: #FBB136;
    color: #fff;
    text-decoration: none;
    font-family: 'IBM Plex Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.btn-type:hover {
    background-color: #F6711E;
    text-decoration: none;
    transform: translateY(-2px);
	color: #fff!important;
}

.btn-type i {
    font-size: 18px;
}

/* ==================== セクション見出し ==================== */
.types-section {
    margin-bottom: 64px;
}

/* heading-wrapper は styles.css のクラスを流用 */
/*.heading-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 10px;
    border-bottom: 1px solid #f55014;
    margin-bottom: 32px;
}*/

/* h2 アイコン（インライン SVG 用） */
/*.h2-icon-wrap {
    width: 28px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

/*.h2-icon-wrap svg {
    width: 100%;
    height: 100%;
}*/

/* ==================== セクションリード文 ==================== */
.section-lead {
    font-size: 18px;
    line-height: 32px;
    color: #222;
    margin-bottom: 32px;
}

/* ==================== ロボットカードグリッド ==================== */
.robot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

/* ==================== ロボットカード ==================== */
.robot-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* カード画像エリア */
.robot-card-img {
    width: 100%;
    height: 270px;
   /* background-color: #d9d9d9;*/
    overflow: hidden;
    flex-shrink: 0;
	display: flex;
    justify-content: center;
}

.robot-card-img img {
    /*width: 100%;*/
    height: 100%;
    object-fit: cover;
    /*display: block;*/
}

/* カード本文エリア */
.robot-card-body {
    /*padding: 24px;*/
	padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.robot-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 23px;
    margin: 0;
}

.robot-card-desc {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    line-height: 26px;
    margin: 0;
}

/* ==================== セクション末尾テキスト ==================== */
.section-note {
    font-size: 16px;
    line-height: 26px;
    color: #222;
}

.section-note p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0;
}

/* ==================== Footer ==================== */
.footer {
    background: #f9f4ef;
}

.footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.footer-logo {
    width: 250px;
    max-width: 100%;
}

.go-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F55014;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 130;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.go-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.go-to-top:hover {
    transform: translateY(-5px);
}

.go-to-top i {
    color: white;
    font-size: 22px;
}

.copyright {
    background: #f6711e;
    padding: 15px 25px;
    text-align: center;
}

.copyright p {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: white;
    margin: 0;
}

/* ==================== Utility Classes ==================== */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* ==================== Responsive Design ==================== */

/* Tablet - 1024px and below */
@media screen and (max-width: 1070px) {
    .container {
        max-width: 100%;
        padding: 48px 134px;
    }

    h1 {
        font-size: 32px;
    }

    .image-grid {
        gap: 20px;
    }

    .data-table th {
        width: 200px;
    }
}

/* Mobile - 768px and below */
@media screen and (max-width: 1070px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .header {
        padding: 14px 20px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 16px;
    }

    p,
    .text-content,
    .text-box p,
    .data-table td,
    .data-table th,
    .accordion-body {
        font-size: 14px;
        line-height: 26px;
    }
	
	.image-item img {
		height: auto;
	}

    .text-orange {
        font-size: 14px;
    }

    .container {
        padding: 30px 30px;
		margin: 15px;
    }

    .h1-header {
        /*height: 80px;*/
		padding: 5.6rem 0 1.5rem;
    }

    .heading-wrapper {
        gap: 6px;
        padding: 8px 10px;
    }

    .h2-icon {
        width: 30px;
        height: 30px;
    }

    .h3-icon {
        width: 8px;
        height: 8px;
    }
	
	.robot-grid {
        gap: 20px;
    }

    .section-lead {
        font-size: 16px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /*.data-table {
        display: block;
    }*/

    .data-table tr {
        display: flex;
        flex-direction: column;
        /*margin-bottom: 16px;*/
    }

    .data-table th,
    .data-table td {
        width: 100%;
        display: block;
		border: none;
    }

    .data-table th {
        padding: 14px;
    }

    .data-table td {
        padding: 20px;
    }

    .accordion-header {
        padding: 16px 14px;
        font-size: 14px;
    }

    .accordion-icon {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }

    .accordion-body {
        padding: 20px;
    }

    .text-box {
        padding: 20px;
    }

    .footer-logo {
        width: 311px;
    }
	
   .go-to-top {
        width: 40px;
        height: 40px;
	  bottom: 20px;
    right: 20px;
    }
	
	.go-to-top i {
		font-size: 16px;
	}

    .copyright p {
        font-size: 10px;
    }
	
	/* ボタンエリア */
    .btn-area {
        flex-direction: column;
        gap: 16px;
        padding: 0 32px 32px 32px;
    }

    .btn-type {
        font-size: 14px;
        padding: 12px 24px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
 

    /* セクションリード */
    .section-lead {
        font-size: 14px;
        line-height: 26px;
        margin-bottom: 24px;
    }

    /* ロボットグリッド → 1カラム */
    .robot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    /* カード画像高さ縮小 */
    .robot-card-img {
        height: 200px;
    }

    .robot-card-body {
        padding: 16px;
        gap: 8px;
    }

    .robot-card-title {
        font-size: 14px;
    }

    .robot-card-desc {
        font-size: 14px;
        line-height: 24px;
    }

    /* セクション注記 */
    .section-note {
        font-size: 14px;
        line-height: 24px;
    }

    .section-note p {
        font-size: 14px;
        line-height: 24px;
    }

    /* セクション間余白 */
    .types-section {
        margin-bottom: 48px;
    }
	
}

@media screen and (max-width: 580px) {
	.image-flex {
		flex-direction: column;
	}
}

/* Small Mobile - 375px and below */
@media screen and (max-width: 375px) {
    .header {
        padding: 14px 16px;
    }

    .container {
        padding: 32px 16px!important;
    }

    .heading-wrapper {
        padding: 8px 0;
    }
	
	.logo-svg {
		width: 200px;
		max-width: 200px;
	}
	
	.image-flex {
	flex-direction: column;
	
}
	.image-item img {
		height: auto;
	}

    .data-table th,
    .data-table td {
        padding: 12px;
		border-bottom: 1px #c4c4c4 solid;
    }
	
	ul.list-mark {
	font-size: 14px;
}

    .accordion-header {
        padding: 12px;
    }
	
	.accordion-icon i {
		font-size: 10px;
	}

    .text-box {
        padding: 16px;
    }
	
	.btn-type {
        font-size: 13px;
        padding: 10px 20px;
    }

    .robot-card-img {
        height: 180px;
    }

    .robot-card-body {
        padding: 14px;
    }
}

/* ==================== Animations ==================== */
/*@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/*.content-section {
    animation: fadeIn 0.6s ease-out;
}*/

/* ==================== Print Styles ==================== */
@media print {
    .header,
    .footer,
    .go-to-top,
    .mobile-menu {
        display: none;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
    }
}
