/*
Theme Name: Suuston
Theme URI: https://suuston.com
Author: Suuston Team
Author URI: https://suuston.com
Description: Suuston（スーストン）公式サイト用WordPressテーマ - 睡眠コンサルタント監修
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suuston
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ot-yu-mincho-pr6n', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'MS PMincho', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2D5661;
    background-color: #fff;
}

/* コンテナ */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Aboutセクション */
.about-section {
    padding: 80px 0;
    background: #fff;
}

/* ABOUT USセクション */
.about-us-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-section h3 {
    font-size: 29px;
    text-align: center;
    margin-bottom: 30px;
    color: #2D5661;
}

.about-section p {
    font-size: 24px;
    text-align: center;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #000;
}

/* Baby Alice コンテンツスタイル */
.index_content2 {
    padding: 0;
    text-align: center;
}

.index_content2 .catch {
    font-size: 30px;
    margin-bottom: 40px;
    color: #2D5661;
    font-weight: bold;
}

.index_content2 .image_content {
    max-width: 800px;
    height: 250px;
    margin: 40px auto;
}

.index_content2 .desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.index_work_list {
    padding: 60px 0;
    background: #f9f9f9;
}

.work_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.work_list .item {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
}

.work_list .link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s;
}

.work_list .link:hover {
    transform: translateY(-5px);
}

.work_list .image_wrap {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.work_list .image_wrap_inner {
    position: absolute;
    inset: 0;
}

.work_list .image {
    width: 100%;
    height: 100%;
}

.work_list .title {
    margin-top: 15px;
    font-size: 16px;
    color: #2D5661;
    text-align: center;
    font-weight: 600;
}

.index_carousel {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.index_carousel .carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.index_carousel .item {
    flex: 0 0 400px;
    scroll-snap-align: start;
}

.index_carousel .link {
    position: relative;
    display: block;
    height: 400px;
    overflow: hidden;
    text-decoration: none;
    border-radius: 8px;
}

.index_carousel .caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    z-index: 2;
    padding: 30px;
}

.index_carousel .catch {
    font-size: 18px;
    color: #fff;
    text-align: center;
    line-height: 1.6;
}

.index_carousel .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.index_carousel .image {
    position: absolute;
    inset: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.rich_font {
    font-weight: 600;
}

.cb_contents {
    width: 100%;
}

.post_content {
    padding: 0 20px;
}

.animate_background {
    transition: all 0.3s ease;
}


/* 2カラムレイアウト */
.two-column {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    align-items: flex-start;
}

.column {
    flex: 1;
}

.column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.column-button {
    display: inline-block;
    padding: 40px 60px;
    border: 1px solid #2D5661;
    border-radius: 100px;
    color: #2D5661;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 30px;
    text-align: center;
}

.column-button:hover {
    background: #2D5661;
    color: #fff;
}

/* 3カラムセクション */
.three-column-section {
    padding: 0;
    background: #fff;
}

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

.section-header h2 {
    font-size: 50px;
    font-weight: bold;
    color: #2D5661;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
}

.three-columns {
    display: flex;
    gap: 40px;
}

.three-columns .column {
    flex: 1;
    text-align: center;
}

.three-columns img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}


/* ロケーションセクション */
.location-section {
    padding: 80px 0;
    background: #fff;
}

.location-section h2 {
    font-size: 50px;
    font-weight: bold;
    color: #2D5661;
    text-align: center;
    margin-bottom: 30px;
}

.location-section p {
    font-size: 14px;
    color: #000;
    text-align: center;
    margin-bottom: 60px;
}

.location-images {
    display: flex;
    gap: 40px;
}

.location-images img {
    flex: 1;
    height: 701px;
    object-fit: cover;
    border-radius: 8px;
}


/* レスポンシブ対応 */
@media (max-width: 980px) {
    .two-column,
    .three-columns,
    .hours-layout,
    .location-images,
    .footer-content,
    .footer-bottom {
        flex-direction: column;
    }
    
    }
