/* ベーススタイル */
html{
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #3EB034;
    margin: 0;
    padding: 0;
}

@media screen and (min-width:1024px) {
    /*　画面サイズが1024pxからはここを読み込む　*/
    html{
        zoom: 0.6;
        -moz-transform: scale(0.6);
    }
}

/* ヘッダー */
header {
    background-color: #fff;
    background-image: url('../../assets/img/header.avif');
    height: 750px;
    width: 950px;
    margin:0 auto;

}

header h1{
    visibility: hidden;
    margin: 0;
}

/* メインコンテンツ */
main {
    max-width: 950px;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 30px;
    background-color: #fff;
}

footer {
    text-align: center;
    padding: 10px 0;
    font-size: 2rem;
}

/* セクション */
.support-info{
    padding: 40px 10px 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 10px;
    padding-left: 60px;
    font-size: 1.8rem;
    font-weight: bold;
    background-image: url('../../assets/img/section_title_bg.avif');
    height: 150px;
}

.section-title-small{
    font-size: 1.6rem;
}

.section-title h2{
    line-height: 0%;
}

.number {
    font-size: 3rem;
}

.description {
    text-align: left;
    margin: 10px 0 25px;
    padding: 0 30px;
    line-height: 2;
    font-size: 2.5rem;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #a5a4a4;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
    letter-spacing: -0.05em;
}

.description-small{
    font-size: 2rem;
}

.description-image {
    margin:40px 20px;
}

.feature-box{
    background-color: #3eb034;
    width: 95%;
    margin: 0 auto;
    padding: 30px 0;
    line-height: 1.2;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    letter-spacing: -0.06em; 
}

.merit-list{
    margin: 40px 0 60px;
}

.case-studies {
    margin: 0 auto;
}

.remarks-box {
    font-size: 2.2rem;
    width: 95%;
    font-weight: bold;
    background-color: #d8eac7;
    margin: 30px auto 50px;
    padding: 20px 0 30px ;
    border-radius: 5px;            
}

.remarks-box ul {
    list-style-type: disc;
    padding-left: 20px;
}


.remarks-box li {
    margin-bottom: 10px;
    margin-left: 50px;
}

.remarks-box li::marker {
    color: #3eb034; /* ここで色を指定 */
}

.remarks-box h3 {
    font-size: 2.5rem;
}


.remarks-box p{
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 2;
    margin: 20px;
}

.simulation-link {
    color: #e6007e;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 30px;
}

.line-inquiry-box{
    width: 95%;
    margin: 40px auto;
}

.tax-return-guide {
    margin: 0 30px;
    padding: 10px 20px;
    border: 2px dashed #878787;
    font-size: 1.5rem;
}

.tax-return-guide h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    position: relative;
}

.tax-return-guide .subtitle {
    display: block;
    font-size: 2.2rem;
    position: relative;
}

.tax-return-guide .subtitle::before,
.tax-return-guide .subtitle::after {
    content: "＼";
    position: absolute;
    top: 0;
    left: 180px;
}

.tax-return-guide .subtitle::after {
    content: "／";
    left: auto;
    right: 180px;
}

.guide-section {
    margin-bottom: 40px;
}

.guide-section h2 {
    font-size: 2.3rem;
    color: #2e9824;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.guide-section .number {
    font-size: 2rem;
    font-weight: bold;
}

.guide-section ul {
    list-style: none;
    padding-left: 40px;
}

.guide-section li {
    color: #3EB034;
    font-size: 2.6rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.guide-section li ul {
    margin-top: 10px;
    padding-left: 20px;
}

.guide-section li ul li {
    color: #666;
    font-size: 1.8rem;
}

.guide-section a {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s;
    text-decoration: underline 1px solid #3EB034;
}

.guide-section a:hover {
    opacity: 0.7;
}




.app-recommendations {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin-top: 50px;
}

.recommendation-box {
    border: 2px dashed #ccc;
    border-radius: 15px;
    padding: 20px;
    min-width: 320px;
    min-height: 200px;
    position: relative;  /* 追加 */
    padding-top: 80px;  /* 追加：タイトルの重なり分を確保 */
    padding-left: 60px;
}

.recommendation-title {
    background-color: #4CAF50;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-align: center;
    font-size: 1.8rem;
    /* margin設定を削除し、位置を絶対配置に変更 */
    position: absolute;
    top: -60px;  /* 上部に重なるように配置 */
    left: 50%;
    transform: translateX(-50%);  /* 中央揃え */
    white-space: nowrap;  /* タイトルが長い場合に改行しないように */
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: auto 0;  /* 上下のマージンを自動に設定 */
    font-size: 24px;
}

.recommendation-list li {
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: bold;
}

.recommendation-list a {
    color: #FF69B4;
    text-decoration: underline;
    font-size: 2.5rem;
}

.recommendation-list a:hover {
    opacity: 0.7;
}

.tax-declaration-types {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin-top: 50px;
}

.declaration-box {
    border: 2px dashed #ccc;
    border-radius: 15px;
    padding: 20px;
    width: 380px;
    min-height: 200px;
    position: relative;  /* 追加 */
    padding-top: 80px;  /* 追加：タイトルの重なり分を確保 */
    padding-left: 50px;
}

.declaration-title {
    background-color: #4CAF50;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-align: center;
    font-size: 1.8rem;
    /* margin設定を削除し、位置を絶対配置に変更 */
    position: absolute;
    top: -60px;  /* 上部に重なるように配置 */
    left: 50%;
    transform: translateX(-50%);  /* 中央揃え */
}

.required-documents-list {
    list-style: disc;
    padding: 0;
    margin: auto 0;
    font-size: 2rem;
    font-weight: bold;
}

.required-documents-list li {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* チェックボックスを非表示 */
.accordion-toggle {
    display: none;
}

/* もっと詳しくボタンのスタイル */
.more-details-btn {
    display: block; /* inlineからblockに変更 */
    width: fit-content; /* ボタンの幅をコンテンツに合わせる */
    margin: 30px auto 50px; /* 上下のマージンを20px、左右をautoに設定 */
    cursor: pointer;
    background-color: #3eb034;
    color: white;
    text-decoration: none;
    padding: 25px 100px;
    border-radius: 50px;
    font-size: 36px;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-align: center;
}

.more-details-btn:hover {
    background-color: #45a049;
}

/* アコーディオンの他のスタイルは変更なし */
#deduction-types {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

#deduction-toggle:checked ~ #deduction-types {
    max-height: 3700px;
    opacity: 1;
    margin: 10px 20px;
}


.tax-simulation {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 2.4rem;
}

.tax-simulation h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.input-group input {
    width: 90%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 4rem;
}

.unit {
    position: absolute;
    right: 0px;
    top: 73px;
    color: #666;
}

.calc-button {
    display: block;
    width: 400px;
    margin: 30px auto;
    padding: 15px;
    background: #1b138b;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 2.6rem;
    cursor: pointer;
    transition: background 0.3s;
}

.calc-button:hover {
    background: #359b2c;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.result-item.total {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.3em;
    color: #3EB034;
}

.result-label {
    color: #333;
}

.result-value {
    font-weight: bold;
}

/* 既存のCSSに追加 */
.result-box h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.result-box.blue {
    margin-top: 30px;
    background: #f0f7ff;
    border: 1px solid #d0e3ff;
}

.tax-saving {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #3EB034;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #3EB034;
    font-size: 1.4em;
}