/* 共通 */
.sp,.tb {
    display: none;
}

@media screen and (max-width:1300px) {
    .tb {
        display: block;
    }
}

@media screen and (max-width:800px) {
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}

#footer_logo img {
    height: auto;
}

#footer_logo {
    max-width: 350px;
    margin-inline: auto;

    img {
        width: 100%;
    }
}

.sns_button_list li a {
	width:45px;
	height:45px;
}

.sns_button_list li.insta a:before{
	font-size:30px;
}

.sns_button_list li.facebook a:before {
	font-size:36px;
}

.sns_button_list li.youtube a:before {
	font-size:36px;
}

.sns_button_list li.youtube a {
	width:48px;
}



/* -------------
トップページ
--------------*/

.cb_design_header .catch {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--main_color);
    letter-spacing: 0.05em;
    position: relative;
}

.cb_design_header .catch span {
    display: block;
    font-size: 1.5rem;
}

@media screen and (max-width:800px) {
	.cb_design_header .catch span {
		font-size:.9rem;
	}
}

.cb_design_header .catch::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--main_color);
    margin: 0.75rem auto 0;
}

.reason {
    .cb_design_header {
        padding: 4rem 1rem;
        text-align: center;
        color: #333;
        font-family: 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    }


    .cb_design_header .desc {
        max-width: 720px;
        margin: 0 auto;
        line-height: 1.9;
        font-size: 1rem;
        color: #444;
    }

    .cb_design_header .desc p {
        margin-bottom: 1.8rem;
    }

    .link_button { margin:25px auto 0; text-align:center; }
    .link_button a { margin:0 auto; width:300px; height:70px; border-radius:70px; background:var(--main_color); color:#fff; font-size:16px; line-height:1.5; padding:0 1.5em; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; }
    

}

/* -------------
固定ページ 
--------------*/

/* about */

.c-about {
    margin: 0 auto;
    line-height: 1.8;
}

.c-about p {
    line-height: 2;
}

.lead {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 5em;
    padding-inline: 20px;
}
@media screen and (max-width:414px) {
    .lead {
        font-size: 1rem;
        padding: 0;
    }
}
#page_contents h2.title {
    text-align: left;
    font-size: 1.6em;
    margin: 4em 0 1em;
    color: var(--main_color);
    border-left: 4px solid var(--main_color);
    padding-left: 24px;
}
#page_contents h2 {
    font-size: 1.6em !important;
}
@media screen and (max-width:800px) {
    #page_contents h2 {
        font-size: 1.5em !important;
    }
}
.c-about__section {
	padding:50px;
	
	h2 {
		margin-top:0 !important;
	}
}
.c-about__section:nth-child(even),
.c-facilities-intro,
.c-facilities-process,
.c-facilities-hope{
	background:#f9f9f9;
	padding:50px 50px !important;
}
@media screen and (max-width:800px) {
	.c-about__section:nth-child(even),
	.c-about__section,
	.c-facilities-intro,
	.c-facilities-process,
	.c-facilities-hope{
		padding:20px  !important;
	}
}
.c-facilities-equipment {
}
.c-about .c-about__list {
    list-style: disc;
    padding-left: 1.5em;
    margin: 1em 0;
}
.c-about .c-about__list li {
    margin-bottom: 1em;
}

.c-about .c-about__wrap {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 30px;
}

.c-about .c-about__wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.c-about .name {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: white;
    font-size: 1.25em;
    gap: 10px;

    img {
        width: 150px;
        mix-blend-mode: hard-light;
    }
}

@media screen and (max-width:1200px) {
    .c-about .c-about__wrap {
        grid-template-columns: 100%;
    }
}

@media screen and (max-width:800px) {
    .c-about__lead .lead {
        font-size: 1em;
        text-align: left;
        font-weight: 500;

        br {
            display: none;
        }
    }
    .c-about .name {
        font-size: 1em;
    }
    .c-about .c-about__wrap .name img {
        width: 100px;
    }
}

/* access */

p.center {
    text-align: center;
}

.map {
    margin-bottom: 2em;
}

.map iframe {
    aspect-ratio: 600/300;
    width: 100%;
    height: 100%;
}
.s_table {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}
.post_content .s_table {
    overflow: unset;
    white-space: initial;
}

@media screen and (max-width:800px) {
    .map iframe {
        aspect-ratio: 1;
    }
}

/* strength */
.c-strength {
    margin-top: 6rem;
}
.c-strength__block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 80px;
}

.c-strength__block.reverse {
    flex-direction: row-reverse;
}

.c-strength__image,
.c-strength__text {
    flex: 1;
    min-width: 300px;
}

.c-strength__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.c-strength__text {
    padding: 20px 40px;
}

.c-strength__text h3 {
    position: relative;
    font-size: 1.6em;
    color: var(--main_color);
    padding-left: 1em;
    margin-bottom: 20px;
    border-left: 4px solid var(--main_color);
}

.c-strength__text p {
    margin-bottom: 1em;
    line-height: 1.8;
}

@media screen and (max-width:800px) {
    .c-strength__block {
        margin-bottom: 30px;
    }
    .c-strength__text h3 {
        font-size: 1.3em;
    }
    .c-strength__text {
        padding-inline: 0;
    }
}

/* facility */
.c-facilities-hero {
    background: url('/wp-content/uploads/2025/06/05_出荷梱包-1-scaled.avif') no-repeat center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.c-facilities-hero h2 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
}

.c-facilities-hero span {
    color: #fff;
    font-weight: bold;
}

.c-facilities-hero p {
    opacity: 0.9;
}

.c-facilities-flow {
    max-width: 1100px;
    padding: 60px 0px;
    margin: 0 auto;
}

.c-facilities-flow h3 {
    font-size: 1.5em;
    color: var(--main_color);
    margin-bottom: 32px;
}

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

.flow-steps .step {
    background: var(--main_color);
    color: #fff;
    padding: 12px 18px;
    border-radius: 20px;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.flow-steps .arrow {
    font-size: 1.2em;
    color: var(--main_color);
}

.c-facilities-hope {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 60px auto;
}

.c-facilities-hope__text {
    flex: 1;
}

.c-facilities-hope__image {
    flex: 1;
}

.c-facilities-hope__image img {
    width: 100%;
    border-radius: 8px;
}

.c-facilities-hope h3 {
    color: var(--main_color);
    font-size: 1.5em;
    margin-bottom: 1em;
}

.c-facilities-equipment {
    padding: 60px 0px;
    max-width: 1100px;
    margin: 0 auto;
}

.c-facilities-equipment h3 {
    font-size: 1.5em;
    color: var(--main_color);
    margin-bottom: 1em;
}

.c-facilities-equipment h4 {
    font-size: 1.2em;
    color: #666;
    margin-top: 40px;
    margin-bottom: 12px;
    border-left: 4px solid #ccc;
    padding-left: 10px;
    font-weight: normal;
}

.c-facilities-equipment table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.c-facilities-equipment th,
.c-facilities-equipment td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
    width: calc(100% / 3);
}

.c-facilities-equipment th {
    background: #f5f5f5;
    width: 30%;
}

.c-facilities-message {
    background: var(--main_color);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.c-facilities-message h3 {
    font-size: 1.6em;
    margin-bottom: 0.5em;
}

.c-facilities-message p {
    font-size: 1.1em;
}

.c-facilities-intro {
    padding: 80px 0px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.c-facilities-intro h3,
.c-facilities-process h3 {
    font-size: 1.5em;
    color: var(--main_color);
    margin-bottom: 1em;
}

.c-facilities-intro p,
.c-facilities-process p {
    margin-bottom: 1em;
}

.c-facilities-process {
    padding: 0px 0px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.c-facilities h3,
.c-facilities-process h3,
.c-facilities-hope h2 {
	color: var(--main_color);
    border-left: 4px solid var(--main_color);
    padding-left: 24px;
}

.c-facilities-hope h2 {
	font-size:1.5em;
	text-align:left;
}

@media (max-width: 800px) {
    .c-facilities h3,
    .c-facilities-process h3,
    .c-facilities-hope h2 {
        font-size: 1.5em !important;
    }

    .c-facilities-hope {
        flex-direction: column;
        gap: 20px;
    }

    .c-facilities-flow ul li {
        flex: 1 1 45%;
    }

    .flow-steps {
        gap: 6px;
    }

    .flow-steps .step {
        min-width: 80px;
    }
}

/* manufacturing */
.tool-section {
    padding: 60px 20px;
    background-color: #fff;
}
.tool-section.reason {
    padding-inline: 60px;
}
.tool-section:nth-of-type(even) {
    background-color: #f4f7fb;
}

.tool-section .tool-heading {
    text-align: left;
    font-size: 1.6em;
    color: var(--main_color);
    border-left: 4px solid var(--main_color);
    padding-left: 24px;
}

.tool-section li {
    list-style: none;
    margin-bottom: 12px;
}

.tool-columns li {
    list-style: disc;
}

.tool-section li small {
    font-size: 85%;
}

.tool-img-box {
    margin-top: 30px;
    text-align: center;
}

.tool-img-box img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 選ばれる理由 */
.tool-feature-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0 !important;
}

.tool-feature-list li {
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tool-feature-list li p {
    width: 100%;
}

.tool-feature-list li strong {
    font-size: 1.25em;
}

.tool-feature-list .icon {
    font-size: 1.5rem;
    margin-right: 12px;
    color: var(--main_color);
}

/* タイムライン風プロセス */
.tool-timeline {
    list-style: none;
    padding-left: 0;
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-left: 0 !important;
}

.tool-timeline li {
    width: 100%;
    background: white;
    border-left: 4px solid var(--main_color);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.tool-timeline li strong {
    color: var(--main_color);
    font-size: 1.15em;
}

.tool-timeline .step {
    position: absolute;
    top: -14px;
    left: -14px;
    background: var(--main_color);
    color: #fff;
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
}

/* メリットグリッド */
.tool-benefits {
    padding-inline: 60px;
}

.tool-benefit-cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tool-benefit-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.tool-benefit-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--main_color);
}

.tool-benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    margin-top: 1em;
}

.tool-benefit-card p {
    color: #555;
    line-height: 1.6;
}


/* 加工分野・被削材 */
.tool-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tool-columns > div {
    flex: 1 1 45%;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tool-columns h3 {
    font-size: 1.1rem;
    color: var(--main_color);
    margin-bottom: 10px;
}

@media screen and (max-width:1200px) {
    .tool-timeline {
        grid-template-columns: repeat(2,1fr);
    }
    .tool-benefit-cards {
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width:800px) {
    .tool-columns > div {
        width: 100%;
        flex-basis: 100%;
    }
}

@media screen and (max-width:600px) {
    .tool-section {
        padding-block: 40px;
    }
    .tool-section .tool-heading {
        font-size: 1.5em;
        border-width: 3px;
    }
    .tool-timeline {
        grid-template-columns: 100%;
    }
    .tool-benefits {
        padding-inline: 20px;
    }
    .tool-section.reason {
        padding-inline: 20px;
    }
    .tool-benefit-cards {
        grid-template-columns: 100%;
    }
    .tool-section:nth-of-type(odd) {
        padding-inline: 0;
    }
}

/* regringind-mod */
/* 全体 */
/* CSS for Lifecycle Service Page */

:root {
    --bg_light: #f7f9fc;
    --text_dark: #222;
    --text_gray: #555;
    --border_light: #ddd;
}

.lifecycle-service,
.service-benefits-section,
.tool-types-section,
.customer-voices-section,
.tool-flow-section {
    padding: 4rem 1rem;
}

.service-section {
    margin-bottom: 5rem;
}

.service-wrap {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 40px;
}

.service-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--main_color);
    padding-left: 0.75rem;
}

h2.service-subheading {
    text-align: left;
    font-size: 1.6em;
    color: var(--main_color);
    border-left: 4px solid var(--main_color);
    padding-left: 24px;
}

.service-heading span {
    display: block;
    font-size: 1rem;
    color: var(--text_gray);
    margin-top: 0.25rem;
}

.service-desc {
    margin-bottom: 1rem;
    color: var(--text_dark);
    line-height: 1.7;
}

.service-benefits {
    max-width: 1000px;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2,1fr);
    margin-top: 2rem;
    padding: 0;
    list-style: none;
    margin-inline: auto !important;
}

.service-benefits > li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    list-style: none;
}

.service-benefits li strong {
    color: var(--main_color);
	font-size: 1.2em;
}

.service-benefits li ul {

}

.service-voices {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
}

.voice .balloon {
    text-align: center;
    background: #fff;
    padding: 2rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid #ddd;
    position: relative;
    line-height: 1.5;
    font-size: 1.15rem;
	font-weight:bold;
    color: var(--text_dark);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.voice .balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ddd transparent transparent;
}

.tool-flow__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-flow__step {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tool-flow__icon {
    width: 40px;
    height: 40px;
    background-color: var(--main_color);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tool-flow__content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--main_color);
}

.tool-flow__content p {
    color: var(--text_gray);
    line-height: 1.6;
	margin-bottom:0px;
}

@media screen and (max-width:800px) {
    .lifecycle-service,
    .service-benefits-section,
    .tool-types-section,
    .customer-voices-section,
    .tool-flow-section {
        padding: 3rem 0rem;
    }
    .service-benefits {
        grid-template-columns: 100%;
    }
    .service-voices {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .service-wrap {
        grid-template-columns: 100%;
        gap: 30px;
    }
    .service-section {
        order: 1;
    }
    h2.service-subheading {
        padding-left: 12px;
        font-size: 1.5em;
        border-width: 3px;
    }
}

/* 環境への取り組み */

.environment-page {
    color: #333;
    line-height: 1.8;
    background-color: #f4f7f7;
}

/* ヒーロー */
.environment-hero {
    background: linear-gradient(to right, var(--main_color), #007777);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.environment-hero__content {
    max-width: 1200px;
    margin: 0 auto;
}

.env-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.env-sub {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* セクション共通 */
.environment-section {
    padding: 60px 20px;
    background: #fff;
}

.environment-section:nth-of-type(even) {
    background: #eef4f4;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* タイトル */
h2.env-title {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 1em;
    color: var(--main_color);
    border-left: 4px solid var(--main_color);
    padding-left: 24px;
}

/* テキスト */
.env-text {
    font-size: 1rem;
    color: #555;
}

/* 環境方針リスト */
.env-list {
    list-style: disc;
    padding-left: 1.5em;
}

.env-list li {
    margin-bottom: 1em;
}

/* 認証リスト */
.env-cert-list {
    list-style: none;
    padding: 0;
}

.env-cert-list li {
    margin-bottom: 1.5em;
}

.env-cert__label {
    font-weight: bold;
    font-size: 1rem;
    color: var(--main_color);
}

.env-cert__desc {
    color: #555;
}

/* SDGsカード */
.env-sdgs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 2em;
}

@media (min-width: 768px) {
    .env-sdgs-list {
        grid-template-columns: 1fr 1fr;
    }
}

.env-sdgs-item {
    background: #fff;
    border-left: 4px solid var(--main_color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.env-sdgs-icon {
    background: var(--main_color);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 1rem;
    flex-shrink: 0;
}

.env-sdgs-content h3 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
    color: #222;
}

.env-sdgs-content p {
    margin: 0;
    color: #555;
}



/* お問い合わせ */
/*　フォーム全体　*/
/* 共通設定 */
#cf7-area {
    margin: 0 auto;
    padding: 60px 40px;
    background: #f9f9f9;
    font-family: 'Noto Sans JP', sans-serif;
}

.wpcf7 {
    background: none !important;
    border: none !important;
}

.form-heading p {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--main_color);
}

.cf7-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 10px;
}

.cf7-q {
    width: 100%;
    font-weight: bold;
    color: #333;
}

.cf7-req {
    color: #e53935;
    font-size: 0.9rem;
    margin-left: 5px;
}

.cf7-a {
    width: 100%;
}

.cf7-a input,
.cf7-a select,
.cf7-a textarea,
.confirm .cf7-a p{
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.confirm .cf7-a p {
	background:white;
}

.cf7-a input:focus,
.cf7-a select:focus,
.cf7-a textarea:focus {
    border-color: var(--main_color);
    outline: none;
}

.cf7-a textarea {
    resize: vertical;
    min-height: 150px;
}

.cf7-accept-check {
    margin-top: 30px;
    font-size: 0.95rem;
}

.cf7-submit {
    margin-top: 30px;
    text-align: center;
}

.cf7-submit input[type="submit"],
.cf7-submit input[type="button"]{
	display:block !important;
    background: var(--main_color);
    color: #fff;
    font-weight: bold;
    padding: 10px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
    width: fit-content;
}

.wpcf7-spinner {
    display: none;
}

.cf7-submit input[type="submit"]:hover {
    background: #004477;
}

.wpcf7 form {
    margin: 0 !important;
}

/* 電話/FAXボックス */
.contact-info__inner {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info__box {
    flex: 1 1 300px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px 25px;
    border-left: 5px solid var(--main_color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.contact-info__box .form-heading {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--main_color);
    margin-bottom: 15px;
}

.contact-info__text,
.contact-info__note {
    font-size: 1rem;
    color: #333;
}

.contact-info__link {
    font-size: 1.2rem;
    color: var(--main_color);
    text-decoration: none;
    font-weight: bold;
}

.contact-info__link:hover {
    color: var(--main_color);
    text-decoration: underline;
}

.contact-info__box:nth-child(2) .contact-info__link {
	pointer-events:none;
}

@media screen and (max-width: 768px) {
    .cf7-item {
        flex-direction: column;
    }
    .contact-info__inner {
        flex-direction: column;
    }
}

.privacy-box {
    margin-top: 40px;
    padding: 24px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.privacy-box h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--main_color);
}

.privacy-content {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.privacy-content::-webkit-scrollbar {
    width: 6px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.privacy-content p,
.privacy-content ul {
    margin-bottom: 1em;
}

@media screen and (max-width:800px) {
    .contact-info__inner {
        grid-template-columns: 100%;
        gap: 20px;
    }
}
.thanks-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.thanks-inner {
    max-width: 700px;
    margin: 0 auto;
}

.thanks-title {
    font-size: 2rem;
    color: var(--main_color);
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.thanks-note {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.thanks-contact {
    font-size: 1rem;
    margin-bottom: 40px;
}

.thanks-contact a {
    color: var(--main_color);
    text-decoration: none;
}

.thanks-link a {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--main_color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.45s;
}

.thanks-link a:hover {
    opacity: 0.85;
    color: white !important;
}
/* 事例 */
.case-section {
    background: #f7f7f7;
    padding: 60px 20px;
}
.case-inner {
    max-width: 1200px;
    margin: 0 auto;
}
h2.case-title {
    font-size: 2rem;
	text-align: left;
    font-size: 1.6em;
    color: var(--main_color);
    border-left: 4px solid var(--main_color);
    padding-left: 24px;
    margin-bottom: 40px;
}
.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.case-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.case-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.45s;
}
.case-image img:hover {
    opacity: 0.7;
}
.case-image br {
    display: none;
}
.case-body {
    padding: 24px;
}
.case-heading {
    font-size: 1.25rem !important;
    margin-bottom: 16px;
    color: var(--main_color);
	border-left: 4px solid var(--main_color); /* 青い縦線 */
    padding-left: 24px; /* テキストと縦線の間にスペース */
}
.case-card .case-meta {
    font-size: 0.9rem;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
    margin-left: 0;
}
.case-card .case-meta li {
    margin-bottom: 4px;
    strong {
        font-size: 115%;
    }
}
.case-text {
    line-height: 1.6;
    margin-bottom: 12px !important;
}
.case-text + .case-text,
.case-meta + .case-text {
    padding-top: 12px;
    border-top: 1px solid #D1D1D1;
}
@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}
.case-image {
    .slick-next, .slick-prev {
        display: none;
    }
    .slick-track {
        display: flex;
    }
    .slick-slide {
        height: auto !important;
    }
}

@media screen and (max-width:1650px) {
	#global_menu > ul > li {
		font-size:13px;
	}
	
	#header_logo img {
		width:175px;
		height:auto;
	}
}

@media screen and (max-width:1440px) {
	#global_menu > ul > li {
		font-size:13px;
	}
	
	#header_logo img {
		width:175px;
		height:auto;
	}
	
	#header_logo {
		left:20px;
}
	
	#global_menu > ul > li > a {
		padding:0 5px;
}
}

@media screen and (max-width: 1200px) {
	#faq_sort_button_wrap {
		height:auto;
	}
	#faq_sort_button {
		flex-wrap:wrap;
	}
	#faq_sort_button a {
		width:50%;
	}
	#return_top::before {
		display:none;
}
}

#return_top a {

}

/*
#return_top a::after {
	position:absolute;
	content:"";
	left:50%;
	transform:translatex(-50%);
	width:150px;
	height:150px;
	top:-150px;
	background:url(https://hamatool.co.jp/wp/wp-content/uploads/2025/07/hamawan_cut1.avif) center center / contain no-repeat;
}
*/



#page_header {
  height: 600px !important;
  position: relative !important;
  overflow: hidden !important;
}

#page_header img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* width: auto !important; (2025/08/25) 拡大表示修正のため */
  height: auto !important;
  min-width: 100% !important;
  min-height: 100% !important;
　max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 1 !important;
}

#page_header .headline {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 3 !important;
  width: 100% !important;
  margin: 0 !important;
  /* その他のスタイル（font-size、font-family等）は触らない */
}


#page_header .overlay {
  display: none !important;
}




/* テキスト要素を前面に */
#page_header .headline,
#page_header .overlay {
  position: relative;
  z-index: 2;
}



/* もしbody.singleクラスが適用されているページであれば、こちらも修正します */
body.single #page_header {
  height: 500px; /* 現在の300pxから、例として500pxに増やします */
}

/* タブレット・スマホ表示（画面幅800px以下） */
@media screen and (max-width: 800px) {
    #page_header .headline {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        
        /* スマホ用ヘッダー画像の高さに合わせて調整 */
        height: calc(150px / 3); /* 既存のスマホ用ヘッダー高さ150pxの1/3 */
        
        /* 文字の上下中央揃え */
        display: flex;
        align-items: center;
        justify-content: center;
        
        /* その他の既存スタイル */
        line-height: normal;
        padding: 0 15px;
    }
    
    /* 既存のスマホ用ヘッダー高さの設定も忘れずに維持 */
    #page_header {
        height: 150px !important;
    }
}